Spectra Logic
1-800-833-1132 : 1-303-449-6400


Advanced Bucket Management Operations : Replication Target Operations : Register Amazon S3 Target

Register Amazon S3 Target
Description
Connect to and register the specified Amazon S3 target as a replication target for the BlackPearl system.
Notes:
§
§
§
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/s3_target?access_key={string}&name={string}&secret_key={string}
[&auto_verification_frequency_in_days={32‑bit integer}][&cloud_bucket_prefix={string}][&cloud_bucket_suffix={string}][&data_path_end_point={string}][&default_read_preference=MINIMUM_LATENCY|AFTER_ONLINE_POOL|AFTER_NEARLINE_POOL|AFTER_NON_EJECTABLE_TAPE|LAST_RESORT|NEVER][&https=TRUE|FALSE[&name={string}][&offline_data_staging_window_in_tb={64-bit integer}][&permit_going_out_of_sync=TRUE|FALSE][&proxy_domain={string}][&proxy_host={string}][&proxy_password={string}][&proxy_port={string}][&proxy_username={string}][&region={string}][&secret_key={string}][&staged_data_expiration_in_days={string}]
 
Request Parameters 
Values: MINIMUM_LATENCY, AFTER_ONLINE_POOL, AFTER_NEARLINE_POOL, AFTER_NON_EJECTABLE_TAPE, LAST_RESORT, NEVER. See read_preference.
Values: TRUE, FALSE.
The world region where the Amazon S3 target is physically located. Values: US_EAST_1, US_WEST_1, US_WEST_2, EU_WEST_1, EU_CENTRAL_1, AP_SOUTH_1, AP_SOUTHEAST_1, AP_SOUTHEAST_2, AP_NORTHEAST_1, AP_NORTHEAST_2, SA_EAST_1, CN_NORTH_1, GOV_CLOUD
Responses
Response Elements
<Data>
   <AccessKey>{string}</AccessKey>
   <AutoVerifyFrequencyInDays>{string}</AutoVerifyFrequencyInDays>
   <CloudBucketPrefix>{string}</CloudBucketPrefix>
   <CloudBucketSuffix>{string}</CloudBucketSuffix>
   <DataPathEndPoint>{string}</DataPathEndPoint>
   <DefaultReadPreference>
      MINIMUM_LATENCY|AFTER_ONLINE_POOL|AFTER_NEARLINE_POOL
      |AFTER_NON_EJECTABLE_TAPE|LAST_RESORT|NEVER
   </DefaultReadPreference>
   <Https>TRUE|FASLE</Https>
   <Id>{string}</Id>
   <LastFullyVerified>{string}</LastFullyVerified>
   <Name>{string}</Name>
   <OfflineDataStagingWindowInTb>
     {64-bit integer}
   </OfflineDataStagingWindowInTb>
   <PermitGoingOutOfSync>TRUE|FALSE</PermitGoingOutOfSync>
   <ProxyDomain>{string}</ProxyDomain>
   <ProxyHost>{string}</ProxyHost>
   <ProxyPassword>{string}</ProxyPassword>
   <ProxyPort>{64-bit integer}</ProxyPort>
   <ProxyUsername>{string}</ProxyUsername>
   <Quiesced>NO|PENDING|YES</Quiesced>
   <Region>{string}</Region>
   <SecretKey>{string}</SecretKey>
   <StagedDataExpirationInDays>
     {64-bit integer}
   </StagedDataExpirationInDays>
   <State>ONLINE|OFFLINE|LIMITED_ACCESS</State>
</Data>
where the response elements are defined as follows:
Values: MINIMUM_LATENCY, AFTER_ONLINE_POOL, AFTER_NEARLINE_POOL, AFTER_NON_EJECTABLE_TAPE, LAST_RESORT, NEVER. See read_preference.
Values: TRUE, FALSE.
The world region where the Amazon S3 target is physically located. Values: US_EAST_1, US_WEST_1, US_WEST_2, EU_WEST_1, EU_CENTRAL_1, AP_SOUTH_1, AP_SOUTHEAST_1, AP_SOUTHEAST_2, AP_NORTHEAST_1, AP_NORTHEAST_2, SA_EAST_1, CN_NORTH_1, GOV_CLOUD
The state of the Amazon S3 target.
Values: ONLINE, OFFLINE, LIMITED_ACCESS
Example
Sample Request
This request registers an Amazon S3 target with the data path end point ‘DataPath’, the S3 Access Key ‘c381Y3RyYQ==’, the S3 Secret Key ‘d7pJBeAN’, and the name ‘TargetS3’ as a replication target for the BlackPearl system.
POST http[s]://blackpearl-hostname/_rest_/s3_target?admin_auth_id=c381Y3RyYQ==&admin_secret_key=d7pJBeAN&data_path_end_point=DataPath&name=TargetS3 HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <AccessKey>c381Y3RyYQ==</AccessKey>
   <AutoVerifyFrequencyInDays/>
   <CloudBucketPrefix/>
   <CloudBucketSuffix/>
   <DataPathEndPoint>DataPath</DataPathEndPoint>
   <DefaultReadPreference>MINIMUM_LATENCY</DefaultReadPreference>
   <Https>TRUE</Https>
   <Id>771c3371-8276-45ce-a21c-a3bfd1ca5caa</Id>
   <LastFullyVerified/>
   <Name>TargetS3</Name>
   <OfflineDataStagingWindowInTb>64</OfflineDataStagingWindowInTb>
   <PermitGoingOutOfSync>FALSE</PermitGoingOutOfSync>
   <ProxyDomain/>
   <ProxyHost/>
   <ProxyPassword/>
   <ProxyPort/>
   <ProxyUsername/>
   <Quiesced>NO</Quiesced>
   <Region>US_WEST_2</Region>
   <SecretKey>d7pJBeAN</SecretKey>
   <StagedDataExpirationInDays>30</StagedDataExpirationInDays>
   <State>ONLINE</State>
</Data>