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


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

Verify Amazon S3 Target
Description
Verifies connectivity to the Amazon S3 target and that the Administrator credentials are correct. If full_details is specified, the operation verifies that all data expected to reside on the target does in fact reside there.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/s3_target/{Amazon S3 target instance UUID, name, or other unique attribute}?operation=VERIFY[&full_details]
To determine the UUID for an Amazon S3 target instance, see Get Amazon S3 Targets.
Request Parameters 
If included, the operation verifies that all data expected to reside on the target does in fact reside there.
Responses
Response Elements
<Data>
   <S3Target>
      <AccessKey>{string}</AccessKey>
      <AutoVerifyFrequencyInDays>
        {
integer}
      </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>
   </S3Target>
</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 confirms connectivity to the Amazon S3 target and verifies the credentials of the administrator.
PUT http[s]://blackpearl-hostname/_rest_/s3_target/S3Target?operation=VERIFY HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AccessKey>83hB3Pz1</AccessKey>
   <AutoVerifyFrequencyInDays/>
   <CloudBucketPrefix/>
   <CloudBucketSuffix/>
   <DataPathEndPoint/>
   <DefaultReadPreference>LAST_RESORT</DefaultReadPreference>
   <Https>TRUE</Https>
   <Id>02d48638-b6b9-4566-af83-8f76a934d744</Id>
   <LastFullyVerified/>
   <Name>testtp</Name>
   <OfflineDataStagingWindowInTb>1</OfflineDataStagingWindowInTb>
   <PermitGoingOutOfSync>FALSE</PermitGoingOutOfSync>
   <ProxyDomain/>
   <ProxyHost/>
   <ProxyPassword/>
   <ProxyPort/>
   <ProxyUsername/>
   <Quiesced>NO</Quiesced>
   <Region>US_WEST_2</Region>
   <SecretKey>PlN770a</SecretKey>
   <StagedDataExpirationInDays>30</StagedDataExpirationInDays>
   <State>ONLINE</State>
</Data>
 
 
Azure Replication Target Commands