openapi: 3.0.0
info:
version: '2016-06-30'
x-release: v4
title: 'Amazon Import/Export Snowball #X Amz Target=AWSIESnowballJobManagementService.CancelCluster #X Amz Target=AWSIESnowballJobManagementService.CancelCluster #X Amz Target=AWSIESnowballJobManagementService.UpdateCluster API'
description: The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses secure devices to transfer large amounts of data between your on-premises data centers and Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device, you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide.
x-logo:
url: https://twitter.com/awscloud/profile_image?size=original
backgroundColor: '#FFFFFF'
termsOfService: https://aws.amazon.com/service-terms/
contact:
name: Mike Ralphson
email: mike.ralphson@gmail.com
url: https://github.com/mermade/aws2openapi
x-twitter: PermittedSoc
license:
name: Apache 2.0 License
url: http://www.apache.org/licenses/
x-providerName: amazonaws.com
x-serviceName: snowball
x-origin:
- contentType: application/json
url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/snowball-2016-06-30.normal.json
converter:
url: https://github.com/mermade/aws2openapi
version: 1.0.0
x-apisguru-driver: external
x-apiClientRegistration:
url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
x-apisguru-categories:
- cloud
x-preferred: true
servers:
- url: http://snowball.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The Amazon Snowball multi-region endpoint
- url: https://snowball.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The Amazon Snowball multi-region endpoint
- url: http://snowball.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The Amazon Snowball endpoint for China (Beijing) and China (Ningxia)
- url: https://snowball.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The Amazon Snowball endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: '#X Amz Target=AWSIESnowballJobManagementService.UpdateCluster'
paths:
/#X-Amz-Target=AWSIESnowballJobManagementService.UpdateCluster:
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
post:
operationId: UpdateCluster
description: While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateClusterResult'
examples:
UpdateCluster200Example:
summary: Default UpdateCluster 200
x-microcks-default: true
value: {}
'480':
description: InvalidResourceException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidResourceException'
examples:
UpdateCluster480Example:
summary: Default UpdateCluster 480
x-microcks-default: true
value: example-value
'481':
description: InvalidJobStateException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidJobStateException'
examples:
UpdateCluster481Example:
summary: Default UpdateCluster 481
x-microcks-default: true
value: example-value
'482':
description: KMSRequestFailedException
content:
application/json:
schema:
$ref: '#/components/schemas/KMSRequestFailedException'
examples:
UpdateCluster482Example:
summary: Default UpdateCluster 482
x-microcks-default: true
value: example-value
'483':
description: InvalidInputCombinationException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidInputCombinationException'
examples:
UpdateCluster483Example:
summary: Default UpdateCluster 483
x-microcks-default: true
value: example-value
'484':
description: Ec2RequestFailedException
content:
application/json:
schema:
$ref: '#/components/schemas/Ec2RequestFailedException'
examples:
UpdateCluster484Example:
summary: Default UpdateCluster 484
x-microcks-default: true
value: example-value
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateClusterRequest'
examples:
UpdateClusterRequestExample:
summary: Default UpdateCluster request
x-microcks-default: true
value:
ClusterId: example-value
RoleARN: arn:aws:service:us-east-1:123456789012:resource/example
Description: example-value
Resources: example-value
OnDeviceServiceConfiguration: example-value
AddressId: example-value
ShippingOption: example-value
Notification: example-value
ForwardingAddressId: example-value
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSIESnowballJobManagementService.UpdateCluster
summary: Amazon Update Cluster
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- '#X Amz Target=AWSIESnowballJobManagementService.UpdateCluster'
components:
schemas:
Ec2RequestFailedException: {}
DeviceServiceName:
type: string
enum:
- NFS_ON_DEVICE_SERVICE
- S3_ON_DEVICE_SERVICE
SnsTopicARN:
type: string
pattern: arn:aws.*:sns:.*:[0-9]{12}:.*
maxLength: 255
AmiId:
type: string
pattern: (ami-[0-9a-f]{8})|(ami-[0-9a-f]{17})
minLength: 12
maxLength: 21
String:
type: string
pattern: .*
minLength: 1
maxLength: 1024
EventTriggerDefinition:
type: object
properties:
EventResourceARN:
allOf:
- $ref: '#/components/schemas/ResourceARN'
- description: The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.
description: The container for the EventTriggerDefinition$EventResourceARN.
TGWOnDeviceServiceConfiguration:
type: object
properties:
StorageLimit:
allOf:
- $ref: '#/components/schemas/StorageLimit'
- description: The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.
StorageUnit:
allOf:
- $ref: '#/components/schemas/StorageUnit'
- description: The scale unit of the virtual tapes on the device.
description: An object that represents the metadata and configuration settings for the Storage Gateway service Tape Gateway type on an Amazon Web Services Snow Family device.
Notification:
type: object
properties:
SnsTopicARN:
allOf:
- $ref: '#/components/schemas/SnsTopicARN'
- description:
The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.
You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon SNS) API action.
JobStatesToNotify: allOf: - $ref: '#/components/schemas/JobStateList' - description: The list of job states that will trigger a notification for this job. NotifyAll: allOf: - $ref: '#/components/schemas/Boolean' - description: Any change in job state will trigger a notification for this job. DevicePickupSnsTopicARN: allOf: - $ref: '#/components/schemas/SnsTopicARN' - description: Used to send SNS notifications for the person picking up the device (identified during job creation). description:The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.
When the notification settings are defined during job creation, you can choose to notify based on a specific set of job states using the JobStatesToNotify array of strings, or you can specify that you want to have Amazon SNS notifications sent out for all job states with NotifyAll set to true.
CID123e4567-e89b-12d3-a456-426655440000.
RoleARN:
allOf:
- $ref: '#/components/schemas/RoleARN'
- description: The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in Identity and Access Management (IAM).
Description:
allOf:
- $ref: '#/components/schemas/String'
- description: The updated description of this cluster.
Resources:
allOf:
- $ref: '#/components/schemas/JobResource'
- description: The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
OnDeviceServiceConfiguration:
allOf:
- $ref: '#/components/schemas/OnDeviceServiceConfiguration'
- description: Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).
AddressId:
allOf:
- $ref: '#/components/schemas/AddressId'
- description: The ID of the updated Address object.
ShippingOption:
allOf:
- $ref: '#/components/schemas/ShippingOption'
- description: The updated shipping option value of this cluster's ShippingDetails object.
Notification:
allOf:
- $ref: '#/components/schemas/Notification'
- description: The new or updated Notification object.
ForwardingAddressId:
allOf:
- $ref: '#/components/schemas/AddressId'
- description: The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
Boolean:
type: boolean
Ec2AmiResourceList:
type: array
items:
$ref: '#/components/schemas/Ec2AmiResource'
S3StorageLimit:
type: number
format: double
minimum: 0
S3Resource:
type: object
properties:
BucketArn:
allOf:
- $ref: '#/components/schemas/ResourceARN'
- description: The Amazon Resource Name (ARN) of an Amazon S3 bucket.
KeyRange:
allOf:
- $ref: '#/components/schemas/KeyRange'
- description: For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.
TargetOnDeviceServices:
allOf:
- $ref: '#/components/schemas/TargetOnDeviceServiceList'
- description: Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
description: Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional KeyRange value. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.
TargetOnDeviceServiceList:
type: array
items:
$ref: '#/components/schemas/TargetOnDeviceService'
JobResource:
type: object
properties:
S3Resources:
allOf:
- $ref: '#/components/schemas/S3ResourceList'
- description: An array of S3Resource objects.
LambdaResources:
allOf:
- $ref: '#/components/schemas/LambdaResourceList'
- description: The Python-language Lambda functions for this job.
Ec2AmiResources:
allOf:
- $ref: '#/components/schemas/Ec2AmiResourceList'
- description: The Amazon Machine Images (AMIs) associated with this job.
description: Contains an array of Amazon Web Services resource objects. Each object represents an Amazon S3 bucket, an Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.
InvalidJobStateException: {}
RoleARN:
type: string
pattern: arn:aws.*:iam::[0-9]{12}:role/.*
maxLength: 255
UpdateClusterResult:
type: object
properties: {}
LambdaResourceList:
type: array
items:
$ref: '#/components/schemas/LambdaResource'
KMSRequestFailedException: {}
JobStateList:
type: array
items:
$ref: '#/components/schemas/JobState'
InvalidResourceException: {}
S3ResourceList:
type: array
items:
$ref: '#/components/schemas/S3Resource'
ClusterId:
type: string
pattern: CID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
minLength: 39
maxLength: 39
EKSOnDeviceServiceConfiguration:
type: object
properties:
KubernetesVersion:
allOf:
- $ref: '#/components/schemas/String'
- description: The Kubernetes version for EKS Anywhere on the Snow Family device.
EKSAnywhereVersion:
allOf:
- $ref: '#/components/schemas/String'
- description: The version of EKS Anywhere on the Snow Family device.
description: An object representing the metadata and configuration settings of EKS Anywhere on the Snow Family device.
EventTriggerDefinitionList:
type: array
items:
$ref: '#/components/schemas/EventTriggerDefinition'
JobState:
type: string
enum:
- New
- PreparingAppliance
- PreparingShipment
- InTransitToCustomer
- WithCustomer
- InTransitToAWS
- WithAWSSortingFacility
- WithAWS
- InProgress
- Complete
- Cancelled
- Listing
- Pending
NodeFaultTolerance:
type: integer
minimum: 1
maximum: 4
StorageUnit:
type: string
enum:
- TB
StorageLimit:
type: integer
minimum: 0
ShippingOption:
type: string
enum:
- SECOND_DAY
- NEXT_DAY
- EXPRESS
- STANDARD
KeyRange:
type: object
properties:
BeginMarker:
allOf:
- $ref: '#/components/schemas/String'
- description: The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
EndMarker:
allOf:
- $ref: '#/components/schemas/String'
- description: The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
description: Contains a key range. For export jobs, a S3Resource object can have an optional KeyRange value. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.
TargetOnDeviceService:
type: object
properties:
ServiceName:
allOf:
- $ref: '#/components/schemas/DeviceServiceName'
- description: Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into.
TransferOption:
allOf:
- $ref: '#/components/schemas/TransferOption'
- description: Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device.
description: An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
AddressId:
type: string
pattern: ADID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
minLength: 40
maxLength: 40
S3OnDeviceServiceConfiguration:
type: object
properties:
StorageLimit:
allOf:
- $ref: '#/components/schemas/S3StorageLimit'
- description: If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided.
StorageUnit:
allOf:
- $ref: '#/components/schemas/StorageUnit'
- description: Storage unit. Currently the only supported unit is TB.
ServiceSize:
allOf:
- $ref: '#/components/schemas/ServiceSize'
- description: Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted.
FaultTolerance:
allOf:
- $ref: '#/components/schemas/NodeFaultTolerance'
- description: '>Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified StorageLimit matches more than one Amazon S3 compatible storage on Snow family devices service configuration.'
description: Amazon S3 compatible storage on Snow family devices configuration items.
NFSOnDeviceServiceConfiguration:
type: object
properties:
StorageLimit:
allOf:
- $ref: '#/components/schemas/StorageLimit'
- description: The maximum NFS storage for one Snow Family device.
StorageUnit:
allOf:
- $ref: '#/components/schemas/StorageUnit'
- description: 'The scale unit of the NFS storage on the device.
Valid values: TB.
' description: An object that represents the metadata and configuration settings for the NFS (Network File System) service on an Amazon Web Services Snow Family device. LambdaResource: type: object properties: LambdaArn: allOf: - $ref: '#/components/schemas/ResourceARN' - description: An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource. EventTriggers: allOf: - $ref: '#/components/schemas/EventTriggerDefinitionList' - description: The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job. description: 'Identifies ' TransferOption: type: string enum: - IMPORT - EXPORT - LOCAL_USE InvalidInputCombinationException: {} parameters: X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/snowball/ x-hasEquivalentPaths: true