Import command of management information (Amazon S3)
For Amazon S3, you can bulk register some types of management information from a specified file in JSON (JavaScript Object Notation) format to the Cloud Storage DB.
Import command of management information
utls3infomanage import -i FILE [SUB-COMMAND-OPTION]
Parameter explanation
- [REQUIRED]
-
These parameters cannot be omitted.
- import
-
Import (mandatory)
You can bulk register some types of management information from a specified file in JSON format to the Cloud Storage DB.
The following types of management information can be imported:
-
Send Storage Management Information
-
Receive Storage Management Information
-
Storage Authentication Information
-
- -i, --input FILE
-
Input file (mandatory)
This parameter specifies a file in JSON format that contains the management information to register in the Cloud Storage DB.
Specify a file name from 1 to 256 bytes.
For details on how to describe the management information, refer to Input and output files of the management information.
- [SUB-COMMAND-OPTION]
-
These are options for importing.
- -r, --replace
-
Replacement (optional)
This parameter overwrites the existing management information registered in the Cloud Storage DB.
If you try to overwrite the existing management information of each management information ID without specifying this option, an error occurs.
If you specify the default information, the default information is overwritten regardless of whether this option is specified.
- -f, --force
-
Omission of confirmation (optional)
This parameter registers information without confirmation of registering the information.
When you specify the existing management information, the information is overwritten even if you do not specify "-r" or "--replace".
When you omit it, a confirmation message is output before registration of the management information.
Are you sure to register? [y/n]:
Input "y" or "Y" to register the Send Storage Management Information, the Receive Storage Management Information, or the Storage Authentication Information specified by the command.
Input other than "y" or "Y" ends in an error.
Supplement
-
As shown below, you can specify either with a space or an equals sign (=) between the parameter and the setting value.
--parameter Value --parameter=Value
-
If you specify "-h" or "--help" for the parameter, the usage is output.