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


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

Modify Amazon S3 Target
Description
Modify an Amazon S3 target.
Notes:
§
§
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/s3_target/{BlackPearl target instance UUID, name, or other unique attribute}
[?access_key={string}][&auto_verify_frequency_in_days={64-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}][&quiesced=NO|PENDING][&region={string}][&secret_key={string}][&staged_data_expiration_in_days={string}]
To determine the UUID for an Amazon S3 target instance, see Get Amazon S3 Targets.
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 name for the Amazon S3 target.
Request that the system prepare the target to go into an inactive state (PENDING) or return the target to an active state (NO).
state. Values: NO, PENDING
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 modifies the Amazon S3 target named ‘TargetS3’ to set the automatic data verify frequency to 365 days.
PUT http[s]://blackpearl-hostname/_rest_/s3_target/TargetS3?autoVerifyFrequencyInDays=365 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AccessKey>KbC74x9s</AccessKey>
   <AutoVerifyFrequencyInDays>365</AutoVerifyFrequencyInDays>
   <CloudBucketPrefix/>
   <CloudBucketSuffix/>
   <DataPathEndPoint/>
   <DefaultReadPreference>LAST_RESORT</DefaultReadPreference>
   <Https>TRUE</Https>
   <Id>a9a8afe0-a426-4f80-8c25-d768a6494129</Id>
   <LastFullyVerified/>
   <Name>TargetS3</Name>
   <OfflineDataStagingWindowInTb>1</OfflineDataStagingWindowInTb>
   <PermitGoingOutOfSync>FALSE</PermitGoingOutOfSync>
   <ProxyDomain/>
   <ProxyHost/>
   <ProxyPassword/>
   <ProxyPort/>
   <ProxyUsername/>
   <Quiesced>NO</Quiesced>
   <Region>US_WEST_2</Region>
   <SecretKey>m3u8nW5/SecretKey>
   <StagedDataExpirationInDays>30</StagedDataExpirationInDays>
   <State>ONLINE</State>
</Data>