Documentation ¶
Overview ¶
Package snowball provides the API client, operations, and parameter types for Amazon Import/Export Snowball.
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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type CancelClusterInput
- type CancelClusterOutput
- type CancelJobInput
- type CancelJobOutput
- type Client
- func (c *Client) CancelCluster(ctx context.Context, params *CancelClusterInput, optFns ...func(*Options)) (*CancelClusterOutput, error)
- func (c *Client) CancelJob(ctx context.Context, params *CancelJobInput, optFns ...func(*Options)) (*CancelJobOutput, error)
- func (c *Client) CreateAddress(ctx context.Context, params *CreateAddressInput, optFns ...func(*Options)) (*CreateAddressOutput, error)
- func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
- func (c *Client) CreateJob(ctx context.Context, params *CreateJobInput, optFns ...func(*Options)) (*CreateJobOutput, error)
- func (c *Client) CreateLongTermPricing(ctx context.Context, params *CreateLongTermPricingInput, ...) (*CreateLongTermPricingOutput, error)
- func (c *Client) CreateReturnShippingLabel(ctx context.Context, params *CreateReturnShippingLabelInput, ...) (*CreateReturnShippingLabelOutput, error)
- func (c *Client) DescribeAddress(ctx context.Context, params *DescribeAddressInput, optFns ...func(*Options)) (*DescribeAddressOutput, error)
- func (c *Client) DescribeAddresses(ctx context.Context, params *DescribeAddressesInput, optFns ...func(*Options)) (*DescribeAddressesOutput, error)
- func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
- func (c *Client) DescribeJob(ctx context.Context, params *DescribeJobInput, optFns ...func(*Options)) (*DescribeJobOutput, error)
- func (c *Client) DescribeReturnShippingLabel(ctx context.Context, params *DescribeReturnShippingLabelInput, ...) (*DescribeReturnShippingLabelOutput, error)
- func (c *Client) GetJobManifest(ctx context.Context, params *GetJobManifestInput, optFns ...func(*Options)) (*GetJobManifestOutput, error)
- func (c *Client) GetJobUnlockCode(ctx context.Context, params *GetJobUnlockCodeInput, optFns ...func(*Options)) (*GetJobUnlockCodeOutput, error)
- func (c *Client) GetSnowballUsage(ctx context.Context, params *GetSnowballUsageInput, optFns ...func(*Options)) (*GetSnowballUsageOutput, error)
- func (c *Client) GetSoftwareUpdates(ctx context.Context, params *GetSoftwareUpdatesInput, optFns ...func(*Options)) (*GetSoftwareUpdatesOutput, error)
- func (c *Client) ListClusterJobs(ctx context.Context, params *ListClusterJobsInput, optFns ...func(*Options)) (*ListClusterJobsOutput, error)
- func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
- func (c *Client) ListCompatibleImages(ctx context.Context, params *ListCompatibleImagesInput, ...) (*ListCompatibleImagesOutput, error)
- func (c *Client) ListJobs(ctx context.Context, params *ListJobsInput, optFns ...func(*Options)) (*ListJobsOutput, error)
- func (c *Client) ListLongTermPricing(ctx context.Context, params *ListLongTermPricingInput, ...) (*ListLongTermPricingOutput, error)
- func (c *Client) ListPickupLocations(ctx context.Context, params *ListPickupLocationsInput, ...) (*ListPickupLocationsOutput, error)
- func (c *Client) ListServiceVersions(ctx context.Context, params *ListServiceVersionsInput, ...) (*ListServiceVersionsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
- func (c *Client) UpdateJob(ctx context.Context, params *UpdateJobInput, optFns ...func(*Options)) (*UpdateJobOutput, error)
- func (c *Client) UpdateJobShipmentState(ctx context.Context, params *UpdateJobShipmentStateInput, ...) (*UpdateJobShipmentStateOutput, error)
- func (c *Client) UpdateLongTermPricing(ctx context.Context, params *UpdateLongTermPricingInput, ...) (*UpdateLongTermPricingOutput, error)
- type CreateAddressInput
- type CreateAddressOutput
- type CreateClusterInput
- type CreateClusterOutput
- type CreateJobInput
- type CreateJobOutput
- type CreateLongTermPricingInput
- type CreateLongTermPricingOutput
- type CreateReturnShippingLabelInput
- type CreateReturnShippingLabelOutput
- type DescribeAddressInput
- type DescribeAddressOutput
- type DescribeAddressesAPIClient
- type DescribeAddressesInput
- type DescribeAddressesOutput
- type DescribeAddressesPaginator
- type DescribeAddressesPaginatorOptions
- type DescribeClusterInput
- type DescribeClusterOutput
- type DescribeJobInput
- type DescribeJobOutput
- type DescribeReturnShippingLabelInput
- type DescribeReturnShippingLabelOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetJobManifestInput
- type GetJobManifestOutput
- type GetJobUnlockCodeInput
- type GetJobUnlockCodeOutput
- type GetSnowballUsageInput
- type GetSnowballUsageOutput
- type GetSoftwareUpdatesInput
- type GetSoftwareUpdatesOutput
- type HTTPClient
- type HTTPSignerV4
- type ListClusterJobsAPIClient
- type ListClusterJobsInput
- type ListClusterJobsOutput
- type ListClusterJobsPaginator
- type ListClusterJobsPaginatorOptions
- type ListClustersAPIClient
- type ListClustersInput
- type ListClustersOutput
- type ListClustersPaginator
- type ListClustersPaginatorOptions
- type ListCompatibleImagesAPIClient
- type ListCompatibleImagesInput
- type ListCompatibleImagesOutput
- type ListCompatibleImagesPaginator
- type ListCompatibleImagesPaginatorOptions
- type ListJobsAPIClient
- type ListJobsInput
- type ListJobsOutput
- type ListJobsPaginator
- type ListJobsPaginatorOptions
- type ListLongTermPricingAPIClient
- type ListLongTermPricingInput
- type ListLongTermPricingOutput
- type ListLongTermPricingPaginator
- type ListLongTermPricingPaginatorOptions
- type ListPickupLocationsAPIClient
- type ListPickupLocationsInput
- type ListPickupLocationsOutput
- type ListPickupLocationsPaginator
- type ListPickupLocationsPaginatorOptions
- type ListServiceVersionsInput
- type ListServiceVersionsOutput
- type Options
- type ResolveEndpoint
- type UpdateClusterInput
- type UpdateClusterOutput
- type UpdateJobInput
- type UpdateJobOutput
- type UpdateJobShipmentStateInput
- type UpdateJobShipmentStateOutput
- type UpdateLongTermPricingInput
- type UpdateLongTermPricingOutput
Constants ¶
const ServiceAPIVersion = "2016-06-30"
const ServiceID = "Snowball"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.21.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.23.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.23.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.23.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.23.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type CancelClusterInput ¶
type CancelClusterInput struct { // The 39-character ID for the cluster that you want to cancel, for example // CID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. ClusterId *string // contains filtered or unexported fields }
type CancelClusterOutput ¶
type CancelClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CancelJobInput ¶
type CancelJobInput struct { // The 39-character job ID for the job that you want to cancel, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type CancelJobOutput ¶
type CancelJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Import/Export Snowball.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CancelCluster ¶
func (c *Client) CancelCluster(ctx context.Context, params *CancelClusterInput, optFns ...func(*Options)) (*CancelClusterOutput, error)
Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it.
func (*Client) CancelJob ¶
func (c *Client) CancelJob(ctx context.Context, params *CancelJobInput, optFns ...func(*Options)) (*CancelJobOutput, error)
Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance . Requesting the ListJobs or DescribeJob action returns a job's JobState as part of the response element data returned.
func (*Client) CreateAddress ¶
func (c *Client) CreateAddress(ctx context.Context, params *CreateAddressInput, optFns ...func(*Options)) (*CreateAddressOutput, error)
Creates an address for a Snow device to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. If providing an address as a JSON file through the cli-input-json option, include the full file path. For example, --cli-input-json file://create-address.json .
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.
func (*Client) CreateJob ¶
func (c *Client) CreateJob(ctx context.Context, params *CreateJobInput, optFns ...func(*Options)) (*CreateJobOutput, error)
Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
The device capacity is optional.
Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services.
Snow Family devices and their capacities.
Device type: SNC1_SSD
Capacity: T14
Description: Snowcone
Device type: SNC1_HDD
Capacity: T8
Description: Snowcone
Device type: EDGE_S
Capacity: T98
Description: Snowball Edge Storage Optimized for data transfer only
Device type: EDGE_CG
Capacity: T42
Description: Snowball Edge Compute Optimized with GPU
Device type: EDGE_C
Capacity: T42
Description: Snowball Edge Compute Optimized without GPU
Device type: EDGE
Capacity: T100
Description: Snowball Edge Storage Optimized with EC2 Compute
This device is replaced with T98.
Device type: STANDARD
Capacity: T50
Description: Original Snowball device
This device is only available in the Ningxia, Beijing, and Singapore Amazon Web
Services Region - Device type: STANDARD - Capacity: T80 - Description: Original Snowball device
This device is only available in the Ningxia, Beijing, and Singapore Amazon Web
Services Region. - Snow Family device type: RACK_5U_C - Capacity: T13 - Description: Snowblade. - Device type: V3_5S - Capacity: T240 - Description: Snowball Edge Storage Optimized 210TB
func (*Client) CreateLongTermPricing ¶ added in v1.3.0
func (c *Client) CreateLongTermPricing(ctx context.Context, params *CreateLongTermPricingInput, optFns ...func(*Options)) (*CreateLongTermPricingOutput, error)
Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing.
func (*Client) CreateReturnShippingLabel ¶ added in v0.29.0
func (c *Client) CreateReturnShippingLabel(ctx context.Context, params *CreateReturnShippingLabelInput, optFns ...func(*Options)) (*CreateReturnShippingLabelOutput, error)
Creates a shipping label that will be used to return the Snow device to Amazon Web Services.
func (*Client) DescribeAddress ¶
func (c *Client) DescribeAddress(ctx context.Context, params *DescribeAddressInput, optFns ...func(*Options)) (*DescribeAddressOutput, error)
Takes an AddressId and returns specific details about that address in the form of an Address object.
func (*Client) DescribeAddresses ¶
func (c *Client) DescribeAddresses(ctx context.Context, params *DescribeAddressesInput, optFns ...func(*Options)) (*DescribeAddressesOutput, error)
Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.
func (*Client) DescribeCluster ¶
func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
Returns information about a specific cluster including shipping information, cluster status, and other important metadata.
func (*Client) DescribeJob ¶
func (c *Client) DescribeJob(ctx context.Context, params *DescribeJobInput, optFns ...func(*Options)) (*DescribeJobOutput, error)
Returns information about a specific job including shipping information, job status, and other important metadata.
func (*Client) DescribeReturnShippingLabel ¶ added in v0.29.0
func (c *Client) DescribeReturnShippingLabel(ctx context.Context, params *DescribeReturnShippingLabelInput, optFns ...func(*Options)) (*DescribeReturnShippingLabelOutput, error)
Information on the shipping label of a Snow device that is being returned to Amazon Web Services.
func (*Client) GetJobManifest ¶
func (c *Client) GetJobManifest(ctx context.Context, params *GetJobManifestInput, optFns ...func(*Options)) (*GetJobManifestOutput, error)
Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action.
The manifest is an encrypted file that you can download after your job enters the WithCustomer status. This is the only valid status for calling this API as the manifest and UnlockCode code value are used for securing your device and should only be used when you have the device. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snow device through the Snowball client when the client is started for the first time.
As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snow device associated with that job.
The credentials of a given job, including its manifest file and unlock code, expire 360 days after the job is created.
func (*Client) GetJobUnlockCode ¶
func (c *Client) GetJobUnlockCode(ctx context.Context, params *GetJobUnlockCodeInput, optFns ...func(*Options)) (*GetJobUnlockCodeOutput, error)
Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 360 days after the associated job has been created.
The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snow device through the Snowball client when the client is started for the first time. The only valid status for calling this API is WithCustomer as the manifest and Unlock code values are used for securing your device and should only be used when you have the device.
As a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snow device associated with that job.
func (*Client) GetSnowballUsage ¶
func (c *Client) GetSnowballUsage(ctx context.Context, params *GetSnowballUsageInput, optFns ...func(*Options)) (*GetSnowballUsageOutput, error)
Returns information about the Snow Family service limit for your account, and also the number of Snow devices your account has in use.
The default service limit for the number of Snow devices that you can have at one time is 1. If you want to increase your service limit, contact Amazon Web Services Support.
func (*Client) GetSoftwareUpdates ¶
func (c *Client) GetSoftwareUpdates(ctx context.Context, params *GetSoftwareUpdatesInput, optFns ...func(*Options)) (*GetSoftwareUpdatesOutput, error)
Returns an Amazon S3 presigned URL for an update file associated with a specified JobId .
func (*Client) ListClusterJobs ¶
func (c *Client) ListClusterJobs(ctx context.Context, params *ListClusterJobsInput, optFns ...func(*Options)) (*ListClusterJobsOutput, error)
Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.
func (*Client) ListClusters ¶
func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information.
func (*Client) ListCompatibleImages ¶
func (c *Client) ListCompatibleImages(ctx context.Context, params *ListCompatibleImagesInput, optFns ...func(*Options)) (*ListCompatibleImagesOutput, error)
This action returns a list of the different Amazon EC2-compatible Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.
func (*Client) ListJobs ¶
func (c *Client) ListJobs(ctx context.Context, params *ListJobsInput, optFns ...func(*Options)) (*ListJobsOutput, error)
Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions.
func (*Client) ListLongTermPricing ¶ added in v1.3.0
func (c *Client) ListLongTermPricing(ctx context.Context, params *ListLongTermPricingInput, optFns ...func(*Options)) (*ListLongTermPricingOutput, error)
Lists all long-term pricing types.
func (*Client) ListPickupLocations ¶ added in v1.20.0
func (c *Client) ListPickupLocations(ctx context.Context, params *ListPickupLocationsInput, optFns ...func(*Options)) (*ListPickupLocationsOutput, error)
A list of locations from which the customer can choose to pickup a device.
func (*Client) ListServiceVersions ¶ added in v1.18.0
func (c *Client) ListServiceVersions(ctx context.Context, params *ListServiceVersionsInput, optFns ...func(*Options)) (*ListServiceVersionsOutput, error)
Lists all supported versions for Snow on-device services. Returns an array of ServiceVersion object containing the supported versions for a particular service.
func (*Client) Options ¶ added in v1.24.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) UpdateCluster ¶
func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
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.
func (*Client) UpdateJob ¶
func (c *Client) UpdateJob(ctx context.Context, params *UpdateJobInput, optFns ...func(*Options)) (*UpdateJobOutput, error)
While a job's JobState value is New , you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.
func (*Client) UpdateJobShipmentState ¶ added in v0.29.0
func (c *Client) UpdateJobShipmentState(ctx context.Context, params *UpdateJobShipmentStateInput, optFns ...func(*Options)) (*UpdateJobShipmentStateOutput, error)
Updates the state when a shipment state changes to a different state.
func (*Client) UpdateLongTermPricing ¶ added in v1.3.0
func (c *Client) UpdateLongTermPricing(ctx context.Context, params *UpdateLongTermPricingInput, optFns ...func(*Options)) (*UpdateLongTermPricingOutput, error)
Updates the long-term pricing type.
type CreateAddressInput ¶
type CreateAddressOutput ¶
type CreateAddressOutput struct { // The automatically generated ID for a specific address. You'll use this ID when // you create a job to specify which address you want the Snow device for that job // shipped to. AddressId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateClusterInput ¶
type CreateClusterInput struct { // The ID for the address that you want the cluster shipped to. // // This member is required. AddressId *string // The type of job for this cluster. Currently, the only job type supported for // clusters is LOCAL_USE . // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. // // This member is required. JobType types.JobType // The shipping speed for each node in this cluster. This speed doesn't dictate // how soon you'll get each Snowball Edge device, rather it represents how quickly // each device moves to its destination while in transit. Regional shipping speeds // are as follows: // // - In Australia, you have access to express shipping. Typically, Snow devices // shipped express are delivered in about a day. // // - In the European Union (EU), you have access to express shipping. Typically, // Snow devices shipped express are delivered in about a day. In addition, most // countries in the EU have access to standard shipping, which typically takes less // than a week, one way. // // - In India, Snow devices are delivered in one to seven days. // // - In the United States of America (US), you have access to one-day shipping // and two-day shipping. // // - In Australia, you have access to express shipping. Typically, devices // shipped express are delivered in about a day. // // - In the European Union (EU), you have access to express shipping. Typically, // Snow devices shipped express are delivered in about a day. In addition, most // countries in the EU have access to standard shipping, which typically takes less // than a week, one way. // // - In India, Snow devices are delivered in one to seven days. // // - In the US, you have access to one-day shipping and two-day shipping. // // This member is required. ShippingOption types.ShippingOption // The type of Snow Family devices to use for this cluster. // // For cluster jobs, Amazon Web Services Snow Family currently supports only the // EDGE device type. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. // // This member is required. SnowballType types.SnowballType // An optional description of this specific cluster, for example Environmental // Data Cluster-01 . Description *string // Force to create cluster when user attempts to overprovision or underprovision a // cluster. A cluster is overprovisioned or underprovisioned if the initial size of // the cluster is more (overprovisioned) or less (underprovisioned) than what // needed to meet capacity requirement specified with OnDeviceServiceConfiguration . ForceCreateJobs bool // The forwarding address ID for a cluster. This field is not supported in most // regions. ForwardingAddressId *string // If provided, each job will be automatically created and associated with the new // cluster. If not provided, will be treated as 0. InitialClusterSize *int32 // The KmsKeyARN value that you want to associate with this cluster. KmsKeyARN // values are created by using the [CreateKey]API action in Key Management Service (KMS). // // [CreateKey]: https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html KmsKeyARN *string // Lists long-term pricing id that will be used to associate with jobs // automatically created for the new cluster. LongTermPricingIds []string // The Amazon Simple Notification Service (Amazon SNS) notification settings for // this cluster. Notification *types.Notification // 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). OnDeviceServiceConfiguration *types.OnDeviceServiceConfiguration // Allows you to securely operate and manage Snow devices in a cluster remotely // from outside of your internal network. When set to INSTALLED_AUTOSTART , remote // management will automatically be available when the device arrives at your // location. Otherwise, you need to use the Snowball Client to manage the device. RemoteManagement types.RemoteManagement // The resources associated with the cluster job. These resources include Amazon // S3 buckets and optional Lambda functions written in the Python language. Resources *types.JobResource // The RoleARN that you want to associate with this cluster. RoleArn values are // created by using the [CreateRole]API action in Identity and Access Management (IAM). // // [CreateRole]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html RoleARN *string // If your job is being created in one of the US regions, you have the option of // specifying what size Snow device you'd like for this job. In all other regions, // Snowballs come with 80 TB in storage capacity. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. SnowballCapacityPreference types.SnowballCapacity // The tax documents required in your Amazon Web Services Region. TaxDocuments *types.TaxDocuments // contains filtered or unexported fields }
type CreateClusterOutput ¶
type CreateClusterOutput struct { // The automatically generated ID for a cluster. ClusterId *string // List of jobs created for this cluster. For syntax, see [ListJobsResult$JobListEntries] in this guide. // // [ListJobsResult$JobListEntries]: http://amazonaws.com/snowball/latest/api-reference/API_ListJobs.html#API_ListJobs_ResponseSyntax JobListEntries []types.JobListEntry // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateJobInput ¶
type CreateJobInput struct { // The ID for the address that you want the Snow device shipped to. AddressId *string // The ID of a cluster. If you're creating a job for a node in a cluster, you need // to provide only this clusterId value. The other job attributes are inherited // from the cluster. ClusterId *string // Defines an optional description of this specific job, for example Important // Photos 2016-08-11 . Description *string // Defines the device configuration for an Snowcone job. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. DeviceConfiguration *types.DeviceConfiguration // The forwarding address ID for a job. This field is not supported in most // Regions. ForwardingAddressId *string // The highest impact level of data that will be stored or processed on the // device, provided at job creation. ImpactLevel types.ImpactLevel // Defines the type of job that you're creating. JobType types.JobType // The KmsKeyARN that you want to associate with this job. KmsKeyARN s are created // using the [CreateKey]Key Management Service (KMS) API action. // // [CreateKey]: https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html KmsKeyARN *string // The ID of the long-term pricing type for the device. LongTermPricingId *string // Defines the Amazon Simple Notification Service (Amazon SNS) notification // settings for this job. Notification *types.Notification // 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) and the Amazon Web // Services Storage Gateway service Tape Gateway type. OnDeviceServiceConfiguration *types.OnDeviceServiceConfiguration // Information identifying the person picking up the device. PickupDetails *types.PickupDetails // Allows you to securely operate and manage Snowcone devices remotely from // outside of your internal network. When set to INSTALLED_AUTOSTART , remote // management will automatically be available when the device arrives at your // location. Otherwise, you need to use the Snowball Edge client to manage the // device. When set to NOT_INSTALLED , remote management will not be available on // the device. RemoteManagement types.RemoteManagement // Defines the Amazon S3 buckets associated with this job. // // With IMPORT jobs, you specify the bucket or buckets that your transferred data // will be imported into. // // With EXPORT jobs, you specify the bucket or buckets that your transferred data // will be exported from. Optionally, you can also specify a KeyRange value. If // you choose to export a range, you define the length of the range by providing // either an inclusive BeginMarker value, an inclusive EndMarker value, or both. // Ranges are UTF-8 binary sorted. Resources *types.JobResource // The RoleARN that you want to associate with this job. RoleArn s are created // using the [CreateRole]Identity and Access Management (IAM) API action. // // [CreateRole]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html RoleARN *string // The shipping speed for this job. This speed doesn't dictate how soon you'll get // the Snow device, rather it represents how quickly the Snow device moves to its // destination while in transit. Regional shipping speeds are as follows: // // - In Australia, you have access to express shipping. Typically, Snow devices // shipped express are delivered in about a day. // // - In the European Union (EU), you have access to express shipping. Typically, // Snow devices shipped express are delivered in about a day. In addition, most // countries in the EU have access to standard shipping, which typically takes less // than a week, one way. // // - In India, Snow devices are delivered in one to seven days. // // - In the US, you have access to one-day shipping and two-day shipping. ShippingOption types.ShippingOption // If your job is being created in one of the US regions, you have the option of // specifying what size Snow device you'd like for this job. In all other regions, // Snowballs come with 80 TB in storage capacity. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. SnowballCapacityPreference types.SnowballCapacity // The type of Snow Family devices to use for this job. // // For cluster jobs, Amazon Web Services Snow Family currently supports only the // EDGE device type. // // The type of Amazon Web Services Snow device to use for this job. Currently, the // only supported device type for cluster jobs is EDGE . // // For more information, see [Snowball Edge Device Options] in the Snowball Edge Developer Guide. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. // // [Snowball Edge Device Options]: https://docs.aws.amazon.com/snowball/latest/developer-guide/device-differences.html SnowballType types.SnowballType // The tax documents required in your Amazon Web Services Region. TaxDocuments *types.TaxDocuments // contains filtered or unexported fields }
type CreateJobOutput ¶
type CreateJobOutput struct { // The automatically generated ID for a job, for example // JID123e4567-e89b-12d3-a456-426655440000 . JobId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateLongTermPricingInput ¶ added in v1.3.0
type CreateLongTermPricingInput struct { // The type of long-term pricing option you want for the device, either 1-year or // 3-year long-term pricing. // // This member is required. LongTermPricingType types.LongTermPricingType // The type of Snow Family devices to use for the long-term pricing job. // // This member is required. SnowballType types.SnowballType // Specifies whether the current long-term pricing type for the device should be // renewed. IsLongTermPricingAutoRenew *bool // contains filtered or unexported fields }
type CreateLongTermPricingOutput ¶ added in v1.3.0
type CreateLongTermPricingOutput struct { // The ID of the long-term pricing type for the device. LongTermPricingId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateReturnShippingLabelInput ¶ added in v0.29.0
type CreateReturnShippingLabelInput struct { // The ID for a job that you want to create the return shipping label for; for // example, JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // The shipping speed for a particular job. This speed doesn't dictate how soon // the device is returned to Amazon Web Services. This speed represents how quickly // it moves to its destination while in transit. Regional shipping speeds are as // follows: ShippingOption types.ShippingOption // contains filtered or unexported fields }
type CreateReturnShippingLabelOutput ¶ added in v0.29.0
type CreateReturnShippingLabelOutput struct { // The status information of the task on a Snow device that is being returned to // Amazon Web Services. Status types.ShippingLabelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddressInput ¶
type DescribeAddressInput struct { // The automatically generated ID for a specific address. // // This member is required. AddressId *string // contains filtered or unexported fields }
type DescribeAddressOutput ¶
type DescribeAddressOutput struct { // The address that you want the Snow device(s) associated with a specific job to // be shipped to. Address *types.Address // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddressesAPIClient ¶ added in v0.30.0
type DescribeAddressesAPIClient interface {
DescribeAddresses(context.Context, *DescribeAddressesInput, ...func(*Options)) (*DescribeAddressesOutput, error)
}
DescribeAddressesAPIClient is a client that implements the DescribeAddresses operation.
type DescribeAddressesInput ¶
type DescribeAddressesInput struct { // The number of ADDRESS objects to return. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of ADDRESS objects, you have the option of specifying a value for NextToken as // the starting point for your list of returned addresses. NextToken *string // contains filtered or unexported fields }
type DescribeAddressesOutput ¶
type DescribeAddressesOutput struct { // The Snow device shipping addresses that were created for this account. Addresses []types.Address // HTTP requests are stateless. If you use the automatically generated NextToken // value in your next DescribeAddresses call, your list of returned addresses will // start from this point in the array. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddressesPaginator ¶ added in v0.30.0
type DescribeAddressesPaginator struct {
// contains filtered or unexported fields
}
DescribeAddressesPaginator is a paginator for DescribeAddresses
func NewDescribeAddressesPaginator ¶ added in v0.30.0
func NewDescribeAddressesPaginator(client DescribeAddressesAPIClient, params *DescribeAddressesInput, optFns ...func(*DescribeAddressesPaginatorOptions)) *DescribeAddressesPaginator
NewDescribeAddressesPaginator returns a new DescribeAddressesPaginator
func (*DescribeAddressesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeAddressesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAddressesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeAddressesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAddressesOutput, error)
NextPage retrieves the next DescribeAddresses page.
type DescribeAddressesPaginatorOptions ¶ added in v0.30.0
type DescribeAddressesPaginatorOptions struct { // The number of ADDRESS objects to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAddressesPaginatorOptions is the paginator options for DescribeAddresses
type DescribeClusterInput ¶
type DescribeClusterInput struct { // The automatically generated ID for a cluster. // // This member is required. ClusterId *string // contains filtered or unexported fields }
type DescribeClusterOutput ¶
type DescribeClusterOutput struct { // Information about a specific cluster, including shipping information, cluster // status, and other important metadata. ClusterMetadata *types.ClusterMetadata // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJobInput ¶
type DescribeJobInput struct { // The automatically generated ID for a job, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type DescribeJobOutput ¶
type DescribeJobOutput struct { // Information about a specific job, including shipping information, job status, // and other important metadata. JobMetadata *types.JobMetadata // Information about a specific job part (in the case of an export job), including // shipping information, job status, and other important metadata. SubJobMetadata []types.JobMetadata // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeReturnShippingLabelInput ¶ added in v0.29.0
type DescribeReturnShippingLabelInput struct { // The automatically generated ID for a job, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type DescribeReturnShippingLabelOutput ¶ added in v0.29.0
type DescribeReturnShippingLabelOutput struct { // The expiration date of the current return shipping label. ExpirationDate *time.Time // The pre-signed Amazon S3 URI used to download the return shipping label. ReturnShippingLabelURI *string // The status information of the task on a Snow device that is being returned to // Amazon Web Services. Status types.ShippingLabelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.21.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.21.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.21.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.21.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.21.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetJobManifestInput ¶
type GetJobManifestInput struct { // The ID for a job that you want to get the manifest file for, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type GetJobManifestOutput ¶
type GetJobManifestOutput struct { // The Amazon S3 presigned URL for the manifest file associated with the specified // JobId value. ManifestURI *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetJobUnlockCodeInput ¶
type GetJobUnlockCodeInput struct { // The ID for the job that you want to get the UnlockCode value for, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type GetJobUnlockCodeOutput ¶
type GetJobUnlockCodeOutput struct { // The UnlockCode value for the specified job. The UnlockCode value can be // accessed for up to 360 days after the job has been created. UnlockCode *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSnowballUsageInput ¶
type GetSnowballUsageInput struct {
// contains filtered or unexported fields
}
type GetSnowballUsageOutput ¶
type GetSnowballUsageOutput struct { // The service limit for number of Snow devices this account can have at once. The // default service limit is 1 (one). SnowballLimit *int32 // The number of Snow devices that this account is currently using. SnowballsInUse *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSoftwareUpdatesInput ¶
type GetSoftwareUpdatesInput struct { // The ID for a job that you want to get the software update file for, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // contains filtered or unexported fields }
type GetSoftwareUpdatesOutput ¶
type GetSoftwareUpdatesOutput struct { // The Amazon S3 presigned URL for the update file associated with the specified // JobId value. The software update will be available for 2 days after this request // is made. To access an update after the 2 days have passed, you'll have to make // another call to GetSoftwareUpdates . UpdatesURI *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListClusterJobsAPIClient ¶ added in v1.16.0
type ListClusterJobsAPIClient interface {
ListClusterJobs(context.Context, *ListClusterJobsInput, ...func(*Options)) (*ListClusterJobsOutput, error)
}
ListClusterJobsAPIClient is a client that implements the ListClusterJobs operation.
type ListClusterJobsInput ¶
type ListClusterJobsInput struct { // The 39-character ID for the cluster that you want to list, for example // CID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. ClusterId *string // The number of JobListEntry objects to return. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of JobListEntry objects, you have the option of specifying NextToken as the // starting point for your returned list. NextToken *string // contains filtered or unexported fields }
type ListClusterJobsOutput ¶
type ListClusterJobsOutput struct { // Each JobListEntry object contains a job's state, a job's ID, and a value that // indicates whether the job is a job part, in the case of export jobs. JobListEntries []types.JobListEntry // HTTP requests are stateless. If you use the automatically generated NextToken // value in your next ListClusterJobsResult call, your list of returned jobs will // start from this point in the array. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListClusterJobsPaginator ¶ added in v1.16.0
type ListClusterJobsPaginator struct {
// contains filtered or unexported fields
}
ListClusterJobsPaginator is a paginator for ListClusterJobs
func NewListClusterJobsPaginator ¶ added in v1.16.0
func NewListClusterJobsPaginator(client ListClusterJobsAPIClient, params *ListClusterJobsInput, optFns ...func(*ListClusterJobsPaginatorOptions)) *ListClusterJobsPaginator
NewListClusterJobsPaginator returns a new ListClusterJobsPaginator
func (*ListClusterJobsPaginator) HasMorePages ¶ added in v1.16.0
func (p *ListClusterJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListClusterJobsPaginator) NextPage ¶ added in v1.16.0
func (p *ListClusterJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListClusterJobsOutput, error)
NextPage retrieves the next ListClusterJobs page.
type ListClusterJobsPaginatorOptions ¶ added in v1.16.0
type ListClusterJobsPaginatorOptions struct { // The number of JobListEntry objects to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListClusterJobsPaginatorOptions is the paginator options for ListClusterJobs
type ListClustersAPIClient ¶ added in v1.16.0
type ListClustersAPIClient interface {
ListClusters(context.Context, *ListClustersInput, ...func(*Options)) (*ListClustersOutput, error)
}
ListClustersAPIClient is a client that implements the ListClusters operation.
type ListClustersInput ¶
type ListClustersInput struct { // The number of ClusterListEntry objects to return. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of ClusterListEntry objects, you have the option of specifying NextToken as the // starting point for your returned list. NextToken *string // contains filtered or unexported fields }
type ListClustersOutput ¶
type ListClustersOutput struct { // Each ClusterListEntry object contains a cluster's state, a cluster's ID, and // other important status information. ClusterListEntries []types.ClusterListEntry // HTTP requests are stateless. If you use the automatically generated NextToken // value in your next ClusterListEntry call, your list of returned clusters will // start from this point in the array. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListClustersPaginator ¶ added in v1.16.0
type ListClustersPaginator struct {
// contains filtered or unexported fields
}
ListClustersPaginator is a paginator for ListClusters
func NewListClustersPaginator ¶ added in v1.16.0
func NewListClustersPaginator(client ListClustersAPIClient, params *ListClustersInput, optFns ...func(*ListClustersPaginatorOptions)) *ListClustersPaginator
NewListClustersPaginator returns a new ListClustersPaginator
func (*ListClustersPaginator) HasMorePages ¶ added in v1.16.0
func (p *ListClustersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListClustersPaginator) NextPage ¶ added in v1.16.0
func (p *ListClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListClustersOutput, error)
NextPage retrieves the next ListClusters page.
type ListClustersPaginatorOptions ¶ added in v1.16.0
type ListClustersPaginatorOptions struct { // The number of ClusterListEntry objects to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListClustersPaginatorOptions is the paginator options for ListClusters
type ListCompatibleImagesAPIClient ¶ added in v1.16.0
type ListCompatibleImagesAPIClient interface {
ListCompatibleImages(context.Context, *ListCompatibleImagesInput, ...func(*Options)) (*ListCompatibleImagesOutput, error)
}
ListCompatibleImagesAPIClient is a client that implements the ListCompatibleImages operation.
type ListCompatibleImagesInput ¶
type ListCompatibleImagesInput struct { // The maximum number of results for the list of compatible images. Currently, a // Snowball Edge device can store 10 AMIs. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of compatible images, you can specify a value for NextToken as the starting // point for your list of returned images. NextToken *string // contains filtered or unexported fields }
type ListCompatibleImagesOutput ¶
type ListCompatibleImagesOutput struct { // A JSON-formatted object that describes a compatible AMI, including the ID and // name for a Snow device AMI. CompatibleImages []types.CompatibleImage // Because HTTP requests are stateless, this is the starting point for your next // list of returned images. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCompatibleImagesPaginator ¶ added in v1.16.0
type ListCompatibleImagesPaginator struct {
// contains filtered or unexported fields
}
ListCompatibleImagesPaginator is a paginator for ListCompatibleImages
func NewListCompatibleImagesPaginator ¶ added in v1.16.0
func NewListCompatibleImagesPaginator(client ListCompatibleImagesAPIClient, params *ListCompatibleImagesInput, optFns ...func(*ListCompatibleImagesPaginatorOptions)) *ListCompatibleImagesPaginator
NewListCompatibleImagesPaginator returns a new ListCompatibleImagesPaginator
func (*ListCompatibleImagesPaginator) HasMorePages ¶ added in v1.16.0
func (p *ListCompatibleImagesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCompatibleImagesPaginator) NextPage ¶ added in v1.16.0
func (p *ListCompatibleImagesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCompatibleImagesOutput, error)
NextPage retrieves the next ListCompatibleImages page.
type ListCompatibleImagesPaginatorOptions ¶ added in v1.16.0
type ListCompatibleImagesPaginatorOptions struct { // The maximum number of results for the list of compatible images. Currently, a // Snowball Edge device can store 10 AMIs. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCompatibleImagesPaginatorOptions is the paginator options for ListCompatibleImages
type ListJobsAPIClient ¶ added in v0.30.0
type ListJobsAPIClient interface {
ListJobs(context.Context, *ListJobsInput, ...func(*Options)) (*ListJobsOutput, error)
}
ListJobsAPIClient is a client that implements the ListJobs operation.
type ListJobsInput ¶
type ListJobsInput struct { // The number of JobListEntry objects to return. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of JobListEntry objects, you have the option of specifying NextToken as the // starting point for your returned list. NextToken *string // contains filtered or unexported fields }
type ListJobsOutput ¶
type ListJobsOutput struct { // Each JobListEntry object contains a job's state, a job's ID, and a value that // indicates whether the job is a job part, in the case of export jobs. JobListEntries []types.JobListEntry // HTTP requests are stateless. If you use this automatically generated NextToken // value in your next ListJobs call, your returned JobListEntry objects will start // from this point in the array. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListJobsPaginator ¶ added in v0.30.0
type ListJobsPaginator struct {
// contains filtered or unexported fields
}
ListJobsPaginator is a paginator for ListJobs
func NewListJobsPaginator ¶ added in v0.30.0
func NewListJobsPaginator(client ListJobsAPIClient, params *ListJobsInput, optFns ...func(*ListJobsPaginatorOptions)) *ListJobsPaginator
NewListJobsPaginator returns a new ListJobsPaginator
func (*ListJobsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListJobsPaginator) NextPage ¶ added in v0.30.0
func (p *ListJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJobsOutput, error)
NextPage retrieves the next ListJobs page.
type ListJobsPaginatorOptions ¶ added in v0.30.0
type ListJobsPaginatorOptions struct { // The number of JobListEntry objects to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListJobsPaginatorOptions is the paginator options for ListJobs
type ListLongTermPricingAPIClient ¶ added in v1.16.0
type ListLongTermPricingAPIClient interface {
ListLongTermPricing(context.Context, *ListLongTermPricingInput, ...func(*Options)) (*ListLongTermPricingOutput, error)
}
ListLongTermPricingAPIClient is a client that implements the ListLongTermPricing operation.
type ListLongTermPricingInput ¶ added in v1.3.0
type ListLongTermPricingInput struct { // The maximum number of ListLongTermPricing objects to return. MaxResults *int32 // Because HTTP requests are stateless, this is the starting point for your next // list of ListLongTermPricing to return. NextToken *string // contains filtered or unexported fields }
type ListLongTermPricingOutput ¶ added in v1.3.0
type ListLongTermPricingOutput struct { // Each LongTermPricingEntry object contains a status, ID, and other information // about the LongTermPricing type. LongTermPricingEntries []types.LongTermPricingListEntry // Because HTTP requests are stateless, this is the starting point for your next // list of returned ListLongTermPricing list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLongTermPricingPaginator ¶ added in v1.16.0
type ListLongTermPricingPaginator struct {
// contains filtered or unexported fields
}
ListLongTermPricingPaginator is a paginator for ListLongTermPricing
func NewListLongTermPricingPaginator ¶ added in v1.16.0
func NewListLongTermPricingPaginator(client ListLongTermPricingAPIClient, params *ListLongTermPricingInput, optFns ...func(*ListLongTermPricingPaginatorOptions)) *ListLongTermPricingPaginator
NewListLongTermPricingPaginator returns a new ListLongTermPricingPaginator
func (*ListLongTermPricingPaginator) HasMorePages ¶ added in v1.16.0
func (p *ListLongTermPricingPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLongTermPricingPaginator) NextPage ¶ added in v1.16.0
func (p *ListLongTermPricingPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLongTermPricingOutput, error)
NextPage retrieves the next ListLongTermPricing page.
type ListLongTermPricingPaginatorOptions ¶ added in v1.16.0
type ListLongTermPricingPaginatorOptions struct { // The maximum number of ListLongTermPricing objects to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLongTermPricingPaginatorOptions is the paginator options for ListLongTermPricing
type ListPickupLocationsAPIClient ¶ added in v1.20.0
type ListPickupLocationsAPIClient interface {
ListPickupLocations(context.Context, *ListPickupLocationsInput, ...func(*Options)) (*ListPickupLocationsOutput, error)
}
ListPickupLocationsAPIClient is a client that implements the ListPickupLocations operation.
type ListPickupLocationsInput ¶ added in v1.20.0
type ListPickupLocationsInput struct { // The maximum number of locations to list per page. MaxResults *int32 // HTTP requests are stateless. To identify what object comes "next" in the list // of ListPickupLocationsRequest objects, you have the option of specifying // NextToken as the starting point for your returned list. NextToken *string // contains filtered or unexported fields }
type ListPickupLocationsOutput ¶ added in v1.20.0
type ListPickupLocationsOutput struct { // Information about the address of pickup locations. Addresses []types.Address // HTTP requests are stateless. To identify what object comes "next" in the list // of ListPickupLocationsResult objects, you have the option of specifying // NextToken as the starting point for your returned list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListPickupLocationsPaginator ¶ added in v1.20.0
type ListPickupLocationsPaginator struct {
// contains filtered or unexported fields
}
ListPickupLocationsPaginator is a paginator for ListPickupLocations
func NewListPickupLocationsPaginator ¶ added in v1.20.0
func NewListPickupLocationsPaginator(client ListPickupLocationsAPIClient, params *ListPickupLocationsInput, optFns ...func(*ListPickupLocationsPaginatorOptions)) *ListPickupLocationsPaginator
NewListPickupLocationsPaginator returns a new ListPickupLocationsPaginator
func (*ListPickupLocationsPaginator) HasMorePages ¶ added in v1.20.0
func (p *ListPickupLocationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListPickupLocationsPaginator) NextPage ¶ added in v1.20.0
func (p *ListPickupLocationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPickupLocationsOutput, error)
NextPage retrieves the next ListPickupLocations page.
type ListPickupLocationsPaginatorOptions ¶ added in v1.20.0
type ListPickupLocationsPaginatorOptions struct { // The maximum number of locations to list per page. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListPickupLocationsPaginatorOptions is the paginator options for ListPickupLocations
type ListServiceVersionsInput ¶ added in v1.18.0
type ListServiceVersionsInput struct { // The name of the service for which you're requesting supported versions. // // This member is required. ServiceName types.ServiceName // A list of names and versions of dependant services of the requested service. DependentServices []types.DependentService // The maximum number of ListServiceVersions objects to return. MaxResults *int32 // Because HTTP requests are stateless, this is the starting point for the next // list of returned ListServiceVersionsRequest versions. NextToken *string // contains filtered or unexported fields }
type ListServiceVersionsOutput ¶ added in v1.18.0
type ListServiceVersionsOutput struct { // The name of the service for which the system provided supported versions. // // This member is required. ServiceName types.ServiceName // A list of supported versions. // // This member is required. ServiceVersions []types.ServiceVersion // A list of names and versions of dependant services of the service for which the // system provided supported versions. DependentServices []types.DependentService // Because HTTP requests are stateless, this is the starting point of the next // list of returned ListServiceVersionsResult results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.23.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type UpdateClusterInput ¶
type UpdateClusterInput struct { // The cluster ID of the cluster that you want to update, for example // CID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. ClusterId *string // The ID of the updated Address object. AddressId *string // The updated description of this cluster. Description *string // The updated ID for the forwarding address for a cluster. This field is not // supported in most regions. ForwardingAddressId *string // The new or updated Notification object. Notification *types.Notification // 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). OnDeviceServiceConfiguration *types.OnDeviceServiceConfiguration // The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects. Resources *types.JobResource // 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). // // [CreateRole]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html RoleARN *string // The updated shipping option value of this cluster's ShippingDetails object. ShippingOption types.ShippingOption // contains filtered or unexported fields }
type UpdateClusterOutput ¶
type UpdateClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateJobInput ¶
type UpdateJobInput struct { // The job ID of the job that you want to update, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // The ID of the updated Address object. AddressId *string // The updated description of this job's JobMetadata object. Description *string // The updated ID for the forwarding address for a job. This field is not // supported in most regions. ForwardingAddressId *string // The new or updated Notification object. Notification *types.Notification // 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) and the Amazon Web // Services Storage Gateway service Tape Gateway type. OnDeviceServiceConfiguration *types.OnDeviceServiceConfiguration // Information identifying the person picking up the device. PickupDetails *types.PickupDetails // The updated JobResource object, or the updated JobResource object. Resources *types.JobResource // The new role Amazon Resource Name (ARN) that you want to associate with this // job. To create a role ARN, use the [CreateRole]Identity and Access Management (IAM) API // action. // // [CreateRole]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html RoleARN *string // The updated shipping option value of this job's ShippingDetails object. ShippingOption types.ShippingOption // The updated SnowballCapacityPreference of this job's JobMetadata object. The 50 TB // Snowballs are only available in the US regions. // // For more information, see // "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide or // "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" // (Snow Family Devices and Capacity) in the Snowcone User Guide. SnowballCapacityPreference types.SnowballCapacity // contains filtered or unexported fields }
type UpdateJobOutput ¶
type UpdateJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateJobShipmentStateInput ¶ added in v0.29.0
type UpdateJobShipmentStateInput struct { // The job ID of the job whose shipment date you want to update, for example // JID123e4567-e89b-12d3-a456-426655440000 . // // This member is required. JobId *string // The state of a device when it is being shipped. // // Set to RECEIVED when the device arrives at your location. // // Set to RETURNED when you have returned the device to Amazon Web Services. // // This member is required. ShipmentState types.ShipmentState // contains filtered or unexported fields }
type UpdateJobShipmentStateOutput ¶ added in v0.29.0
type UpdateJobShipmentStateOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateLongTermPricingInput ¶ added in v1.3.0
type UpdateLongTermPricingInput struct { // The ID of the long-term pricing type for the device. // // This member is required. LongTermPricingId *string // If set to true , specifies that the current long-term pricing type for the // device should be automatically renewed before the long-term pricing contract // expires. IsLongTermPricingAutoRenew *bool // Specifies that a device that is ordered with long-term pricing should be // replaced with a new device. ReplacementJob *string // contains filtered or unexported fields }
type UpdateLongTermPricingOutput ¶ added in v1.3.0
type UpdateLongTermPricingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CancelCluster.go
- api_op_CancelJob.go
- api_op_CreateAddress.go
- api_op_CreateCluster.go
- api_op_CreateJob.go
- api_op_CreateLongTermPricing.go
- api_op_CreateReturnShippingLabel.go
- api_op_DescribeAddress.go
- api_op_DescribeAddresses.go
- api_op_DescribeCluster.go
- api_op_DescribeJob.go
- api_op_DescribeReturnShippingLabel.go
- api_op_GetJobManifest.go
- api_op_GetJobUnlockCode.go
- api_op_GetSnowballUsage.go
- api_op_GetSoftwareUpdates.go
- api_op_ListClusterJobs.go
- api_op_ListClusters.go
- api_op_ListCompatibleImages.go
- api_op_ListJobs.go
- api_op_ListLongTermPricing.go
- api_op_ListPickupLocations.go
- api_op_ListServiceVersions.go
- api_op_UpdateCluster.go
- api_op_UpdateJob.go
- api_op_UpdateJobShipmentState.go
- api_op_UpdateLongTermPricing.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go