From bf389b3c58e1855e7b83b725315a6a10441d7e7f Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 29 Nov 2022 14:56:17 -0800 Subject: [PATCH] Release v1.44.149 (2022-11-29) (#4647) Release v1.44.149 (2022-11-29) === --- CHANGELOG.md | 3 + aws/version.go | 2 +- service/ec2/api.go | 7017 +++++++ service/ec2/ec2iface/interface.go | 111 + service/kinesis/api.go | 4 +- service/kinesis/eventstream_test.go | 12 +- service/kms/examples_test.go | 711 +- service/lexruntimev2/api.go | 26 +- service/lexruntimev2/eventstream_test.go | 252 +- service/omics/api.go | 21855 ++++++++++++++++++++ service/omics/errors.go | 76 + service/omics/omicsiface/interface.go | 421 + service/omics/service.go | 106 + service/omics/waiters.go | 1015 + service/transcribestreamingservice/api.go | 26 +- 15 files changed, 31439 insertions(+), 198 deletions(-) create mode 100644 service/omics/api.go create mode 100644 service/omics/errors.go create mode 100644 service/omics/omicsiface/interface.go create mode 100644 service/omics/service.go create mode 100644 service/omics/waiters.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 714f07def29..22eb46f486b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +Release v1.44.149 (2022-11-29) +=== + Release v1.44.148 (2022-11-29) === diff --git a/aws/version.go b/aws/version.go index 2ce8f1c53e6..41fe3cf0e31 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.148" +const SDKVersion = "1.44.149" diff --git a/service/ec2/api.go b/service/ec2/api.go index 23be76a83ff..750e0e8180c 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -2450,6 +2450,81 @@ func (c *EC2) AttachNetworkInterfaceWithContext(ctx aws.Context, input *AttachNe return out, req.Send() } +const opAttachVerifiedAccessTrustProvider = "AttachVerifiedAccessTrustProvider" + +// AttachVerifiedAccessTrustProviderRequest generates a "aws/request.Request" representing the +// client's request for the AttachVerifiedAccessTrustProvider operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AttachVerifiedAccessTrustProvider for more information on using the AttachVerifiedAccessTrustProvider +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the AttachVerifiedAccessTrustProviderRequest method. +// req, resp := client.AttachVerifiedAccessTrustProviderRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVerifiedAccessTrustProvider +func (c *EC2) AttachVerifiedAccessTrustProviderRequest(input *AttachVerifiedAccessTrustProviderInput) (req *request.Request, output *AttachVerifiedAccessTrustProviderOutput) { + op := &request.Operation{ + Name: opAttachVerifiedAccessTrustProvider, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AttachVerifiedAccessTrustProviderInput{} + } + + output = &AttachVerifiedAccessTrustProviderOutput{} + req = c.newRequest(op, input, output) + return +} + +// AttachVerifiedAccessTrustProvider API operation for Amazon Elastic Compute Cloud. +// +// A trust provider is a third-party entity that creates, maintains, and manages +// identity information for users and devices. One or more trust providers can +// be attached to an Amazon Web Services Verified Access instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation AttachVerifiedAccessTrustProvider for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVerifiedAccessTrustProvider +func (c *EC2) AttachVerifiedAccessTrustProvider(input *AttachVerifiedAccessTrustProviderInput) (*AttachVerifiedAccessTrustProviderOutput, error) { + req, out := c.AttachVerifiedAccessTrustProviderRequest(input) + return out, req.Send() +} + +// AttachVerifiedAccessTrustProviderWithContext is the same as AttachVerifiedAccessTrustProvider with the addition of +// the ability to pass a context and additional request options. +// +// See AttachVerifiedAccessTrustProvider for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) AttachVerifiedAccessTrustProviderWithContext(ctx aws.Context, input *AttachVerifiedAccessTrustProviderInput, opts ...request.Option) (*AttachVerifiedAccessTrustProviderOutput, error) { + req, out := c.AttachVerifiedAccessTrustProviderRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAttachVolume = "AttachVolume" // AttachVolumeRequest generates a "aws/request.Request" representing the @@ -9563,6 +9638,311 @@ func (c *EC2) CreateTransitGatewayVpcAttachmentWithContext(ctx aws.Context, inpu return out, req.Send() } +const opCreateVerifiedAccessEndpoint = "CreateVerifiedAccessEndpoint" + +// CreateVerifiedAccessEndpointRequest generates a "aws/request.Request" representing the +// client's request for the CreateVerifiedAccessEndpoint operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVerifiedAccessEndpoint for more information on using the CreateVerifiedAccessEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateVerifiedAccessEndpointRequest method. +// req, resp := client.CreateVerifiedAccessEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessEndpoint +func (c *EC2) CreateVerifiedAccessEndpointRequest(input *CreateVerifiedAccessEndpointInput) (req *request.Request, output *CreateVerifiedAccessEndpointOutput) { + op := &request.Operation{ + Name: opCreateVerifiedAccessEndpoint, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVerifiedAccessEndpointInput{} + } + + output = &CreateVerifiedAccessEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVerifiedAccessEndpoint API operation for Amazon Elastic Compute Cloud. +// +// An Amazon Web Services Verified Access endpoint is where you define your +// application along with an optional endpoint-level access policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVerifiedAccessEndpoint for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessEndpoint +func (c *EC2) CreateVerifiedAccessEndpoint(input *CreateVerifiedAccessEndpointInput) (*CreateVerifiedAccessEndpointOutput, error) { + req, out := c.CreateVerifiedAccessEndpointRequest(input) + return out, req.Send() +} + +// CreateVerifiedAccessEndpointWithContext is the same as CreateVerifiedAccessEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVerifiedAccessEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVerifiedAccessEndpointWithContext(ctx aws.Context, input *CreateVerifiedAccessEndpointInput, opts ...request.Option) (*CreateVerifiedAccessEndpointOutput, error) { + req, out := c.CreateVerifiedAccessEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateVerifiedAccessGroup = "CreateVerifiedAccessGroup" + +// CreateVerifiedAccessGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateVerifiedAccessGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVerifiedAccessGroup for more information on using the CreateVerifiedAccessGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateVerifiedAccessGroupRequest method. +// req, resp := client.CreateVerifiedAccessGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessGroup +func (c *EC2) CreateVerifiedAccessGroupRequest(input *CreateVerifiedAccessGroupInput) (req *request.Request, output *CreateVerifiedAccessGroupOutput) { + op := &request.Operation{ + Name: opCreateVerifiedAccessGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVerifiedAccessGroupInput{} + } + + output = &CreateVerifiedAccessGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVerifiedAccessGroup API operation for Amazon Elastic Compute Cloud. +// +// An Amazon Web Services Verified Access group is a collection of Amazon Web +// Services Verified Access endpoints who's associated applications have similar +// security requirements. Each instance within an Amazon Web Services Verified +// Access group shares an Amazon Web Services Verified Access policy. For example, +// you can group all Amazon Web Services Verified Access instances associated +// with “sales” applications together and use one common Amazon Web Services +// Verified Access policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVerifiedAccessGroup for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessGroup +func (c *EC2) CreateVerifiedAccessGroup(input *CreateVerifiedAccessGroupInput) (*CreateVerifiedAccessGroupOutput, error) { + req, out := c.CreateVerifiedAccessGroupRequest(input) + return out, req.Send() +} + +// CreateVerifiedAccessGroupWithContext is the same as CreateVerifiedAccessGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVerifiedAccessGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVerifiedAccessGroupWithContext(ctx aws.Context, input *CreateVerifiedAccessGroupInput, opts ...request.Option) (*CreateVerifiedAccessGroupOutput, error) { + req, out := c.CreateVerifiedAccessGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateVerifiedAccessInstance = "CreateVerifiedAccessInstance" + +// CreateVerifiedAccessInstanceRequest generates a "aws/request.Request" representing the +// client's request for the CreateVerifiedAccessInstance operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVerifiedAccessInstance for more information on using the CreateVerifiedAccessInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateVerifiedAccessInstanceRequest method. +// req, resp := client.CreateVerifiedAccessInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessInstance +func (c *EC2) CreateVerifiedAccessInstanceRequest(input *CreateVerifiedAccessInstanceInput) (req *request.Request, output *CreateVerifiedAccessInstanceOutput) { + op := &request.Operation{ + Name: opCreateVerifiedAccessInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVerifiedAccessInstanceInput{} + } + + output = &CreateVerifiedAccessInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVerifiedAccessInstance API operation for Amazon Elastic Compute Cloud. +// +// An Amazon Web Services Verified Access instance is a regional entity that +// evaluates application requests and grants access only when your security +// requirements are met. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVerifiedAccessInstance for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessInstance +func (c *EC2) CreateVerifiedAccessInstance(input *CreateVerifiedAccessInstanceInput) (*CreateVerifiedAccessInstanceOutput, error) { + req, out := c.CreateVerifiedAccessInstanceRequest(input) + return out, req.Send() +} + +// CreateVerifiedAccessInstanceWithContext is the same as CreateVerifiedAccessInstance with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVerifiedAccessInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVerifiedAccessInstanceWithContext(ctx aws.Context, input *CreateVerifiedAccessInstanceInput, opts ...request.Option) (*CreateVerifiedAccessInstanceOutput, error) { + req, out := c.CreateVerifiedAccessInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateVerifiedAccessTrustProvider = "CreateVerifiedAccessTrustProvider" + +// CreateVerifiedAccessTrustProviderRequest generates a "aws/request.Request" representing the +// client's request for the CreateVerifiedAccessTrustProvider operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVerifiedAccessTrustProvider for more information on using the CreateVerifiedAccessTrustProvider +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateVerifiedAccessTrustProviderRequest method. +// req, resp := client.CreateVerifiedAccessTrustProviderRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessTrustProvider +func (c *EC2) CreateVerifiedAccessTrustProviderRequest(input *CreateVerifiedAccessTrustProviderInput) (req *request.Request, output *CreateVerifiedAccessTrustProviderOutput) { + op := &request.Operation{ + Name: opCreateVerifiedAccessTrustProvider, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVerifiedAccessTrustProviderInput{} + } + + output = &CreateVerifiedAccessTrustProviderOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVerifiedAccessTrustProvider API operation for Amazon Elastic Compute Cloud. +// +// A trust provider is a third-party entity that creates, maintains, and manages +// identity information for users and devices. When an application request is +// made, the identity information sent by the trust provider will be evaluated +// by Amazon Web Services Verified Access, before allowing or denying the application +// request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVerifiedAccessTrustProvider for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessTrustProvider +func (c *EC2) CreateVerifiedAccessTrustProvider(input *CreateVerifiedAccessTrustProviderInput) (*CreateVerifiedAccessTrustProviderOutput, error) { + req, out := c.CreateVerifiedAccessTrustProviderRequest(input) + return out, req.Send() +} + +// CreateVerifiedAccessTrustProviderWithContext is the same as CreateVerifiedAccessTrustProvider with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVerifiedAccessTrustProvider for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVerifiedAccessTrustProviderWithContext(ctx aws.Context, input *CreateVerifiedAccessTrustProviderInput, opts ...request.Option) (*CreateVerifiedAccessTrustProviderOutput, error) { + req, out := c.CreateVerifiedAccessTrustProviderRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateVolume = "CreateVolume" // CreateVolumeRequest generates a "aws/request.Request" representing the @@ -14764,6 +15144,298 @@ func (c *EC2) DeleteTransitGatewayVpcAttachmentWithContext(ctx aws.Context, inpu return out, req.Send() } +const opDeleteVerifiedAccessEndpoint = "DeleteVerifiedAccessEndpoint" + +// DeleteVerifiedAccessEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVerifiedAccessEndpoint operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVerifiedAccessEndpoint for more information on using the DeleteVerifiedAccessEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteVerifiedAccessEndpointRequest method. +// req, resp := client.DeleteVerifiedAccessEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessEndpoint +func (c *EC2) DeleteVerifiedAccessEndpointRequest(input *DeleteVerifiedAccessEndpointInput) (req *request.Request, output *DeleteVerifiedAccessEndpointOutput) { + op := &request.Operation{ + Name: opDeleteVerifiedAccessEndpoint, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVerifiedAccessEndpointInput{} + } + + output = &DeleteVerifiedAccessEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVerifiedAccessEndpoint API operation for Amazon Elastic Compute Cloud. +// +// Delete an Amazon Web Services Verified Access endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVerifiedAccessEndpoint for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessEndpoint +func (c *EC2) DeleteVerifiedAccessEndpoint(input *DeleteVerifiedAccessEndpointInput) (*DeleteVerifiedAccessEndpointOutput, error) { + req, out := c.DeleteVerifiedAccessEndpointRequest(input) + return out, req.Send() +} + +// DeleteVerifiedAccessEndpointWithContext is the same as DeleteVerifiedAccessEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVerifiedAccessEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVerifiedAccessEndpointWithContext(ctx aws.Context, input *DeleteVerifiedAccessEndpointInput, opts ...request.Option) (*DeleteVerifiedAccessEndpointOutput, error) { + req, out := c.DeleteVerifiedAccessEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVerifiedAccessGroup = "DeleteVerifiedAccessGroup" + +// DeleteVerifiedAccessGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVerifiedAccessGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVerifiedAccessGroup for more information on using the DeleteVerifiedAccessGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteVerifiedAccessGroupRequest method. +// req, resp := client.DeleteVerifiedAccessGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessGroup +func (c *EC2) DeleteVerifiedAccessGroupRequest(input *DeleteVerifiedAccessGroupInput) (req *request.Request, output *DeleteVerifiedAccessGroupOutput) { + op := &request.Operation{ + Name: opDeleteVerifiedAccessGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVerifiedAccessGroupInput{} + } + + output = &DeleteVerifiedAccessGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVerifiedAccessGroup API operation for Amazon Elastic Compute Cloud. +// +// Delete an Amazon Web Services Verified Access group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVerifiedAccessGroup for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessGroup +func (c *EC2) DeleteVerifiedAccessGroup(input *DeleteVerifiedAccessGroupInput) (*DeleteVerifiedAccessGroupOutput, error) { + req, out := c.DeleteVerifiedAccessGroupRequest(input) + return out, req.Send() +} + +// DeleteVerifiedAccessGroupWithContext is the same as DeleteVerifiedAccessGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVerifiedAccessGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVerifiedAccessGroupWithContext(ctx aws.Context, input *DeleteVerifiedAccessGroupInput, opts ...request.Option) (*DeleteVerifiedAccessGroupOutput, error) { + req, out := c.DeleteVerifiedAccessGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVerifiedAccessInstance = "DeleteVerifiedAccessInstance" + +// DeleteVerifiedAccessInstanceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVerifiedAccessInstance operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVerifiedAccessInstance for more information on using the DeleteVerifiedAccessInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteVerifiedAccessInstanceRequest method. +// req, resp := client.DeleteVerifiedAccessInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessInstance +func (c *EC2) DeleteVerifiedAccessInstanceRequest(input *DeleteVerifiedAccessInstanceInput) (req *request.Request, output *DeleteVerifiedAccessInstanceOutput) { + op := &request.Operation{ + Name: opDeleteVerifiedAccessInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVerifiedAccessInstanceInput{} + } + + output = &DeleteVerifiedAccessInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVerifiedAccessInstance API operation for Amazon Elastic Compute Cloud. +// +// Delete an Amazon Web Services Verified Access instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVerifiedAccessInstance for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessInstance +func (c *EC2) DeleteVerifiedAccessInstance(input *DeleteVerifiedAccessInstanceInput) (*DeleteVerifiedAccessInstanceOutput, error) { + req, out := c.DeleteVerifiedAccessInstanceRequest(input) + return out, req.Send() +} + +// DeleteVerifiedAccessInstanceWithContext is the same as DeleteVerifiedAccessInstance with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVerifiedAccessInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVerifiedAccessInstanceWithContext(ctx aws.Context, input *DeleteVerifiedAccessInstanceInput, opts ...request.Option) (*DeleteVerifiedAccessInstanceOutput, error) { + req, out := c.DeleteVerifiedAccessInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVerifiedAccessTrustProvider = "DeleteVerifiedAccessTrustProvider" + +// DeleteVerifiedAccessTrustProviderRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVerifiedAccessTrustProvider operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVerifiedAccessTrustProvider for more information on using the DeleteVerifiedAccessTrustProvider +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteVerifiedAccessTrustProviderRequest method. +// req, resp := client.DeleteVerifiedAccessTrustProviderRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessTrustProvider +func (c *EC2) DeleteVerifiedAccessTrustProviderRequest(input *DeleteVerifiedAccessTrustProviderInput) (req *request.Request, output *DeleteVerifiedAccessTrustProviderOutput) { + op := &request.Operation{ + Name: opDeleteVerifiedAccessTrustProvider, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVerifiedAccessTrustProviderInput{} + } + + output = &DeleteVerifiedAccessTrustProviderOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVerifiedAccessTrustProvider API operation for Amazon Elastic Compute Cloud. +// +// Delete an Amazon Web Services Verified Access trust provider. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVerifiedAccessTrustProvider for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVerifiedAccessTrustProvider +func (c *EC2) DeleteVerifiedAccessTrustProvider(input *DeleteVerifiedAccessTrustProviderInput) (*DeleteVerifiedAccessTrustProviderOutput, error) { + req, out := c.DeleteVerifiedAccessTrustProviderRequest(input) + return out, req.Send() +} + +// DeleteVerifiedAccessTrustProviderWithContext is the same as DeleteVerifiedAccessTrustProvider with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVerifiedAccessTrustProvider for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVerifiedAccessTrustProviderWithContext(ctx aws.Context, input *DeleteVerifiedAccessTrustProviderInput, opts ...request.Option) (*DeleteVerifiedAccessTrustProviderOutput, error) { + req, out := c.DeleteVerifiedAccessTrustProviderRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteVolume = "DeleteVolume" // DeleteVolumeRequest generates a "aws/request.Request" representing the @@ -30459,6 +31131,657 @@ func (c *EC2) DescribeTrunkInterfaceAssociationsPagesWithContext(ctx aws.Context return p.Err() } +const opDescribeVerifiedAccessEndpoints = "DescribeVerifiedAccessEndpoints" + +// DescribeVerifiedAccessEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVerifiedAccessEndpoints operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVerifiedAccessEndpoints for more information on using the DescribeVerifiedAccessEndpoints +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeVerifiedAccessEndpointsRequest method. +// req, resp := client.DescribeVerifiedAccessEndpointsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessEndpoints +func (c *EC2) DescribeVerifiedAccessEndpointsRequest(input *DescribeVerifiedAccessEndpointsInput) (req *request.Request, output *DescribeVerifiedAccessEndpointsOutput) { + op := &request.Operation{ + Name: opDescribeVerifiedAccessEndpoints, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeVerifiedAccessEndpointsInput{} + } + + output = &DescribeVerifiedAccessEndpointsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVerifiedAccessEndpoints API operation for Amazon Elastic Compute Cloud. +// +// Describe Amazon Web Services Verified Access endpoints. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVerifiedAccessEndpoints for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessEndpoints +func (c *EC2) DescribeVerifiedAccessEndpoints(input *DescribeVerifiedAccessEndpointsInput) (*DescribeVerifiedAccessEndpointsOutput, error) { + req, out := c.DescribeVerifiedAccessEndpointsRequest(input) + return out, req.Send() +} + +// DescribeVerifiedAccessEndpointsWithContext is the same as DescribeVerifiedAccessEndpoints with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVerifiedAccessEndpoints for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessEndpointsWithContext(ctx aws.Context, input *DescribeVerifiedAccessEndpointsInput, opts ...request.Option) (*DescribeVerifiedAccessEndpointsOutput, error) { + req, out := c.DescribeVerifiedAccessEndpointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeVerifiedAccessEndpointsPages iterates over the pages of a DescribeVerifiedAccessEndpoints operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeVerifiedAccessEndpoints method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeVerifiedAccessEndpoints operation. +// pageNum := 0 +// err := client.DescribeVerifiedAccessEndpointsPages(params, +// func(page *ec2.DescribeVerifiedAccessEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeVerifiedAccessEndpointsPages(input *DescribeVerifiedAccessEndpointsInput, fn func(*DescribeVerifiedAccessEndpointsOutput, bool) bool) error { + return c.DescribeVerifiedAccessEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeVerifiedAccessEndpointsPagesWithContext same as DescribeVerifiedAccessEndpointsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessEndpointsPagesWithContext(ctx aws.Context, input *DescribeVerifiedAccessEndpointsInput, fn func(*DescribeVerifiedAccessEndpointsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeVerifiedAccessEndpointsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeVerifiedAccessEndpointsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeVerifiedAccessEndpointsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeVerifiedAccessGroups = "DescribeVerifiedAccessGroups" + +// DescribeVerifiedAccessGroupsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVerifiedAccessGroups operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVerifiedAccessGroups for more information on using the DescribeVerifiedAccessGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeVerifiedAccessGroupsRequest method. +// req, resp := client.DescribeVerifiedAccessGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessGroups +func (c *EC2) DescribeVerifiedAccessGroupsRequest(input *DescribeVerifiedAccessGroupsInput) (req *request.Request, output *DescribeVerifiedAccessGroupsOutput) { + op := &request.Operation{ + Name: opDescribeVerifiedAccessGroups, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeVerifiedAccessGroupsInput{} + } + + output = &DescribeVerifiedAccessGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVerifiedAccessGroups API operation for Amazon Elastic Compute Cloud. +// +// Describe details of existing Verified Access groups. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVerifiedAccessGroups for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessGroups +func (c *EC2) DescribeVerifiedAccessGroups(input *DescribeVerifiedAccessGroupsInput) (*DescribeVerifiedAccessGroupsOutput, error) { + req, out := c.DescribeVerifiedAccessGroupsRequest(input) + return out, req.Send() +} + +// DescribeVerifiedAccessGroupsWithContext is the same as DescribeVerifiedAccessGroups with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVerifiedAccessGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessGroupsWithContext(ctx aws.Context, input *DescribeVerifiedAccessGroupsInput, opts ...request.Option) (*DescribeVerifiedAccessGroupsOutput, error) { + req, out := c.DescribeVerifiedAccessGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeVerifiedAccessGroupsPages iterates over the pages of a DescribeVerifiedAccessGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeVerifiedAccessGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeVerifiedAccessGroups operation. +// pageNum := 0 +// err := client.DescribeVerifiedAccessGroupsPages(params, +// func(page *ec2.DescribeVerifiedAccessGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeVerifiedAccessGroupsPages(input *DescribeVerifiedAccessGroupsInput, fn func(*DescribeVerifiedAccessGroupsOutput, bool) bool) error { + return c.DescribeVerifiedAccessGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeVerifiedAccessGroupsPagesWithContext same as DescribeVerifiedAccessGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessGroupsPagesWithContext(ctx aws.Context, input *DescribeVerifiedAccessGroupsInput, fn func(*DescribeVerifiedAccessGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeVerifiedAccessGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeVerifiedAccessGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeVerifiedAccessGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeVerifiedAccessInstanceLoggingConfigurations = "DescribeVerifiedAccessInstanceLoggingConfigurations" + +// DescribeVerifiedAccessInstanceLoggingConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVerifiedAccessInstanceLoggingConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVerifiedAccessInstanceLoggingConfigurations for more information on using the DescribeVerifiedAccessInstanceLoggingConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeVerifiedAccessInstanceLoggingConfigurationsRequest method. +// req, resp := client.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstanceLoggingConfigurations +func (c *EC2) DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) (req *request.Request, output *DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) { + op := &request.Operation{ + Name: opDescribeVerifiedAccessInstanceLoggingConfigurations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeVerifiedAccessInstanceLoggingConfigurationsInput{} + } + + output = &DescribeVerifiedAccessInstanceLoggingConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVerifiedAccessInstanceLoggingConfigurations API operation for Amazon Elastic Compute Cloud. +// +// Describes the current logging configuration for the Amazon Web Services Verified +// Access instances. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVerifiedAccessInstanceLoggingConfigurations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstanceLoggingConfigurations +func (c *EC2) DescribeVerifiedAccessInstanceLoggingConfigurations(input *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) (*DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, error) { + req, out := c.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input) + return out, req.Send() +} + +// DescribeVerifiedAccessInstanceLoggingConfigurationsWithContext is the same as DescribeVerifiedAccessInstanceLoggingConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVerifiedAccessInstanceLoggingConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessInstanceLoggingConfigurationsWithContext(ctx aws.Context, input *DescribeVerifiedAccessInstanceLoggingConfigurationsInput, opts ...request.Option) (*DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, error) { + req, out := c.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeVerifiedAccessInstanceLoggingConfigurationsPages iterates over the pages of a DescribeVerifiedAccessInstanceLoggingConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeVerifiedAccessInstanceLoggingConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeVerifiedAccessInstanceLoggingConfigurations operation. +// pageNum := 0 +// err := client.DescribeVerifiedAccessInstanceLoggingConfigurationsPages(params, +// func(page *ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeVerifiedAccessInstanceLoggingConfigurationsPages(input *DescribeVerifiedAccessInstanceLoggingConfigurationsInput, fn func(*DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, bool) bool) error { + return c.DescribeVerifiedAccessInstanceLoggingConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeVerifiedAccessInstanceLoggingConfigurationsPagesWithContext same as DescribeVerifiedAccessInstanceLoggingConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessInstanceLoggingConfigurationsPagesWithContext(ctx aws.Context, input *DescribeVerifiedAccessInstanceLoggingConfigurationsInput, fn func(*DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeVerifiedAccessInstanceLoggingConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeVerifiedAccessInstanceLoggingConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeVerifiedAccessInstances = "DescribeVerifiedAccessInstances" + +// DescribeVerifiedAccessInstancesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVerifiedAccessInstances operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVerifiedAccessInstances for more information on using the DescribeVerifiedAccessInstances +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeVerifiedAccessInstancesRequest method. +// req, resp := client.DescribeVerifiedAccessInstancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstances +func (c *EC2) DescribeVerifiedAccessInstancesRequest(input *DescribeVerifiedAccessInstancesInput) (req *request.Request, output *DescribeVerifiedAccessInstancesOutput) { + op := &request.Operation{ + Name: opDescribeVerifiedAccessInstances, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeVerifiedAccessInstancesInput{} + } + + output = &DescribeVerifiedAccessInstancesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVerifiedAccessInstances API operation for Amazon Elastic Compute Cloud. +// +// Describe Verified Access instances. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVerifiedAccessInstances for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstances +func (c *EC2) DescribeVerifiedAccessInstances(input *DescribeVerifiedAccessInstancesInput) (*DescribeVerifiedAccessInstancesOutput, error) { + req, out := c.DescribeVerifiedAccessInstancesRequest(input) + return out, req.Send() +} + +// DescribeVerifiedAccessInstancesWithContext is the same as DescribeVerifiedAccessInstances with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVerifiedAccessInstances for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessInstancesWithContext(ctx aws.Context, input *DescribeVerifiedAccessInstancesInput, opts ...request.Option) (*DescribeVerifiedAccessInstancesOutput, error) { + req, out := c.DescribeVerifiedAccessInstancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeVerifiedAccessInstancesPages iterates over the pages of a DescribeVerifiedAccessInstances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeVerifiedAccessInstances method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeVerifiedAccessInstances operation. +// pageNum := 0 +// err := client.DescribeVerifiedAccessInstancesPages(params, +// func(page *ec2.DescribeVerifiedAccessInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeVerifiedAccessInstancesPages(input *DescribeVerifiedAccessInstancesInput, fn func(*DescribeVerifiedAccessInstancesOutput, bool) bool) error { + return c.DescribeVerifiedAccessInstancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeVerifiedAccessInstancesPagesWithContext same as DescribeVerifiedAccessInstancesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessInstancesPagesWithContext(ctx aws.Context, input *DescribeVerifiedAccessInstancesInput, fn func(*DescribeVerifiedAccessInstancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeVerifiedAccessInstancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeVerifiedAccessInstancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeVerifiedAccessInstancesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeVerifiedAccessTrustProviders = "DescribeVerifiedAccessTrustProviders" + +// DescribeVerifiedAccessTrustProvidersRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVerifiedAccessTrustProviders operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVerifiedAccessTrustProviders for more information on using the DescribeVerifiedAccessTrustProviders +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeVerifiedAccessTrustProvidersRequest method. +// req, resp := client.DescribeVerifiedAccessTrustProvidersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessTrustProviders +func (c *EC2) DescribeVerifiedAccessTrustProvidersRequest(input *DescribeVerifiedAccessTrustProvidersInput) (req *request.Request, output *DescribeVerifiedAccessTrustProvidersOutput) { + op := &request.Operation{ + Name: opDescribeVerifiedAccessTrustProviders, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeVerifiedAccessTrustProvidersInput{} + } + + output = &DescribeVerifiedAccessTrustProvidersOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVerifiedAccessTrustProviders API operation for Amazon Elastic Compute Cloud. +// +// Describe details of existing Verified Access trust providers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVerifiedAccessTrustProviders for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessTrustProviders +func (c *EC2) DescribeVerifiedAccessTrustProviders(input *DescribeVerifiedAccessTrustProvidersInput) (*DescribeVerifiedAccessTrustProvidersOutput, error) { + req, out := c.DescribeVerifiedAccessTrustProvidersRequest(input) + return out, req.Send() +} + +// DescribeVerifiedAccessTrustProvidersWithContext is the same as DescribeVerifiedAccessTrustProviders with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVerifiedAccessTrustProviders for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessTrustProvidersWithContext(ctx aws.Context, input *DescribeVerifiedAccessTrustProvidersInput, opts ...request.Option) (*DescribeVerifiedAccessTrustProvidersOutput, error) { + req, out := c.DescribeVerifiedAccessTrustProvidersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeVerifiedAccessTrustProvidersPages iterates over the pages of a DescribeVerifiedAccessTrustProviders operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeVerifiedAccessTrustProviders method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeVerifiedAccessTrustProviders operation. +// pageNum := 0 +// err := client.DescribeVerifiedAccessTrustProvidersPages(params, +// func(page *ec2.DescribeVerifiedAccessTrustProvidersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) DescribeVerifiedAccessTrustProvidersPages(input *DescribeVerifiedAccessTrustProvidersInput, fn func(*DescribeVerifiedAccessTrustProvidersOutput, bool) bool) error { + return c.DescribeVerifiedAccessTrustProvidersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeVerifiedAccessTrustProvidersPagesWithContext same as DescribeVerifiedAccessTrustProvidersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVerifiedAccessTrustProvidersPagesWithContext(ctx aws.Context, input *DescribeVerifiedAccessTrustProvidersInput, fn func(*DescribeVerifiedAccessTrustProvidersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeVerifiedAccessTrustProvidersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeVerifiedAccessTrustProvidersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeVerifiedAccessTrustProvidersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeVolumeAttribute = "DescribeVolumeAttribute" // DescribeVolumeAttributeRequest generates a "aws/request.Request" representing the @@ -32647,6 +33970,79 @@ func (c *EC2) DetachNetworkInterfaceWithContext(ctx aws.Context, input *DetachNe return out, req.Send() } +const opDetachVerifiedAccessTrustProvider = "DetachVerifiedAccessTrustProvider" + +// DetachVerifiedAccessTrustProviderRequest generates a "aws/request.Request" representing the +// client's request for the DetachVerifiedAccessTrustProvider operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DetachVerifiedAccessTrustProvider for more information on using the DetachVerifiedAccessTrustProvider +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DetachVerifiedAccessTrustProviderRequest method. +// req, resp := client.DetachVerifiedAccessTrustProviderRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVerifiedAccessTrustProvider +func (c *EC2) DetachVerifiedAccessTrustProviderRequest(input *DetachVerifiedAccessTrustProviderInput) (req *request.Request, output *DetachVerifiedAccessTrustProviderOutput) { + op := &request.Operation{ + Name: opDetachVerifiedAccessTrustProvider, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DetachVerifiedAccessTrustProviderInput{} + } + + output = &DetachVerifiedAccessTrustProviderOutput{} + req = c.newRequest(op, input, output) + return +} + +// DetachVerifiedAccessTrustProvider API operation for Amazon Elastic Compute Cloud. +// +// Detach a trust provider from an Amazon Web Services Verified Access instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DetachVerifiedAccessTrustProvider for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVerifiedAccessTrustProvider +func (c *EC2) DetachVerifiedAccessTrustProvider(input *DetachVerifiedAccessTrustProviderInput) (*DetachVerifiedAccessTrustProviderOutput, error) { + req, out := c.DetachVerifiedAccessTrustProviderRequest(input) + return out, req.Send() +} + +// DetachVerifiedAccessTrustProviderWithContext is the same as DetachVerifiedAccessTrustProvider with the addition of +// the ability to pass a context and additional request options. +// +// See DetachVerifiedAccessTrustProvider for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DetachVerifiedAccessTrustProviderWithContext(ctx aws.Context, input *DetachVerifiedAccessTrustProviderInput, opts ...request.Option) (*DetachVerifiedAccessTrustProviderOutput, error) { + req, out := c.DetachVerifiedAccessTrustProviderRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDetachVolume = "DetachVolume" // DetachVolumeRequest generates a "aws/request.Request" representing the @@ -39785,6 +41181,152 @@ func (c *EC2) GetTransitGatewayRouteTablePropagationsPagesWithContext(ctx aws.Co return p.Err() } +const opGetVerifiedAccessEndpointPolicy = "GetVerifiedAccessEndpointPolicy" + +// GetVerifiedAccessEndpointPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetVerifiedAccessEndpointPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetVerifiedAccessEndpointPolicy for more information on using the GetVerifiedAccessEndpointPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetVerifiedAccessEndpointPolicyRequest method. +// req, resp := client.GetVerifiedAccessEndpointPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVerifiedAccessEndpointPolicy +func (c *EC2) GetVerifiedAccessEndpointPolicyRequest(input *GetVerifiedAccessEndpointPolicyInput) (req *request.Request, output *GetVerifiedAccessEndpointPolicyOutput) { + op := &request.Operation{ + Name: opGetVerifiedAccessEndpointPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetVerifiedAccessEndpointPolicyInput{} + } + + output = &GetVerifiedAccessEndpointPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetVerifiedAccessEndpointPolicy API operation for Amazon Elastic Compute Cloud. +// +// Get the Verified Access policy associated with the endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetVerifiedAccessEndpointPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVerifiedAccessEndpointPolicy +func (c *EC2) GetVerifiedAccessEndpointPolicy(input *GetVerifiedAccessEndpointPolicyInput) (*GetVerifiedAccessEndpointPolicyOutput, error) { + req, out := c.GetVerifiedAccessEndpointPolicyRequest(input) + return out, req.Send() +} + +// GetVerifiedAccessEndpointPolicyWithContext is the same as GetVerifiedAccessEndpointPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetVerifiedAccessEndpointPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetVerifiedAccessEndpointPolicyWithContext(ctx aws.Context, input *GetVerifiedAccessEndpointPolicyInput, opts ...request.Option) (*GetVerifiedAccessEndpointPolicyOutput, error) { + req, out := c.GetVerifiedAccessEndpointPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetVerifiedAccessGroupPolicy = "GetVerifiedAccessGroupPolicy" + +// GetVerifiedAccessGroupPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetVerifiedAccessGroupPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetVerifiedAccessGroupPolicy for more information on using the GetVerifiedAccessGroupPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetVerifiedAccessGroupPolicyRequest method. +// req, resp := client.GetVerifiedAccessGroupPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVerifiedAccessGroupPolicy +func (c *EC2) GetVerifiedAccessGroupPolicyRequest(input *GetVerifiedAccessGroupPolicyInput) (req *request.Request, output *GetVerifiedAccessGroupPolicyOutput) { + op := &request.Operation{ + Name: opGetVerifiedAccessGroupPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetVerifiedAccessGroupPolicyInput{} + } + + output = &GetVerifiedAccessGroupPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetVerifiedAccessGroupPolicy API operation for Amazon Elastic Compute Cloud. +// +// Shows the contents of the Verified Access policy associated with the group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetVerifiedAccessGroupPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVerifiedAccessGroupPolicy +func (c *EC2) GetVerifiedAccessGroupPolicy(input *GetVerifiedAccessGroupPolicyInput) (*GetVerifiedAccessGroupPolicyOutput, error) { + req, out := c.GetVerifiedAccessGroupPolicyRequest(input) + return out, req.Send() +} + +// GetVerifiedAccessGroupPolicyWithContext is the same as GetVerifiedAccessGroupPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetVerifiedAccessGroupPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetVerifiedAccessGroupPolicyWithContext(ctx aws.Context, input *GetVerifiedAccessGroupPolicyInput, opts ...request.Option) (*GetVerifiedAccessGroupPolicyOutput, error) { + req, out := c.GetVerifiedAccessGroupPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetVpnConnectionDeviceSampleConfiguration = "GetVpnConnectionDeviceSampleConfiguration" // GetVpnConnectionDeviceSampleConfigurationRequest generates a "aws/request.Request" representing the @@ -44119,6 +45661,519 @@ func (c *EC2) ModifyTransitGatewayVpcAttachmentWithContext(ctx aws.Context, inpu return out, req.Send() } +const opModifyVerifiedAccessEndpoint = "ModifyVerifiedAccessEndpoint" + +// ModifyVerifiedAccessEndpointRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessEndpoint operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessEndpoint for more information on using the ModifyVerifiedAccessEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessEndpointRequest method. +// req, resp := client.ModifyVerifiedAccessEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessEndpoint +func (c *EC2) ModifyVerifiedAccessEndpointRequest(input *ModifyVerifiedAccessEndpointInput) (req *request.Request, output *ModifyVerifiedAccessEndpointOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessEndpoint, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessEndpointInput{} + } + + output = &ModifyVerifiedAccessEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessEndpoint API operation for Amazon Elastic Compute Cloud. +// +// Modifies the configuration of an Amazon Web Services Verified Access endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessEndpoint for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessEndpoint +func (c *EC2) ModifyVerifiedAccessEndpoint(input *ModifyVerifiedAccessEndpointInput) (*ModifyVerifiedAccessEndpointOutput, error) { + req, out := c.ModifyVerifiedAccessEndpointRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessEndpointWithContext is the same as ModifyVerifiedAccessEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessEndpointWithContext(ctx aws.Context, input *ModifyVerifiedAccessEndpointInput, opts ...request.Option) (*ModifyVerifiedAccessEndpointOutput, error) { + req, out := c.ModifyVerifiedAccessEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessEndpointPolicy = "ModifyVerifiedAccessEndpointPolicy" + +// ModifyVerifiedAccessEndpointPolicyRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessEndpointPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessEndpointPolicy for more information on using the ModifyVerifiedAccessEndpointPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessEndpointPolicyRequest method. +// req, resp := client.ModifyVerifiedAccessEndpointPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessEndpointPolicy +func (c *EC2) ModifyVerifiedAccessEndpointPolicyRequest(input *ModifyVerifiedAccessEndpointPolicyInput) (req *request.Request, output *ModifyVerifiedAccessEndpointPolicyOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessEndpointPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessEndpointPolicyInput{} + } + + output = &ModifyVerifiedAccessEndpointPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessEndpointPolicy API operation for Amazon Elastic Compute Cloud. +// +// Modifies the specified Verified Access endpoint policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessEndpointPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessEndpointPolicy +func (c *EC2) ModifyVerifiedAccessEndpointPolicy(input *ModifyVerifiedAccessEndpointPolicyInput) (*ModifyVerifiedAccessEndpointPolicyOutput, error) { + req, out := c.ModifyVerifiedAccessEndpointPolicyRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessEndpointPolicyWithContext is the same as ModifyVerifiedAccessEndpointPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessEndpointPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessEndpointPolicyWithContext(ctx aws.Context, input *ModifyVerifiedAccessEndpointPolicyInput, opts ...request.Option) (*ModifyVerifiedAccessEndpointPolicyOutput, error) { + req, out := c.ModifyVerifiedAccessEndpointPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessGroup = "ModifyVerifiedAccessGroup" + +// ModifyVerifiedAccessGroupRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessGroup for more information on using the ModifyVerifiedAccessGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessGroupRequest method. +// req, resp := client.ModifyVerifiedAccessGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessGroup +func (c *EC2) ModifyVerifiedAccessGroupRequest(input *ModifyVerifiedAccessGroupInput) (req *request.Request, output *ModifyVerifiedAccessGroupOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessGroupInput{} + } + + output = &ModifyVerifiedAccessGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessGroup API operation for Amazon Elastic Compute Cloud. +// +// Modifies the specified Verified Access group configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessGroup for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessGroup +func (c *EC2) ModifyVerifiedAccessGroup(input *ModifyVerifiedAccessGroupInput) (*ModifyVerifiedAccessGroupOutput, error) { + req, out := c.ModifyVerifiedAccessGroupRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessGroupWithContext is the same as ModifyVerifiedAccessGroup with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessGroupWithContext(ctx aws.Context, input *ModifyVerifiedAccessGroupInput, opts ...request.Option) (*ModifyVerifiedAccessGroupOutput, error) { + req, out := c.ModifyVerifiedAccessGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessGroupPolicy = "ModifyVerifiedAccessGroupPolicy" + +// ModifyVerifiedAccessGroupPolicyRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessGroupPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessGroupPolicy for more information on using the ModifyVerifiedAccessGroupPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessGroupPolicyRequest method. +// req, resp := client.ModifyVerifiedAccessGroupPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessGroupPolicy +func (c *EC2) ModifyVerifiedAccessGroupPolicyRequest(input *ModifyVerifiedAccessGroupPolicyInput) (req *request.Request, output *ModifyVerifiedAccessGroupPolicyOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessGroupPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessGroupPolicyInput{} + } + + output = &ModifyVerifiedAccessGroupPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessGroupPolicy API operation for Amazon Elastic Compute Cloud. +// +// Modifies the specified Verified Access group policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessGroupPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessGroupPolicy +func (c *EC2) ModifyVerifiedAccessGroupPolicy(input *ModifyVerifiedAccessGroupPolicyInput) (*ModifyVerifiedAccessGroupPolicyOutput, error) { + req, out := c.ModifyVerifiedAccessGroupPolicyRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessGroupPolicyWithContext is the same as ModifyVerifiedAccessGroupPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessGroupPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessGroupPolicyWithContext(ctx aws.Context, input *ModifyVerifiedAccessGroupPolicyInput, opts ...request.Option) (*ModifyVerifiedAccessGroupPolicyOutput, error) { + req, out := c.ModifyVerifiedAccessGroupPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessInstance = "ModifyVerifiedAccessInstance" + +// ModifyVerifiedAccessInstanceRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessInstance operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessInstance for more information on using the ModifyVerifiedAccessInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessInstanceRequest method. +// req, resp := client.ModifyVerifiedAccessInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstance +func (c *EC2) ModifyVerifiedAccessInstanceRequest(input *ModifyVerifiedAccessInstanceInput) (req *request.Request, output *ModifyVerifiedAccessInstanceOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessInstanceInput{} + } + + output = &ModifyVerifiedAccessInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessInstance API operation for Amazon Elastic Compute Cloud. +// +// Modifies the configuration of the specified Verified Access instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessInstance for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstance +func (c *EC2) ModifyVerifiedAccessInstance(input *ModifyVerifiedAccessInstanceInput) (*ModifyVerifiedAccessInstanceOutput, error) { + req, out := c.ModifyVerifiedAccessInstanceRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessInstanceWithContext is the same as ModifyVerifiedAccessInstance with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessInstanceWithContext(ctx aws.Context, input *ModifyVerifiedAccessInstanceInput, opts ...request.Option) (*ModifyVerifiedAccessInstanceOutput, error) { + req, out := c.ModifyVerifiedAccessInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessInstanceLoggingConfiguration = "ModifyVerifiedAccessInstanceLoggingConfiguration" + +// ModifyVerifiedAccessInstanceLoggingConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessInstanceLoggingConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessInstanceLoggingConfiguration for more information on using the ModifyVerifiedAccessInstanceLoggingConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessInstanceLoggingConfigurationRequest method. +// req, resp := client.ModifyVerifiedAccessInstanceLoggingConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstanceLoggingConfiguration +func (c *EC2) ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input *ModifyVerifiedAccessInstanceLoggingConfigurationInput) (req *request.Request, output *ModifyVerifiedAccessInstanceLoggingConfigurationOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessInstanceLoggingConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessInstanceLoggingConfigurationInput{} + } + + output = &ModifyVerifiedAccessInstanceLoggingConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessInstanceLoggingConfiguration API operation for Amazon Elastic Compute Cloud. +// +// Modifies the logging configuration for the specified Amazon Web Services +// Verified Access instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessInstanceLoggingConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstanceLoggingConfiguration +func (c *EC2) ModifyVerifiedAccessInstanceLoggingConfiguration(input *ModifyVerifiedAccessInstanceLoggingConfigurationInput) (*ModifyVerifiedAccessInstanceLoggingConfigurationOutput, error) { + req, out := c.ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessInstanceLoggingConfigurationWithContext is the same as ModifyVerifiedAccessInstanceLoggingConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessInstanceLoggingConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessInstanceLoggingConfigurationWithContext(ctx aws.Context, input *ModifyVerifiedAccessInstanceLoggingConfigurationInput, opts ...request.Option) (*ModifyVerifiedAccessInstanceLoggingConfigurationOutput, error) { + req, out := c.ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVerifiedAccessTrustProvider = "ModifyVerifiedAccessTrustProvider" + +// ModifyVerifiedAccessTrustProviderRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVerifiedAccessTrustProvider operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVerifiedAccessTrustProvider for more information on using the ModifyVerifiedAccessTrustProvider +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyVerifiedAccessTrustProviderRequest method. +// req, resp := client.ModifyVerifiedAccessTrustProviderRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessTrustProvider +func (c *EC2) ModifyVerifiedAccessTrustProviderRequest(input *ModifyVerifiedAccessTrustProviderInput) (req *request.Request, output *ModifyVerifiedAccessTrustProviderOutput) { + op := &request.Operation{ + Name: opModifyVerifiedAccessTrustProvider, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVerifiedAccessTrustProviderInput{} + } + + output = &ModifyVerifiedAccessTrustProviderOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVerifiedAccessTrustProvider API operation for Amazon Elastic Compute Cloud. +// +// Modifies the configuration of the specified Amazon Web Services Verified +// Access trust provider. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVerifiedAccessTrustProvider for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessTrustProvider +func (c *EC2) ModifyVerifiedAccessTrustProvider(input *ModifyVerifiedAccessTrustProviderInput) (*ModifyVerifiedAccessTrustProviderOutput, error) { + req, out := c.ModifyVerifiedAccessTrustProviderRequest(input) + return out, req.Send() +} + +// ModifyVerifiedAccessTrustProviderWithContext is the same as ModifyVerifiedAccessTrustProvider with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVerifiedAccessTrustProvider for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVerifiedAccessTrustProviderWithContext(ctx aws.Context, input *ModifyVerifiedAccessTrustProviderInput, opts ...request.Option) (*ModifyVerifiedAccessTrustProviderOutput, error) { + req, out := c.ModifyVerifiedAccessTrustProviderRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyVolume = "ModifyVolume" // ModifyVolumeRequest generates a "aws/request.Request" representing the @@ -56172,6 +58227,129 @@ func (s *AttachNetworkInterfaceOutput) SetNetworkCardIndex(v int64) *AttachNetwo return s } +type AttachVerifiedAccessTrustProviderInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` + + // The ID of the Amazon Web Services Verified Access trust provider. + // + // VerifiedAccessTrustProviderId is a required field + VerifiedAccessTrustProviderId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachVerifiedAccessTrustProviderInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachVerifiedAccessTrustProviderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachVerifiedAccessTrustProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachVerifiedAccessTrustProviderInput"} + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + if s.VerifiedAccessTrustProviderId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessTrustProviderId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *AttachVerifiedAccessTrustProviderInput) SetClientToken(v string) *AttachVerifiedAccessTrustProviderInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *AttachVerifiedAccessTrustProviderInput) SetDryRun(v bool) *AttachVerifiedAccessTrustProviderInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *AttachVerifiedAccessTrustProviderInput) SetVerifiedAccessInstanceId(v string) *AttachVerifiedAccessTrustProviderInput { + s.VerifiedAccessInstanceId = &v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *AttachVerifiedAccessTrustProviderInput) SetVerifiedAccessTrustProviderId(v string) *AttachVerifiedAccessTrustProviderInput { + s.VerifiedAccessTrustProviderId = &v + return s +} + +type AttachVerifiedAccessTrustProviderOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstance *VerifiedAccessInstance `locationName:"verifiedAccessInstance" type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProvider *VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProvider" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachVerifiedAccessTrustProviderOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachVerifiedAccessTrustProviderOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessInstance sets the VerifiedAccessInstance field's value. +func (s *AttachVerifiedAccessTrustProviderOutput) SetVerifiedAccessInstance(v *VerifiedAccessInstance) *AttachVerifiedAccessTrustProviderOutput { + s.VerifiedAccessInstance = v + return s +} + +// SetVerifiedAccessTrustProvider sets the VerifiedAccessTrustProvider field's value. +func (s *AttachVerifiedAccessTrustProviderOutput) SetVerifiedAccessTrustProvider(v *VerifiedAccessTrustProvider) *AttachVerifiedAccessTrustProviderOutput { + s.VerifiedAccessTrustProvider = v + return s +} + type AttachVolumeInput struct { _ struct{} `type:"structure"` @@ -72701,6 +74879,891 @@ func (s *CreateTransitGatewayVpcAttachmentRequestOptions) SetIpv6Support(v strin return s } +// Options for a network interface-type endpoint. +type CreateVerifiedAccessEndpointEniOptions struct { + _ struct{} `type:"structure"` + + // The ID of the network interface. + NetworkInterfaceId *string `type:"string"` + + // The IP port number. + Port *int64 `min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `type:"string" enum:"VerifiedAccessEndpointProtocol"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointEniOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointEniOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVerifiedAccessEndpointEniOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedAccessEndpointEniOptions"} + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *CreateVerifiedAccessEndpointEniOptions) SetNetworkInterfaceId(v string) *CreateVerifiedAccessEndpointEniOptions { + s.NetworkInterfaceId = &v + return s +} + +// SetPort sets the Port field's value. +func (s *CreateVerifiedAccessEndpointEniOptions) SetPort(v int64) *CreateVerifiedAccessEndpointEniOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *CreateVerifiedAccessEndpointEniOptions) SetProtocol(v string) *CreateVerifiedAccessEndpointEniOptions { + s.Protocol = &v + return s +} + +type CreateVerifiedAccessEndpointInput struct { + _ struct{} `type:"structure"` + + // The DNS name for users to reach your application. + // + // ApplicationDomain is a required field + ApplicationDomain *string `type:"string" required:"true"` + + // The Amazon Web Services network component Verified Access attaches to. + // + // AttachmentType is a required field + AttachmentType *string `type:"string" required:"true" enum:"VerifiedAccessEndpointAttachmentType"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access endpoint. + Description *string `type:"string"` + + // The ARN of the public TLS/SSL certificate in Amazon Web Services Certificate + // Manager to associate with the endpoint. The CN in the certificate must match + // the DNS name your end users will use to reach your application. + // + // DomainCertificateArn is a required field + DomainCertificateArn *string `type:"string" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // A custom identifier that gets prepended to a DNS name that is generated for + // the endpoint. + // + // EndpointDomainPrefix is a required field + EndpointDomainPrefix *string `type:"string" required:"true"` + + // The type of Amazon Web Services Verified Access endpoint to create. + // + // EndpointType is a required field + EndpointType *string `type:"string" required:"true" enum:"VerifiedAccessEndpointType"` + + // The load balancer details if creating the Amazon Web Services Verified Access + // endpoint as load-balancertype. + LoadBalancerOptions *CreateVerifiedAccessEndpointLoadBalancerOptions `type:"structure"` + + // The network interface details if creating the Amazon Web Services Verified + // Access endpoint as network-interfacetype. + NetworkInterfaceOptions *CreateVerifiedAccessEndpointEniOptions `type:"structure"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `type:"string"` + + // The Amazon EC2 security groups to associate with the Amazon Web Services + // Verified Access endpoint. + SecurityGroupIds []*string `locationName:"SecurityGroupId" locationNameList:"item" type:"list"` + + // The tags to assign to the Amazon Web Services Verified Access endpoint. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + + // The ID of the Verified Access group to associate the endpoint with. + // + // VerifiedAccessGroupId is a required field + VerifiedAccessGroupId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVerifiedAccessEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedAccessEndpointInput"} + if s.ApplicationDomain == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationDomain")) + } + if s.AttachmentType == nil { + invalidParams.Add(request.NewErrParamRequired("AttachmentType")) + } + if s.DomainCertificateArn == nil { + invalidParams.Add(request.NewErrParamRequired("DomainCertificateArn")) + } + if s.EndpointDomainPrefix == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointDomainPrefix")) + } + if s.EndpointType == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointType")) + } + if s.VerifiedAccessGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessGroupId")) + } + if s.LoadBalancerOptions != nil { + if err := s.LoadBalancerOptions.Validate(); err != nil { + invalidParams.AddNested("LoadBalancerOptions", err.(request.ErrInvalidParams)) + } + } + if s.NetworkInterfaceOptions != nil { + if err := s.NetworkInterfaceOptions.Validate(); err != nil { + invalidParams.AddNested("NetworkInterfaceOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationDomain sets the ApplicationDomain field's value. +func (s *CreateVerifiedAccessEndpointInput) SetApplicationDomain(v string) *CreateVerifiedAccessEndpointInput { + s.ApplicationDomain = &v + return s +} + +// SetAttachmentType sets the AttachmentType field's value. +func (s *CreateVerifiedAccessEndpointInput) SetAttachmentType(v string) *CreateVerifiedAccessEndpointInput { + s.AttachmentType = &v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVerifiedAccessEndpointInput) SetClientToken(v string) *CreateVerifiedAccessEndpointInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateVerifiedAccessEndpointInput) SetDescription(v string) *CreateVerifiedAccessEndpointInput { + s.Description = &v + return s +} + +// SetDomainCertificateArn sets the DomainCertificateArn field's value. +func (s *CreateVerifiedAccessEndpointInput) SetDomainCertificateArn(v string) *CreateVerifiedAccessEndpointInput { + s.DomainCertificateArn = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVerifiedAccessEndpointInput) SetDryRun(v bool) *CreateVerifiedAccessEndpointInput { + s.DryRun = &v + return s +} + +// SetEndpointDomainPrefix sets the EndpointDomainPrefix field's value. +func (s *CreateVerifiedAccessEndpointInput) SetEndpointDomainPrefix(v string) *CreateVerifiedAccessEndpointInput { + s.EndpointDomainPrefix = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *CreateVerifiedAccessEndpointInput) SetEndpointType(v string) *CreateVerifiedAccessEndpointInput { + s.EndpointType = &v + return s +} + +// SetLoadBalancerOptions sets the LoadBalancerOptions field's value. +func (s *CreateVerifiedAccessEndpointInput) SetLoadBalancerOptions(v *CreateVerifiedAccessEndpointLoadBalancerOptions) *CreateVerifiedAccessEndpointInput { + s.LoadBalancerOptions = v + return s +} + +// SetNetworkInterfaceOptions sets the NetworkInterfaceOptions field's value. +func (s *CreateVerifiedAccessEndpointInput) SetNetworkInterfaceOptions(v *CreateVerifiedAccessEndpointEniOptions) *CreateVerifiedAccessEndpointInput { + s.NetworkInterfaceOptions = v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreateVerifiedAccessEndpointInput) SetPolicyDocument(v string) *CreateVerifiedAccessEndpointInput { + s.PolicyDocument = &v + return s +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *CreateVerifiedAccessEndpointInput) SetSecurityGroupIds(v []*string) *CreateVerifiedAccessEndpointInput { + s.SecurityGroupIds = v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateVerifiedAccessEndpointInput) SetTagSpecifications(v []*TagSpecification) *CreateVerifiedAccessEndpointInput { + s.TagSpecifications = v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *CreateVerifiedAccessEndpointInput) SetVerifiedAccessGroupId(v string) *CreateVerifiedAccessEndpointInput { + s.VerifiedAccessGroupId = &v + return s +} + +// Describes a load balancer when creating an Amazon Web Services Verified Access +// endpoint using the load-balancer type. +type CreateVerifiedAccessEndpointLoadBalancerOptions struct { + _ struct{} `type:"structure"` + + // The ARN of the load balancer. + LoadBalancerArn *string `type:"string"` + + // The IP port number. + Port *int64 `min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `type:"string" enum:"VerifiedAccessEndpointProtocol"` + + // The IDs of the subnets. + SubnetIds []*string `locationName:"SubnetId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointLoadBalancerOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointLoadBalancerOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVerifiedAccessEndpointLoadBalancerOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedAccessEndpointLoadBalancerOptions"} + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLoadBalancerArn sets the LoadBalancerArn field's value. +func (s *CreateVerifiedAccessEndpointLoadBalancerOptions) SetLoadBalancerArn(v string) *CreateVerifiedAccessEndpointLoadBalancerOptions { + s.LoadBalancerArn = &v + return s +} + +// SetPort sets the Port field's value. +func (s *CreateVerifiedAccessEndpointLoadBalancerOptions) SetPort(v int64) *CreateVerifiedAccessEndpointLoadBalancerOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *CreateVerifiedAccessEndpointLoadBalancerOptions) SetProtocol(v string) *CreateVerifiedAccessEndpointLoadBalancerOptions { + s.Protocol = &v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *CreateVerifiedAccessEndpointLoadBalancerOptions) SetSubnetIds(v []*string) *CreateVerifiedAccessEndpointLoadBalancerOptions { + s.SubnetIds = v + return s +} + +type CreateVerifiedAccessEndpointOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access endpoint. + VerifiedAccessEndpoint *VerifiedAccessEndpoint `locationName:"verifiedAccessEndpoint" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessEndpointOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessEndpoint sets the VerifiedAccessEndpoint field's value. +func (s *CreateVerifiedAccessEndpointOutput) SetVerifiedAccessEndpoint(v *VerifiedAccessEndpoint) *CreateVerifiedAccessEndpointOutput { + s.VerifiedAccessEndpoint = v + return s +} + +type CreateVerifiedAccessGroupInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access group. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `type:"string"` + + // The tags to assign to the Amazon Web Services Verified Access group. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVerifiedAccessGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedAccessGroupInput"} + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVerifiedAccessGroupInput) SetClientToken(v string) *CreateVerifiedAccessGroupInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateVerifiedAccessGroupInput) SetDescription(v string) *CreateVerifiedAccessGroupInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVerifiedAccessGroupInput) SetDryRun(v bool) *CreateVerifiedAccessGroupInput { + s.DryRun = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreateVerifiedAccessGroupInput) SetPolicyDocument(v string) *CreateVerifiedAccessGroupInput { + s.PolicyDocument = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateVerifiedAccessGroupInput) SetTagSpecifications(v []*TagSpecification) *CreateVerifiedAccessGroupInput { + s.TagSpecifications = v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *CreateVerifiedAccessGroupInput) SetVerifiedAccessInstanceId(v string) *CreateVerifiedAccessGroupInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type CreateVerifiedAccessGroupOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Verified Access group. + VerifiedAccessGroup *VerifiedAccessGroup `locationName:"verifiedAccessGroup" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessGroupOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessGroup sets the VerifiedAccessGroup field's value. +func (s *CreateVerifiedAccessGroupOutput) SetVerifiedAccessGroup(v *VerifiedAccessGroup) *CreateVerifiedAccessGroupOutput { + s.VerifiedAccessGroup = v + return s +} + +type CreateVerifiedAccessInstanceInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access instance. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The tags to assign to the Amazon Web Services Verified Access instance. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessInstanceInput) GoString() string { + return s.String() +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVerifiedAccessInstanceInput) SetClientToken(v string) *CreateVerifiedAccessInstanceInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateVerifiedAccessInstanceInput) SetDescription(v string) *CreateVerifiedAccessInstanceInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVerifiedAccessInstanceInput) SetDryRun(v bool) *CreateVerifiedAccessInstanceInput { + s.DryRun = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateVerifiedAccessInstanceInput) SetTagSpecifications(v []*TagSpecification) *CreateVerifiedAccessInstanceInput { + s.TagSpecifications = v + return s +} + +type CreateVerifiedAccessInstanceOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstance *VerifiedAccessInstance `locationName:"verifiedAccessInstance" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessInstanceOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessInstance sets the VerifiedAccessInstance field's value. +func (s *CreateVerifiedAccessInstanceOutput) SetVerifiedAccessInstance(v *VerifiedAccessInstance) *CreateVerifiedAccessInstanceOutput { + s.VerifiedAccessInstance = v + return s +} + +// Options for a device-identity type trust provider. +type CreateVerifiedAccessTrustProviderDeviceOptions struct { + _ struct{} `type:"structure"` + + // The ID of the tenant application with the device-identity provider. + TenantId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderDeviceOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderDeviceOptions) GoString() string { + return s.String() +} + +// SetTenantId sets the TenantId field's value. +func (s *CreateVerifiedAccessTrustProviderDeviceOptions) SetTenantId(v string) *CreateVerifiedAccessTrustProviderDeviceOptions { + s.TenantId = &v + return s +} + +type CreateVerifiedAccessTrustProviderInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access trust provider. + Description *string `type:"string"` + + // The options for device identity based trust providers. + DeviceOptions *CreateVerifiedAccessTrustProviderDeviceOptions `type:"structure"` + + // The type of device-based trust provider. + DeviceTrustProviderType *string `type:"string" enum:"DeviceTrustProviderType"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The OpenID Connect details for an oidc-type, user-identity based trust provider. + OidcOptions *CreateVerifiedAccessTrustProviderOidcOptions `type:"structure"` + + // The identifier to be used when working with policy rules. + // + // PolicyReferenceName is a required field + PolicyReferenceName *string `type:"string" required:"true"` + + // The tags to assign to the Amazon Web Services Verified Access trust provider. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + + // The type of trust provider can be either user or device-based. + // + // TrustProviderType is a required field + TrustProviderType *string `type:"string" required:"true" enum:"TrustProviderType"` + + // The type of user-based trust provider. + UserTrustProviderType *string `type:"string" enum:"UserTrustProviderType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVerifiedAccessTrustProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedAccessTrustProviderInput"} + if s.PolicyReferenceName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyReferenceName")) + } + if s.TrustProviderType == nil { + invalidParams.Add(request.NewErrParamRequired("TrustProviderType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetClientToken(v string) *CreateVerifiedAccessTrustProviderInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetDescription(v string) *CreateVerifiedAccessTrustProviderInput { + s.Description = &v + return s +} + +// SetDeviceOptions sets the DeviceOptions field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetDeviceOptions(v *CreateVerifiedAccessTrustProviderDeviceOptions) *CreateVerifiedAccessTrustProviderInput { + s.DeviceOptions = v + return s +} + +// SetDeviceTrustProviderType sets the DeviceTrustProviderType field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetDeviceTrustProviderType(v string) *CreateVerifiedAccessTrustProviderInput { + s.DeviceTrustProviderType = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetDryRun(v bool) *CreateVerifiedAccessTrustProviderInput { + s.DryRun = &v + return s +} + +// SetOidcOptions sets the OidcOptions field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetOidcOptions(v *CreateVerifiedAccessTrustProviderOidcOptions) *CreateVerifiedAccessTrustProviderInput { + s.OidcOptions = v + return s +} + +// SetPolicyReferenceName sets the PolicyReferenceName field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetPolicyReferenceName(v string) *CreateVerifiedAccessTrustProviderInput { + s.PolicyReferenceName = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetTagSpecifications(v []*TagSpecification) *CreateVerifiedAccessTrustProviderInput { + s.TagSpecifications = v + return s +} + +// SetTrustProviderType sets the TrustProviderType field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetTrustProviderType(v string) *CreateVerifiedAccessTrustProviderInput { + s.TrustProviderType = &v + return s +} + +// SetUserTrustProviderType sets the UserTrustProviderType field's value. +func (s *CreateVerifiedAccessTrustProviderInput) SetUserTrustProviderType(v string) *CreateVerifiedAccessTrustProviderInput { + s.UserTrustProviderType = &v + return s +} + +// Options for an OIDC-based, user-identity type trust provider. +type CreateVerifiedAccessTrustProviderOidcOptions struct { + _ struct{} `type:"structure"` + + // The OIDC authorization endpoint. + AuthorizationEndpoint *string `type:"string"` + + // The client identifier. + ClientId *string `type:"string"` + + // The client secret. + ClientSecret *string `type:"string"` + + // The OIDC issuer. + Issuer *string `type:"string"` + + // OpenID Connect (OIDC) scopes are used by an application during authentication + // to authorize access to a user's details. Each scope returns a specific set + // of user attributes. + Scope *string `type:"string"` + + // The OIDC token endpoint. + TokenEndpoint *string `type:"string"` + + // The OIDC user info endpoint. + UserInfoEndpoint *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderOidcOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderOidcOptions) GoString() string { + return s.String() +} + +// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetAuthorizationEndpoint(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.AuthorizationEndpoint = &v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetClientId(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.ClientId = &v + return s +} + +// SetClientSecret sets the ClientSecret field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetClientSecret(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.ClientSecret = &v + return s +} + +// SetIssuer sets the Issuer field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetIssuer(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.Issuer = &v + return s +} + +// SetScope sets the Scope field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetScope(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.Scope = &v + return s +} + +// SetTokenEndpoint sets the TokenEndpoint field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetTokenEndpoint(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.TokenEndpoint = &v + return s +} + +// SetUserInfoEndpoint sets the UserInfoEndpoint field's value. +func (s *CreateVerifiedAccessTrustProviderOidcOptions) SetUserInfoEndpoint(v string) *CreateVerifiedAccessTrustProviderOidcOptions { + s.UserInfoEndpoint = &v + return s +} + +type CreateVerifiedAccessTrustProviderOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProvider *VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProvider" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVerifiedAccessTrustProviderOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessTrustProvider sets the VerifiedAccessTrustProvider field's value. +func (s *CreateVerifiedAccessTrustProviderOutput) SetVerifiedAccessTrustProvider(v *VerifiedAccessTrustProvider) *CreateVerifiedAccessTrustProviderOutput { + s.VerifiedAccessTrustProvider = v + return s +} + type CreateVolumeInput struct { _ struct{} `type:"structure"` @@ -80216,6 +83279,406 @@ func (s *DeleteTransitGatewayVpcAttachmentOutput) SetTransitGatewayVpcAttachment return s } +type DeleteVerifiedAccessEndpointInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access endpoint. + // + // VerifiedAccessEndpointId is a required field + VerifiedAccessEndpointId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVerifiedAccessEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVerifiedAccessEndpointInput"} + if s.VerifiedAccessEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessEndpointId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DeleteVerifiedAccessEndpointInput) SetClientToken(v string) *DeleteVerifiedAccessEndpointInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVerifiedAccessEndpointInput) SetDryRun(v bool) *DeleteVerifiedAccessEndpointInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessEndpointId sets the VerifiedAccessEndpointId field's value. +func (s *DeleteVerifiedAccessEndpointInput) SetVerifiedAccessEndpointId(v string) *DeleteVerifiedAccessEndpointInput { + s.VerifiedAccessEndpointId = &v + return s +} + +type DeleteVerifiedAccessEndpointOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access endpoint. + VerifiedAccessEndpoint *VerifiedAccessEndpoint `locationName:"verifiedAccessEndpoint" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessEndpointOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessEndpoint sets the VerifiedAccessEndpoint field's value. +func (s *DeleteVerifiedAccessEndpointOutput) SetVerifiedAccessEndpoint(v *VerifiedAccessEndpoint) *DeleteVerifiedAccessEndpointOutput { + s.VerifiedAccessEndpoint = v + return s +} + +type DeleteVerifiedAccessGroupInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access group. + // + // VerifiedAccessGroupId is a required field + VerifiedAccessGroupId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVerifiedAccessGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVerifiedAccessGroupInput"} + if s.VerifiedAccessGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DeleteVerifiedAccessGroupInput) SetClientToken(v string) *DeleteVerifiedAccessGroupInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVerifiedAccessGroupInput) SetDryRun(v bool) *DeleteVerifiedAccessGroupInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *DeleteVerifiedAccessGroupInput) SetVerifiedAccessGroupId(v string) *DeleteVerifiedAccessGroupInput { + s.VerifiedAccessGroupId = &v + return s +} + +type DeleteVerifiedAccessGroupOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access group. + VerifiedAccessGroup *VerifiedAccessGroup `locationName:"verifiedAccessGroup" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessGroupOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessGroup sets the VerifiedAccessGroup field's value. +func (s *DeleteVerifiedAccessGroupOutput) SetVerifiedAccessGroup(v *VerifiedAccessGroup) *DeleteVerifiedAccessGroupOutput { + s.VerifiedAccessGroup = v + return s +} + +type DeleteVerifiedAccessInstanceInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVerifiedAccessInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVerifiedAccessInstanceInput"} + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DeleteVerifiedAccessInstanceInput) SetClientToken(v string) *DeleteVerifiedAccessInstanceInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVerifiedAccessInstanceInput) SetDryRun(v bool) *DeleteVerifiedAccessInstanceInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *DeleteVerifiedAccessInstanceInput) SetVerifiedAccessInstanceId(v string) *DeleteVerifiedAccessInstanceInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type DeleteVerifiedAccessInstanceOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstance *VerifiedAccessInstance `locationName:"verifiedAccessInstance" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessInstanceOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessInstance sets the VerifiedAccessInstance field's value. +func (s *DeleteVerifiedAccessInstanceOutput) SetVerifiedAccessInstance(v *VerifiedAccessInstance) *DeleteVerifiedAccessInstanceOutput { + s.VerifiedAccessInstance = v + return s +} + +type DeleteVerifiedAccessTrustProviderInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access trust provider. + // + // VerifiedAccessTrustProviderId is a required field + VerifiedAccessTrustProviderId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessTrustProviderInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessTrustProviderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVerifiedAccessTrustProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVerifiedAccessTrustProviderInput"} + if s.VerifiedAccessTrustProviderId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessTrustProviderId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DeleteVerifiedAccessTrustProviderInput) SetClientToken(v string) *DeleteVerifiedAccessTrustProviderInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVerifiedAccessTrustProviderInput) SetDryRun(v bool) *DeleteVerifiedAccessTrustProviderInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *DeleteVerifiedAccessTrustProviderInput) SetVerifiedAccessTrustProviderId(v string) *DeleteVerifiedAccessTrustProviderInput { + s.VerifiedAccessTrustProviderId = &v + return s +} + +type DeleteVerifiedAccessTrustProviderOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProvider *VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProvider" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessTrustProviderOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVerifiedAccessTrustProviderOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessTrustProvider sets the VerifiedAccessTrustProvider field's value. +func (s *DeleteVerifiedAccessTrustProviderOutput) SetVerifiedAccessTrustProvider(v *VerifiedAccessTrustProvider) *DeleteVerifiedAccessTrustProviderOutput { + s.VerifiedAccessTrustProvider = v + return s +} + type DeleteVolumeInput struct { _ struct{} `type:"structure"` @@ -98973,6 +102436,659 @@ func (s *DescribeTrunkInterfaceAssociationsOutput) SetNextToken(v string) *Descr return s } +type DescribeVerifiedAccessEndpointsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. Filter names and values are case-sensitive. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The ID of the Amazon Web Services Verified Access endpoint. + VerifiedAccessEndpointIds []*string `locationName:"VerifiedAccessEndpointId" locationNameList:"item" type:"list"` + + // The ID of the Amazon Web Services Verified Access group. + VerifiedAccessGroupId *string `type:"string"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessEndpointsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessEndpointsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVerifiedAccessEndpointsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedAccessEndpointsInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetDryRun(v bool) *DescribeVerifiedAccessEndpointsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetFilters(v []*Filter) *DescribeVerifiedAccessEndpointsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetMaxResults(v int64) *DescribeVerifiedAccessEndpointsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetNextToken(v string) *DescribeVerifiedAccessEndpointsInput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessEndpointIds sets the VerifiedAccessEndpointIds field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetVerifiedAccessEndpointIds(v []*string) *DescribeVerifiedAccessEndpointsInput { + s.VerifiedAccessEndpointIds = v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetVerifiedAccessGroupId(v string) *DescribeVerifiedAccessEndpointsInput { + s.VerifiedAccessGroupId = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *DescribeVerifiedAccessEndpointsInput) SetVerifiedAccessInstanceId(v string) *DescribeVerifiedAccessEndpointsInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type DescribeVerifiedAccessEndpointsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // The ID of the Amazon Web Services Verified Access endpoint. + VerifiedAccessEndpoints []*VerifiedAccessEndpoint `locationName:"verifiedAccessEndpointSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessEndpointsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessEndpointsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessEndpointsOutput) SetNextToken(v string) *DescribeVerifiedAccessEndpointsOutput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessEndpoints sets the VerifiedAccessEndpoints field's value. +func (s *DescribeVerifiedAccessEndpointsOutput) SetVerifiedAccessEndpoints(v []*VerifiedAccessEndpoint) *DescribeVerifiedAccessEndpointsOutput { + s.VerifiedAccessEndpoints = v + return s +} + +type DescribeVerifiedAccessGroupsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. Filter names and values are case-sensitive. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The ID of the Amazon Web Services Verified Access groups. + VerifiedAccessGroupIds []*string `locationName:"VerifiedAccessGroupId" locationNameList:"item" type:"list"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVerifiedAccessGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedAccessGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetDryRun(v bool) *DescribeVerifiedAccessGroupsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetFilters(v []*Filter) *DescribeVerifiedAccessGroupsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetMaxResults(v int64) *DescribeVerifiedAccessGroupsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetNextToken(v string) *DescribeVerifiedAccessGroupsInput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessGroupIds sets the VerifiedAccessGroupIds field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetVerifiedAccessGroupIds(v []*string) *DescribeVerifiedAccessGroupsInput { + s.VerifiedAccessGroupIds = v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *DescribeVerifiedAccessGroupsInput) SetVerifiedAccessInstanceId(v string) *DescribeVerifiedAccessGroupsInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type DescribeVerifiedAccessGroupsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // The ID of the Verified Access group. + VerifiedAccessGroups []*VerifiedAccessGroup `locationName:"verifiedAccessGroupSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessGroupsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessGroupsOutput) SetNextToken(v string) *DescribeVerifiedAccessGroupsOutput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessGroups sets the VerifiedAccessGroups field's value. +func (s *DescribeVerifiedAccessGroupsOutput) SetVerifiedAccessGroups(v []*VerifiedAccessGroup) *DescribeVerifiedAccessGroupsOutput { + s.VerifiedAccessGroups = v + return s +} + +type DescribeVerifiedAccessInstanceLoggingConfigurationsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. Filter names and values are case-sensitive. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the Amazon Web Services Verified Access instances. + VerifiedAccessInstanceIds []*string `locationName:"VerifiedAccessInstanceId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstanceLoggingConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstanceLoggingConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedAccessInstanceLoggingConfigurationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) SetDryRun(v bool) *DescribeVerifiedAccessInstanceLoggingConfigurationsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) SetFilters(v []*Filter) *DescribeVerifiedAccessInstanceLoggingConfigurationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) SetMaxResults(v int64) *DescribeVerifiedAccessInstanceLoggingConfigurationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) SetNextToken(v string) *DescribeVerifiedAccessInstanceLoggingConfigurationsInput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessInstanceIds sets the VerifiedAccessInstanceIds field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsInput) SetVerifiedAccessInstanceIds(v []*string) *DescribeVerifiedAccessInstanceLoggingConfigurationsInput { + s.VerifiedAccessInstanceIds = v + return s +} + +type DescribeVerifiedAccessInstanceLoggingConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The current logging configuration for the Amazon Web Services Verified Access + // instances. + LoggingConfigurations []*VerifiedAccessInstanceLoggingConfiguration `locationName:"loggingConfigurationSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) GoString() string { + return s.String() +} + +// SetLoggingConfigurations sets the LoggingConfigurations field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) SetLoggingConfigurations(v []*VerifiedAccessInstanceLoggingConfiguration) *DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { + s.LoggingConfigurations = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) SetNextToken(v string) *DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { + s.NextToken = &v + return s +} + +type DescribeVerifiedAccessInstancesInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. Filter names and values are case-sensitive. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the Amazon Web Services Verified Access instances. + VerifiedAccessInstanceIds []*string `locationName:"VerifiedAccessInstanceId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVerifiedAccessInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedAccessInstancesInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVerifiedAccessInstancesInput) SetDryRun(v bool) *DescribeVerifiedAccessInstancesInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVerifiedAccessInstancesInput) SetFilters(v []*Filter) *DescribeVerifiedAccessInstancesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVerifiedAccessInstancesInput) SetMaxResults(v int64) *DescribeVerifiedAccessInstancesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessInstancesInput) SetNextToken(v string) *DescribeVerifiedAccessInstancesInput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessInstanceIds sets the VerifiedAccessInstanceIds field's value. +func (s *DescribeVerifiedAccessInstancesInput) SetVerifiedAccessInstanceIds(v []*string) *DescribeVerifiedAccessInstancesInput { + s.VerifiedAccessInstanceIds = v + return s +} + +type DescribeVerifiedAccessInstancesOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // The IDs of the Amazon Web Services Verified Access instances. + VerifiedAccessInstances []*VerifiedAccessInstance `locationName:"verifiedAccessInstanceSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessInstancesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessInstancesOutput) SetNextToken(v string) *DescribeVerifiedAccessInstancesOutput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessInstances sets the VerifiedAccessInstances field's value. +func (s *DescribeVerifiedAccessInstancesOutput) SetVerifiedAccessInstances(v []*VerifiedAccessInstance) *DescribeVerifiedAccessInstancesOutput { + s.VerifiedAccessInstances = v + return s +} + +type DescribeVerifiedAccessTrustProvidersInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. Filter names and values are case-sensitive. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the Amazon Web Services Verified Access trust providers. + VerifiedAccessTrustProviderIds []*string `locationName:"VerifiedAccessTrustProviderId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessTrustProvidersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessTrustProvidersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVerifiedAccessTrustProvidersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedAccessTrustProvidersInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVerifiedAccessTrustProvidersInput) SetDryRun(v bool) *DescribeVerifiedAccessTrustProvidersInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVerifiedAccessTrustProvidersInput) SetFilters(v []*Filter) *DescribeVerifiedAccessTrustProvidersInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVerifiedAccessTrustProvidersInput) SetMaxResults(v int64) *DescribeVerifiedAccessTrustProvidersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessTrustProvidersInput) SetNextToken(v string) *DescribeVerifiedAccessTrustProvidersInput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessTrustProviderIds sets the VerifiedAccessTrustProviderIds field's value. +func (s *DescribeVerifiedAccessTrustProvidersInput) SetVerifiedAccessTrustProviderIds(v []*string) *DescribeVerifiedAccessTrustProvidersInput { + s.VerifiedAccessTrustProviderIds = v + return s +} + +type DescribeVerifiedAccessTrustProvidersOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // The IDs of the Amazon Web Services Verified Access trust providers. + VerifiedAccessTrustProviders []*VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProviderSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessTrustProvidersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVerifiedAccessTrustProvidersOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVerifiedAccessTrustProvidersOutput) SetNextToken(v string) *DescribeVerifiedAccessTrustProvidersOutput { + s.NextToken = &v + return s +} + +// SetVerifiedAccessTrustProviders sets the VerifiedAccessTrustProviders field's value. +func (s *DescribeVerifiedAccessTrustProvidersOutput) SetVerifiedAccessTrustProviders(v []*VerifiedAccessTrustProvider) *DescribeVerifiedAccessTrustProvidersOutput { + s.VerifiedAccessTrustProviders = v + return s +} + type DescribeVolumeAttributeInput struct { _ struct{} `type:"structure"` @@ -101674,6 +105790,129 @@ func (s DetachNetworkInterfaceOutput) GoString() string { return s.String() } +type DetachVerifiedAccessTrustProviderInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` + + // The ID of the Amazon Web Services Verified Access trust provider. + // + // VerifiedAccessTrustProviderId is a required field + VerifiedAccessTrustProviderId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DetachVerifiedAccessTrustProviderInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DetachVerifiedAccessTrustProviderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachVerifiedAccessTrustProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachVerifiedAccessTrustProviderInput"} + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + if s.VerifiedAccessTrustProviderId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessTrustProviderId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DetachVerifiedAccessTrustProviderInput) SetClientToken(v string) *DetachVerifiedAccessTrustProviderInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DetachVerifiedAccessTrustProviderInput) SetDryRun(v bool) *DetachVerifiedAccessTrustProviderInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *DetachVerifiedAccessTrustProviderInput) SetVerifiedAccessInstanceId(v string) *DetachVerifiedAccessTrustProviderInput { + s.VerifiedAccessInstanceId = &v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *DetachVerifiedAccessTrustProviderInput) SetVerifiedAccessTrustProviderId(v string) *DetachVerifiedAccessTrustProviderInput { + s.VerifiedAccessTrustProviderId = &v + return s +} + +type DetachVerifiedAccessTrustProviderOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstance *VerifiedAccessInstance `locationName:"verifiedAccessInstance" type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProvider *VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProvider" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DetachVerifiedAccessTrustProviderOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DetachVerifiedAccessTrustProviderOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessInstance sets the VerifiedAccessInstance field's value. +func (s *DetachVerifiedAccessTrustProviderOutput) SetVerifiedAccessInstance(v *VerifiedAccessInstance) *DetachVerifiedAccessTrustProviderOutput { + s.VerifiedAccessInstance = v + return s +} + +// SetVerifiedAccessTrustProvider sets the VerifiedAccessTrustProvider field's value. +func (s *DetachVerifiedAccessTrustProviderOutput) SetVerifiedAccessTrustProvider(v *VerifiedAccessTrustProvider) *DetachVerifiedAccessTrustProviderOutput { + s.VerifiedAccessTrustProvider = v + return s +} + type DetachVolumeInput struct { _ struct{} `type:"structure"` @@ -101861,6 +106100,39 @@ func (s DetachVpnGatewayOutput) GoString() string { return s.String() } +// Options for an Amazon Web Services Verified Access device-identity based +// trust provider. +type DeviceOptions struct { + _ struct{} `type:"structure"` + + // The ID of the tenant application with the device-identity provider. + TenantId *string `locationName:"tenantId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeviceOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeviceOptions) GoString() string { + return s.String() +} + +// SetTenantId sets the TenantId field's value. +func (s *DeviceOptions) SetTenantId(v string) *DeviceOptions { + s.TenantId = &v + return s +} + // Describes a DHCP configuration option. type DhcpConfiguration struct { _ struct{} `type:"structure"` @@ -115943,6 +120215,202 @@ func (s *GetTransitGatewayRouteTablePropagationsOutput) SetTransitGatewayRouteTa return s } +type GetVerifiedAccessEndpointPolicyInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access endpoint. + // + // VerifiedAccessEndpointId is a required field + VerifiedAccessEndpointId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessEndpointPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessEndpointPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVerifiedAccessEndpointPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVerifiedAccessEndpointPolicyInput"} + if s.VerifiedAccessEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessEndpointId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetVerifiedAccessEndpointPolicyInput) SetDryRun(v bool) *GetVerifiedAccessEndpointPolicyInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessEndpointId sets the VerifiedAccessEndpointId field's value. +func (s *GetVerifiedAccessEndpointPolicyInput) SetVerifiedAccessEndpointId(v string) *GetVerifiedAccessEndpointPolicyInput { + s.VerifiedAccessEndpointId = &v + return s +} + +type GetVerifiedAccessEndpointPolicyOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The status of the Verified Access policy. + PolicyEnabled *bool `locationName:"policyEnabled" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessEndpointPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessEndpointPolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *GetVerifiedAccessEndpointPolicyOutput) SetPolicyDocument(v string) *GetVerifiedAccessEndpointPolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *GetVerifiedAccessEndpointPolicyOutput) SetPolicyEnabled(v bool) *GetVerifiedAccessEndpointPolicyOutput { + s.PolicyEnabled = &v + return s +} + +type GetVerifiedAccessGroupPolicyInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access group. + // + // VerifiedAccessGroupId is a required field + VerifiedAccessGroupId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessGroupPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessGroupPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVerifiedAccessGroupPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVerifiedAccessGroupPolicyInput"} + if s.VerifiedAccessGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetVerifiedAccessGroupPolicyInput) SetDryRun(v bool) *GetVerifiedAccessGroupPolicyInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *GetVerifiedAccessGroupPolicyInput) SetVerifiedAccessGroupId(v string) *GetVerifiedAccessGroupPolicyInput { + s.VerifiedAccessGroupId = &v + return s +} + +type GetVerifiedAccessGroupPolicyOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The status of the Verified Access policy. + PolicyEnabled *bool `locationName:"policyEnabled" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessGroupPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVerifiedAccessGroupPolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *GetVerifiedAccessGroupPolicyOutput) SetPolicyDocument(v string) *GetVerifiedAccessGroupPolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *GetVerifiedAccessGroupPolicyOutput) SetPolicyEnabled(v bool) *GetVerifiedAccessGroupPolicyOutput { + s.PolicyEnabled = &v + return s +} + type GetVpnConnectionDeviceSampleConfigurationInput struct { _ struct{} `type:"structure"` @@ -136430,6 +140898,1033 @@ func (s *ModifyTransitGatewayVpcAttachmentRequestOptions) SetIpv6Support(v strin return s } +// Options for a network-interface type Verified Access endpoint. +type ModifyVerifiedAccessEndpointEniOptions struct { + _ struct{} `type:"structure"` + + // The IP port number. + Port *int64 `min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `type:"string" enum:"VerifiedAccessEndpointProtocol"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointEniOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointEniOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessEndpointEniOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessEndpointEniOptions"} + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPort sets the Port field's value. +func (s *ModifyVerifiedAccessEndpointEniOptions) SetPort(v int64) *ModifyVerifiedAccessEndpointEniOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *ModifyVerifiedAccessEndpointEniOptions) SetProtocol(v string) *ModifyVerifiedAccessEndpointEniOptions { + s.Protocol = &v + return s +} + +type ModifyVerifiedAccessEndpointInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access endpoint. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The load balancer details if creating the Amazon Web Services Verified Access + // endpoint as load-balancertype. + LoadBalancerOptions *ModifyVerifiedAccessEndpointLoadBalancerOptions `type:"structure"` + + // The network interface options. + NetworkInterfaceOptions *ModifyVerifiedAccessEndpointEniOptions `type:"structure"` + + // The ID of the Amazon Web Services Verified Access endpoint. + // + // VerifiedAccessEndpointId is a required field + VerifiedAccessEndpointId *string `type:"string" required:"true"` + + // The ID of the Amazon Web Services Verified Access group. + VerifiedAccessGroupId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessEndpointInput"} + if s.VerifiedAccessEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessEndpointId")) + } + if s.LoadBalancerOptions != nil { + if err := s.LoadBalancerOptions.Validate(); err != nil { + invalidParams.AddNested("LoadBalancerOptions", err.(request.ErrInvalidParams)) + } + } + if s.NetworkInterfaceOptions != nil { + if err := s.NetworkInterfaceOptions.Validate(); err != nil { + invalidParams.AddNested("NetworkInterfaceOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetClientToken(v string) *ModifyVerifiedAccessEndpointInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetDescription(v string) *ModifyVerifiedAccessEndpointInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetDryRun(v bool) *ModifyVerifiedAccessEndpointInput { + s.DryRun = &v + return s +} + +// SetLoadBalancerOptions sets the LoadBalancerOptions field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetLoadBalancerOptions(v *ModifyVerifiedAccessEndpointLoadBalancerOptions) *ModifyVerifiedAccessEndpointInput { + s.LoadBalancerOptions = v + return s +} + +// SetNetworkInterfaceOptions sets the NetworkInterfaceOptions field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetNetworkInterfaceOptions(v *ModifyVerifiedAccessEndpointEniOptions) *ModifyVerifiedAccessEndpointInput { + s.NetworkInterfaceOptions = v + return s +} + +// SetVerifiedAccessEndpointId sets the VerifiedAccessEndpointId field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetVerifiedAccessEndpointId(v string) *ModifyVerifiedAccessEndpointInput { + s.VerifiedAccessEndpointId = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *ModifyVerifiedAccessEndpointInput) SetVerifiedAccessGroupId(v string) *ModifyVerifiedAccessEndpointInput { + s.VerifiedAccessGroupId = &v + return s +} + +// Describes a load balancer when creating an Amazon Web Services Verified Access +// endpoint using the load-balancer type. +type ModifyVerifiedAccessEndpointLoadBalancerOptions struct { + _ struct{} `type:"structure"` + + // The IP port number. + Port *int64 `min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `type:"string" enum:"VerifiedAccessEndpointProtocol"` + + // The IDs of the subnets. + SubnetIds []*string `locationName:"SubnetId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointLoadBalancerOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointLoadBalancerOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessEndpointLoadBalancerOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessEndpointLoadBalancerOptions"} + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPort sets the Port field's value. +func (s *ModifyVerifiedAccessEndpointLoadBalancerOptions) SetPort(v int64) *ModifyVerifiedAccessEndpointLoadBalancerOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *ModifyVerifiedAccessEndpointLoadBalancerOptions) SetProtocol(v string) *ModifyVerifiedAccessEndpointLoadBalancerOptions { + s.Protocol = &v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *ModifyVerifiedAccessEndpointLoadBalancerOptions) SetSubnetIds(v []*string) *ModifyVerifiedAccessEndpointLoadBalancerOptions { + s.SubnetIds = v + return s +} + +type ModifyVerifiedAccessEndpointOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Verified Access endpoint details. + VerifiedAccessEndpoint *VerifiedAccessEndpoint `locationName:"verifiedAccessEndpoint" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessEndpoint sets the VerifiedAccessEndpoint field's value. +func (s *ModifyVerifiedAccessEndpointOutput) SetVerifiedAccessEndpoint(v *VerifiedAccessEndpoint) *ModifyVerifiedAccessEndpointOutput { + s.VerifiedAccessEndpoint = v + return s +} + +type ModifyVerifiedAccessEndpointPolicyInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `type:"string"` + + // The status of the Verified Access policy. + // + // PolicyEnabled is a required field + PolicyEnabled *bool `type:"boolean" required:"true"` + + // The ID of the Amazon Web Services Verified Access endpoint. + // + // VerifiedAccessEndpointId is a required field + VerifiedAccessEndpointId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessEndpointPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessEndpointPolicyInput"} + if s.PolicyEnabled == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyEnabled")) + } + if s.VerifiedAccessEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessEndpointId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessEndpointPolicyInput) SetClientToken(v string) *ModifyVerifiedAccessEndpointPolicyInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessEndpointPolicyInput) SetDryRun(v bool) *ModifyVerifiedAccessEndpointPolicyInput { + s.DryRun = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *ModifyVerifiedAccessEndpointPolicyInput) SetPolicyDocument(v string) *ModifyVerifiedAccessEndpointPolicyInput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *ModifyVerifiedAccessEndpointPolicyInput) SetPolicyEnabled(v bool) *ModifyVerifiedAccessEndpointPolicyInput { + s.PolicyEnabled = &v + return s +} + +// SetVerifiedAccessEndpointId sets the VerifiedAccessEndpointId field's value. +func (s *ModifyVerifiedAccessEndpointPolicyInput) SetVerifiedAccessEndpointId(v string) *ModifyVerifiedAccessEndpointPolicyInput { + s.VerifiedAccessEndpointId = &v + return s +} + +type ModifyVerifiedAccessEndpointPolicyOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The status of the Verified Access policy. + PolicyEnabled *bool `locationName:"policyEnabled" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessEndpointPolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *ModifyVerifiedAccessEndpointPolicyOutput) SetPolicyDocument(v string) *ModifyVerifiedAccessEndpointPolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *ModifyVerifiedAccessEndpointPolicyOutput) SetPolicyEnabled(v bool) *ModifyVerifiedAccessEndpointPolicyOutput { + s.PolicyEnabled = &v + return s +} + +type ModifyVerifiedAccessGroupInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access group. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access group. + // + // VerifiedAccessGroupId is a required field + VerifiedAccessGroupId *string `type:"string" required:"true"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessGroupInput"} + if s.VerifiedAccessGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessGroupInput) SetClientToken(v string) *ModifyVerifiedAccessGroupInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ModifyVerifiedAccessGroupInput) SetDescription(v string) *ModifyVerifiedAccessGroupInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessGroupInput) SetDryRun(v bool) *ModifyVerifiedAccessGroupInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *ModifyVerifiedAccessGroupInput) SetVerifiedAccessGroupId(v string) *ModifyVerifiedAccessGroupInput { + s.VerifiedAccessGroupId = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *ModifyVerifiedAccessGroupInput) SetVerifiedAccessInstanceId(v string) *ModifyVerifiedAccessGroupInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type ModifyVerifiedAccessGroupOutput struct { + _ struct{} `type:"structure"` + + // Details of Amazon Web Services Verified Access group. + VerifiedAccessGroup *VerifiedAccessGroup `locationName:"verifiedAccessGroup" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessGroup sets the VerifiedAccessGroup field's value. +func (s *ModifyVerifiedAccessGroupOutput) SetVerifiedAccessGroup(v *VerifiedAccessGroup) *ModifyVerifiedAccessGroupOutput { + s.VerifiedAccessGroup = v + return s +} + +type ModifyVerifiedAccessGroupPolicyInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `type:"string"` + + // The status of the Verified Access policy. + // + // PolicyEnabled is a required field + PolicyEnabled *bool `type:"boolean" required:"true"` + + // The ID of the Amazon Web Services Verified Access group. + // + // VerifiedAccessGroupId is a required field + VerifiedAccessGroupId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessGroupPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessGroupPolicyInput"} + if s.PolicyEnabled == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyEnabled")) + } + if s.VerifiedAccessGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessGroupPolicyInput) SetClientToken(v string) *ModifyVerifiedAccessGroupPolicyInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessGroupPolicyInput) SetDryRun(v bool) *ModifyVerifiedAccessGroupPolicyInput { + s.DryRun = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *ModifyVerifiedAccessGroupPolicyInput) SetPolicyDocument(v string) *ModifyVerifiedAccessGroupPolicyInput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *ModifyVerifiedAccessGroupPolicyInput) SetPolicyEnabled(v bool) *ModifyVerifiedAccessGroupPolicyInput { + s.PolicyEnabled = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *ModifyVerifiedAccessGroupPolicyInput) SetVerifiedAccessGroupId(v string) *ModifyVerifiedAccessGroupPolicyInput { + s.VerifiedAccessGroupId = &v + return s +} + +type ModifyVerifiedAccessGroupPolicyOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Verified Access policy document. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The status of the Verified Access policy. + PolicyEnabled *bool `locationName:"policyEnabled" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessGroupPolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *ModifyVerifiedAccessGroupPolicyOutput) SetPolicyDocument(v string) *ModifyVerifiedAccessGroupPolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyEnabled sets the PolicyEnabled field's value. +func (s *ModifyVerifiedAccessGroupPolicyOutput) SetPolicyEnabled(v bool) *ModifyVerifiedAccessGroupPolicyOutput { + s.PolicyEnabled = &v + return s +} + +type ModifyVerifiedAccessInstanceInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access instance. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessInstanceInput"} + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessInstanceInput) SetClientToken(v string) *ModifyVerifiedAccessInstanceInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ModifyVerifiedAccessInstanceInput) SetDescription(v string) *ModifyVerifiedAccessInstanceInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessInstanceInput) SetDryRun(v bool) *ModifyVerifiedAccessInstanceInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *ModifyVerifiedAccessInstanceInput) SetVerifiedAccessInstanceId(v string) *ModifyVerifiedAccessInstanceInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type ModifyVerifiedAccessInstanceLoggingConfigurationInput struct { + _ struct{} `type:"structure"` + + // The configuration options for Amazon Web Services Verified Access instances. + // + // AccessLogs is a required field + AccessLogs *VerifiedAccessLogOptions `type:"structure" required:"true"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the Amazon Web Services Verified Access instance. + // + // VerifiedAccessInstanceId is a required field + VerifiedAccessInstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceLoggingConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceLoggingConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessInstanceLoggingConfigurationInput"} + if s.AccessLogs == nil { + invalidParams.Add(request.NewErrParamRequired("AccessLogs")) + } + if s.VerifiedAccessInstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessInstanceId")) + } + if s.AccessLogs != nil { + if err := s.AccessLogs.Validate(); err != nil { + invalidParams.AddNested("AccessLogs", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessLogs sets the AccessLogs field's value. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationInput) SetAccessLogs(v *VerifiedAccessLogOptions) *ModifyVerifiedAccessInstanceLoggingConfigurationInput { + s.AccessLogs = v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationInput) SetClientToken(v string) *ModifyVerifiedAccessInstanceLoggingConfigurationInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationInput) SetDryRun(v bool) *ModifyVerifiedAccessInstanceLoggingConfigurationInput { + s.DryRun = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationInput) SetVerifiedAccessInstanceId(v string) *ModifyVerifiedAccessInstanceLoggingConfigurationInput { + s.VerifiedAccessInstanceId = &v + return s +} + +type ModifyVerifiedAccessInstanceLoggingConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The logging configuration for Amazon Web Services Verified Access instance. + LoggingConfiguration *VerifiedAccessInstanceLoggingConfiguration `locationName:"loggingConfiguration" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceLoggingConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceLoggingConfigurationOutput) GoString() string { + return s.String() +} + +// SetLoggingConfiguration sets the LoggingConfiguration field's value. +func (s *ModifyVerifiedAccessInstanceLoggingConfigurationOutput) SetLoggingConfiguration(v *VerifiedAccessInstanceLoggingConfiguration) *ModifyVerifiedAccessInstanceLoggingConfigurationOutput { + s.LoggingConfiguration = v + return s +} + +type ModifyVerifiedAccessInstanceOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstance *VerifiedAccessInstance `locationName:"verifiedAccessInstance" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessInstanceOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessInstance sets the VerifiedAccessInstance field's value. +func (s *ModifyVerifiedAccessInstanceOutput) SetVerifiedAccessInstance(v *VerifiedAccessInstance) *ModifyVerifiedAccessInstanceOutput { + s.VerifiedAccessInstance = v + return s +} + +type ModifyVerifiedAccessTrustProviderInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // A description for the Amazon Web Services Verified Access trust provider. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The OpenID Connect details for an oidc-type, user-identity based trust provider. + OidcOptions *ModifyVerifiedAccessTrustProviderOidcOptions `type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + // + // VerifiedAccessTrustProviderId is a required field + VerifiedAccessTrustProviderId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVerifiedAccessTrustProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVerifiedAccessTrustProviderInput"} + if s.VerifiedAccessTrustProviderId == nil { + invalidParams.Add(request.NewErrParamRequired("VerifiedAccessTrustProviderId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyVerifiedAccessTrustProviderInput) SetClientToken(v string) *ModifyVerifiedAccessTrustProviderInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ModifyVerifiedAccessTrustProviderInput) SetDescription(v string) *ModifyVerifiedAccessTrustProviderInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVerifiedAccessTrustProviderInput) SetDryRun(v bool) *ModifyVerifiedAccessTrustProviderInput { + s.DryRun = &v + return s +} + +// SetOidcOptions sets the OidcOptions field's value. +func (s *ModifyVerifiedAccessTrustProviderInput) SetOidcOptions(v *ModifyVerifiedAccessTrustProviderOidcOptions) *ModifyVerifiedAccessTrustProviderInput { + s.OidcOptions = v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *ModifyVerifiedAccessTrustProviderInput) SetVerifiedAccessTrustProviderId(v string) *ModifyVerifiedAccessTrustProviderInput { + s.VerifiedAccessTrustProviderId = &v + return s +} + +// OpenID Connect options for an oidc-type, user-identity based trust provider. +type ModifyVerifiedAccessTrustProviderOidcOptions struct { + _ struct{} `type:"structure"` + + // OpenID Connect (OIDC) scopes are used by an application during authentication + // to authorize access to a user's details. Each scope returns a specific set + // of user attributes. + Scope *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderOidcOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderOidcOptions) GoString() string { + return s.String() +} + +// SetScope sets the Scope field's value. +func (s *ModifyVerifiedAccessTrustProviderOidcOptions) SetScope(v string) *ModifyVerifiedAccessTrustProviderOidcOptions { + s.Scope = &v + return s +} + +type ModifyVerifiedAccessTrustProviderOutput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProvider *VerifiedAccessTrustProvider `locationName:"verifiedAccessTrustProvider" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyVerifiedAccessTrustProviderOutput) GoString() string { + return s.String() +} + +// SetVerifiedAccessTrustProvider sets the VerifiedAccessTrustProvider field's value. +func (s *ModifyVerifiedAccessTrustProviderOutput) SetVerifiedAccessTrustProvider(v *VerifiedAccessTrustProvider) *ModifyVerifiedAccessTrustProviderOutput { + s.VerifiedAccessTrustProvider = v + return s +} + type ModifyVolumeAttributeInput struct { _ struct{} `type:"structure"` @@ -140993,6 +146488,92 @@ func (s *NewDhcpConfiguration) SetValues(v []*string) *NewDhcpConfiguration { return s } +// Options for OIDC-based, user-identity type trust provider. +type OidcOptions struct { + _ struct{} `type:"structure"` + + // The OIDC authorization endpoint. + AuthorizationEndpoint *string `locationName:"authorizationEndpoint" type:"string"` + + // The client identifier. + ClientId *string `locationName:"clientId" type:"string"` + + // The client secret. + ClientSecret *string `locationName:"clientSecret" type:"string"` + + // The OIDC issuer. + Issuer *string `locationName:"issuer" type:"string"` + + // The OpenID Connect (OIDC) scope specified. + Scope *string `locationName:"scope" type:"string"` + + // The OIDC token endpoint. + TokenEndpoint *string `locationName:"tokenEndpoint" type:"string"` + + // The OIDC user info endpoint. + UserInfoEndpoint *string `locationName:"userInfoEndpoint" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OidcOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OidcOptions) GoString() string { + return s.String() +} + +// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value. +func (s *OidcOptions) SetAuthorizationEndpoint(v string) *OidcOptions { + s.AuthorizationEndpoint = &v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *OidcOptions) SetClientId(v string) *OidcOptions { + s.ClientId = &v + return s +} + +// SetClientSecret sets the ClientSecret field's value. +func (s *OidcOptions) SetClientSecret(v string) *OidcOptions { + s.ClientSecret = &v + return s +} + +// SetIssuer sets the Issuer field's value. +func (s *OidcOptions) SetIssuer(v string) *OidcOptions { + s.Issuer = &v + return s +} + +// SetScope sets the Scope field's value. +func (s *OidcOptions) SetScope(v string) *OidcOptions { + s.Scope = &v + return s +} + +// SetTokenEndpoint sets the TokenEndpoint field's value. +func (s *OidcOptions) SetTokenEndpoint(v string) *OidcOptions { + s.TokenEndpoint = &v + return s +} + +// SetUserInfoEndpoint sets the UserInfoEndpoint field's value. +func (s *OidcOptions) SetUserInfoEndpoint(v string) *OidcOptions { + s.UserInfoEndpoint = &v + return s +} + // Describes the configuration of On-Demand Instances in an EC2 Fleet. type OnDemandOptions struct { _ struct{} `type:"structure"` @@ -165739,6 +171320,1282 @@ func (s *ValidationWarning) SetErrors(v []*ValidationError) *ValidationWarning { return s } +// An Amazon Web Services Verified Access endpoint specifies the application +// that Amazon Web Services Verified Access provides access to. It must be attached +// to an Amazon Web Services Verified Access group. An Amazon Web Services Verified +// Access endpoint must also have an attached access policy before you attached +// it to a group. +type VerifiedAccessEndpoint struct { + _ struct{} `type:"structure"` + + // The DNS name for users to reach your application. + ApplicationDomain *string `locationName:"applicationDomain" type:"string"` + + // The type of attachment used to provide connectivity between the Amazon Web + // Services Verified Access endpoint and the application. + AttachmentType *string `locationName:"attachmentType" type:"string" enum:"VerifiedAccessEndpointAttachmentType"` + + // The creation time. + CreationTime *string `locationName:"creationTime" type:"string"` + + // The deletion time. + DeletionTime *string `locationName:"deletionTime" type:"string"` + + // A description for the Amazon Web Services Verified Access endpoint. + Description *string `locationName:"description" type:"string"` + + // Returned if endpoint has a device trust provider attached. + DeviceValidationDomain *string `locationName:"deviceValidationDomain" type:"string"` + + // The ARN of a public TLS/SSL certificate imported into or created with ACM. + DomainCertificateArn *string `locationName:"domainCertificateArn" type:"string"` + + // A DNS name that is generated for the endpoint. + EndpointDomain *string `locationName:"endpointDomain" type:"string"` + + // The type of Amazon Web Services Verified Access endpoint. Incoming application + // requests will be sent to an IP address, load balancer or a network interface + // depending on the endpoint type specified. + EndpointType *string `locationName:"endpointType" type:"string" enum:"VerifiedAccessEndpointType"` + + // The last updated time. + LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"` + + // The load balancer details if creating the Amazon Web Services Verified Access + // endpoint as load-balancertype. + LoadBalancerOptions *VerifiedAccessEndpointLoadBalancerOptions `locationName:"loadBalancerOptions" type:"structure"` + + // The options for network-interface type endpoint. + NetworkInterfaceOptions *VerifiedAccessEndpointEniOptions `locationName:"networkInterfaceOptions" type:"structure"` + + // The IDs of the security groups for the endpoint. + SecurityGroupIds []*string `locationName:"securityGroupIdSet" locationNameList:"item" type:"list"` + + // The endpoint status. + Status *VerifiedAccessEndpointStatus `locationName:"status" type:"structure"` + + // The tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The ID of the Amazon Web Services Verified Access endpoint. + VerifiedAccessEndpointId *string `locationName:"verifiedAccessEndpointId" type:"string"` + + // The ID of the Amazon Web Services Verified Access group. + VerifiedAccessGroupId *string `locationName:"verifiedAccessGroupId" type:"string"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `locationName:"verifiedAccessInstanceId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpoint) GoString() string { + return s.String() +} + +// SetApplicationDomain sets the ApplicationDomain field's value. +func (s *VerifiedAccessEndpoint) SetApplicationDomain(v string) *VerifiedAccessEndpoint { + s.ApplicationDomain = &v + return s +} + +// SetAttachmentType sets the AttachmentType field's value. +func (s *VerifiedAccessEndpoint) SetAttachmentType(v string) *VerifiedAccessEndpoint { + s.AttachmentType = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VerifiedAccessEndpoint) SetCreationTime(v string) *VerifiedAccessEndpoint { + s.CreationTime = &v + return s +} + +// SetDeletionTime sets the DeletionTime field's value. +func (s *VerifiedAccessEndpoint) SetDeletionTime(v string) *VerifiedAccessEndpoint { + s.DeletionTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *VerifiedAccessEndpoint) SetDescription(v string) *VerifiedAccessEndpoint { + s.Description = &v + return s +} + +// SetDeviceValidationDomain sets the DeviceValidationDomain field's value. +func (s *VerifiedAccessEndpoint) SetDeviceValidationDomain(v string) *VerifiedAccessEndpoint { + s.DeviceValidationDomain = &v + return s +} + +// SetDomainCertificateArn sets the DomainCertificateArn field's value. +func (s *VerifiedAccessEndpoint) SetDomainCertificateArn(v string) *VerifiedAccessEndpoint { + s.DomainCertificateArn = &v + return s +} + +// SetEndpointDomain sets the EndpointDomain field's value. +func (s *VerifiedAccessEndpoint) SetEndpointDomain(v string) *VerifiedAccessEndpoint { + s.EndpointDomain = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *VerifiedAccessEndpoint) SetEndpointType(v string) *VerifiedAccessEndpoint { + s.EndpointType = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *VerifiedAccessEndpoint) SetLastUpdatedTime(v string) *VerifiedAccessEndpoint { + s.LastUpdatedTime = &v + return s +} + +// SetLoadBalancerOptions sets the LoadBalancerOptions field's value. +func (s *VerifiedAccessEndpoint) SetLoadBalancerOptions(v *VerifiedAccessEndpointLoadBalancerOptions) *VerifiedAccessEndpoint { + s.LoadBalancerOptions = v + return s +} + +// SetNetworkInterfaceOptions sets the NetworkInterfaceOptions field's value. +func (s *VerifiedAccessEndpoint) SetNetworkInterfaceOptions(v *VerifiedAccessEndpointEniOptions) *VerifiedAccessEndpoint { + s.NetworkInterfaceOptions = v + return s +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *VerifiedAccessEndpoint) SetSecurityGroupIds(v []*string) *VerifiedAccessEndpoint { + s.SecurityGroupIds = v + return s +} + +// SetStatus sets the Status field's value. +func (s *VerifiedAccessEndpoint) SetStatus(v *VerifiedAccessEndpointStatus) *VerifiedAccessEndpoint { + s.Status = v + return s +} + +// SetTags sets the Tags field's value. +func (s *VerifiedAccessEndpoint) SetTags(v []*Tag) *VerifiedAccessEndpoint { + s.Tags = v + return s +} + +// SetVerifiedAccessEndpointId sets the VerifiedAccessEndpointId field's value. +func (s *VerifiedAccessEndpoint) SetVerifiedAccessEndpointId(v string) *VerifiedAccessEndpoint { + s.VerifiedAccessEndpointId = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *VerifiedAccessEndpoint) SetVerifiedAccessGroupId(v string) *VerifiedAccessEndpoint { + s.VerifiedAccessGroupId = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *VerifiedAccessEndpoint) SetVerifiedAccessInstanceId(v string) *VerifiedAccessEndpoint { + s.VerifiedAccessInstanceId = &v + return s +} + +// Options for a network-interface type endpoint. +type VerifiedAccessEndpointEniOptions struct { + _ struct{} `type:"structure"` + + // The ID of the network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + + // The IP port number. + Port *int64 `locationName:"port" min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `locationName:"protocol" type:"string" enum:"VerifiedAccessEndpointProtocol"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointEniOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointEniOptions) GoString() string { + return s.String() +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *VerifiedAccessEndpointEniOptions) SetNetworkInterfaceId(v string) *VerifiedAccessEndpointEniOptions { + s.NetworkInterfaceId = &v + return s +} + +// SetPort sets the Port field's value. +func (s *VerifiedAccessEndpointEniOptions) SetPort(v int64) *VerifiedAccessEndpointEniOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *VerifiedAccessEndpointEniOptions) SetProtocol(v string) *VerifiedAccessEndpointEniOptions { + s.Protocol = &v + return s +} + +// Describes a load balancer when creating an Amazon Web Services Verified Access +// endpoint using the load-balancer type. +type VerifiedAccessEndpointLoadBalancerOptions struct { + _ struct{} `type:"structure"` + + // The ARN of the load balancer. + LoadBalancerArn *string `locationName:"loadBalancerArn" type:"string"` + + // The IP port number. + Port *int64 `locationName:"port" min:"1" type:"integer"` + + // The IP protocol. + Protocol *string `locationName:"protocol" type:"string" enum:"VerifiedAccessEndpointProtocol"` + + // The IDs of the subnets. + SubnetIds []*string `locationName:"subnetIdSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointLoadBalancerOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointLoadBalancerOptions) GoString() string { + return s.String() +} + +// SetLoadBalancerArn sets the LoadBalancerArn field's value. +func (s *VerifiedAccessEndpointLoadBalancerOptions) SetLoadBalancerArn(v string) *VerifiedAccessEndpointLoadBalancerOptions { + s.LoadBalancerArn = &v + return s +} + +// SetPort sets the Port field's value. +func (s *VerifiedAccessEndpointLoadBalancerOptions) SetPort(v int64) *VerifiedAccessEndpointLoadBalancerOptions { + s.Port = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *VerifiedAccessEndpointLoadBalancerOptions) SetProtocol(v string) *VerifiedAccessEndpointLoadBalancerOptions { + s.Protocol = &v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *VerifiedAccessEndpointLoadBalancerOptions) SetSubnetIds(v []*string) *VerifiedAccessEndpointLoadBalancerOptions { + s.SubnetIds = v + return s +} + +// Describes the status of a Verified Access endpoint. +type VerifiedAccessEndpointStatus struct { + _ struct{} `type:"structure"` + + // The status code of the Verified Access endpoint. + Code *string `locationName:"code" type:"string" enum:"VerifiedAccessEndpointStatusCode"` + + // The status message of the Verified Access endpoint. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessEndpointStatus) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *VerifiedAccessEndpointStatus) SetCode(v string) *VerifiedAccessEndpointStatus { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *VerifiedAccessEndpointStatus) SetMessage(v string) *VerifiedAccessEndpointStatus { + s.Message = &v + return s +} + +// Describes a Verified Access group. +type VerifiedAccessGroup struct { + _ struct{} `type:"structure"` + + // The creation time. + CreationTime *string `locationName:"creationTime" type:"string"` + + // The deletion time. + DeletionTime *string `locationName:"deletionTime" type:"string"` + + // A description for the Amazon Web Services Verified Access group. + Description *string `locationName:"description" type:"string"` + + // The last updated time. + LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"` + + // The Amazon Web Services account number that owns the group. + Owner *string `locationName:"owner" type:"string"` + + // The tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The ARN of the Verified Access group. + VerifiedAccessGroupArn *string `locationName:"verifiedAccessGroupArn" type:"string"` + + // The ID of the Verified Access group. + VerifiedAccessGroupId *string `locationName:"verifiedAccessGroupId" type:"string"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `locationName:"verifiedAccessInstanceId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessGroup) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VerifiedAccessGroup) SetCreationTime(v string) *VerifiedAccessGroup { + s.CreationTime = &v + return s +} + +// SetDeletionTime sets the DeletionTime field's value. +func (s *VerifiedAccessGroup) SetDeletionTime(v string) *VerifiedAccessGroup { + s.DeletionTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *VerifiedAccessGroup) SetDescription(v string) *VerifiedAccessGroup { + s.Description = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *VerifiedAccessGroup) SetLastUpdatedTime(v string) *VerifiedAccessGroup { + s.LastUpdatedTime = &v + return s +} + +// SetOwner sets the Owner field's value. +func (s *VerifiedAccessGroup) SetOwner(v string) *VerifiedAccessGroup { + s.Owner = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *VerifiedAccessGroup) SetTags(v []*Tag) *VerifiedAccessGroup { + s.Tags = v + return s +} + +// SetVerifiedAccessGroupArn sets the VerifiedAccessGroupArn field's value. +func (s *VerifiedAccessGroup) SetVerifiedAccessGroupArn(v string) *VerifiedAccessGroup { + s.VerifiedAccessGroupArn = &v + return s +} + +// SetVerifiedAccessGroupId sets the VerifiedAccessGroupId field's value. +func (s *VerifiedAccessGroup) SetVerifiedAccessGroupId(v string) *VerifiedAccessGroup { + s.VerifiedAccessGroupId = &v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *VerifiedAccessGroup) SetVerifiedAccessInstanceId(v string) *VerifiedAccessGroup { + s.VerifiedAccessInstanceId = &v + return s +} + +// Describes a Verified Access instance. +type VerifiedAccessInstance struct { + _ struct{} `type:"structure"` + + // The creation time. + CreationTime *string `locationName:"creationTime" type:"string"` + + // A description for the Amazon Web Services Verified Access instance. + Description *string `locationName:"description" type:"string"` + + // The last updated time. + LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"` + + // The tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `locationName:"verifiedAccessInstanceId" type:"string"` + + // The IDs of the Amazon Web Services Verified Access trust providers. + VerifiedAccessTrustProviders []*VerifiedAccessTrustProviderCondensed `locationName:"verifiedAccessTrustProviderSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessInstance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessInstance) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VerifiedAccessInstance) SetCreationTime(v string) *VerifiedAccessInstance { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *VerifiedAccessInstance) SetDescription(v string) *VerifiedAccessInstance { + s.Description = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *VerifiedAccessInstance) SetLastUpdatedTime(v string) *VerifiedAccessInstance { + s.LastUpdatedTime = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *VerifiedAccessInstance) SetTags(v []*Tag) *VerifiedAccessInstance { + s.Tags = v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *VerifiedAccessInstance) SetVerifiedAccessInstanceId(v string) *VerifiedAccessInstance { + s.VerifiedAccessInstanceId = &v + return s +} + +// SetVerifiedAccessTrustProviders sets the VerifiedAccessTrustProviders field's value. +func (s *VerifiedAccessInstance) SetVerifiedAccessTrustProviders(v []*VerifiedAccessTrustProviderCondensed) *VerifiedAccessInstance { + s.VerifiedAccessTrustProviders = v + return s +} + +// Describes logging options for an Amazon Web Services Verified Access instance. +type VerifiedAccessInstanceLoggingConfiguration struct { + _ struct{} `type:"structure"` + + // Details about the logging options. + AccessLogs *VerifiedAccessLogs `locationName:"accessLogs" type:"structure"` + + // The ID of the Amazon Web Services Verified Access instance. + VerifiedAccessInstanceId *string `locationName:"verifiedAccessInstanceId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessInstanceLoggingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessInstanceLoggingConfiguration) GoString() string { + return s.String() +} + +// SetAccessLogs sets the AccessLogs field's value. +func (s *VerifiedAccessInstanceLoggingConfiguration) SetAccessLogs(v *VerifiedAccessLogs) *VerifiedAccessInstanceLoggingConfiguration { + s.AccessLogs = v + return s +} + +// SetVerifiedAccessInstanceId sets the VerifiedAccessInstanceId field's value. +func (s *VerifiedAccessInstanceLoggingConfiguration) SetVerifiedAccessInstanceId(v string) *VerifiedAccessInstanceLoggingConfiguration { + s.VerifiedAccessInstanceId = &v + return s +} + +// Options for CloudWatch Logs as a logging destination. +type VerifiedAccessLogCloudWatchLogsDestination struct { + _ struct{} `type:"structure"` + + // The delivery status for access logs. + DeliveryStatus *VerifiedAccessLogDeliveryStatus `locationName:"deliveryStatus" type:"structure"` + + // Indicates whether logging is enabled. + Enabled *bool `locationName:"enabled" type:"boolean"` + + // The ID of the CloudWatch Logs log group. + LogGroup *string `locationName:"logGroup" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogCloudWatchLogsDestination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogCloudWatchLogsDestination) GoString() string { + return s.String() +} + +// SetDeliveryStatus sets the DeliveryStatus field's value. +func (s *VerifiedAccessLogCloudWatchLogsDestination) SetDeliveryStatus(v *VerifiedAccessLogDeliveryStatus) *VerifiedAccessLogCloudWatchLogsDestination { + s.DeliveryStatus = v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogCloudWatchLogsDestination) SetEnabled(v bool) *VerifiedAccessLogCloudWatchLogsDestination { + s.Enabled = &v + return s +} + +// SetLogGroup sets the LogGroup field's value. +func (s *VerifiedAccessLogCloudWatchLogsDestination) SetLogGroup(v string) *VerifiedAccessLogCloudWatchLogsDestination { + s.LogGroup = &v + return s +} + +// Options for CloudWatch Logs as a logging destination. +type VerifiedAccessLogCloudWatchLogsDestinationOptions struct { + _ struct{} `type:"structure"` + + // Indicates whether logging is enabled. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` + + // The ID of the CloudWatch Logs log group. + LogGroup *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogCloudWatchLogsDestinationOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogCloudWatchLogsDestinationOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifiedAccessLogCloudWatchLogsDestinationOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifiedAccessLogCloudWatchLogsDestinationOptions"} + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogCloudWatchLogsDestinationOptions) SetEnabled(v bool) *VerifiedAccessLogCloudWatchLogsDestinationOptions { + s.Enabled = &v + return s +} + +// SetLogGroup sets the LogGroup field's value. +func (s *VerifiedAccessLogCloudWatchLogsDestinationOptions) SetLogGroup(v string) *VerifiedAccessLogCloudWatchLogsDestinationOptions { + s.LogGroup = &v + return s +} + +// Describes a log delivery status. +type VerifiedAccessLogDeliveryStatus struct { + _ struct{} `type:"structure"` + + // The status code. + Code *string `locationName:"code" type:"string" enum:"VerifiedAccessLogDeliveryStatusCode"` + + // The status message. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogDeliveryStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogDeliveryStatus) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *VerifiedAccessLogDeliveryStatus) SetCode(v string) *VerifiedAccessLogDeliveryStatus { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *VerifiedAccessLogDeliveryStatus) SetMessage(v string) *VerifiedAccessLogDeliveryStatus { + s.Message = &v + return s +} + +// Options for Kinesis as a logging destination. +type VerifiedAccessLogKinesisDataFirehoseDestination struct { + _ struct{} `type:"structure"` + + // The delivery status. + DeliveryStatus *VerifiedAccessLogDeliveryStatus `locationName:"deliveryStatus" type:"structure"` + + // The ID of the delivery stream. + DeliveryStream *string `locationName:"deliveryStream" type:"string"` + + // Indicates whether logging is enabled. + Enabled *bool `locationName:"enabled" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogKinesisDataFirehoseDestination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogKinesisDataFirehoseDestination) GoString() string { + return s.String() +} + +// SetDeliveryStatus sets the DeliveryStatus field's value. +func (s *VerifiedAccessLogKinesisDataFirehoseDestination) SetDeliveryStatus(v *VerifiedAccessLogDeliveryStatus) *VerifiedAccessLogKinesisDataFirehoseDestination { + s.DeliveryStatus = v + return s +} + +// SetDeliveryStream sets the DeliveryStream field's value. +func (s *VerifiedAccessLogKinesisDataFirehoseDestination) SetDeliveryStream(v string) *VerifiedAccessLogKinesisDataFirehoseDestination { + s.DeliveryStream = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogKinesisDataFirehoseDestination) SetEnabled(v bool) *VerifiedAccessLogKinesisDataFirehoseDestination { + s.Enabled = &v + return s +} + +// Describes Amazon Kinesis Data Firehose logging options. +type VerifiedAccessLogKinesisDataFirehoseDestinationOptions struct { + _ struct{} `type:"structure"` + + // The ID of the delivery stream. + DeliveryStream *string `type:"string"` + + // Indicates whether logging is enabled. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogKinesisDataFirehoseDestinationOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogKinesisDataFirehoseDestinationOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifiedAccessLogKinesisDataFirehoseDestinationOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifiedAccessLogKinesisDataFirehoseDestinationOptions"} + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeliveryStream sets the DeliveryStream field's value. +func (s *VerifiedAccessLogKinesisDataFirehoseDestinationOptions) SetDeliveryStream(v string) *VerifiedAccessLogKinesisDataFirehoseDestinationOptions { + s.DeliveryStream = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogKinesisDataFirehoseDestinationOptions) SetEnabled(v bool) *VerifiedAccessLogKinesisDataFirehoseDestinationOptions { + s.Enabled = &v + return s +} + +// Describes the destinations for Verified Access logs. +type VerifiedAccessLogOptions struct { + _ struct{} `type:"structure"` + + // Sends Verified Access logs to CloudWatch Logs. + CloudWatchLogs *VerifiedAccessLogCloudWatchLogsDestinationOptions `type:"structure"` + + // Sends Verified Access logs to Kinesis. + KinesisDataFirehose *VerifiedAccessLogKinesisDataFirehoseDestinationOptions `type:"structure"` + + // Sends Verified Access logs to Amazon S3. + S3 *VerifiedAccessLogS3DestinationOptions `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifiedAccessLogOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifiedAccessLogOptions"} + if s.CloudWatchLogs != nil { + if err := s.CloudWatchLogs.Validate(); err != nil { + invalidParams.AddNested("CloudWatchLogs", err.(request.ErrInvalidParams)) + } + } + if s.KinesisDataFirehose != nil { + if err := s.KinesisDataFirehose.Validate(); err != nil { + invalidParams.AddNested("KinesisDataFirehose", err.(request.ErrInvalidParams)) + } + } + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudWatchLogs sets the CloudWatchLogs field's value. +func (s *VerifiedAccessLogOptions) SetCloudWatchLogs(v *VerifiedAccessLogCloudWatchLogsDestinationOptions) *VerifiedAccessLogOptions { + s.CloudWatchLogs = v + return s +} + +// SetKinesisDataFirehose sets the KinesisDataFirehose field's value. +func (s *VerifiedAccessLogOptions) SetKinesisDataFirehose(v *VerifiedAccessLogKinesisDataFirehoseDestinationOptions) *VerifiedAccessLogOptions { + s.KinesisDataFirehose = v + return s +} + +// SetS3 sets the S3 field's value. +func (s *VerifiedAccessLogOptions) SetS3(v *VerifiedAccessLogS3DestinationOptions) *VerifiedAccessLogOptions { + s.S3 = v + return s +} + +// Options for Amazon S3 as a logging destination. +type VerifiedAccessLogS3Destination struct { + _ struct{} `type:"structure"` + + // The bucket name. + BucketName *string `locationName:"bucketName" type:"string"` + + // The Amazon Web Services account number that owns the bucket. + BucketOwner *string `locationName:"bucketOwner" type:"string"` + + // The delivery status. + DeliveryStatus *VerifiedAccessLogDeliveryStatus `locationName:"deliveryStatus" type:"structure"` + + // Indicates whether logging is enabled. + Enabled *bool `locationName:"enabled" type:"boolean"` + + // The bucket prefix. + Prefix *string `locationName:"prefix" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogS3Destination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogS3Destination) GoString() string { + return s.String() +} + +// SetBucketName sets the BucketName field's value. +func (s *VerifiedAccessLogS3Destination) SetBucketName(v string) *VerifiedAccessLogS3Destination { + s.BucketName = &v + return s +} + +// SetBucketOwner sets the BucketOwner field's value. +func (s *VerifiedAccessLogS3Destination) SetBucketOwner(v string) *VerifiedAccessLogS3Destination { + s.BucketOwner = &v + return s +} + +// SetDeliveryStatus sets the DeliveryStatus field's value. +func (s *VerifiedAccessLogS3Destination) SetDeliveryStatus(v *VerifiedAccessLogDeliveryStatus) *VerifiedAccessLogS3Destination { + s.DeliveryStatus = v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogS3Destination) SetEnabled(v bool) *VerifiedAccessLogS3Destination { + s.Enabled = &v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *VerifiedAccessLogS3Destination) SetPrefix(v string) *VerifiedAccessLogS3Destination { + s.Prefix = &v + return s +} + +// Options for Amazon S3 as a logging destination. +type VerifiedAccessLogS3DestinationOptions struct { + _ struct{} `type:"structure"` + + // The bucket name. + BucketName *string `type:"string"` + + // The ID of the Amazon Web Services account that owns the Amazon S3 bucket. + BucketOwner *string `type:"string"` + + // Indicates whether logging is enabled. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` + + // The bucket prefix. + Prefix *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogS3DestinationOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogS3DestinationOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifiedAccessLogS3DestinationOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifiedAccessLogS3DestinationOptions"} + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBucketName sets the BucketName field's value. +func (s *VerifiedAccessLogS3DestinationOptions) SetBucketName(v string) *VerifiedAccessLogS3DestinationOptions { + s.BucketName = &v + return s +} + +// SetBucketOwner sets the BucketOwner field's value. +func (s *VerifiedAccessLogS3DestinationOptions) SetBucketOwner(v string) *VerifiedAccessLogS3DestinationOptions { + s.BucketOwner = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *VerifiedAccessLogS3DestinationOptions) SetEnabled(v bool) *VerifiedAccessLogS3DestinationOptions { + s.Enabled = &v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *VerifiedAccessLogS3DestinationOptions) SetPrefix(v string) *VerifiedAccessLogS3DestinationOptions { + s.Prefix = &v + return s +} + +// Describes the destinations for Verified Access logs. +type VerifiedAccessLogs struct { + _ struct{} `type:"structure"` + + // CloudWatch Logs logging destination. + CloudWatchLogs *VerifiedAccessLogCloudWatchLogsDestination `locationName:"cloudWatchLogs" type:"structure"` + + // Kinesis logging destination. + KinesisDataFirehose *VerifiedAccessLogKinesisDataFirehoseDestination `locationName:"kinesisDataFirehose" type:"structure"` + + // Amazon S3 logging options. + S3 *VerifiedAccessLogS3Destination `locationName:"s3" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogs) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessLogs) GoString() string { + return s.String() +} + +// SetCloudWatchLogs sets the CloudWatchLogs field's value. +func (s *VerifiedAccessLogs) SetCloudWatchLogs(v *VerifiedAccessLogCloudWatchLogsDestination) *VerifiedAccessLogs { + s.CloudWatchLogs = v + return s +} + +// SetKinesisDataFirehose sets the KinesisDataFirehose field's value. +func (s *VerifiedAccessLogs) SetKinesisDataFirehose(v *VerifiedAccessLogKinesisDataFirehoseDestination) *VerifiedAccessLogs { + s.KinesisDataFirehose = v + return s +} + +// SetS3 sets the S3 field's value. +func (s *VerifiedAccessLogs) SetS3(v *VerifiedAccessLogS3Destination) *VerifiedAccessLogs { + s.S3 = v + return s +} + +// Describes a Verified Access trust provider. +type VerifiedAccessTrustProvider struct { + _ struct{} `type:"structure"` + + // The creation time. + CreationTime *string `locationName:"creationTime" type:"string"` + + // A description for the Amazon Web Services Verified Access trust provider. + Description *string `locationName:"description" type:"string"` + + // The options for device-identity type trust provider. + DeviceOptions *DeviceOptions `locationName:"deviceOptions" type:"structure"` + + // The type of device-based trust provider. + DeviceTrustProviderType *string `locationName:"deviceTrustProviderType" type:"string" enum:"DeviceTrustProviderType"` + + // The last updated time. + LastUpdatedTime *string `locationName:"lastUpdatedTime" type:"string"` + + // The OpenID Connect details for an oidc-type, user-identity based trust provider. + OidcOptions *OidcOptions `locationName:"oidcOptions" type:"structure"` + + // The identifier to be used when working with policy rules. + PolicyReferenceName *string `locationName:"policyReferenceName" type:"string"` + + // The tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The type of Verified Access trust provider. + TrustProviderType *string `locationName:"trustProviderType" type:"string" enum:"TrustProviderType"` + + // The type of user-based trust provider. + UserTrustProviderType *string `locationName:"userTrustProviderType" type:"string" enum:"UserTrustProviderType"` + + // The ID of the Amazon Web Services Verified Access trust provider. + VerifiedAccessTrustProviderId *string `locationName:"verifiedAccessTrustProviderId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessTrustProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessTrustProvider) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VerifiedAccessTrustProvider) SetCreationTime(v string) *VerifiedAccessTrustProvider { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *VerifiedAccessTrustProvider) SetDescription(v string) *VerifiedAccessTrustProvider { + s.Description = &v + return s +} + +// SetDeviceOptions sets the DeviceOptions field's value. +func (s *VerifiedAccessTrustProvider) SetDeviceOptions(v *DeviceOptions) *VerifiedAccessTrustProvider { + s.DeviceOptions = v + return s +} + +// SetDeviceTrustProviderType sets the DeviceTrustProviderType field's value. +func (s *VerifiedAccessTrustProvider) SetDeviceTrustProviderType(v string) *VerifiedAccessTrustProvider { + s.DeviceTrustProviderType = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *VerifiedAccessTrustProvider) SetLastUpdatedTime(v string) *VerifiedAccessTrustProvider { + s.LastUpdatedTime = &v + return s +} + +// SetOidcOptions sets the OidcOptions field's value. +func (s *VerifiedAccessTrustProvider) SetOidcOptions(v *OidcOptions) *VerifiedAccessTrustProvider { + s.OidcOptions = v + return s +} + +// SetPolicyReferenceName sets the PolicyReferenceName field's value. +func (s *VerifiedAccessTrustProvider) SetPolicyReferenceName(v string) *VerifiedAccessTrustProvider { + s.PolicyReferenceName = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *VerifiedAccessTrustProvider) SetTags(v []*Tag) *VerifiedAccessTrustProvider { + s.Tags = v + return s +} + +// SetTrustProviderType sets the TrustProviderType field's value. +func (s *VerifiedAccessTrustProvider) SetTrustProviderType(v string) *VerifiedAccessTrustProvider { + s.TrustProviderType = &v + return s +} + +// SetUserTrustProviderType sets the UserTrustProviderType field's value. +func (s *VerifiedAccessTrustProvider) SetUserTrustProviderType(v string) *VerifiedAccessTrustProvider { + s.UserTrustProviderType = &v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *VerifiedAccessTrustProvider) SetVerifiedAccessTrustProviderId(v string) *VerifiedAccessTrustProvider { + s.VerifiedAccessTrustProviderId = &v + return s +} + +// Condensed information about a trust provider. +type VerifiedAccessTrustProviderCondensed struct { + _ struct{} `type:"structure"` + + // The description of trust provider. + Description *string `locationName:"description" type:"string"` + + // The type of device-based trust provider. + DeviceTrustProviderType *string `locationName:"deviceTrustProviderType" type:"string" enum:"DeviceTrustProviderType"` + + // The type of trust provider (user- or device-based). + TrustProviderType *string `locationName:"trustProviderType" type:"string" enum:"TrustProviderType"` + + // The type of user-based trust provider. + UserTrustProviderType *string `locationName:"userTrustProviderType" type:"string" enum:"UserTrustProviderType"` + + // The ID of the trust provider. + VerifiedAccessTrustProviderId *string `locationName:"verifiedAccessTrustProviderId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessTrustProviderCondensed) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifiedAccessTrustProviderCondensed) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *VerifiedAccessTrustProviderCondensed) SetDescription(v string) *VerifiedAccessTrustProviderCondensed { + s.Description = &v + return s +} + +// SetDeviceTrustProviderType sets the DeviceTrustProviderType field's value. +func (s *VerifiedAccessTrustProviderCondensed) SetDeviceTrustProviderType(v string) *VerifiedAccessTrustProviderCondensed { + s.DeviceTrustProviderType = &v + return s +} + +// SetTrustProviderType sets the TrustProviderType field's value. +func (s *VerifiedAccessTrustProviderCondensed) SetTrustProviderType(v string) *VerifiedAccessTrustProviderCondensed { + s.TrustProviderType = &v + return s +} + +// SetUserTrustProviderType sets the UserTrustProviderType field's value. +func (s *VerifiedAccessTrustProviderCondensed) SetUserTrustProviderType(v string) *VerifiedAccessTrustProviderCondensed { + s.UserTrustProviderType = &v + return s +} + +// SetVerifiedAccessTrustProviderId sets the VerifiedAccessTrustProviderId field's value. +func (s *VerifiedAccessTrustProviderCondensed) SetVerifiedAccessTrustProviderId(v string) *VerifiedAccessTrustProviderCondensed { + s.VerifiedAccessTrustProviderId = &v + return s +} + // Describes telemetry for a VPN tunnel. type VgwTelemetry struct { _ struct{} `type:"structure"` @@ -170011,6 +176868,22 @@ func DestinationFileFormat_Values() []string { } } +const ( + // DeviceTrustProviderTypeJamf is a DeviceTrustProviderType enum value + DeviceTrustProviderTypeJamf = "jamf" + + // DeviceTrustProviderTypeCrowdstrike is a DeviceTrustProviderType enum value + DeviceTrustProviderTypeCrowdstrike = "crowdstrike" +) + +// DeviceTrustProviderType_Values returns all elements of the DeviceTrustProviderType enum +func DeviceTrustProviderType_Values() []string { + return []string{ + DeviceTrustProviderTypeJamf, + DeviceTrustProviderTypeCrowdstrike, + } +} + const ( // DeviceTypeEbs is a DeviceType enum value DeviceTypeEbs = "ebs" @@ -173082,6 +179955,9 @@ const ( // InstanceTypeTrn132xlarge is a InstanceType enum value InstanceTypeTrn132xlarge = "trn1.32xlarge" + + // InstanceTypeHpc6id32xlarge is a InstanceType enum value + InstanceTypeHpc6id32xlarge = "hpc6id.32xlarge" ) // InstanceType_Values returns all elements of the InstanceType enum @@ -173660,6 +180536,7 @@ func InstanceType_Values() []string { InstanceTypeU24tb1112xlarge, InstanceTypeTrn12xlarge, InstanceTypeTrn132xlarge, + InstanceTypeHpc6id32xlarge, } } @@ -175636,6 +182513,21 @@ const ( // ResourceTypeVpcEndpointConnectionDeviceType is a ResourceType enum value ResourceTypeVpcEndpointConnectionDeviceType = "vpc-endpoint-connection-device-type" + // ResourceTypeVerifiedAccessInstance is a ResourceType enum value + ResourceTypeVerifiedAccessInstance = "verified-access-instance" + + // ResourceTypeVerifiedAccessGroup is a ResourceType enum value + ResourceTypeVerifiedAccessGroup = "verified-access-group" + + // ResourceTypeVerifiedAccessEndpoint is a ResourceType enum value + ResourceTypeVerifiedAccessEndpoint = "verified-access-endpoint" + + // ResourceTypeVerifiedAccessPolicy is a ResourceType enum value + ResourceTypeVerifiedAccessPolicy = "verified-access-policy" + + // ResourceTypeVerifiedAccessTrustProvider is a ResourceType enum value + ResourceTypeVerifiedAccessTrustProvider = "verified-access-trust-provider" + // ResourceTypeVpnConnectionDeviceType is a ResourceType enum value ResourceTypeVpnConnectionDeviceType = "vpn-connection-device-type" ) @@ -175719,6 +182611,11 @@ func ResourceType_Values() []string { ResourceTypeCapacityReservationFleet, ResourceTypeTrafficMirrorFilterRule, ResourceTypeVpcEndpointConnectionDeviceType, + ResourceTypeVerifiedAccessInstance, + ResourceTypeVerifiedAccessGroup, + ResourceTypeVerifiedAccessEndpoint, + ResourceTypeVerifiedAccessPolicy, + ResourceTypeVerifiedAccessTrustProvider, ResourceTypeVpnConnectionDeviceType, } } @@ -176999,6 +183896,22 @@ func TransportProtocol_Values() []string { } } +const ( + // TrustProviderTypeUser is a TrustProviderType enum value + TrustProviderTypeUser = "user" + + // TrustProviderTypeDevice is a TrustProviderType enum value + TrustProviderTypeDevice = "device" +) + +// TrustProviderType_Values returns all elements of the TrustProviderType enum +func TrustProviderType_Values() []string { + return []string{ + TrustProviderTypeUser, + TrustProviderTypeDevice, + } +} + const ( // TunnelInsideIpVersionIpv4 is a TunnelInsideIpVersion enum value TunnelInsideIpVersionIpv4 = "ipv4" @@ -177079,6 +183992,110 @@ func UsageClassType_Values() []string { } } +const ( + // UserTrustProviderTypeIamIdentityCenter is a UserTrustProviderType enum value + UserTrustProviderTypeIamIdentityCenter = "iam-identity-center" + + // UserTrustProviderTypeOidc is a UserTrustProviderType enum value + UserTrustProviderTypeOidc = "oidc" +) + +// UserTrustProviderType_Values returns all elements of the UserTrustProviderType enum +func UserTrustProviderType_Values() []string { + return []string{ + UserTrustProviderTypeIamIdentityCenter, + UserTrustProviderTypeOidc, + } +} + +const ( + // VerifiedAccessEndpointAttachmentTypeVpc is a VerifiedAccessEndpointAttachmentType enum value + VerifiedAccessEndpointAttachmentTypeVpc = "vpc" +) + +// VerifiedAccessEndpointAttachmentType_Values returns all elements of the VerifiedAccessEndpointAttachmentType enum +func VerifiedAccessEndpointAttachmentType_Values() []string { + return []string{ + VerifiedAccessEndpointAttachmentTypeVpc, + } +} + +const ( + // VerifiedAccessEndpointProtocolHttp is a VerifiedAccessEndpointProtocol enum value + VerifiedAccessEndpointProtocolHttp = "http" + + // VerifiedAccessEndpointProtocolHttps is a VerifiedAccessEndpointProtocol enum value + VerifiedAccessEndpointProtocolHttps = "https" +) + +// VerifiedAccessEndpointProtocol_Values returns all elements of the VerifiedAccessEndpointProtocol enum +func VerifiedAccessEndpointProtocol_Values() []string { + return []string{ + VerifiedAccessEndpointProtocolHttp, + VerifiedAccessEndpointProtocolHttps, + } +} + +const ( + // VerifiedAccessEndpointStatusCodePending is a VerifiedAccessEndpointStatusCode enum value + VerifiedAccessEndpointStatusCodePending = "pending" + + // VerifiedAccessEndpointStatusCodeActive is a VerifiedAccessEndpointStatusCode enum value + VerifiedAccessEndpointStatusCodeActive = "active" + + // VerifiedAccessEndpointStatusCodeUpdating is a VerifiedAccessEndpointStatusCode enum value + VerifiedAccessEndpointStatusCodeUpdating = "updating" + + // VerifiedAccessEndpointStatusCodeDeleting is a VerifiedAccessEndpointStatusCode enum value + VerifiedAccessEndpointStatusCodeDeleting = "deleting" + + // VerifiedAccessEndpointStatusCodeDeleted is a VerifiedAccessEndpointStatusCode enum value + VerifiedAccessEndpointStatusCodeDeleted = "deleted" +) + +// VerifiedAccessEndpointStatusCode_Values returns all elements of the VerifiedAccessEndpointStatusCode enum +func VerifiedAccessEndpointStatusCode_Values() []string { + return []string{ + VerifiedAccessEndpointStatusCodePending, + VerifiedAccessEndpointStatusCodeActive, + VerifiedAccessEndpointStatusCodeUpdating, + VerifiedAccessEndpointStatusCodeDeleting, + VerifiedAccessEndpointStatusCodeDeleted, + } +} + +const ( + // VerifiedAccessEndpointTypeLoadBalancer is a VerifiedAccessEndpointType enum value + VerifiedAccessEndpointTypeLoadBalancer = "load-balancer" + + // VerifiedAccessEndpointTypeNetworkInterface is a VerifiedAccessEndpointType enum value + VerifiedAccessEndpointTypeNetworkInterface = "network-interface" +) + +// VerifiedAccessEndpointType_Values returns all elements of the VerifiedAccessEndpointType enum +func VerifiedAccessEndpointType_Values() []string { + return []string{ + VerifiedAccessEndpointTypeLoadBalancer, + VerifiedAccessEndpointTypeNetworkInterface, + } +} + +const ( + // VerifiedAccessLogDeliveryStatusCodeSuccess is a VerifiedAccessLogDeliveryStatusCode enum value + VerifiedAccessLogDeliveryStatusCodeSuccess = "success" + + // VerifiedAccessLogDeliveryStatusCodeFailed is a VerifiedAccessLogDeliveryStatusCode enum value + VerifiedAccessLogDeliveryStatusCodeFailed = "failed" +) + +// VerifiedAccessLogDeliveryStatusCode_Values returns all elements of the VerifiedAccessLogDeliveryStatusCode enum +func VerifiedAccessLogDeliveryStatusCode_Values() []string { + return []string{ + VerifiedAccessLogDeliveryStatusCodeSuccess, + VerifiedAccessLogDeliveryStatusCodeFailed, + } +} + const ( // VirtualizationTypeHvm is a VirtualizationType enum value VirtualizationTypeHvm = "hvm" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index e3677e31bcd..5f52bf39dcb 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -180,6 +180,10 @@ type EC2API interface { AttachNetworkInterfaceWithContext(aws.Context, *ec2.AttachNetworkInterfaceInput, ...request.Option) (*ec2.AttachNetworkInterfaceOutput, error) AttachNetworkInterfaceRequest(*ec2.AttachNetworkInterfaceInput) (*request.Request, *ec2.AttachNetworkInterfaceOutput) + AttachVerifiedAccessTrustProvider(*ec2.AttachVerifiedAccessTrustProviderInput) (*ec2.AttachVerifiedAccessTrustProviderOutput, error) + AttachVerifiedAccessTrustProviderWithContext(aws.Context, *ec2.AttachVerifiedAccessTrustProviderInput, ...request.Option) (*ec2.AttachVerifiedAccessTrustProviderOutput, error) + AttachVerifiedAccessTrustProviderRequest(*ec2.AttachVerifiedAccessTrustProviderInput) (*request.Request, *ec2.AttachVerifiedAccessTrustProviderOutput) + AttachVolume(*ec2.AttachVolumeInput) (*ec2.VolumeAttachment, error) AttachVolumeWithContext(aws.Context, *ec2.AttachVolumeInput, ...request.Option) (*ec2.VolumeAttachment, error) AttachVolumeRequest(*ec2.AttachVolumeInput) (*request.Request, *ec2.VolumeAttachment) @@ -528,6 +532,22 @@ type EC2API interface { CreateTransitGatewayVpcAttachmentWithContext(aws.Context, *ec2.CreateTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error) CreateTransitGatewayVpcAttachmentRequest(*ec2.CreateTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.CreateTransitGatewayVpcAttachmentOutput) + CreateVerifiedAccessEndpoint(*ec2.CreateVerifiedAccessEndpointInput) (*ec2.CreateVerifiedAccessEndpointOutput, error) + CreateVerifiedAccessEndpointWithContext(aws.Context, *ec2.CreateVerifiedAccessEndpointInput, ...request.Option) (*ec2.CreateVerifiedAccessEndpointOutput, error) + CreateVerifiedAccessEndpointRequest(*ec2.CreateVerifiedAccessEndpointInput) (*request.Request, *ec2.CreateVerifiedAccessEndpointOutput) + + CreateVerifiedAccessGroup(*ec2.CreateVerifiedAccessGroupInput) (*ec2.CreateVerifiedAccessGroupOutput, error) + CreateVerifiedAccessGroupWithContext(aws.Context, *ec2.CreateVerifiedAccessGroupInput, ...request.Option) (*ec2.CreateVerifiedAccessGroupOutput, error) + CreateVerifiedAccessGroupRequest(*ec2.CreateVerifiedAccessGroupInput) (*request.Request, *ec2.CreateVerifiedAccessGroupOutput) + + CreateVerifiedAccessInstance(*ec2.CreateVerifiedAccessInstanceInput) (*ec2.CreateVerifiedAccessInstanceOutput, error) + CreateVerifiedAccessInstanceWithContext(aws.Context, *ec2.CreateVerifiedAccessInstanceInput, ...request.Option) (*ec2.CreateVerifiedAccessInstanceOutput, error) + CreateVerifiedAccessInstanceRequest(*ec2.CreateVerifiedAccessInstanceInput) (*request.Request, *ec2.CreateVerifiedAccessInstanceOutput) + + CreateVerifiedAccessTrustProvider(*ec2.CreateVerifiedAccessTrustProviderInput) (*ec2.CreateVerifiedAccessTrustProviderOutput, error) + CreateVerifiedAccessTrustProviderWithContext(aws.Context, *ec2.CreateVerifiedAccessTrustProviderInput, ...request.Option) (*ec2.CreateVerifiedAccessTrustProviderOutput, error) + CreateVerifiedAccessTrustProviderRequest(*ec2.CreateVerifiedAccessTrustProviderInput) (*request.Request, *ec2.CreateVerifiedAccessTrustProviderOutput) + CreateVolume(*ec2.CreateVolumeInput) (*ec2.Volume, error) CreateVolumeWithContext(aws.Context, *ec2.CreateVolumeInput, ...request.Option) (*ec2.Volume, error) CreateVolumeRequest(*ec2.CreateVolumeInput) (*request.Request, *ec2.Volume) @@ -800,6 +820,22 @@ type EC2API interface { DeleteTransitGatewayVpcAttachmentWithContext(aws.Context, *ec2.DeleteTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error) DeleteTransitGatewayVpcAttachmentRequest(*ec2.DeleteTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.DeleteTransitGatewayVpcAttachmentOutput) + DeleteVerifiedAccessEndpoint(*ec2.DeleteVerifiedAccessEndpointInput) (*ec2.DeleteVerifiedAccessEndpointOutput, error) + DeleteVerifiedAccessEndpointWithContext(aws.Context, *ec2.DeleteVerifiedAccessEndpointInput, ...request.Option) (*ec2.DeleteVerifiedAccessEndpointOutput, error) + DeleteVerifiedAccessEndpointRequest(*ec2.DeleteVerifiedAccessEndpointInput) (*request.Request, *ec2.DeleteVerifiedAccessEndpointOutput) + + DeleteVerifiedAccessGroup(*ec2.DeleteVerifiedAccessGroupInput) (*ec2.DeleteVerifiedAccessGroupOutput, error) + DeleteVerifiedAccessGroupWithContext(aws.Context, *ec2.DeleteVerifiedAccessGroupInput, ...request.Option) (*ec2.DeleteVerifiedAccessGroupOutput, error) + DeleteVerifiedAccessGroupRequest(*ec2.DeleteVerifiedAccessGroupInput) (*request.Request, *ec2.DeleteVerifiedAccessGroupOutput) + + DeleteVerifiedAccessInstance(*ec2.DeleteVerifiedAccessInstanceInput) (*ec2.DeleteVerifiedAccessInstanceOutput, error) + DeleteVerifiedAccessInstanceWithContext(aws.Context, *ec2.DeleteVerifiedAccessInstanceInput, ...request.Option) (*ec2.DeleteVerifiedAccessInstanceOutput, error) + DeleteVerifiedAccessInstanceRequest(*ec2.DeleteVerifiedAccessInstanceInput) (*request.Request, *ec2.DeleteVerifiedAccessInstanceOutput) + + DeleteVerifiedAccessTrustProvider(*ec2.DeleteVerifiedAccessTrustProviderInput) (*ec2.DeleteVerifiedAccessTrustProviderOutput, error) + DeleteVerifiedAccessTrustProviderWithContext(aws.Context, *ec2.DeleteVerifiedAccessTrustProviderInput, ...request.Option) (*ec2.DeleteVerifiedAccessTrustProviderOutput, error) + DeleteVerifiedAccessTrustProviderRequest(*ec2.DeleteVerifiedAccessTrustProviderInput) (*request.Request, *ec2.DeleteVerifiedAccessTrustProviderOutput) + DeleteVolume(*ec2.DeleteVolumeInput) (*ec2.DeleteVolumeOutput, error) DeleteVolumeWithContext(aws.Context, *ec2.DeleteVolumeInput, ...request.Option) (*ec2.DeleteVolumeOutput, error) DeleteVolumeRequest(*ec2.DeleteVolumeInput) (*request.Request, *ec2.DeleteVolumeOutput) @@ -1617,6 +1653,41 @@ type EC2API interface { DescribeTrunkInterfaceAssociationsPages(*ec2.DescribeTrunkInterfaceAssociationsInput, func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool) error DescribeTrunkInterfaceAssociationsPagesWithContext(aws.Context, *ec2.DescribeTrunkInterfaceAssociationsInput, func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool, ...request.Option) error + DescribeVerifiedAccessEndpoints(*ec2.DescribeVerifiedAccessEndpointsInput) (*ec2.DescribeVerifiedAccessEndpointsOutput, error) + DescribeVerifiedAccessEndpointsWithContext(aws.Context, *ec2.DescribeVerifiedAccessEndpointsInput, ...request.Option) (*ec2.DescribeVerifiedAccessEndpointsOutput, error) + DescribeVerifiedAccessEndpointsRequest(*ec2.DescribeVerifiedAccessEndpointsInput) (*request.Request, *ec2.DescribeVerifiedAccessEndpointsOutput) + + DescribeVerifiedAccessEndpointsPages(*ec2.DescribeVerifiedAccessEndpointsInput, func(*ec2.DescribeVerifiedAccessEndpointsOutput, bool) bool) error + DescribeVerifiedAccessEndpointsPagesWithContext(aws.Context, *ec2.DescribeVerifiedAccessEndpointsInput, func(*ec2.DescribeVerifiedAccessEndpointsOutput, bool) bool, ...request.Option) error + + DescribeVerifiedAccessGroups(*ec2.DescribeVerifiedAccessGroupsInput) (*ec2.DescribeVerifiedAccessGroupsOutput, error) + DescribeVerifiedAccessGroupsWithContext(aws.Context, *ec2.DescribeVerifiedAccessGroupsInput, ...request.Option) (*ec2.DescribeVerifiedAccessGroupsOutput, error) + DescribeVerifiedAccessGroupsRequest(*ec2.DescribeVerifiedAccessGroupsInput) (*request.Request, *ec2.DescribeVerifiedAccessGroupsOutput) + + DescribeVerifiedAccessGroupsPages(*ec2.DescribeVerifiedAccessGroupsInput, func(*ec2.DescribeVerifiedAccessGroupsOutput, bool) bool) error + DescribeVerifiedAccessGroupsPagesWithContext(aws.Context, *ec2.DescribeVerifiedAccessGroupsInput, func(*ec2.DescribeVerifiedAccessGroupsOutput, bool) bool, ...request.Option) error + + DescribeVerifiedAccessInstanceLoggingConfigurations(*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsInput) (*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, error) + DescribeVerifiedAccessInstanceLoggingConfigurationsWithContext(aws.Context, *ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsInput, ...request.Option) (*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, error) + DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsInput) (*request.Request, *ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput) + + DescribeVerifiedAccessInstanceLoggingConfigurationsPages(*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsInput, func(*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, bool) bool) error + DescribeVerifiedAccessInstanceLoggingConfigurationsPagesWithContext(aws.Context, *ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsInput, func(*ec2.DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, bool) bool, ...request.Option) error + + DescribeVerifiedAccessInstances(*ec2.DescribeVerifiedAccessInstancesInput) (*ec2.DescribeVerifiedAccessInstancesOutput, error) + DescribeVerifiedAccessInstancesWithContext(aws.Context, *ec2.DescribeVerifiedAccessInstancesInput, ...request.Option) (*ec2.DescribeVerifiedAccessInstancesOutput, error) + DescribeVerifiedAccessInstancesRequest(*ec2.DescribeVerifiedAccessInstancesInput) (*request.Request, *ec2.DescribeVerifiedAccessInstancesOutput) + + DescribeVerifiedAccessInstancesPages(*ec2.DescribeVerifiedAccessInstancesInput, func(*ec2.DescribeVerifiedAccessInstancesOutput, bool) bool) error + DescribeVerifiedAccessInstancesPagesWithContext(aws.Context, *ec2.DescribeVerifiedAccessInstancesInput, func(*ec2.DescribeVerifiedAccessInstancesOutput, bool) bool, ...request.Option) error + + DescribeVerifiedAccessTrustProviders(*ec2.DescribeVerifiedAccessTrustProvidersInput) (*ec2.DescribeVerifiedAccessTrustProvidersOutput, error) + DescribeVerifiedAccessTrustProvidersWithContext(aws.Context, *ec2.DescribeVerifiedAccessTrustProvidersInput, ...request.Option) (*ec2.DescribeVerifiedAccessTrustProvidersOutput, error) + DescribeVerifiedAccessTrustProvidersRequest(*ec2.DescribeVerifiedAccessTrustProvidersInput) (*request.Request, *ec2.DescribeVerifiedAccessTrustProvidersOutput) + + DescribeVerifiedAccessTrustProvidersPages(*ec2.DescribeVerifiedAccessTrustProvidersInput, func(*ec2.DescribeVerifiedAccessTrustProvidersOutput, bool) bool) error + DescribeVerifiedAccessTrustProvidersPagesWithContext(aws.Context, *ec2.DescribeVerifiedAccessTrustProvidersInput, func(*ec2.DescribeVerifiedAccessTrustProvidersOutput, bool) bool, ...request.Option) error + DescribeVolumeAttribute(*ec2.DescribeVolumeAttributeInput) (*ec2.DescribeVolumeAttributeOutput, error) DescribeVolumeAttributeWithContext(aws.Context, *ec2.DescribeVolumeAttributeInput, ...request.Option) (*ec2.DescribeVolumeAttributeOutput, error) DescribeVolumeAttributeRequest(*ec2.DescribeVolumeAttributeInput) (*request.Request, *ec2.DescribeVolumeAttributeOutput) @@ -1730,6 +1801,10 @@ type EC2API interface { DetachNetworkInterfaceWithContext(aws.Context, *ec2.DetachNetworkInterfaceInput, ...request.Option) (*ec2.DetachNetworkInterfaceOutput, error) DetachNetworkInterfaceRequest(*ec2.DetachNetworkInterfaceInput) (*request.Request, *ec2.DetachNetworkInterfaceOutput) + DetachVerifiedAccessTrustProvider(*ec2.DetachVerifiedAccessTrustProviderInput) (*ec2.DetachVerifiedAccessTrustProviderOutput, error) + DetachVerifiedAccessTrustProviderWithContext(aws.Context, *ec2.DetachVerifiedAccessTrustProviderInput, ...request.Option) (*ec2.DetachVerifiedAccessTrustProviderOutput, error) + DetachVerifiedAccessTrustProviderRequest(*ec2.DetachVerifiedAccessTrustProviderInput) (*request.Request, *ec2.DetachVerifiedAccessTrustProviderOutput) + DetachVolume(*ec2.DetachVolumeInput) (*ec2.VolumeAttachment, error) DetachVolumeWithContext(aws.Context, *ec2.DetachVolumeInput, ...request.Option) (*ec2.VolumeAttachment, error) DetachVolumeRequest(*ec2.DetachVolumeInput) (*request.Request, *ec2.VolumeAttachment) @@ -2101,6 +2176,14 @@ type EC2API interface { GetTransitGatewayRouteTablePropagationsPages(*ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error GetTransitGatewayRouteTablePropagationsPagesWithContext(aws.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool, ...request.Option) error + GetVerifiedAccessEndpointPolicy(*ec2.GetVerifiedAccessEndpointPolicyInput) (*ec2.GetVerifiedAccessEndpointPolicyOutput, error) + GetVerifiedAccessEndpointPolicyWithContext(aws.Context, *ec2.GetVerifiedAccessEndpointPolicyInput, ...request.Option) (*ec2.GetVerifiedAccessEndpointPolicyOutput, error) + GetVerifiedAccessEndpointPolicyRequest(*ec2.GetVerifiedAccessEndpointPolicyInput) (*request.Request, *ec2.GetVerifiedAccessEndpointPolicyOutput) + + GetVerifiedAccessGroupPolicy(*ec2.GetVerifiedAccessGroupPolicyInput) (*ec2.GetVerifiedAccessGroupPolicyOutput, error) + GetVerifiedAccessGroupPolicyWithContext(aws.Context, *ec2.GetVerifiedAccessGroupPolicyInput, ...request.Option) (*ec2.GetVerifiedAccessGroupPolicyOutput, error) + GetVerifiedAccessGroupPolicyRequest(*ec2.GetVerifiedAccessGroupPolicyInput) (*request.Request, *ec2.GetVerifiedAccessGroupPolicyOutput) + GetVpnConnectionDeviceSampleConfiguration(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error) GetVpnConnectionDeviceSampleConfigurationWithContext(aws.Context, *ec2.GetVpnConnectionDeviceSampleConfigurationInput, ...request.Option) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error) GetVpnConnectionDeviceSampleConfigurationRequest(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*request.Request, *ec2.GetVpnConnectionDeviceSampleConfigurationOutput) @@ -2318,6 +2401,34 @@ type EC2API interface { ModifyTransitGatewayVpcAttachmentWithContext(aws.Context, *ec2.ModifyTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.ModifyTransitGatewayVpcAttachmentOutput, error) ModifyTransitGatewayVpcAttachmentRequest(*ec2.ModifyTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.ModifyTransitGatewayVpcAttachmentOutput) + ModifyVerifiedAccessEndpoint(*ec2.ModifyVerifiedAccessEndpointInput) (*ec2.ModifyVerifiedAccessEndpointOutput, error) + ModifyVerifiedAccessEndpointWithContext(aws.Context, *ec2.ModifyVerifiedAccessEndpointInput, ...request.Option) (*ec2.ModifyVerifiedAccessEndpointOutput, error) + ModifyVerifiedAccessEndpointRequest(*ec2.ModifyVerifiedAccessEndpointInput) (*request.Request, *ec2.ModifyVerifiedAccessEndpointOutput) + + ModifyVerifiedAccessEndpointPolicy(*ec2.ModifyVerifiedAccessEndpointPolicyInput) (*ec2.ModifyVerifiedAccessEndpointPolicyOutput, error) + ModifyVerifiedAccessEndpointPolicyWithContext(aws.Context, *ec2.ModifyVerifiedAccessEndpointPolicyInput, ...request.Option) (*ec2.ModifyVerifiedAccessEndpointPolicyOutput, error) + ModifyVerifiedAccessEndpointPolicyRequest(*ec2.ModifyVerifiedAccessEndpointPolicyInput) (*request.Request, *ec2.ModifyVerifiedAccessEndpointPolicyOutput) + + ModifyVerifiedAccessGroup(*ec2.ModifyVerifiedAccessGroupInput) (*ec2.ModifyVerifiedAccessGroupOutput, error) + ModifyVerifiedAccessGroupWithContext(aws.Context, *ec2.ModifyVerifiedAccessGroupInput, ...request.Option) (*ec2.ModifyVerifiedAccessGroupOutput, error) + ModifyVerifiedAccessGroupRequest(*ec2.ModifyVerifiedAccessGroupInput) (*request.Request, *ec2.ModifyVerifiedAccessGroupOutput) + + ModifyVerifiedAccessGroupPolicy(*ec2.ModifyVerifiedAccessGroupPolicyInput) (*ec2.ModifyVerifiedAccessGroupPolicyOutput, error) + ModifyVerifiedAccessGroupPolicyWithContext(aws.Context, *ec2.ModifyVerifiedAccessGroupPolicyInput, ...request.Option) (*ec2.ModifyVerifiedAccessGroupPolicyOutput, error) + ModifyVerifiedAccessGroupPolicyRequest(*ec2.ModifyVerifiedAccessGroupPolicyInput) (*request.Request, *ec2.ModifyVerifiedAccessGroupPolicyOutput) + + ModifyVerifiedAccessInstance(*ec2.ModifyVerifiedAccessInstanceInput) (*ec2.ModifyVerifiedAccessInstanceOutput, error) + ModifyVerifiedAccessInstanceWithContext(aws.Context, *ec2.ModifyVerifiedAccessInstanceInput, ...request.Option) (*ec2.ModifyVerifiedAccessInstanceOutput, error) + ModifyVerifiedAccessInstanceRequest(*ec2.ModifyVerifiedAccessInstanceInput) (*request.Request, *ec2.ModifyVerifiedAccessInstanceOutput) + + ModifyVerifiedAccessInstanceLoggingConfiguration(*ec2.ModifyVerifiedAccessInstanceLoggingConfigurationInput) (*ec2.ModifyVerifiedAccessInstanceLoggingConfigurationOutput, error) + ModifyVerifiedAccessInstanceLoggingConfigurationWithContext(aws.Context, *ec2.ModifyVerifiedAccessInstanceLoggingConfigurationInput, ...request.Option) (*ec2.ModifyVerifiedAccessInstanceLoggingConfigurationOutput, error) + ModifyVerifiedAccessInstanceLoggingConfigurationRequest(*ec2.ModifyVerifiedAccessInstanceLoggingConfigurationInput) (*request.Request, *ec2.ModifyVerifiedAccessInstanceLoggingConfigurationOutput) + + ModifyVerifiedAccessTrustProvider(*ec2.ModifyVerifiedAccessTrustProviderInput) (*ec2.ModifyVerifiedAccessTrustProviderOutput, error) + ModifyVerifiedAccessTrustProviderWithContext(aws.Context, *ec2.ModifyVerifiedAccessTrustProviderInput, ...request.Option) (*ec2.ModifyVerifiedAccessTrustProviderOutput, error) + ModifyVerifiedAccessTrustProviderRequest(*ec2.ModifyVerifiedAccessTrustProviderInput) (*request.Request, *ec2.ModifyVerifiedAccessTrustProviderOutput) + ModifyVolume(*ec2.ModifyVolumeInput) (*ec2.ModifyVolumeOutput, error) ModifyVolumeWithContext(aws.Context, *ec2.ModifyVolumeInput, ...request.Option) (*ec2.ModifyVolumeOutput, error) ModifyVolumeRequest(*ec2.ModifyVolumeInput) (*request.Request, *ec2.ModifyVolumeOutput) diff --git a/service/kinesis/api.go b/service/kinesis/api.go index ec5fbcb3cd8..17811211de5 100644 --- a/service/kinesis/api.go +++ b/service/kinesis/api.go @@ -3383,8 +3383,8 @@ func (e eventTypeForSubscribeToShardEventStreamOutputEvent) UnmarshalerForEventN // // These events are: // -// * SubscribeToShardEvent -// * SubscribeToShardEventStreamUnknownEvent +// - SubscribeToShardEvent +// - SubscribeToShardEventStreamUnknownEvent func (es *SubscribeToShardEventStream) Events() <-chan SubscribeToShardEventStreamEvent { return es.Reader.Events() } diff --git a/service/kinesis/eventstream_test.go b/service/kinesis/eventstream_test.go index a0c6f53ddf1..129386433e0 100644 --- a/service/kinesis/eventstream_test.go +++ b/service/kinesis/eventstream_test.go @@ -230,7 +230,7 @@ func mockSubscribeToShardReadEvents() ( &SubscribeToShardOutput{}, &SubscribeToShardEvent{ ChildShards: []*ChildShard{ - &ChildShard{ + { HashKeyRange: &HashKeyRange{ EndingHashKey: aws.String("string value goes here"), StartingHashKey: aws.String("string value goes here"), @@ -242,7 +242,7 @@ func mockSubscribeToShardReadEvents() ( }, ShardId: aws.String("string value goes here"), }, - &ChildShard{ + { HashKeyRange: &HashKeyRange{ EndingHashKey: aws.String("string value goes here"), StartingHashKey: aws.String("string value goes here"), @@ -254,7 +254,7 @@ func mockSubscribeToShardReadEvents() ( }, ShardId: aws.String("string value goes here"), }, - &ChildShard{ + { HashKeyRange: &HashKeyRange{ EndingHashKey: aws.String("string value goes here"), StartingHashKey: aws.String("string value goes here"), @@ -270,21 +270,21 @@ func mockSubscribeToShardReadEvents() ( ContinuationSequenceNumber: aws.String("string value goes here"), MillisBehindLatest: aws.Int64(1234), Records: []*Record{ - &Record{ + { ApproximateArrivalTimestamp: aws.Time(time.Unix(1396594860, 0).UTC()), Data: []byte("blob value goes here"), EncryptionType: aws.String("string value goes here"), PartitionKey: aws.String("string value goes here"), SequenceNumber: aws.String("string value goes here"), }, - &Record{ + { ApproximateArrivalTimestamp: aws.Time(time.Unix(1396594860, 0).UTC()), Data: []byte("blob value goes here"), EncryptionType: aws.String("string value goes here"), PartitionKey: aws.String("string value goes here"), SequenceNumber: aws.String("string value goes here"), }, - &Record{ + { ApproximateArrivalTimestamp: aws.Time(time.Unix(1396594860, 0).UTC()), Data: []byte("blob value goes here"), EncryptionType: aws.String("string value goes here"), diff --git a/service/kms/examples_test.go b/service/kms/examples_test.go index 29daaa118ea..6c6caf544dd 100644 --- a/service/kms/examples_test.go +++ b/service/kms/examples_test.go @@ -61,10 +61,13 @@ func ExampleKMS_CancelKeyDeletion_shared00() { fmt.Println(result) } -// To connect a custom key store to its CloudHSM cluster -// This example connects an AWS KMS custom key store to its AWS CloudHSM cluster. This -// operation does not return any data. To verify that the custom key store is connected, -// use the DescribeCustomKeyStores operation. +// To connect a custom key store +// This example connects an AWS KMS custom key store to its backing key store. For an +// AWS CloudHSM key store, it connects the key store to its AWS CloudHSM cluster. For +// an external key store, it connects the key store to the external key store proxy +// that communicates with your external key manager. This operation does not return +// any data. To verify that the custom key store is connected, use the DescribeCustomKeyStores +// operation. func ExampleKMS_ConnectCustomKeyStore_shared00() { svc := kms.New(session.New()) input := &kms.ConnectCustomKeyStoreInput{ @@ -140,7 +143,7 @@ func ExampleKMS_CreateAlias_shared00() { fmt.Println(result) } -// To create an AWS CloudHSM custom key store +// To create an AWS CloudHSM key store // This example creates a custom key store that is associated with an AWS CloudHSM cluster. func ExampleKMS_CreateCustomKeyStore_shared00() { svc := kms.New(session.New()) @@ -169,6 +172,164 @@ func ExampleKMS_CreateCustomKeyStore_shared00() { fmt.Println(kms.ErrCodeIncorrectTrustAnchorException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeLimitExceededException: + fmt.Println(kms.ErrCodeLimitExceededException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To create an external key store with VPC endpoint service connectivity +// This example creates an external key store that uses an Amazon VPC endpoint service +// to communicate with AWS KMS. +func ExampleKMS_CreateCustomKeyStore_shared01() { + svc := kms.New(session.New()) + input := &kms.CreateCustomKeyStoreInput{ + CustomKeyStoreName: aws.String("ExampleVPCEndpointKeyStore"), + CustomKeyStoreType: aws.String("EXTERNAL_KEY_STORE"), + XksProxyAuthenticationCredential: &kms.XksProxyAuthenticationCredentialType{ + AccessKeyId: aws.String("ABCDE12345670EXAMPLE"), + RawSecretAccessKey: aws.String("file://SecretAccessKey"), + }, + XksProxyConnectivity: aws.String("VPC_ENDPOINT_SERVICE"), + XksProxyUriEndpoint: aws.String("https://myproxy-private.xks.example.com"), + XksProxyUriPath: aws.String("/example-prefix/kms/xks/v1"), + XksProxyVpcEndpointServiceName: aws.String("com.amazonaws.vpce.us-east-1.vpce-svc-example1"), + } + + result, err := svc.CreateCustomKeyStore(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCloudHsmClusterInUseException: + fmt.Println(kms.ErrCodeCloudHsmClusterInUseException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreNameInUseException: + fmt.Println(kms.ErrCodeCustomKeyStoreNameInUseException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotFoundException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotFoundException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotActiveException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) + case kms.ErrCodeIncorrectTrustAnchorException: + fmt.Println(kms.ErrCodeIncorrectTrustAnchorException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: + fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeLimitExceededException: + fmt.Println(kms.ErrCodeLimitExceededException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To create an external key store with public endpoint connectivity +// This example creates an external key store with public endpoint connectivity. +func ExampleKMS_CreateCustomKeyStore_shared02() { + svc := kms.New(session.New()) + input := &kms.CreateCustomKeyStoreInput{ + CustomKeyStoreName: aws.String("ExamplePublicEndpointKeyStore"), + CustomKeyStoreType: aws.String("EXTERNAL_KEY_STORE"), + XksProxyAuthenticationCredential: &kms.XksProxyAuthenticationCredentialType{ + AccessKeyId: aws.String("ABCDE12345670EXAMPLE"), + RawSecretAccessKey: aws.String("file://SecretAccessKey"), + }, + XksProxyConnectivity: aws.String("PUBLIC_ENDPOINT"), + XksProxyUriEndpoint: aws.String("https://myproxy.xks.example.com"), + XksProxyUriPath: aws.String("/kms/xks/v1"), + } + + result, err := svc.CreateCustomKeyStore(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCloudHsmClusterInUseException: + fmt.Println(kms.ErrCodeCloudHsmClusterInUseException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreNameInUseException: + fmt.Println(kms.ErrCodeCustomKeyStoreNameInUseException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotFoundException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotFoundException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotActiveException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) + case kms.ErrCodeIncorrectTrustAnchorException: + fmt.Println(kms.ErrCodeIncorrectTrustAnchorException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: + fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeLimitExceededException: + fmt.Println(kms.ErrCodeLimitExceededException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -262,6 +423,12 @@ func ExampleKMS_CreateKey_shared00() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -310,6 +477,12 @@ func ExampleKMS_CreateKey_shared01() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -360,6 +533,67 @@ func ExampleKMS_CreateKey_shared02() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To create an HMAC KMS key +// This example creates a 384-bit symmetric HMAC KMS key. The GENERATE_VERIFY_MAC key +// usage value is required even though it's the only valid value for HMAC KMS keys. +// The key spec and key usage can't be changed after the key is created. +func ExampleKMS_CreateKey_shared03() { + svc := kms.New(session.New()) + input := &kms.CreateKeyInput{ + KeySpec: aws.String("HMAC_384"), + KeyUsage: aws.String("GENERATE_VERIFY_MAC"), + } + + result, err := svc.CreateKey(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeMalformedPolicyDocumentException: + fmt.Println(kms.ErrCodeMalformedPolicyDocumentException, aerr.Error()) + case kms.ErrCodeDependencyTimeoutException: + fmt.Println(kms.ErrCodeDependencyTimeoutException, aerr.Error()) + case kms.ErrCodeInvalidArnException: + fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error()) + case kms.ErrCodeUnsupportedOperationException: + fmt.Println(kms.ErrCodeUnsupportedOperationException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeLimitExceededException: + fmt.Println(kms.ErrCodeLimitExceededException, aerr.Error()) + case kms.ErrCodeTagException: + fmt.Println(kms.ErrCodeTagException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreNotFoundException: + fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreInvalidStateException: + fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: + fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -378,7 +612,7 @@ func ExampleKMS_CreateKey_shared02() { // This example creates a multi-Region primary symmetric encryption key. Because the // default values for all parameters create a symmetric encryption key, only the MultiRegion // parameter is required for this KMS key. -func ExampleKMS_CreateKey_shared03() { +func ExampleKMS_CreateKey_shared04() { svc := kms.New(session.New()) input := &kms.CreateKeyInput{ MultiRegion: aws.Bool(true), @@ -408,6 +642,12 @@ func ExampleKMS_CreateKey_shared03() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -426,7 +666,7 @@ func ExampleKMS_CreateKey_shared03() { // This example creates a KMS key with no key material. When the operation is complete, // you can import your own key material into the KMS key. To create this KMS key, set // the Origin parameter to EXTERNAL. -func ExampleKMS_CreateKey_shared04() { +func ExampleKMS_CreateKey_shared05() { svc := kms.New(session.New()) input := &kms.CreateKeyInput{ Origin: aws.String("EXTERNAL"), @@ -456,6 +696,12 @@ func ExampleKMS_CreateKey_shared04() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -470,12 +716,12 @@ func ExampleKMS_CreateKey_shared04() { fmt.Println(result) } -// To create a KMS key in a custom key store -// This example creates a KMS key in the specified custom key store. The operation creates -// the KMS key and its metadata in AWS KMS and the key material in the AWS CloudHSM -// cluster associated with the custom key store. This example requires the Origin and -// CustomKeyStoreId parameters. -func ExampleKMS_CreateKey_shared05() { +// To create a KMS key in an AWS CloudHSM key store +// This example creates a KMS key in the specified AWS CloudHSM key store. The operation +// creates the KMS key and its metadata in AWS KMS and creates the key material in the +// AWS CloudHSM cluster associated with the custom key store. This example requires +// the CustomKeyStoreId and Origin parameters. +func ExampleKMS_CreateKey_shared06() { svc := kms.New(session.New()) input := &kms.CreateKeyInput{ CustomKeyStoreId: aws.String("cks-1234567890abcdef0"), @@ -506,6 +752,12 @@ func ExampleKMS_CreateKey_shared05() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -520,15 +772,17 @@ func ExampleKMS_CreateKey_shared05() { fmt.Println(result) } -// To create an HMAC KMS key -// This example creates a 384-bit symmetric HMAC KMS key. The GENERATE_VERIFY_MAC key -// usage value is required even though it's the only valid value for HMAC KMS keys. -// The key spec and key usage can't be changed after the key is created. -func ExampleKMS_CreateKey_shared06() { +// To create a KMS key in an external key store +// This example creates a KMS key in the specified external key store. It uses the XksKeyId +// parameter to associate the KMS key with an existing symmetric encryption key in your +// external key manager. This CustomKeyStoreId, Origin, and XksKeyId parameters are +// required in this operation. +func ExampleKMS_CreateKey_shared07() { svc := kms.New(session.New()) input := &kms.CreateKeyInput{ - KeySpec: aws.String("HMAC_384"), - KeyUsage: aws.String("GENERATE_VERIFY_MAC"), + CustomKeyStoreId: aws.String("cks-9876543210fedcba9"), + Origin: aws.String("EXTERNAL_KEY_STORE"), + XksKeyId: aws.String("bb8562717f809024"), } result, err := svc.CreateKey(input) @@ -555,6 +809,12 @@ func ExampleKMS_CreateKey_shared06() { fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksKeyInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksKeyAlreadyInUseException: + fmt.Println(kms.ErrCodeXksKeyAlreadyInUseException, aerr.Error()) + case kms.ErrCodeXksKeyNotFoundException: + fmt.Println(kms.ErrCodeXksKeyNotFoundException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -651,10 +911,10 @@ func ExampleKMS_DeleteAlias_shared00() { } // To delete a custom key store from AWS KMS -// This example deletes a custom key store from AWS KMS. This operation does not delete -// the AWS CloudHSM cluster that was associated with the CloudHSM cluster. This operation -// doesn't return any data. To verify that the operation was successful, use the DescribeCustomKeyStores -// operation. +// This example deletes a custom key store from AWS KMS. This operation does not affect +// the backing key store, such as a CloudHSM cluster, external key store proxy, or your +// external key manager. This operation doesn't return any data. To verify that the +// operation was successful, use the DescribeCustomKeyStores operation. func ExampleKMS_DeleteCustomKeyStore_shared00() { svc := kms.New(session.New()) input := &kms.DeleteCustomKeyStoreInput{ @@ -757,10 +1017,12 @@ func ExampleKMS_DescribeCustomKeyStores_shared00() { fmt.Println(result) } -// To get detailed information about a custom key store associated with a CloudHSM cluster. -// This example gets detailed information about a particular AWS KMS custom key store -// that is associate with an AWS CloudHSM cluster. To limit the output to a particular -// custom key store, provide the custom key store name or ID. +// To get detailed information about an AWS CloudHSM key store by specifying its friendly +// name +// +// This example gets detailed information about a particular AWS CloudHSM key store +// by specifying its friendly name. To limit the output to a particular custom key store, +// provide either the custom key store name or ID. func ExampleKMS_DescribeCustomKeyStores_shared01() { svc := kms.New(session.New()) input := &kms.DescribeCustomKeyStoresInput{ @@ -791,6 +1053,78 @@ func ExampleKMS_DescribeCustomKeyStores_shared01() { fmt.Println(result) } +// To get detailed information about an external key store by specifying its ID +// This example gets detailed information about an external key store by specifying +// its ID. The example external key store proxy uses public endpoint connectivity. +func ExampleKMS_DescribeCustomKeyStores_shared02() { + svc := kms.New(session.New()) + input := &kms.DescribeCustomKeyStoresInput{ + CustomKeyStoreId: aws.String("cks-9876543210fedcba9"), + } + + result, err := svc.DescribeCustomKeyStores(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCustomKeyStoreNotFoundException: + fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) + case kms.ErrCodeInvalidMarkerException: + fmt.Println(kms.ErrCodeInvalidMarkerException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To get detailed information about an external key store VPC endpoint connectivity +// by specifying its friendly name +// +// This example gets detailed information about a particular external key store by specifying +// its friendly name. To limit the output to a particular custom key store, provide +// either the custom key store name or ID. The proxy URI path for this external key +// store includes an optional prefix. Also, because this example external key store +// uses VPC endpoint connectivity, the response includes the associated VPC endpoint +// service name. +func ExampleKMS_DescribeCustomKeyStores_shared03() { + svc := kms.New(session.New()) + input := &kms.DescribeCustomKeyStoresInput{ + CustomKeyStoreName: aws.String("VPCExternalKeystore"), + } + + result, err := svc.DescribeCustomKeyStores(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCustomKeyStoreNotFoundException: + fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) + case kms.ErrCodeInvalidMarkerException: + fmt.Println(kms.ErrCodeInvalidMarkerException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + // To get details about a KMS key // The following example gets metadata for a symmetric encryption KMS key. func ExampleKMS_DescribeKey_shared00() { @@ -930,6 +1264,74 @@ func ExampleKMS_DescribeKey_shared03() { fmt.Println(result) } +// To get details about a KMS key in an AWS CloudHSM key store +// The following example gets the metadata of a KMS key in an AWS CloudHSM key store. +func ExampleKMS_DescribeKey_shared04() { + svc := kms.New(session.New()) + input := &kms.DescribeKeyInput{ + KeyId: aws.String("arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"), + } + + result, err := svc.DescribeKey(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeNotFoundException: + fmt.Println(kms.ErrCodeNotFoundException, aerr.Error()) + case kms.ErrCodeInvalidArnException: + fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error()) + case kms.ErrCodeDependencyTimeoutException: + fmt.Println(kms.ErrCodeDependencyTimeoutException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To get details about a KMS key in an external key store +// The following example gets the metadata of a KMS key in an external key store. +func ExampleKMS_DescribeKey_shared05() { + svc := kms.New(session.New()) + input := &kms.DescribeKeyInput{ + KeyId: aws.String("arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"), + } + + result, err := svc.DescribeKey(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeNotFoundException: + fmt.Println(kms.ErrCodeNotFoundException, aerr.Error()) + case kms.ErrCodeInvalidArnException: + fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error()) + case kms.ErrCodeDependencyTimeoutException: + fmt.Println(kms.ErrCodeDependencyTimeoutException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + // To disable a KMS key // The following example disables the specified KMS key. func ExampleKMS_DisableKey_shared00() { @@ -1008,9 +1410,12 @@ func ExampleKMS_DisableKeyRotation_shared00() { } // To disconnect a custom key store from its CloudHSM cluster -// This example disconnects an AWS KMS custom key store from its AWS CloudHSM cluster. -// This operation doesn't return any data. To verify that the custom key store is disconnected, -// use the DescribeCustomKeyStores operation. +// This example disconnects an AWS KMS custom key store from its backing key store. +// For an AWS CloudHSM key store, it disconnects the key store from its AWS CloudHSM +// cluster. For an external key store, it disconnects the key store from the external +// key store proxy that communicates with your external key manager. This operation +// doesn't return any data. To verify that the custom key store is disconnected, use +// the DescribeCustomKeyStores operation. func ExampleKMS_DisconnectCustomKeyStore_shared00() { svc := kms.New(session.New()) input := &kms.DisconnectCustomKeyStoreInput{ @@ -1405,6 +1810,8 @@ func ExampleKMS_GenerateRandom_shared00() { fmt.Println(kms.ErrCodeDependencyTimeoutException, aerr.Error()) case kms.ErrCodeInternalException: fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeUnsupportedOperationException: + fmt.Println(kms.ErrCodeUnsupportedOperationException, aerr.Error()) case kms.ErrCodeCustomKeyStoreNotFoundException: fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) case kms.ErrCodeCustomKeyStoreInvalidStateException: @@ -2271,8 +2678,8 @@ func ExampleKMS_UpdateAlias_shared00() { fmt.Println(result) } -// To edit the password of a custom key store -// This example tells KMS the password for the kmsuser crypto user in the AWS CloudHSM +// To edit the password of an AWS CloudHSM key store +// This example tells AWS KMS the password for the kmsuser crypto user in the AWS CloudHSM // cluster that is associated with the AWS KMS custom key store. (It does not change // the password in the CloudHSM cluster.) This operation does not return any data. func ExampleKMS_UpdateCustomKeyStore_shared00() { @@ -2302,6 +2709,24 @@ func ExampleKMS_UpdateCustomKeyStore_shared00() { fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -2347,6 +2772,24 @@ func ExampleKMS_UpdateCustomKeyStore_shared01() { fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -2362,10 +2805,10 @@ func ExampleKMS_UpdateCustomKeyStore_shared01() { } // To associate the custom key store with a different, but related, AWS CloudHSM cluster. -// This example changes the cluster that is associated with a custom key store to a -// related cluster, such as a different backup of the same cluster. This operation does -// not return any data. To verify that the operation worked, use the DescribeCustomKeyStores -// operation. +// This example changes the AWS CloudHSM cluster that is associated with an AWS CloudHSM +// key store to a related cluster, such as a different backup of the same cluster. This +// operation does not return any data. To verify that the operation worked, use the +// DescribeCustomKeyStores operation. func ExampleKMS_UpdateCustomKeyStore_shared02() { svc := kms.New(session.New()) input := &kms.UpdateCustomKeyStoreInput{ @@ -2393,6 +2836,152 @@ func ExampleKMS_UpdateCustomKeyStore_shared02() { fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To edit the proxy URI path of an external key store. +// This example updates the proxy URI path for an external key store +func ExampleKMS_UpdateCustomKeyStore_shared03() { + svc := kms.New(session.New()) + input := &kms.UpdateCustomKeyStoreInput{ + CustomKeyStoreId: aws.String("cks-1234567890abcdef0"), + XksProxyUriPath: aws.String("/new-path/kms/xks/v1"), + } + + result, err := svc.UpdateCustomKeyStore(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCustomKeyStoreNotFoundException: + fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreNameInUseException: + fmt.Println(kms.ErrCodeCustomKeyStoreNameInUseException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotFoundException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotFoundException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotRelatedException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotRelatedException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreInvalidStateException: + fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotActiveException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: + fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + +// To update the proxy connectivity of an external key store to VPC_ENDPOINT_SERVICE +// To change the external key store proxy connectivity option from public endpoint connectivity +// to VPC endpoint service connectivity, in addition to changing the XksProxyConnectivity +// value, you must change the XksProxyUriEndpoint value to reflect the +// private DNS name associated with the VPC endpoint service. You must also add an XksProxyVpcEndpointServiceName +// value. +func ExampleKMS_UpdateCustomKeyStore_shared04() { + svc := kms.New(session.New()) + input := &kms.UpdateCustomKeyStoreInput{ + CustomKeyStoreId: aws.String("cks-1234567890abcdef0"), + XksProxyConnectivity: aws.String("VPC_ENDPOINT_SERVICE"), + XksProxyUriEndpoint: aws.String("https://myproxy-private.xks.example.com"), + XksProxyVpcEndpointServiceName: aws.String("com.amazonaws.vpce.us-east-1.vpce-svc-example"), + } + + result, err := svc.UpdateCustomKeyStore(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeCustomKeyStoreNotFoundException: + fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreNameInUseException: + fmt.Println(kms.ErrCodeCustomKeyStoreNameInUseException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotFoundException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotFoundException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotRelatedException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotRelatedException, aerr.Error()) + case kms.ErrCodeCustomKeyStoreInvalidStateException: + fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterNotActiveException: + fmt.Println(kms.ErrCodeCloudHsmClusterNotActiveException, aerr.Error()) + case kms.ErrCodeCloudHsmClusterInvalidConfigurationException: + fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyUriInUseException: + fmt.Println(kms.ErrCodeXksProxyUriInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriEndpointInUseException: + fmt.Println(kms.ErrCodeXksProxyUriEndpointInUseException, aerr.Error()) + case kms.ErrCodeXksProxyUriUnreachableException: + fmt.Println(kms.ErrCodeXksProxyUriUnreachableException, aerr.Error()) + case kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException: + fmt.Println(kms.ErrCodeXksProxyIncorrectAuthenticationCredentialException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInUseException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInUseException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceNotFoundException, aerr.Error()) + case kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidResponseException: + fmt.Println(kms.ErrCodeXksProxyInvalidResponseException, aerr.Error()) + case kms.ErrCodeXksProxyInvalidConfigurationException: + fmt.Println(kms.ErrCodeXksProxyInvalidConfigurationException, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -2444,6 +3033,54 @@ func ExampleKMS_UpdateKeyDescription_shared00() { fmt.Println(result) } +// To update the primary Region of a multi-Region KMS key +// The following UpdatePrimaryRegion example changes the multi-Region replica key in +// the eu-central-1 Region to the primary key. The current primary key in the us-west-1 +// Region becomes a replica key. +// +// The KeyId parameter identifies the current primary key in the us-west-1 Region. The +// PrimaryRegion parameter indicates the Region of the replica key that will become +// the new primary key. +// +// This operation does not return any output. To verify that primary key is changed, +// use the DescribeKey operation. +func ExampleKMS_UpdatePrimaryRegion_shared00() { + svc := kms.New(session.New()) + input := &kms.UpdatePrimaryRegionInput{ + KeyId: aws.String("arn:aws:kms:us-west-1:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab"), + PrimaryRegion: aws.String("eu-central-1"), + } + + result, err := svc.UpdatePrimaryRegion(input) + if err != nil { + if aerr, ok := err.(awserr.Error); ok { + switch aerr.Code() { + case kms.ErrCodeDisabledException: + fmt.Println(kms.ErrCodeDisabledException, aerr.Error()) + case kms.ErrCodeInvalidArnException: + fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error()) + case kms.ErrCodeInvalidStateException: + fmt.Println(kms.ErrCodeInvalidStateException, aerr.Error()) + case kms.ErrCodeInternalException: + fmt.Println(kms.ErrCodeInternalException, aerr.Error()) + case kms.ErrCodeNotFoundException: + fmt.Println(kms.ErrCodeNotFoundException, aerr.Error()) + case kms.ErrCodeUnsupportedOperationException: + fmt.Println(kms.ErrCodeUnsupportedOperationException, aerr.Error()) + default: + fmt.Println(aerr.Error()) + } + } else { + // Print the error, cast err to awserr.Error to get the Code and + // Message from an error. + fmt.Println(err.Error()) + } + return + } + + fmt.Println(result) +} + // To use an asymmetric KMS key to verify a digital signature // This operation uses the public key in an elliptic curve (ECC) asymmetric key to verify // a digital signature within AWS KMS. diff --git a/service/lexruntimev2/api.go b/service/lexruntimev2/api.go index 807079d921f..233eb8420fb 100644 --- a/service/lexruntimev2/api.go +++ b/service/lexruntimev2/api.go @@ -838,12 +838,12 @@ func (es *StartConversationEventStream) closeInputPipe() error { // // These events are: // -// * AudioInputEvent -// * ConfigurationEvent -// * DTMFInputEvent -// * DisconnectionEvent -// * PlaybackCompletionEvent -// * TextInputEvent +// - AudioInputEvent +// - ConfigurationEvent +// - DTMFInputEvent +// - DisconnectionEvent +// - PlaybackCompletionEvent +// - TextInputEvent func (es *StartConversationEventStream) Send(ctx aws.Context, event StartConversationRequestEventStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -887,13 +887,13 @@ func (es *StartConversationEventStream) runInputStream(r *request.Request) { // // These events are: // -// * AudioResponseEvent -// * HeartbeatEvent -// * IntentResultEvent -// * PlaybackInterruptionEvent -// * TextResponseEvent -// * TranscriptEvent -// * StartConversationResponseEventStreamUnknownEvent +// - AudioResponseEvent +// - HeartbeatEvent +// - IntentResultEvent +// - PlaybackInterruptionEvent +// - TextResponseEvent +// - TranscriptEvent +// - StartConversationResponseEventStreamUnknownEvent func (es *StartConversationEventStream) Events() <-chan StartConversationResponseEventStreamEvent { return es.Reader.Events() } diff --git a/service/lexruntimev2/eventstream_test.go b/service/lexruntimev2/eventstream_test.go index 96cd3952178..cbb927c07f8 100644 --- a/service/lexruntimev2/eventstream_test.go +++ b/service/lexruntimev2/eventstream_test.go @@ -235,12 +235,12 @@ func mockStartConversationReadEvents() ( EventId: aws.String("string value goes here"), InputMode: aws.String("string value goes here"), Interpretations: []*Interpretation{ - &Interpretation{ + { Intent: &Intent{ ConfirmationState: aws.String("string value goes here"), Name: aws.String("string value goes here"), Slots: map[string]*Slot{ - "a": &Slot{ + "a": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -254,7 +254,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "b": &Slot{ + "b": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -268,7 +268,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "c": &Slot{ + "c": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -298,12 +298,12 @@ func mockStartConversationReadEvents() ( }, }, }, - &Interpretation{ + { Intent: &Intent{ ConfirmationState: aws.String("string value goes here"), Name: aws.String("string value goes here"), Slots: map[string]*Slot{ - "a": &Slot{ + "a": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -317,7 +317,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "b": &Slot{ + "b": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -331,7 +331,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "c": &Slot{ + "c": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -361,12 +361,12 @@ func mockStartConversationReadEvents() ( }, }, }, - &Interpretation{ + { Intent: &Intent{ ConfirmationState: aws.String("string value goes here"), Name: aws.String("string value goes here"), Slots: map[string]*Slot{ - "a": &Slot{ + "a": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -380,7 +380,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "b": &Slot{ + "b": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -394,7 +394,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "c": &Slot{ + "c": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -433,7 +433,7 @@ func mockStartConversationReadEvents() ( SessionId: aws.String("string value goes here"), SessionState: &SessionState{ ActiveContexts: []*ActiveContext{ - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -445,7 +445,7 @@ func mockStartConversationReadEvents() ( TurnsToLive: aws.Int64(123), }, }, - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -457,7 +457,7 @@ func mockStartConversationReadEvents() ( TurnsToLive: aws.Int64(123), }, }, - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -483,7 +483,7 @@ func mockStartConversationReadEvents() ( ConfirmationState: aws.String("string value goes here"), Name: aws.String("string value goes here"), Slots: map[string]*Slot{ - "a": &Slot{ + "a": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -497,7 +497,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "b": &Slot{ + "b": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -511,7 +511,7 @@ func mockStartConversationReadEvents() ( }, Values: []*Slot{}, }, - "c": &Slot{ + "c": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -531,132 +531,132 @@ func mockStartConversationReadEvents() ( OriginatingRequestId: aws.String("string value goes here"), RuntimeHints: &RuntimeHints{ SlotHints: map[string]map[string]*RuntimeHintDetails{ - "a": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "a": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, }, - "b": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "b": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, }, - "c": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "c": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, @@ -680,20 +680,20 @@ func mockStartConversationReadEvents() ( &TextResponseEvent{ EventId: aws.String("string value goes here"), Messages: []*Message{ - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, @@ -703,20 +703,20 @@ func mockStartConversationReadEvents() ( Title: aws.String("string value goes here"), }, }, - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, @@ -726,20 +726,20 @@ func mockStartConversationReadEvents() ( Title: aws.String("string value goes here"), }, }, - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, @@ -1103,7 +1103,7 @@ func mockStartConversationWriteEvents() ( ResponseContentType: aws.String("string value goes here"), SessionState: &SessionState{ ActiveContexts: []*ActiveContext{ - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -1115,7 +1115,7 @@ func mockStartConversationWriteEvents() ( TurnsToLive: aws.Int64(123), }, }, - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -1127,7 +1127,7 @@ func mockStartConversationWriteEvents() ( TurnsToLive: aws.Int64(123), }, }, - &ActiveContext{ + { ContextAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -1153,7 +1153,7 @@ func mockStartConversationWriteEvents() ( ConfirmationState: aws.String("string value goes here"), Name: aws.String("string value goes here"), Slots: map[string]*Slot{ - "a": &Slot{ + "a": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -1167,7 +1167,7 @@ func mockStartConversationWriteEvents() ( }, Values: []*Slot{}, }, - "b": &Slot{ + "b": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -1181,7 +1181,7 @@ func mockStartConversationWriteEvents() ( }, Values: []*Slot{}, }, - "c": &Slot{ + "c": { Shape: aws.String("string value goes here"), SubSlots: nil, Value: &Value{ @@ -1201,132 +1201,132 @@ func mockStartConversationWriteEvents() ( OriginatingRequestId: aws.String("string value goes here"), RuntimeHints: &RuntimeHints{ SlotHints: map[string]map[string]*RuntimeHintDetails{ - "a": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "a": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, }, - "b": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "b": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, }, - "c": map[string]*RuntimeHintDetails{ - "a": &RuntimeHintDetails{ + "c": { + "a": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "b": &RuntimeHintDetails{ + "b": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, SubSlotHints: nil, }, - "c": &RuntimeHintDetails{ + "c": { RuntimeHintValues: []*RuntimeHintValue{ - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, - &RuntimeHintValue{ + { Phrase: aws.String("string value goes here"), }, }, @@ -1342,20 +1342,20 @@ func mockStartConversationWriteEvents() ( }, }, WelcomeMessages: []*Message{ - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, @@ -1365,20 +1365,20 @@ func mockStartConversationWriteEvents() ( Title: aws.String("string value goes here"), }, }, - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, @@ -1388,20 +1388,20 @@ func mockStartConversationWriteEvents() ( Title: aws.String("string value goes here"), }, }, - &Message{ + { Content: aws.String("string value goes here"), ContentType: aws.String("string value goes here"), ImageResponseCard: &ImageResponseCard{ Buttons: []*Button{ - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, - &Button{ + { Text: aws.String("string value goes here"), Value: aws.String("string value goes here"), }, diff --git a/service/omics/api.go b/service/omics/api.go new file mode 100644 index 00000000000..1608c8bae9d --- /dev/null +++ b/service/omics/api.go @@ -0,0 +1,21855 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package omics + +import ( + "fmt" + "io" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opBatchDeleteReadSet = "BatchDeleteReadSet" + +// BatchDeleteReadSetRequest generates a "aws/request.Request" representing the +// client's request for the BatchDeleteReadSet operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchDeleteReadSet for more information on using the BatchDeleteReadSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the BatchDeleteReadSetRequest method. +// req, resp := client.BatchDeleteReadSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/BatchDeleteReadSet +func (c *Omics) BatchDeleteReadSetRequest(input *BatchDeleteReadSetInput) (req *request.Request, output *BatchDeleteReadSetOutput) { + op := &request.Operation{ + Name: opBatchDeleteReadSet, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/readset/batch/delete", + } + + if input == nil { + input = &BatchDeleteReadSetInput{} + } + + output = &BatchDeleteReadSetOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// BatchDeleteReadSet API operation for Amazon Omics. +// +// Deletes one or more read sets. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation BatchDeleteReadSet for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/BatchDeleteReadSet +func (c *Omics) BatchDeleteReadSet(input *BatchDeleteReadSetInput) (*BatchDeleteReadSetOutput, error) { + req, out := c.BatchDeleteReadSetRequest(input) + return out, req.Send() +} + +// BatchDeleteReadSetWithContext is the same as BatchDeleteReadSet with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDeleteReadSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) BatchDeleteReadSetWithContext(ctx aws.Context, input *BatchDeleteReadSetInput, opts ...request.Option) (*BatchDeleteReadSetOutput, error) { + req, out := c.BatchDeleteReadSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCancelAnnotationImportJob = "CancelAnnotationImportJob" + +// CancelAnnotationImportJobRequest generates a "aws/request.Request" representing the +// client's request for the CancelAnnotationImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelAnnotationImportJob for more information on using the CancelAnnotationImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CancelAnnotationImportJobRequest method. +// req, resp := client.CancelAnnotationImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelAnnotationImportJob +func (c *Omics) CancelAnnotationImportJobRequest(input *CancelAnnotationImportJobInput) (req *request.Request, output *CancelAnnotationImportJobOutput) { + op := &request.Operation{ + Name: opCancelAnnotationImportJob, + HTTPMethod: "DELETE", + HTTPPath: "/import/annotation/{jobId}", + } + + if input == nil { + input = &CancelAnnotationImportJobInput{} + } + + output = &CancelAnnotationImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CancelAnnotationImportJob API operation for Amazon Omics. +// +// Cancels an annotation import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CancelAnnotationImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelAnnotationImportJob +func (c *Omics) CancelAnnotationImportJob(input *CancelAnnotationImportJobInput) (*CancelAnnotationImportJobOutput, error) { + req, out := c.CancelAnnotationImportJobRequest(input) + return out, req.Send() +} + +// CancelAnnotationImportJobWithContext is the same as CancelAnnotationImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See CancelAnnotationImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CancelAnnotationImportJobWithContext(ctx aws.Context, input *CancelAnnotationImportJobInput, opts ...request.Option) (*CancelAnnotationImportJobOutput, error) { + req, out := c.CancelAnnotationImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCancelRun = "CancelRun" + +// CancelRunRequest generates a "aws/request.Request" representing the +// client's request for the CancelRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelRun for more information on using the CancelRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CancelRunRequest method. +// req, resp := client.CancelRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelRun +func (c *Omics) CancelRunRequest(input *CancelRunInput) (req *request.Request, output *CancelRunOutput) { + op := &request.Operation{ + Name: opCancelRun, + HTTPMethod: "POST", + HTTPPath: "/run/{id}/cancel", + } + + if input == nil { + input = &CancelRunInput{} + } + + output = &CancelRunOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CancelRun API operation for Amazon Omics. +// +// Cancels a run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CancelRun for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelRun +func (c *Omics) CancelRun(input *CancelRunInput) (*CancelRunOutput, error) { + req, out := c.CancelRunRequest(input) + return out, req.Send() +} + +// CancelRunWithContext is the same as CancelRun with the addition of +// the ability to pass a context and additional request options. +// +// See CancelRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CancelRunWithContext(ctx aws.Context, input *CancelRunInput, opts ...request.Option) (*CancelRunOutput, error) { + req, out := c.CancelRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCancelVariantImportJob = "CancelVariantImportJob" + +// CancelVariantImportJobRequest generates a "aws/request.Request" representing the +// client's request for the CancelVariantImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelVariantImportJob for more information on using the CancelVariantImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CancelVariantImportJobRequest method. +// req, resp := client.CancelVariantImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelVariantImportJob +func (c *Omics) CancelVariantImportJobRequest(input *CancelVariantImportJobInput) (req *request.Request, output *CancelVariantImportJobOutput) { + op := &request.Operation{ + Name: opCancelVariantImportJob, + HTTPMethod: "DELETE", + HTTPPath: "/import/variant/{jobId}", + } + + if input == nil { + input = &CancelVariantImportJobInput{} + } + + output = &CancelVariantImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CancelVariantImportJob API operation for Amazon Omics. +// +// Cancels a variant import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CancelVariantImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CancelVariantImportJob +func (c *Omics) CancelVariantImportJob(input *CancelVariantImportJobInput) (*CancelVariantImportJobOutput, error) { + req, out := c.CancelVariantImportJobRequest(input) + return out, req.Send() +} + +// CancelVariantImportJobWithContext is the same as CancelVariantImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See CancelVariantImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CancelVariantImportJobWithContext(ctx aws.Context, input *CancelVariantImportJobInput, opts ...request.Option) (*CancelVariantImportJobOutput, error) { + req, out := c.CancelVariantImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateAnnotationStore = "CreateAnnotationStore" + +// CreateAnnotationStoreRequest generates a "aws/request.Request" representing the +// client's request for the CreateAnnotationStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateAnnotationStore for more information on using the CreateAnnotationStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateAnnotationStoreRequest method. +// req, resp := client.CreateAnnotationStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStore +func (c *Omics) CreateAnnotationStoreRequest(input *CreateAnnotationStoreInput) (req *request.Request, output *CreateAnnotationStoreOutput) { + op := &request.Operation{ + Name: opCreateAnnotationStore, + HTTPMethod: "POST", + HTTPPath: "/annotationStore", + } + + if input == nil { + input = &CreateAnnotationStoreInput{} + } + + output = &CreateAnnotationStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateAnnotationStore API operation for Amazon Omics. +// +// Creates an annotation store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateAnnotationStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStore +func (c *Omics) CreateAnnotationStore(input *CreateAnnotationStoreInput) (*CreateAnnotationStoreOutput, error) { + req, out := c.CreateAnnotationStoreRequest(input) + return out, req.Send() +} + +// CreateAnnotationStoreWithContext is the same as CreateAnnotationStore with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAnnotationStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateAnnotationStoreWithContext(ctx aws.Context, input *CreateAnnotationStoreInput, opts ...request.Option) (*CreateAnnotationStoreOutput, error) { + req, out := c.CreateAnnotationStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateReferenceStore = "CreateReferenceStore" + +// CreateReferenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the CreateReferenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateReferenceStore for more information on using the CreateReferenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateReferenceStoreRequest method. +// req, resp := client.CreateReferenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateReferenceStore +func (c *Omics) CreateReferenceStoreRequest(input *CreateReferenceStoreInput) (req *request.Request, output *CreateReferenceStoreOutput) { + op := &request.Operation{ + Name: opCreateReferenceStore, + HTTPMethod: "POST", + HTTPPath: "/referencestore", + } + + if input == nil { + input = &CreateReferenceStoreInput{} + } + + output = &CreateReferenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateReferenceStore API operation for Amazon Omics. +// +// Creates a reference store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateReferenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateReferenceStore +func (c *Omics) CreateReferenceStore(input *CreateReferenceStoreInput) (*CreateReferenceStoreOutput, error) { + req, out := c.CreateReferenceStoreRequest(input) + return out, req.Send() +} + +// CreateReferenceStoreWithContext is the same as CreateReferenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See CreateReferenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateReferenceStoreWithContext(ctx aws.Context, input *CreateReferenceStoreInput, opts ...request.Option) (*CreateReferenceStoreOutput, error) { + req, out := c.CreateReferenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateRunGroup = "CreateRunGroup" + +// CreateRunGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateRunGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateRunGroup for more information on using the CreateRunGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateRunGroupRequest method. +// req, resp := client.CreateRunGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateRunGroup +func (c *Omics) CreateRunGroupRequest(input *CreateRunGroupInput) (req *request.Request, output *CreateRunGroupOutput) { + op := &request.Operation{ + Name: opCreateRunGroup, + HTTPMethod: "POST", + HTTPPath: "/runGroup", + } + + if input == nil { + input = &CreateRunGroupInput{} + } + + output = &CreateRunGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateRunGroup API operation for Amazon Omics. +// +// Creates a run group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateRunGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateRunGroup +func (c *Omics) CreateRunGroup(input *CreateRunGroupInput) (*CreateRunGroupOutput, error) { + req, out := c.CreateRunGroupRequest(input) + return out, req.Send() +} + +// CreateRunGroupWithContext is the same as CreateRunGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateRunGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateRunGroupWithContext(ctx aws.Context, input *CreateRunGroupInput, opts ...request.Option) (*CreateRunGroupOutput, error) { + req, out := c.CreateRunGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateSequenceStore = "CreateSequenceStore" + +// CreateSequenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the CreateSequenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateSequenceStore for more information on using the CreateSequenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateSequenceStoreRequest method. +// req, resp := client.CreateSequenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateSequenceStore +func (c *Omics) CreateSequenceStoreRequest(input *CreateSequenceStoreInput) (req *request.Request, output *CreateSequenceStoreOutput) { + op := &request.Operation{ + Name: opCreateSequenceStore, + HTTPMethod: "POST", + HTTPPath: "/sequencestore", + } + + if input == nil { + input = &CreateSequenceStoreInput{} + } + + output = &CreateSequenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateSequenceStore API operation for Amazon Omics. +// +// Creates a sequence store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateSequenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateSequenceStore +func (c *Omics) CreateSequenceStore(input *CreateSequenceStoreInput) (*CreateSequenceStoreOutput, error) { + req, out := c.CreateSequenceStoreRequest(input) + return out, req.Send() +} + +// CreateSequenceStoreWithContext is the same as CreateSequenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See CreateSequenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateSequenceStoreWithContext(ctx aws.Context, input *CreateSequenceStoreInput, opts ...request.Option) (*CreateSequenceStoreOutput, error) { + req, out := c.CreateSequenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateVariantStore = "CreateVariantStore" + +// CreateVariantStoreRequest generates a "aws/request.Request" representing the +// client's request for the CreateVariantStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVariantStore for more information on using the CreateVariantStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateVariantStoreRequest method. +// req, resp := client.CreateVariantStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateVariantStore +func (c *Omics) CreateVariantStoreRequest(input *CreateVariantStoreInput) (req *request.Request, output *CreateVariantStoreOutput) { + op := &request.Operation{ + Name: opCreateVariantStore, + HTTPMethod: "POST", + HTTPPath: "/variantStore", + } + + if input == nil { + input = &CreateVariantStoreInput{} + } + + output = &CreateVariantStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateVariantStore API operation for Amazon Omics. +// +// Creates a variant store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateVariantStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateVariantStore +func (c *Omics) CreateVariantStore(input *CreateVariantStoreInput) (*CreateVariantStoreOutput, error) { + req, out := c.CreateVariantStoreRequest(input) + return out, req.Send() +} + +// CreateVariantStoreWithContext is the same as CreateVariantStore with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVariantStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateVariantStoreWithContext(ctx aws.Context, input *CreateVariantStoreInput, opts ...request.Option) (*CreateVariantStoreOutput, error) { + req, out := c.CreateVariantStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateWorkflow = "CreateWorkflow" + +// CreateWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the CreateWorkflow operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateWorkflow for more information on using the CreateWorkflow +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateWorkflowRequest method. +// req, resp := client.CreateWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateWorkflow +func (c *Omics) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) { + op := &request.Operation{ + Name: opCreateWorkflow, + HTTPMethod: "POST", + HTTPPath: "/workflow", + } + + if input == nil { + input = &CreateWorkflowInput{} + } + + output = &CreateWorkflowOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateWorkflow API operation for Amazon Omics. +// +// Creates a workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation CreateWorkflow for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateWorkflow +func (c *Omics) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) { + req, out := c.CreateWorkflowRequest(input) + return out, req.Send() +} + +// CreateWorkflowWithContext is the same as CreateWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See CreateWorkflow for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) CreateWorkflowWithContext(ctx aws.Context, input *CreateWorkflowInput, opts ...request.Option) (*CreateWorkflowOutput, error) { + req, out := c.CreateWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteAnnotationStore = "DeleteAnnotationStore" + +// DeleteAnnotationStoreRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAnnotationStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteAnnotationStore for more information on using the DeleteAnnotationStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteAnnotationStoreRequest method. +// req, resp := client.DeleteAnnotationStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteAnnotationStore +func (c *Omics) DeleteAnnotationStoreRequest(input *DeleteAnnotationStoreInput) (req *request.Request, output *DeleteAnnotationStoreOutput) { + op := &request.Operation{ + Name: opDeleteAnnotationStore, + HTTPMethod: "DELETE", + HTTPPath: "/annotationStore/{name}", + } + + if input == nil { + input = &DeleteAnnotationStoreInput{} + } + + output = &DeleteAnnotationStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteAnnotationStore API operation for Amazon Omics. +// +// Deletes an annotation store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteAnnotationStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteAnnotationStore +func (c *Omics) DeleteAnnotationStore(input *DeleteAnnotationStoreInput) (*DeleteAnnotationStoreOutput, error) { + req, out := c.DeleteAnnotationStoreRequest(input) + return out, req.Send() +} + +// DeleteAnnotationStoreWithContext is the same as DeleteAnnotationStore with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAnnotationStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteAnnotationStoreWithContext(ctx aws.Context, input *DeleteAnnotationStoreInput, opts ...request.Option) (*DeleteAnnotationStoreOutput, error) { + req, out := c.DeleteAnnotationStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteReference = "DeleteReference" + +// DeleteReferenceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteReference operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteReference for more information on using the DeleteReference +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteReferenceRequest method. +// req, resp := client.DeleteReferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReference +func (c *Omics) DeleteReferenceRequest(input *DeleteReferenceInput) (req *request.Request, output *DeleteReferenceOutput) { + op := &request.Operation{ + Name: opDeleteReference, + HTTPMethod: "DELETE", + HTTPPath: "/referencestore/{referenceStoreId}/reference/{id}", + } + + if input == nil { + input = &DeleteReferenceInput{} + } + + output = &DeleteReferenceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteReference API operation for Amazon Omics. +// +// Deletes a genome reference. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteReference for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReference +func (c *Omics) DeleteReference(input *DeleteReferenceInput) (*DeleteReferenceOutput, error) { + req, out := c.DeleteReferenceRequest(input) + return out, req.Send() +} + +// DeleteReferenceWithContext is the same as DeleteReference with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteReference for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteReferenceWithContext(ctx aws.Context, input *DeleteReferenceInput, opts ...request.Option) (*DeleteReferenceOutput, error) { + req, out := c.DeleteReferenceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteReferenceStore = "DeleteReferenceStore" + +// DeleteReferenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the DeleteReferenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteReferenceStore for more information on using the DeleteReferenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteReferenceStoreRequest method. +// req, resp := client.DeleteReferenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReferenceStore +func (c *Omics) DeleteReferenceStoreRequest(input *DeleteReferenceStoreInput) (req *request.Request, output *DeleteReferenceStoreOutput) { + op := &request.Operation{ + Name: opDeleteReferenceStore, + HTTPMethod: "DELETE", + HTTPPath: "/referencestore/{id}", + } + + if input == nil { + input = &DeleteReferenceStoreInput{} + } + + output = &DeleteReferenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteReferenceStore API operation for Amazon Omics. +// +// Deletes a genome reference store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteReferenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReferenceStore +func (c *Omics) DeleteReferenceStore(input *DeleteReferenceStoreInput) (*DeleteReferenceStoreOutput, error) { + req, out := c.DeleteReferenceStoreRequest(input) + return out, req.Send() +} + +// DeleteReferenceStoreWithContext is the same as DeleteReferenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteReferenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteReferenceStoreWithContext(ctx aws.Context, input *DeleteReferenceStoreInput, opts ...request.Option) (*DeleteReferenceStoreOutput, error) { + req, out := c.DeleteReferenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteRun = "DeleteRun" + +// DeleteRunRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteRun for more information on using the DeleteRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteRunRequest method. +// req, resp := client.DeleteRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteRun +func (c *Omics) DeleteRunRequest(input *DeleteRunInput) (req *request.Request, output *DeleteRunOutput) { + op := &request.Operation{ + Name: opDeleteRun, + HTTPMethod: "DELETE", + HTTPPath: "/run/{id}", + } + + if input == nil { + input = &DeleteRunInput{} + } + + output = &DeleteRunOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteRun API operation for Amazon Omics. +// +// Deletes a workflow run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteRun for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteRun +func (c *Omics) DeleteRun(input *DeleteRunInput) (*DeleteRunOutput, error) { + req, out := c.DeleteRunRequest(input) + return out, req.Send() +} + +// DeleteRunWithContext is the same as DeleteRun with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteRunWithContext(ctx aws.Context, input *DeleteRunInput, opts ...request.Option) (*DeleteRunOutput, error) { + req, out := c.DeleteRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteRunGroup = "DeleteRunGroup" + +// DeleteRunGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRunGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteRunGroup for more information on using the DeleteRunGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteRunGroupRequest method. +// req, resp := client.DeleteRunGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteRunGroup +func (c *Omics) DeleteRunGroupRequest(input *DeleteRunGroupInput) (req *request.Request, output *DeleteRunGroupOutput) { + op := &request.Operation{ + Name: opDeleteRunGroup, + HTTPMethod: "DELETE", + HTTPPath: "/runGroup/{id}", + } + + if input == nil { + input = &DeleteRunGroupInput{} + } + + output = &DeleteRunGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteRunGroup API operation for Amazon Omics. +// +// Deletes a workflow run group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteRunGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteRunGroup +func (c *Omics) DeleteRunGroup(input *DeleteRunGroupInput) (*DeleteRunGroupOutput, error) { + req, out := c.DeleteRunGroupRequest(input) + return out, req.Send() +} + +// DeleteRunGroupWithContext is the same as DeleteRunGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteRunGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteRunGroupWithContext(ctx aws.Context, input *DeleteRunGroupInput, opts ...request.Option) (*DeleteRunGroupOutput, error) { + req, out := c.DeleteRunGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteSequenceStore = "DeleteSequenceStore" + +// DeleteSequenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSequenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSequenceStore for more information on using the DeleteSequenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteSequenceStoreRequest method. +// req, resp := client.DeleteSequenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteSequenceStore +func (c *Omics) DeleteSequenceStoreRequest(input *DeleteSequenceStoreInput) (req *request.Request, output *DeleteSequenceStoreOutput) { + op := &request.Operation{ + Name: opDeleteSequenceStore, + HTTPMethod: "DELETE", + HTTPPath: "/sequencestore/{id}", + } + + if input == nil { + input = &DeleteSequenceStoreInput{} + } + + output = &DeleteSequenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteSequenceStore API operation for Amazon Omics. +// +// Deletes a sequence store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteSequenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteSequenceStore +func (c *Omics) DeleteSequenceStore(input *DeleteSequenceStoreInput) (*DeleteSequenceStoreOutput, error) { + req, out := c.DeleteSequenceStoreRequest(input) + return out, req.Send() +} + +// DeleteSequenceStoreWithContext is the same as DeleteSequenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteSequenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteSequenceStoreWithContext(ctx aws.Context, input *DeleteSequenceStoreInput, opts ...request.Option) (*DeleteSequenceStoreOutput, error) { + req, out := c.DeleteSequenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVariantStore = "DeleteVariantStore" + +// DeleteVariantStoreRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVariantStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVariantStore for more information on using the DeleteVariantStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteVariantStoreRequest method. +// req, resp := client.DeleteVariantStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteVariantStore +func (c *Omics) DeleteVariantStoreRequest(input *DeleteVariantStoreInput) (req *request.Request, output *DeleteVariantStoreOutput) { + op := &request.Operation{ + Name: opDeleteVariantStore, + HTTPMethod: "DELETE", + HTTPPath: "/variantStore/{name}", + } + + if input == nil { + input = &DeleteVariantStoreInput{} + } + + output = &DeleteVariantStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteVariantStore API operation for Amazon Omics. +// +// Deletes a variant store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteVariantStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteVariantStore +func (c *Omics) DeleteVariantStore(input *DeleteVariantStoreInput) (*DeleteVariantStoreOutput, error) { + req, out := c.DeleteVariantStoreRequest(input) + return out, req.Send() +} + +// DeleteVariantStoreWithContext is the same as DeleteVariantStore with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVariantStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteVariantStoreWithContext(ctx aws.Context, input *DeleteVariantStoreInput, opts ...request.Option) (*DeleteVariantStoreOutput, error) { + req, out := c.DeleteVariantStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteWorkflow = "DeleteWorkflow" + +// DeleteWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the DeleteWorkflow operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteWorkflow for more information on using the DeleteWorkflow +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteWorkflowRequest method. +// req, resp := client.DeleteWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteWorkflow +func (c *Omics) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) { + op := &request.Operation{ + Name: opDeleteWorkflow, + HTTPMethod: "DELETE", + HTTPPath: "/workflow/{id}", + } + + if input == nil { + input = &DeleteWorkflowInput{} + } + + output = &DeleteWorkflowOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteWorkflow API operation for Amazon Omics. +// +// Deletes a workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation DeleteWorkflow for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteWorkflow +func (c *Omics) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { + req, out := c.DeleteWorkflowRequest(input) + return out, req.Send() +} + +// DeleteWorkflowWithContext is the same as DeleteWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteWorkflow for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) DeleteWorkflowWithContext(ctx aws.Context, input *DeleteWorkflowInput, opts ...request.Option) (*DeleteWorkflowOutput, error) { + req, out := c.DeleteWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetAnnotationImportJob = "GetAnnotationImportJob" + +// GetAnnotationImportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetAnnotationImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAnnotationImportJob for more information on using the GetAnnotationImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetAnnotationImportJobRequest method. +// req, resp := client.GetAnnotationImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationImportJob +func (c *Omics) GetAnnotationImportJobRequest(input *GetAnnotationImportJobInput) (req *request.Request, output *GetAnnotationImportJobOutput) { + op := &request.Operation{ + Name: opGetAnnotationImportJob, + HTTPMethod: "GET", + HTTPPath: "/import/annotation/{jobId}", + } + + if input == nil { + input = &GetAnnotationImportJobInput{} + } + + output = &GetAnnotationImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetAnnotationImportJob API operation for Amazon Omics. +// +// Gets information about an annotation import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetAnnotationImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationImportJob +func (c *Omics) GetAnnotationImportJob(input *GetAnnotationImportJobInput) (*GetAnnotationImportJobOutput, error) { + req, out := c.GetAnnotationImportJobRequest(input) + return out, req.Send() +} + +// GetAnnotationImportJobWithContext is the same as GetAnnotationImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetAnnotationImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetAnnotationImportJobWithContext(ctx aws.Context, input *GetAnnotationImportJobInput, opts ...request.Option) (*GetAnnotationImportJobOutput, error) { + req, out := c.GetAnnotationImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetAnnotationStore = "GetAnnotationStore" + +// GetAnnotationStoreRequest generates a "aws/request.Request" representing the +// client's request for the GetAnnotationStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAnnotationStore for more information on using the GetAnnotationStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetAnnotationStoreRequest method. +// req, resp := client.GetAnnotationStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationStore +func (c *Omics) GetAnnotationStoreRequest(input *GetAnnotationStoreInput) (req *request.Request, output *GetAnnotationStoreOutput) { + op := &request.Operation{ + Name: opGetAnnotationStore, + HTTPMethod: "GET", + HTTPPath: "/annotationStore/{name}", + } + + if input == nil { + input = &GetAnnotationStoreInput{} + } + + output = &GetAnnotationStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetAnnotationStore API operation for Amazon Omics. +// +// Gets information about an annotation store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetAnnotationStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationStore +func (c *Omics) GetAnnotationStore(input *GetAnnotationStoreInput) (*GetAnnotationStoreOutput, error) { + req, out := c.GetAnnotationStoreRequest(input) + return out, req.Send() +} + +// GetAnnotationStoreWithContext is the same as GetAnnotationStore with the addition of +// the ability to pass a context and additional request options. +// +// See GetAnnotationStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetAnnotationStoreWithContext(ctx aws.Context, input *GetAnnotationStoreInput, opts ...request.Option) (*GetAnnotationStoreOutput, error) { + req, out := c.GetAnnotationStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReadSet = "GetReadSet" + +// GetReadSetRequest generates a "aws/request.Request" representing the +// client's request for the GetReadSet operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReadSet for more information on using the GetReadSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReadSetRequest method. +// req, resp := client.GetReadSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSet +func (c *Omics) GetReadSetRequest(input *GetReadSetInput) (req *request.Request, output *GetReadSetOutput) { + op := &request.Operation{ + Name: opGetReadSet, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{sequenceStoreId}/readset/{id}", + } + + if input == nil { + input = &GetReadSetInput{} + } + + output = &GetReadSetOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReadSet API operation for Amazon Omics. +// +// Gets a file from a read set. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReadSet for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - RangeNotSatisfiableException +// The ranges specified in the request are not valid. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSet +func (c *Omics) GetReadSet(input *GetReadSetInput) (*GetReadSetOutput, error) { + req, out := c.GetReadSetRequest(input) + return out, req.Send() +} + +// GetReadSetWithContext is the same as GetReadSet with the addition of +// the ability to pass a context and additional request options. +// +// See GetReadSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReadSetWithContext(ctx aws.Context, input *GetReadSetInput, opts ...request.Option) (*GetReadSetOutput, error) { + req, out := c.GetReadSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReadSetActivationJob = "GetReadSetActivationJob" + +// GetReadSetActivationJobRequest generates a "aws/request.Request" representing the +// client's request for the GetReadSetActivationJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReadSetActivationJob for more information on using the GetReadSetActivationJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReadSetActivationJobRequest method. +// req, resp := client.GetReadSetActivationJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetActivationJob +func (c *Omics) GetReadSetActivationJobRequest(input *GetReadSetActivationJobInput) (req *request.Request, output *GetReadSetActivationJobOutput) { + op := &request.Operation{ + Name: opGetReadSetActivationJob, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{sequenceStoreId}/activationjob/{id}", + } + + if input == nil { + input = &GetReadSetActivationJobInput{} + } + + output = &GetReadSetActivationJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReadSetActivationJob API operation for Amazon Omics. +// +// Gets information about a read set activation job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReadSetActivationJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetActivationJob +func (c *Omics) GetReadSetActivationJob(input *GetReadSetActivationJobInput) (*GetReadSetActivationJobOutput, error) { + req, out := c.GetReadSetActivationJobRequest(input) + return out, req.Send() +} + +// GetReadSetActivationJobWithContext is the same as GetReadSetActivationJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetReadSetActivationJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReadSetActivationJobWithContext(ctx aws.Context, input *GetReadSetActivationJobInput, opts ...request.Option) (*GetReadSetActivationJobOutput, error) { + req, out := c.GetReadSetActivationJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReadSetExportJob = "GetReadSetExportJob" + +// GetReadSetExportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetReadSetExportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReadSetExportJob for more information on using the GetReadSetExportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReadSetExportJobRequest method. +// req, resp := client.GetReadSetExportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetExportJob +func (c *Omics) GetReadSetExportJobRequest(input *GetReadSetExportJobInput) (req *request.Request, output *GetReadSetExportJobOutput) { + op := &request.Operation{ + Name: opGetReadSetExportJob, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{sequenceStoreId}/exportjob/{id}", + } + + if input == nil { + input = &GetReadSetExportJobInput{} + } + + output = &GetReadSetExportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReadSetExportJob API operation for Amazon Omics. +// +// Gets information about a read set export job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReadSetExportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetExportJob +func (c *Omics) GetReadSetExportJob(input *GetReadSetExportJobInput) (*GetReadSetExportJobOutput, error) { + req, out := c.GetReadSetExportJobRequest(input) + return out, req.Send() +} + +// GetReadSetExportJobWithContext is the same as GetReadSetExportJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetReadSetExportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReadSetExportJobWithContext(ctx aws.Context, input *GetReadSetExportJobInput, opts ...request.Option) (*GetReadSetExportJobOutput, error) { + req, out := c.GetReadSetExportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReadSetImportJob = "GetReadSetImportJob" + +// GetReadSetImportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetReadSetImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReadSetImportJob for more information on using the GetReadSetImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReadSetImportJobRequest method. +// req, resp := client.GetReadSetImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetImportJob +func (c *Omics) GetReadSetImportJobRequest(input *GetReadSetImportJobInput) (req *request.Request, output *GetReadSetImportJobOutput) { + op := &request.Operation{ + Name: opGetReadSetImportJob, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{sequenceStoreId}/importjob/{id}", + } + + if input == nil { + input = &GetReadSetImportJobInput{} + } + + output = &GetReadSetImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReadSetImportJob API operation for Amazon Omics. +// +// Gets information about a read set import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReadSetImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetImportJob +func (c *Omics) GetReadSetImportJob(input *GetReadSetImportJobInput) (*GetReadSetImportJobOutput, error) { + req, out := c.GetReadSetImportJobRequest(input) + return out, req.Send() +} + +// GetReadSetImportJobWithContext is the same as GetReadSetImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetReadSetImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReadSetImportJobWithContext(ctx aws.Context, input *GetReadSetImportJobInput, opts ...request.Option) (*GetReadSetImportJobOutput, error) { + req, out := c.GetReadSetImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReadSetMetadata = "GetReadSetMetadata" + +// GetReadSetMetadataRequest generates a "aws/request.Request" representing the +// client's request for the GetReadSetMetadata operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReadSetMetadata for more information on using the GetReadSetMetadata +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReadSetMetadataRequest method. +// req, resp := client.GetReadSetMetadataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetMetadata +func (c *Omics) GetReadSetMetadataRequest(input *GetReadSetMetadataInput) (req *request.Request, output *GetReadSetMetadataOutput) { + op := &request.Operation{ + Name: opGetReadSetMetadata, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{sequenceStoreId}/readset/{id}/metadata", + } + + if input == nil { + input = &GetReadSetMetadataInput{} + } + + output = &GetReadSetMetadataOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReadSetMetadata API operation for Amazon Omics. +// +// Gets details about a read set. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReadSetMetadata for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReadSetMetadata +func (c *Omics) GetReadSetMetadata(input *GetReadSetMetadataInput) (*GetReadSetMetadataOutput, error) { + req, out := c.GetReadSetMetadataRequest(input) + return out, req.Send() +} + +// GetReadSetMetadataWithContext is the same as GetReadSetMetadata with the addition of +// the ability to pass a context and additional request options. +// +// See GetReadSetMetadata for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReadSetMetadataWithContext(ctx aws.Context, input *GetReadSetMetadataInput, opts ...request.Option) (*GetReadSetMetadataOutput, error) { + req, out := c.GetReadSetMetadataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReference = "GetReference" + +// GetReferenceRequest generates a "aws/request.Request" representing the +// client's request for the GetReference operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReference for more information on using the GetReference +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReferenceRequest method. +// req, resp := client.GetReferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReference +func (c *Omics) GetReferenceRequest(input *GetReferenceInput) (req *request.Request, output *GetReferenceOutput) { + op := &request.Operation{ + Name: opGetReference, + HTTPMethod: "GET", + HTTPPath: "/referencestore/{referenceStoreId}/reference/{id}", + } + + if input == nil { + input = &GetReferenceInput{} + } + + output = &GetReferenceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReference API operation for Amazon Omics. +// +// Gets a reference file. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReference for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - RangeNotSatisfiableException +// The ranges specified in the request are not valid. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReference +func (c *Omics) GetReference(input *GetReferenceInput) (*GetReferenceOutput, error) { + req, out := c.GetReferenceRequest(input) + return out, req.Send() +} + +// GetReferenceWithContext is the same as GetReference with the addition of +// the ability to pass a context and additional request options. +// +// See GetReference for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReferenceWithContext(ctx aws.Context, input *GetReferenceInput, opts ...request.Option) (*GetReferenceOutput, error) { + req, out := c.GetReferenceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReferenceImportJob = "GetReferenceImportJob" + +// GetReferenceImportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetReferenceImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReferenceImportJob for more information on using the GetReferenceImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReferenceImportJobRequest method. +// req, resp := client.GetReferenceImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceImportJob +func (c *Omics) GetReferenceImportJobRequest(input *GetReferenceImportJobInput) (req *request.Request, output *GetReferenceImportJobOutput) { + op := &request.Operation{ + Name: opGetReferenceImportJob, + HTTPMethod: "GET", + HTTPPath: "/referencestore/{referenceStoreId}/importjob/{id}", + } + + if input == nil { + input = &GetReferenceImportJobInput{} + } + + output = &GetReferenceImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReferenceImportJob API operation for Amazon Omics. +// +// Gets information about a reference import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReferenceImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceImportJob +func (c *Omics) GetReferenceImportJob(input *GetReferenceImportJobInput) (*GetReferenceImportJobOutput, error) { + req, out := c.GetReferenceImportJobRequest(input) + return out, req.Send() +} + +// GetReferenceImportJobWithContext is the same as GetReferenceImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetReferenceImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReferenceImportJobWithContext(ctx aws.Context, input *GetReferenceImportJobInput, opts ...request.Option) (*GetReferenceImportJobOutput, error) { + req, out := c.GetReferenceImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReferenceMetadata = "GetReferenceMetadata" + +// GetReferenceMetadataRequest generates a "aws/request.Request" representing the +// client's request for the GetReferenceMetadata operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReferenceMetadata for more information on using the GetReferenceMetadata +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReferenceMetadataRequest method. +// req, resp := client.GetReferenceMetadataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceMetadata +func (c *Omics) GetReferenceMetadataRequest(input *GetReferenceMetadataInput) (req *request.Request, output *GetReferenceMetadataOutput) { + op := &request.Operation{ + Name: opGetReferenceMetadata, + HTTPMethod: "GET", + HTTPPath: "/referencestore/{referenceStoreId}/reference/{id}/metadata", + } + + if input == nil { + input = &GetReferenceMetadataInput{} + } + + output = &GetReferenceMetadataOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReferenceMetadata API operation for Amazon Omics. +// +// Gets information about a genome reference's metadata. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReferenceMetadata for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceMetadata +func (c *Omics) GetReferenceMetadata(input *GetReferenceMetadataInput) (*GetReferenceMetadataOutput, error) { + req, out := c.GetReferenceMetadataRequest(input) + return out, req.Send() +} + +// GetReferenceMetadataWithContext is the same as GetReferenceMetadata with the addition of +// the ability to pass a context and additional request options. +// +// See GetReferenceMetadata for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReferenceMetadataWithContext(ctx aws.Context, input *GetReferenceMetadataInput, opts ...request.Option) (*GetReferenceMetadataOutput, error) { + req, out := c.GetReferenceMetadataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReferenceStore = "GetReferenceStore" + +// GetReferenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the GetReferenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReferenceStore for more information on using the GetReferenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetReferenceStoreRequest method. +// req, resp := client.GetReferenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceStore +func (c *Omics) GetReferenceStoreRequest(input *GetReferenceStoreInput) (req *request.Request, output *GetReferenceStoreOutput) { + op := &request.Operation{ + Name: opGetReferenceStore, + HTTPMethod: "GET", + HTTPPath: "/referencestore/{id}", + } + + if input == nil { + input = &GetReferenceStoreInput{} + } + + output = &GetReferenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetReferenceStore API operation for Amazon Omics. +// +// Gets information about a reference store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetReferenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetReferenceStore +func (c *Omics) GetReferenceStore(input *GetReferenceStoreInput) (*GetReferenceStoreOutput, error) { + req, out := c.GetReferenceStoreRequest(input) + return out, req.Send() +} + +// GetReferenceStoreWithContext is the same as GetReferenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See GetReferenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetReferenceStoreWithContext(ctx aws.Context, input *GetReferenceStoreInput, opts ...request.Option) (*GetReferenceStoreOutput, error) { + req, out := c.GetReferenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRun = "GetRun" + +// GetRunRequest generates a "aws/request.Request" representing the +// client's request for the GetRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRun for more information on using the GetRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetRunRequest method. +// req, resp := client.GetRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRun +func (c *Omics) GetRunRequest(input *GetRunInput) (req *request.Request, output *GetRunOutput) { + op := &request.Operation{ + Name: opGetRun, + HTTPMethod: "GET", + HTTPPath: "/run/{id}", + } + + if input == nil { + input = &GetRunInput{} + } + + output = &GetRunOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetRun API operation for Amazon Omics. +// +// Gets information about a workflow run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetRun for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRun +func (c *Omics) GetRun(input *GetRunInput) (*GetRunOutput, error) { + req, out := c.GetRunRequest(input) + return out, req.Send() +} + +// GetRunWithContext is the same as GetRun with the addition of +// the ability to pass a context and additional request options. +// +// See GetRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetRunWithContext(ctx aws.Context, input *GetRunInput, opts ...request.Option) (*GetRunOutput, error) { + req, out := c.GetRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRunGroup = "GetRunGroup" + +// GetRunGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetRunGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRunGroup for more information on using the GetRunGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetRunGroupRequest method. +// req, resp := client.GetRunGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRunGroup +func (c *Omics) GetRunGroupRequest(input *GetRunGroupInput) (req *request.Request, output *GetRunGroupOutput) { + op := &request.Operation{ + Name: opGetRunGroup, + HTTPMethod: "GET", + HTTPPath: "/runGroup/{id}", + } + + if input == nil { + input = &GetRunGroupInput{} + } + + output = &GetRunGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetRunGroup API operation for Amazon Omics. +// +// Gets information about a workflow run group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetRunGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRunGroup +func (c *Omics) GetRunGroup(input *GetRunGroupInput) (*GetRunGroupOutput, error) { + req, out := c.GetRunGroupRequest(input) + return out, req.Send() +} + +// GetRunGroupWithContext is the same as GetRunGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetRunGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetRunGroupWithContext(ctx aws.Context, input *GetRunGroupInput, opts ...request.Option) (*GetRunGroupOutput, error) { + req, out := c.GetRunGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRunTask = "GetRunTask" + +// GetRunTaskRequest generates a "aws/request.Request" representing the +// client's request for the GetRunTask operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRunTask for more information on using the GetRunTask +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetRunTaskRequest method. +// req, resp := client.GetRunTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRunTask +func (c *Omics) GetRunTaskRequest(input *GetRunTaskInput) (req *request.Request, output *GetRunTaskOutput) { + op := &request.Operation{ + Name: opGetRunTask, + HTTPMethod: "GET", + HTTPPath: "/run/{id}/task/{taskId}", + } + + if input == nil { + input = &GetRunTaskInput{} + } + + output = &GetRunTaskOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetRunTask API operation for Amazon Omics. +// +// Gets information about a workflow run task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetRunTask for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRunTask +func (c *Omics) GetRunTask(input *GetRunTaskInput) (*GetRunTaskOutput, error) { + req, out := c.GetRunTaskRequest(input) + return out, req.Send() +} + +// GetRunTaskWithContext is the same as GetRunTask with the addition of +// the ability to pass a context and additional request options. +// +// See GetRunTask for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetRunTaskWithContext(ctx aws.Context, input *GetRunTaskInput, opts ...request.Option) (*GetRunTaskOutput, error) { + req, out := c.GetRunTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSequenceStore = "GetSequenceStore" + +// GetSequenceStoreRequest generates a "aws/request.Request" representing the +// client's request for the GetSequenceStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSequenceStore for more information on using the GetSequenceStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetSequenceStoreRequest method. +// req, resp := client.GetSequenceStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetSequenceStore +func (c *Omics) GetSequenceStoreRequest(input *GetSequenceStoreInput) (req *request.Request, output *GetSequenceStoreOutput) { + op := &request.Operation{ + Name: opGetSequenceStore, + HTTPMethod: "GET", + HTTPPath: "/sequencestore/{id}", + } + + if input == nil { + input = &GetSequenceStoreInput{} + } + + output = &GetSequenceStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetSequenceStore API operation for Amazon Omics. +// +// Gets information about a sequence store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetSequenceStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetSequenceStore +func (c *Omics) GetSequenceStore(input *GetSequenceStoreInput) (*GetSequenceStoreOutput, error) { + req, out := c.GetSequenceStoreRequest(input) + return out, req.Send() +} + +// GetSequenceStoreWithContext is the same as GetSequenceStore with the addition of +// the ability to pass a context and additional request options. +// +// See GetSequenceStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetSequenceStoreWithContext(ctx aws.Context, input *GetSequenceStoreInput, opts ...request.Option) (*GetSequenceStoreOutput, error) { + req, out := c.GetSequenceStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetVariantImportJob = "GetVariantImportJob" + +// GetVariantImportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetVariantImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetVariantImportJob for more information on using the GetVariantImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetVariantImportJobRequest method. +// req, resp := client.GetVariantImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantImportJob +func (c *Omics) GetVariantImportJobRequest(input *GetVariantImportJobInput) (req *request.Request, output *GetVariantImportJobOutput) { + op := &request.Operation{ + Name: opGetVariantImportJob, + HTTPMethod: "GET", + HTTPPath: "/import/variant/{jobId}", + } + + if input == nil { + input = &GetVariantImportJobInput{} + } + + output = &GetVariantImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetVariantImportJob API operation for Amazon Omics. +// +// Gets information about a variant import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetVariantImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantImportJob +func (c *Omics) GetVariantImportJob(input *GetVariantImportJobInput) (*GetVariantImportJobOutput, error) { + req, out := c.GetVariantImportJobRequest(input) + return out, req.Send() +} + +// GetVariantImportJobWithContext is the same as GetVariantImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetVariantImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetVariantImportJobWithContext(ctx aws.Context, input *GetVariantImportJobInput, opts ...request.Option) (*GetVariantImportJobOutput, error) { + req, out := c.GetVariantImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetVariantStore = "GetVariantStore" + +// GetVariantStoreRequest generates a "aws/request.Request" representing the +// client's request for the GetVariantStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetVariantStore for more information on using the GetVariantStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetVariantStoreRequest method. +// req, resp := client.GetVariantStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantStore +func (c *Omics) GetVariantStoreRequest(input *GetVariantStoreInput) (req *request.Request, output *GetVariantStoreOutput) { + op := &request.Operation{ + Name: opGetVariantStore, + HTTPMethod: "GET", + HTTPPath: "/variantStore/{name}", + } + + if input == nil { + input = &GetVariantStoreInput{} + } + + output = &GetVariantStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetVariantStore API operation for Amazon Omics. +// +// Gets information about a variant store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetVariantStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantStore +func (c *Omics) GetVariantStore(input *GetVariantStoreInput) (*GetVariantStoreOutput, error) { + req, out := c.GetVariantStoreRequest(input) + return out, req.Send() +} + +// GetVariantStoreWithContext is the same as GetVariantStore with the addition of +// the ability to pass a context and additional request options. +// +// See GetVariantStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetVariantStoreWithContext(ctx aws.Context, input *GetVariantStoreInput, opts ...request.Option) (*GetVariantStoreOutput, error) { + req, out := c.GetVariantStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetWorkflow = "GetWorkflow" + +// GetWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the GetWorkflow operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetWorkflow for more information on using the GetWorkflow +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetWorkflowRequest method. +// req, resp := client.GetWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetWorkflow +func (c *Omics) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) { + op := &request.Operation{ + Name: opGetWorkflow, + HTTPMethod: "GET", + HTTPPath: "/workflow/{id}", + } + + if input == nil { + input = &GetWorkflowInput{} + } + + output = &GetWorkflowOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetWorkflow API operation for Amazon Omics. +// +// Gets information about a workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation GetWorkflow for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetWorkflow +func (c *Omics) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) { + req, out := c.GetWorkflowRequest(input) + return out, req.Send() +} + +// GetWorkflowWithContext is the same as GetWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See GetWorkflow for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) GetWorkflowWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.Option) (*GetWorkflowOutput, error) { + req, out := c.GetWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListAnnotationImportJobs = "ListAnnotationImportJobs" + +// ListAnnotationImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListAnnotationImportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAnnotationImportJobs for more information on using the ListAnnotationImportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListAnnotationImportJobsRequest method. +// req, resp := client.ListAnnotationImportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationImportJobs +func (c *Omics) ListAnnotationImportJobsRequest(input *ListAnnotationImportJobsInput) (req *request.Request, output *ListAnnotationImportJobsOutput) { + op := &request.Operation{ + Name: opListAnnotationImportJobs, + HTTPMethod: "POST", + HTTPPath: "/import/annotations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAnnotationImportJobsInput{} + } + + output = &ListAnnotationImportJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListAnnotationImportJobs API operation for Amazon Omics. +// +// Retrieves a list of annotation import jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListAnnotationImportJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationImportJobs +func (c *Omics) ListAnnotationImportJobs(input *ListAnnotationImportJobsInput) (*ListAnnotationImportJobsOutput, error) { + req, out := c.ListAnnotationImportJobsRequest(input) + return out, req.Send() +} + +// ListAnnotationImportJobsWithContext is the same as ListAnnotationImportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListAnnotationImportJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListAnnotationImportJobsWithContext(ctx aws.Context, input *ListAnnotationImportJobsInput, opts ...request.Option) (*ListAnnotationImportJobsOutput, error) { + req, out := c.ListAnnotationImportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAnnotationImportJobsPages iterates over the pages of a ListAnnotationImportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAnnotationImportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAnnotationImportJobs operation. +// pageNum := 0 +// err := client.ListAnnotationImportJobsPages(params, +// func(page *omics.ListAnnotationImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListAnnotationImportJobsPages(input *ListAnnotationImportJobsInput, fn func(*ListAnnotationImportJobsOutput, bool) bool) error { + return c.ListAnnotationImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAnnotationImportJobsPagesWithContext same as ListAnnotationImportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListAnnotationImportJobsPagesWithContext(ctx aws.Context, input *ListAnnotationImportJobsInput, fn func(*ListAnnotationImportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAnnotationImportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAnnotationImportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAnnotationImportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListAnnotationStores = "ListAnnotationStores" + +// ListAnnotationStoresRequest generates a "aws/request.Request" representing the +// client's request for the ListAnnotationStores operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAnnotationStores for more information on using the ListAnnotationStores +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListAnnotationStoresRequest method. +// req, resp := client.ListAnnotationStoresRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationStores +func (c *Omics) ListAnnotationStoresRequest(input *ListAnnotationStoresInput) (req *request.Request, output *ListAnnotationStoresOutput) { + op := &request.Operation{ + Name: opListAnnotationStores, + HTTPMethod: "POST", + HTTPPath: "/annotationStores", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAnnotationStoresInput{} + } + + output = &ListAnnotationStoresOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListAnnotationStores API operation for Amazon Omics. +// +// Retrieves a list of annotation stores. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListAnnotationStores for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationStores +func (c *Omics) ListAnnotationStores(input *ListAnnotationStoresInput) (*ListAnnotationStoresOutput, error) { + req, out := c.ListAnnotationStoresRequest(input) + return out, req.Send() +} + +// ListAnnotationStoresWithContext is the same as ListAnnotationStores with the addition of +// the ability to pass a context and additional request options. +// +// See ListAnnotationStores for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListAnnotationStoresWithContext(ctx aws.Context, input *ListAnnotationStoresInput, opts ...request.Option) (*ListAnnotationStoresOutput, error) { + req, out := c.ListAnnotationStoresRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAnnotationStoresPages iterates over the pages of a ListAnnotationStores operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAnnotationStores method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAnnotationStores operation. +// pageNum := 0 +// err := client.ListAnnotationStoresPages(params, +// func(page *omics.ListAnnotationStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListAnnotationStoresPages(input *ListAnnotationStoresInput, fn func(*ListAnnotationStoresOutput, bool) bool) error { + return c.ListAnnotationStoresPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAnnotationStoresPagesWithContext same as ListAnnotationStoresPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListAnnotationStoresPagesWithContext(ctx aws.Context, input *ListAnnotationStoresInput, fn func(*ListAnnotationStoresOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAnnotationStoresInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAnnotationStoresRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAnnotationStoresOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReadSetActivationJobs = "ListReadSetActivationJobs" + +// ListReadSetActivationJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListReadSetActivationJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReadSetActivationJobs for more information on using the ListReadSetActivationJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReadSetActivationJobsRequest method. +// req, resp := client.ListReadSetActivationJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetActivationJobs +func (c *Omics) ListReadSetActivationJobsRequest(input *ListReadSetActivationJobsInput) (req *request.Request, output *ListReadSetActivationJobsOutput) { + op := &request.Operation{ + Name: opListReadSetActivationJobs, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/activationjobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReadSetActivationJobsInput{} + } + + output = &ListReadSetActivationJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReadSetActivationJobs API operation for Amazon Omics. +// +// Retrieves a list of read set activation jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReadSetActivationJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetActivationJobs +func (c *Omics) ListReadSetActivationJobs(input *ListReadSetActivationJobsInput) (*ListReadSetActivationJobsOutput, error) { + req, out := c.ListReadSetActivationJobsRequest(input) + return out, req.Send() +} + +// ListReadSetActivationJobsWithContext is the same as ListReadSetActivationJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListReadSetActivationJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetActivationJobsWithContext(ctx aws.Context, input *ListReadSetActivationJobsInput, opts ...request.Option) (*ListReadSetActivationJobsOutput, error) { + req, out := c.ListReadSetActivationJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReadSetActivationJobsPages iterates over the pages of a ListReadSetActivationJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReadSetActivationJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReadSetActivationJobs operation. +// pageNum := 0 +// err := client.ListReadSetActivationJobsPages(params, +// func(page *omics.ListReadSetActivationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReadSetActivationJobsPages(input *ListReadSetActivationJobsInput, fn func(*ListReadSetActivationJobsOutput, bool) bool) error { + return c.ListReadSetActivationJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReadSetActivationJobsPagesWithContext same as ListReadSetActivationJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetActivationJobsPagesWithContext(ctx aws.Context, input *ListReadSetActivationJobsInput, fn func(*ListReadSetActivationJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReadSetActivationJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReadSetActivationJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReadSetActivationJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReadSetExportJobs = "ListReadSetExportJobs" + +// ListReadSetExportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListReadSetExportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReadSetExportJobs for more information on using the ListReadSetExportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReadSetExportJobsRequest method. +// req, resp := client.ListReadSetExportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetExportJobs +func (c *Omics) ListReadSetExportJobsRequest(input *ListReadSetExportJobsInput) (req *request.Request, output *ListReadSetExportJobsOutput) { + op := &request.Operation{ + Name: opListReadSetExportJobs, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/exportjobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReadSetExportJobsInput{} + } + + output = &ListReadSetExportJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReadSetExportJobs API operation for Amazon Omics. +// +// Retrieves a list of read set export jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReadSetExportJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetExportJobs +func (c *Omics) ListReadSetExportJobs(input *ListReadSetExportJobsInput) (*ListReadSetExportJobsOutput, error) { + req, out := c.ListReadSetExportJobsRequest(input) + return out, req.Send() +} + +// ListReadSetExportJobsWithContext is the same as ListReadSetExportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListReadSetExportJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetExportJobsWithContext(ctx aws.Context, input *ListReadSetExportJobsInput, opts ...request.Option) (*ListReadSetExportJobsOutput, error) { + req, out := c.ListReadSetExportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReadSetExportJobsPages iterates over the pages of a ListReadSetExportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReadSetExportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReadSetExportJobs operation. +// pageNum := 0 +// err := client.ListReadSetExportJobsPages(params, +// func(page *omics.ListReadSetExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReadSetExportJobsPages(input *ListReadSetExportJobsInput, fn func(*ListReadSetExportJobsOutput, bool) bool) error { + return c.ListReadSetExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReadSetExportJobsPagesWithContext same as ListReadSetExportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetExportJobsPagesWithContext(ctx aws.Context, input *ListReadSetExportJobsInput, fn func(*ListReadSetExportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReadSetExportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReadSetExportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReadSetExportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReadSetImportJobs = "ListReadSetImportJobs" + +// ListReadSetImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListReadSetImportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReadSetImportJobs for more information on using the ListReadSetImportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReadSetImportJobsRequest method. +// req, resp := client.ListReadSetImportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetImportJobs +func (c *Omics) ListReadSetImportJobsRequest(input *ListReadSetImportJobsInput) (req *request.Request, output *ListReadSetImportJobsOutput) { + op := &request.Operation{ + Name: opListReadSetImportJobs, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/importjobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReadSetImportJobsInput{} + } + + output = &ListReadSetImportJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReadSetImportJobs API operation for Amazon Omics. +// +// Retrieves a list of read set import jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReadSetImportJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSetImportJobs +func (c *Omics) ListReadSetImportJobs(input *ListReadSetImportJobsInput) (*ListReadSetImportJobsOutput, error) { + req, out := c.ListReadSetImportJobsRequest(input) + return out, req.Send() +} + +// ListReadSetImportJobsWithContext is the same as ListReadSetImportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListReadSetImportJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetImportJobsWithContext(ctx aws.Context, input *ListReadSetImportJobsInput, opts ...request.Option) (*ListReadSetImportJobsOutput, error) { + req, out := c.ListReadSetImportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReadSetImportJobsPages iterates over the pages of a ListReadSetImportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReadSetImportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReadSetImportJobs operation. +// pageNum := 0 +// err := client.ListReadSetImportJobsPages(params, +// func(page *omics.ListReadSetImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReadSetImportJobsPages(input *ListReadSetImportJobsInput, fn func(*ListReadSetImportJobsOutput, bool) bool) error { + return c.ListReadSetImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReadSetImportJobsPagesWithContext same as ListReadSetImportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetImportJobsPagesWithContext(ctx aws.Context, input *ListReadSetImportJobsInput, fn func(*ListReadSetImportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReadSetImportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReadSetImportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReadSetImportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReadSets = "ListReadSets" + +// ListReadSetsRequest generates a "aws/request.Request" representing the +// client's request for the ListReadSets operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReadSets for more information on using the ListReadSets +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReadSetsRequest method. +// req, resp := client.ListReadSetsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSets +func (c *Omics) ListReadSetsRequest(input *ListReadSetsInput) (req *request.Request, output *ListReadSetsOutput) { + op := &request.Operation{ + Name: opListReadSets, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/readsets", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReadSetsInput{} + } + + output = &ListReadSetsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReadSets API operation for Amazon Omics. +// +// Retrieves a list of read sets. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReadSets for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReadSets +func (c *Omics) ListReadSets(input *ListReadSetsInput) (*ListReadSetsOutput, error) { + req, out := c.ListReadSetsRequest(input) + return out, req.Send() +} + +// ListReadSetsWithContext is the same as ListReadSets with the addition of +// the ability to pass a context and additional request options. +// +// See ListReadSets for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetsWithContext(ctx aws.Context, input *ListReadSetsInput, opts ...request.Option) (*ListReadSetsOutput, error) { + req, out := c.ListReadSetsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReadSetsPages iterates over the pages of a ListReadSets operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReadSets method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReadSets operation. +// pageNum := 0 +// err := client.ListReadSetsPages(params, +// func(page *omics.ListReadSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReadSetsPages(input *ListReadSetsInput, fn func(*ListReadSetsOutput, bool) bool) error { + return c.ListReadSetsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReadSetsPagesWithContext same as ListReadSetsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReadSetsPagesWithContext(ctx aws.Context, input *ListReadSetsInput, fn func(*ListReadSetsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReadSetsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReadSetsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReadSetsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReferenceImportJobs = "ListReferenceImportJobs" + +// ListReferenceImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListReferenceImportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReferenceImportJobs for more information on using the ListReferenceImportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReferenceImportJobsRequest method. +// req, resp := client.ListReferenceImportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferenceImportJobs +func (c *Omics) ListReferenceImportJobsRequest(input *ListReferenceImportJobsInput) (req *request.Request, output *ListReferenceImportJobsOutput) { + op := &request.Operation{ + Name: opListReferenceImportJobs, + HTTPMethod: "POST", + HTTPPath: "/referencestore/{referenceStoreId}/importjobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReferenceImportJobsInput{} + } + + output = &ListReferenceImportJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReferenceImportJobs API operation for Amazon Omics. +// +// Retrieves a list of reference import jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReferenceImportJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferenceImportJobs +func (c *Omics) ListReferenceImportJobs(input *ListReferenceImportJobsInput) (*ListReferenceImportJobsOutput, error) { + req, out := c.ListReferenceImportJobsRequest(input) + return out, req.Send() +} + +// ListReferenceImportJobsWithContext is the same as ListReferenceImportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListReferenceImportJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferenceImportJobsWithContext(ctx aws.Context, input *ListReferenceImportJobsInput, opts ...request.Option) (*ListReferenceImportJobsOutput, error) { + req, out := c.ListReferenceImportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReferenceImportJobsPages iterates over the pages of a ListReferenceImportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReferenceImportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReferenceImportJobs operation. +// pageNum := 0 +// err := client.ListReferenceImportJobsPages(params, +// func(page *omics.ListReferenceImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReferenceImportJobsPages(input *ListReferenceImportJobsInput, fn func(*ListReferenceImportJobsOutput, bool) bool) error { + return c.ListReferenceImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReferenceImportJobsPagesWithContext same as ListReferenceImportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferenceImportJobsPagesWithContext(ctx aws.Context, input *ListReferenceImportJobsInput, fn func(*ListReferenceImportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReferenceImportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReferenceImportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReferenceImportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReferenceStores = "ListReferenceStores" + +// ListReferenceStoresRequest generates a "aws/request.Request" representing the +// client's request for the ListReferenceStores operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReferenceStores for more information on using the ListReferenceStores +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReferenceStoresRequest method. +// req, resp := client.ListReferenceStoresRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferenceStores +func (c *Omics) ListReferenceStoresRequest(input *ListReferenceStoresInput) (req *request.Request, output *ListReferenceStoresOutput) { + op := &request.Operation{ + Name: opListReferenceStores, + HTTPMethod: "POST", + HTTPPath: "/referencestores", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReferenceStoresInput{} + } + + output = &ListReferenceStoresOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReferenceStores API operation for Amazon Omics. +// +// Retrieves a list of reference stores. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReferenceStores for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferenceStores +func (c *Omics) ListReferenceStores(input *ListReferenceStoresInput) (*ListReferenceStoresOutput, error) { + req, out := c.ListReferenceStoresRequest(input) + return out, req.Send() +} + +// ListReferenceStoresWithContext is the same as ListReferenceStores with the addition of +// the ability to pass a context and additional request options. +// +// See ListReferenceStores for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferenceStoresWithContext(ctx aws.Context, input *ListReferenceStoresInput, opts ...request.Option) (*ListReferenceStoresOutput, error) { + req, out := c.ListReferenceStoresRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReferenceStoresPages iterates over the pages of a ListReferenceStores operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReferenceStores method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReferenceStores operation. +// pageNum := 0 +// err := client.ListReferenceStoresPages(params, +// func(page *omics.ListReferenceStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReferenceStoresPages(input *ListReferenceStoresInput, fn func(*ListReferenceStoresOutput, bool) bool) error { + return c.ListReferenceStoresPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReferenceStoresPagesWithContext same as ListReferenceStoresPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferenceStoresPagesWithContext(ctx aws.Context, input *ListReferenceStoresInput, fn func(*ListReferenceStoresOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReferenceStoresInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReferenceStoresRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReferenceStoresOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReferences = "ListReferences" + +// ListReferencesRequest generates a "aws/request.Request" representing the +// client's request for the ListReferences operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListReferences for more information on using the ListReferences +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListReferencesRequest method. +// req, resp := client.ListReferencesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferences +func (c *Omics) ListReferencesRequest(input *ListReferencesInput) (req *request.Request, output *ListReferencesOutput) { + op := &request.Operation{ + Name: opListReferences, + HTTPMethod: "POST", + HTTPPath: "/referencestore/{referenceStoreId}/references", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReferencesInput{} + } + + output = &ListReferencesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListReferences API operation for Amazon Omics. +// +// Retrieves a list of references. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListReferences for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferences +func (c *Omics) ListReferences(input *ListReferencesInput) (*ListReferencesOutput, error) { + req, out := c.ListReferencesRequest(input) + return out, req.Send() +} + +// ListReferencesWithContext is the same as ListReferences with the addition of +// the ability to pass a context and additional request options. +// +// See ListReferences for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferencesWithContext(ctx aws.Context, input *ListReferencesInput, opts ...request.Option) (*ListReferencesOutput, error) { + req, out := c.ListReferencesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReferencesPages iterates over the pages of a ListReferences operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReferences method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReferences operation. +// pageNum := 0 +// err := client.ListReferencesPages(params, +// func(page *omics.ListReferencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListReferencesPages(input *ListReferencesInput, fn func(*ListReferencesOutput, bool) bool) error { + return c.ListReferencesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReferencesPagesWithContext same as ListReferencesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListReferencesPagesWithContext(ctx aws.Context, input *ListReferencesInput, fn func(*ListReferencesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReferencesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReferencesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReferencesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListRunGroups = "ListRunGroups" + +// ListRunGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListRunGroups operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRunGroups for more information on using the ListRunGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListRunGroupsRequest method. +// req, resp := client.ListRunGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRunGroups +func (c *Omics) ListRunGroupsRequest(input *ListRunGroupsInput) (req *request.Request, output *ListRunGroupsOutput) { + op := &request.Operation{ + Name: opListRunGroups, + HTTPMethod: "GET", + HTTPPath: "/runGroup", + Paginator: &request.Paginator{ + InputTokens: []string{"startingToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListRunGroupsInput{} + } + + output = &ListRunGroupsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListRunGroups API operation for Amazon Omics. +// +// Retrieves a list of run groups. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListRunGroups for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRunGroups +func (c *Omics) ListRunGroups(input *ListRunGroupsInput) (*ListRunGroupsOutput, error) { + req, out := c.ListRunGroupsRequest(input) + return out, req.Send() +} + +// ListRunGroupsWithContext is the same as ListRunGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListRunGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunGroupsWithContext(ctx aws.Context, input *ListRunGroupsInput, opts ...request.Option) (*ListRunGroupsOutput, error) { + req, out := c.ListRunGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListRunGroupsPages iterates over the pages of a ListRunGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRunGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRunGroups operation. +// pageNum := 0 +// err := client.ListRunGroupsPages(params, +// func(page *omics.ListRunGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListRunGroupsPages(input *ListRunGroupsInput, fn func(*ListRunGroupsOutput, bool) bool) error { + return c.ListRunGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRunGroupsPagesWithContext same as ListRunGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunGroupsPagesWithContext(ctx aws.Context, input *ListRunGroupsInput, fn func(*ListRunGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRunGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRunGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListRunGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListRunTasks = "ListRunTasks" + +// ListRunTasksRequest generates a "aws/request.Request" representing the +// client's request for the ListRunTasks operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRunTasks for more information on using the ListRunTasks +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListRunTasksRequest method. +// req, resp := client.ListRunTasksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRunTasks +func (c *Omics) ListRunTasksRequest(input *ListRunTasksInput) (req *request.Request, output *ListRunTasksOutput) { + op := &request.Operation{ + Name: opListRunTasks, + HTTPMethod: "GET", + HTTPPath: "/run/{id}/task", + Paginator: &request.Paginator{ + InputTokens: []string{"startingToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListRunTasksInput{} + } + + output = &ListRunTasksOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListRunTasks API operation for Amazon Omics. +// +// Retrieves a list of tasks for a run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListRunTasks for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRunTasks +func (c *Omics) ListRunTasks(input *ListRunTasksInput) (*ListRunTasksOutput, error) { + req, out := c.ListRunTasksRequest(input) + return out, req.Send() +} + +// ListRunTasksWithContext is the same as ListRunTasks with the addition of +// the ability to pass a context and additional request options. +// +// See ListRunTasks for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunTasksWithContext(ctx aws.Context, input *ListRunTasksInput, opts ...request.Option) (*ListRunTasksOutput, error) { + req, out := c.ListRunTasksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListRunTasksPages iterates over the pages of a ListRunTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRunTasks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRunTasks operation. +// pageNum := 0 +// err := client.ListRunTasksPages(params, +// func(page *omics.ListRunTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListRunTasksPages(input *ListRunTasksInput, fn func(*ListRunTasksOutput, bool) bool) error { + return c.ListRunTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRunTasksPagesWithContext same as ListRunTasksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunTasksPagesWithContext(ctx aws.Context, input *ListRunTasksInput, fn func(*ListRunTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRunTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRunTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListRunTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListRuns = "ListRuns" + +// ListRunsRequest generates a "aws/request.Request" representing the +// client's request for the ListRuns operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRuns for more information on using the ListRuns +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListRunsRequest method. +// req, resp := client.ListRunsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRuns +func (c *Omics) ListRunsRequest(input *ListRunsInput) (req *request.Request, output *ListRunsOutput) { + op := &request.Operation{ + Name: opListRuns, + HTTPMethod: "GET", + HTTPPath: "/run", + Paginator: &request.Paginator{ + InputTokens: []string{"startingToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListRunsInput{} + } + + output = &ListRunsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListRuns API operation for Amazon Omics. +// +// Retrieves a list of runs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListRuns for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRuns +func (c *Omics) ListRuns(input *ListRunsInput) (*ListRunsOutput, error) { + req, out := c.ListRunsRequest(input) + return out, req.Send() +} + +// ListRunsWithContext is the same as ListRuns with the addition of +// the ability to pass a context and additional request options. +// +// See ListRuns for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunsWithContext(ctx aws.Context, input *ListRunsInput, opts ...request.Option) (*ListRunsOutput, error) { + req, out := c.ListRunsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListRunsPages iterates over the pages of a ListRuns operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRuns method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRuns operation. +// pageNum := 0 +// err := client.ListRunsPages(params, +// func(page *omics.ListRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListRunsPages(input *ListRunsInput, fn func(*ListRunsOutput, bool) bool) error { + return c.ListRunsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRunsPagesWithContext same as ListRunsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListRunsPagesWithContext(ctx aws.Context, input *ListRunsInput, fn func(*ListRunsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRunsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRunsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListRunsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSequenceStores = "ListSequenceStores" + +// ListSequenceStoresRequest generates a "aws/request.Request" representing the +// client's request for the ListSequenceStores operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListSequenceStores for more information on using the ListSequenceStores +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListSequenceStoresRequest method. +// req, resp := client.ListSequenceStoresRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListSequenceStores +func (c *Omics) ListSequenceStoresRequest(input *ListSequenceStoresInput) (req *request.Request, output *ListSequenceStoresOutput) { + op := &request.Operation{ + Name: opListSequenceStores, + HTTPMethod: "POST", + HTTPPath: "/sequencestores", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListSequenceStoresInput{} + } + + output = &ListSequenceStoresOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListSequenceStores API operation for Amazon Omics. +// +// Retrieves a list of sequence stores. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListSequenceStores for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListSequenceStores +func (c *Omics) ListSequenceStores(input *ListSequenceStoresInput) (*ListSequenceStoresOutput, error) { + req, out := c.ListSequenceStoresRequest(input) + return out, req.Send() +} + +// ListSequenceStoresWithContext is the same as ListSequenceStores with the addition of +// the ability to pass a context and additional request options. +// +// See ListSequenceStores for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListSequenceStoresWithContext(ctx aws.Context, input *ListSequenceStoresInput, opts ...request.Option) (*ListSequenceStoresOutput, error) { + req, out := c.ListSequenceStoresRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListSequenceStoresPages iterates over the pages of a ListSequenceStores operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSequenceStores method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSequenceStores operation. +// pageNum := 0 +// err := client.ListSequenceStoresPages(params, +// func(page *omics.ListSequenceStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListSequenceStoresPages(input *ListSequenceStoresInput, fn func(*ListSequenceStoresOutput, bool) bool) error { + return c.ListSequenceStoresPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSequenceStoresPagesWithContext same as ListSequenceStoresPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListSequenceStoresPagesWithContext(ctx aws.Context, input *ListSequenceStoresInput, fn func(*ListSequenceStoresOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSequenceStoresInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSequenceStoresRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSequenceStoresOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListTagsForResource +func (c *Omics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("tags-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListTagsForResource API operation for Amazon Omics. +// +// Retrieves a list of tags for a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListTagsForResource +func (c *Omics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListVariantImportJobs = "ListVariantImportJobs" + +// ListVariantImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListVariantImportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListVariantImportJobs for more information on using the ListVariantImportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListVariantImportJobsRequest method. +// req, resp := client.ListVariantImportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListVariantImportJobs +func (c *Omics) ListVariantImportJobsRequest(input *ListVariantImportJobsInput) (req *request.Request, output *ListVariantImportJobsOutput) { + op := &request.Operation{ + Name: opListVariantImportJobs, + HTTPMethod: "POST", + HTTPPath: "/import/variants", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListVariantImportJobsInput{} + } + + output = &ListVariantImportJobsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListVariantImportJobs API operation for Amazon Omics. +// +// Retrieves a list of variant import jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListVariantImportJobs for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListVariantImportJobs +func (c *Omics) ListVariantImportJobs(input *ListVariantImportJobsInput) (*ListVariantImportJobsOutput, error) { + req, out := c.ListVariantImportJobsRequest(input) + return out, req.Send() +} + +// ListVariantImportJobsWithContext is the same as ListVariantImportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListVariantImportJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListVariantImportJobsWithContext(ctx aws.Context, input *ListVariantImportJobsInput, opts ...request.Option) (*ListVariantImportJobsOutput, error) { + req, out := c.ListVariantImportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListVariantImportJobsPages iterates over the pages of a ListVariantImportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListVariantImportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListVariantImportJobs operation. +// pageNum := 0 +// err := client.ListVariantImportJobsPages(params, +// func(page *omics.ListVariantImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListVariantImportJobsPages(input *ListVariantImportJobsInput, fn func(*ListVariantImportJobsOutput, bool) bool) error { + return c.ListVariantImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListVariantImportJobsPagesWithContext same as ListVariantImportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListVariantImportJobsPagesWithContext(ctx aws.Context, input *ListVariantImportJobsInput, fn func(*ListVariantImportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListVariantImportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListVariantImportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListVariantImportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListVariantStores = "ListVariantStores" + +// ListVariantStoresRequest generates a "aws/request.Request" representing the +// client's request for the ListVariantStores operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListVariantStores for more information on using the ListVariantStores +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListVariantStoresRequest method. +// req, resp := client.ListVariantStoresRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListVariantStores +func (c *Omics) ListVariantStoresRequest(input *ListVariantStoresInput) (req *request.Request, output *ListVariantStoresOutput) { + op := &request.Operation{ + Name: opListVariantStores, + HTTPMethod: "POST", + HTTPPath: "/variantStores", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListVariantStoresInput{} + } + + output = &ListVariantStoresOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListVariantStores API operation for Amazon Omics. +// +// Retrieves a list of variant stores. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListVariantStores for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListVariantStores +func (c *Omics) ListVariantStores(input *ListVariantStoresInput) (*ListVariantStoresOutput, error) { + req, out := c.ListVariantStoresRequest(input) + return out, req.Send() +} + +// ListVariantStoresWithContext is the same as ListVariantStores with the addition of +// the ability to pass a context and additional request options. +// +// See ListVariantStores for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListVariantStoresWithContext(ctx aws.Context, input *ListVariantStoresInput, opts ...request.Option) (*ListVariantStoresOutput, error) { + req, out := c.ListVariantStoresRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListVariantStoresPages iterates over the pages of a ListVariantStores operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListVariantStores method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListVariantStores operation. +// pageNum := 0 +// err := client.ListVariantStoresPages(params, +// func(page *omics.ListVariantStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListVariantStoresPages(input *ListVariantStoresInput, fn func(*ListVariantStoresOutput, bool) bool) error { + return c.ListVariantStoresPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListVariantStoresPagesWithContext same as ListVariantStoresPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListVariantStoresPagesWithContext(ctx aws.Context, input *ListVariantStoresInput, fn func(*ListVariantStoresOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListVariantStoresInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListVariantStoresRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListVariantStoresOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListWorkflows = "ListWorkflows" + +// ListWorkflowsRequest generates a "aws/request.Request" representing the +// client's request for the ListWorkflows operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListWorkflows for more information on using the ListWorkflows +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListWorkflowsRequest method. +// req, resp := client.ListWorkflowsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListWorkflows +func (c *Omics) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) { + op := &request.Operation{ + Name: opListWorkflows, + HTTPMethod: "GET", + HTTPPath: "/workflow", + Paginator: &request.Paginator{ + InputTokens: []string{"startingToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListWorkflowsInput{} + } + + output = &ListWorkflowsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListWorkflows API operation for Amazon Omics. +// +// Retrieves a list of workflows. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation ListWorkflows for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListWorkflows +func (c *Omics) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { + req, out := c.ListWorkflowsRequest(input) + return out, req.Send() +} + +// ListWorkflowsWithContext is the same as ListWorkflows with the addition of +// the ability to pass a context and additional request options. +// +// See ListWorkflows for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInput, opts ...request.Option) (*ListWorkflowsOutput, error) { + req, out := c.ListWorkflowsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListWorkflowsPages iterates over the pages of a ListWorkflows operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListWorkflows method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListWorkflows operation. +// pageNum := 0 +// err := client.ListWorkflowsPages(params, +// func(page *omics.ListWorkflowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error { + return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListWorkflowsPagesWithContext same as ListWorkflowsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) ListWorkflowsPagesWithContext(ctx aws.Context, input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListWorkflowsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListWorkflowsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListWorkflowsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opStartAnnotationImportJob = "StartAnnotationImportJob" + +// StartAnnotationImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartAnnotationImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartAnnotationImportJob for more information on using the StartAnnotationImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartAnnotationImportJobRequest method. +// req, resp := client.StartAnnotationImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartAnnotationImportJob +func (c *Omics) StartAnnotationImportJobRequest(input *StartAnnotationImportJobInput) (req *request.Request, output *StartAnnotationImportJobOutput) { + op := &request.Operation{ + Name: opStartAnnotationImportJob, + HTTPMethod: "POST", + HTTPPath: "/import/annotation", + } + + if input == nil { + input = &StartAnnotationImportJobInput{} + } + + output = &StartAnnotationImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartAnnotationImportJob API operation for Amazon Omics. +// +// Starts an annotation import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartAnnotationImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartAnnotationImportJob +func (c *Omics) StartAnnotationImportJob(input *StartAnnotationImportJobInput) (*StartAnnotationImportJobOutput, error) { + req, out := c.StartAnnotationImportJobRequest(input) + return out, req.Send() +} + +// StartAnnotationImportJobWithContext is the same as StartAnnotationImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartAnnotationImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartAnnotationImportJobWithContext(ctx aws.Context, input *StartAnnotationImportJobInput, opts ...request.Option) (*StartAnnotationImportJobOutput, error) { + req, out := c.StartAnnotationImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartReadSetActivationJob = "StartReadSetActivationJob" + +// StartReadSetActivationJobRequest generates a "aws/request.Request" representing the +// client's request for the StartReadSetActivationJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartReadSetActivationJob for more information on using the StartReadSetActivationJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartReadSetActivationJobRequest method. +// req, resp := client.StartReadSetActivationJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetActivationJob +func (c *Omics) StartReadSetActivationJobRequest(input *StartReadSetActivationJobInput) (req *request.Request, output *StartReadSetActivationJobOutput) { + op := &request.Operation{ + Name: opStartReadSetActivationJob, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/activationjob", + } + + if input == nil { + input = &StartReadSetActivationJobInput{} + } + + output = &StartReadSetActivationJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartReadSetActivationJob API operation for Amazon Omics. +// +// Starts a read set activation job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartReadSetActivationJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetActivationJob +func (c *Omics) StartReadSetActivationJob(input *StartReadSetActivationJobInput) (*StartReadSetActivationJobOutput, error) { + req, out := c.StartReadSetActivationJobRequest(input) + return out, req.Send() +} + +// StartReadSetActivationJobWithContext is the same as StartReadSetActivationJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartReadSetActivationJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartReadSetActivationJobWithContext(ctx aws.Context, input *StartReadSetActivationJobInput, opts ...request.Option) (*StartReadSetActivationJobOutput, error) { + req, out := c.StartReadSetActivationJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartReadSetExportJob = "StartReadSetExportJob" + +// StartReadSetExportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartReadSetExportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartReadSetExportJob for more information on using the StartReadSetExportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartReadSetExportJobRequest method. +// req, resp := client.StartReadSetExportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetExportJob +func (c *Omics) StartReadSetExportJobRequest(input *StartReadSetExportJobInput) (req *request.Request, output *StartReadSetExportJobOutput) { + op := &request.Operation{ + Name: opStartReadSetExportJob, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/exportjob", + } + + if input == nil { + input = &StartReadSetExportJobInput{} + } + + output = &StartReadSetExportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartReadSetExportJob API operation for Amazon Omics. +// +// Starts a read set export job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartReadSetExportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetExportJob +func (c *Omics) StartReadSetExportJob(input *StartReadSetExportJobInput) (*StartReadSetExportJobOutput, error) { + req, out := c.StartReadSetExportJobRequest(input) + return out, req.Send() +} + +// StartReadSetExportJobWithContext is the same as StartReadSetExportJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartReadSetExportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartReadSetExportJobWithContext(ctx aws.Context, input *StartReadSetExportJobInput, opts ...request.Option) (*StartReadSetExportJobOutput, error) { + req, out := c.StartReadSetExportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartReadSetImportJob = "StartReadSetImportJob" + +// StartReadSetImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartReadSetImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartReadSetImportJob for more information on using the StartReadSetImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartReadSetImportJobRequest method. +// req, resp := client.StartReadSetImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetImportJob +func (c *Omics) StartReadSetImportJobRequest(input *StartReadSetImportJobInput) (req *request.Request, output *StartReadSetImportJobOutput) { + op := &request.Operation{ + Name: opStartReadSetImportJob, + HTTPMethod: "POST", + HTTPPath: "/sequencestore/{sequenceStoreId}/importjob", + } + + if input == nil { + input = &StartReadSetImportJobInput{} + } + + output = &StartReadSetImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartReadSetImportJob API operation for Amazon Omics. +// +// Starts a read set import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartReadSetImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReadSetImportJob +func (c *Omics) StartReadSetImportJob(input *StartReadSetImportJobInput) (*StartReadSetImportJobOutput, error) { + req, out := c.StartReadSetImportJobRequest(input) + return out, req.Send() +} + +// StartReadSetImportJobWithContext is the same as StartReadSetImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartReadSetImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartReadSetImportJobWithContext(ctx aws.Context, input *StartReadSetImportJobInput, opts ...request.Option) (*StartReadSetImportJobOutput, error) { + req, out := c.StartReadSetImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartReferenceImportJob = "StartReferenceImportJob" + +// StartReferenceImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartReferenceImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartReferenceImportJob for more information on using the StartReferenceImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartReferenceImportJobRequest method. +// req, resp := client.StartReferenceImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReferenceImportJob +func (c *Omics) StartReferenceImportJobRequest(input *StartReferenceImportJobInput) (req *request.Request, output *StartReferenceImportJobOutput) { + op := &request.Operation{ + Name: opStartReferenceImportJob, + HTTPMethod: "POST", + HTTPPath: "/referencestore/{referenceStoreId}/importjob", + } + + if input == nil { + input = &StartReferenceImportJobInput{} + } + + output = &StartReferenceImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartReferenceImportJob API operation for Amazon Omics. +// +// Starts a reference import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartReferenceImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartReferenceImportJob +func (c *Omics) StartReferenceImportJob(input *StartReferenceImportJobInput) (*StartReferenceImportJobOutput, error) { + req, out := c.StartReferenceImportJobRequest(input) + return out, req.Send() +} + +// StartReferenceImportJobWithContext is the same as StartReferenceImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartReferenceImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartReferenceImportJobWithContext(ctx aws.Context, input *StartReferenceImportJobInput, opts ...request.Option) (*StartReferenceImportJobOutput, error) { + req, out := c.StartReferenceImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartRun = "StartRun" + +// StartRunRequest generates a "aws/request.Request" representing the +// client's request for the StartRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartRun for more information on using the StartRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartRunRequest method. +// req, resp := client.StartRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartRun +func (c *Omics) StartRunRequest(input *StartRunInput) (req *request.Request, output *StartRunOutput) { + op := &request.Operation{ + Name: opStartRun, + HTTPMethod: "POST", + HTTPPath: "/run", + } + + if input == nil { + input = &StartRunInput{} + } + + output = &StartRunOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartRun API operation for Amazon Omics. +// +// Starts a run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartRun for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartRun +func (c *Omics) StartRun(input *StartRunInput) (*StartRunOutput, error) { + req, out := c.StartRunRequest(input) + return out, req.Send() +} + +// StartRunWithContext is the same as StartRun with the addition of +// the ability to pass a context and additional request options. +// +// See StartRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartRunWithContext(ctx aws.Context, input *StartRunInput, opts ...request.Option) (*StartRunOutput, error) { + req, out := c.StartRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartVariantImportJob = "StartVariantImportJob" + +// StartVariantImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartVariantImportJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartVariantImportJob for more information on using the StartVariantImportJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartVariantImportJobRequest method. +// req, resp := client.StartVariantImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartVariantImportJob +func (c *Omics) StartVariantImportJobRequest(input *StartVariantImportJobInput) (req *request.Request, output *StartVariantImportJobOutput) { + op := &request.Operation{ + Name: opStartVariantImportJob, + HTTPMethod: "POST", + HTTPPath: "/import/variant", + } + + if input == nil { + input = &StartVariantImportJobInput{} + } + + output = &StartVariantImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// StartVariantImportJob API operation for Amazon Omics. +// +// Starts a variant import job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation StartVariantImportJob for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/StartVariantImportJob +func (c *Omics) StartVariantImportJob(input *StartVariantImportJobInput) (*StartVariantImportJobOutput, error) { + req, out := c.StartVariantImportJobRequest(input) + return out, req.Send() +} + +// StartVariantImportJobWithContext is the same as StartVariantImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartVariantImportJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) StartVariantImportJobWithContext(ctx aws.Context, input *StartVariantImportJobInput, opts ...request.Option) (*StartVariantImportJobOutput, error) { + req, out := c.StartVariantImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/TagResource +func (c *Omics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("tags-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// TagResource API operation for Amazon Omics. +// +// Tags a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/TagResource +func (c *Omics) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UntagResource +func (c *Omics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("tags-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UntagResource API operation for Amazon Omics. +// +// Removes tags from a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UntagResource +func (c *Omics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateAnnotationStore = "UpdateAnnotationStore" + +// UpdateAnnotationStoreRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAnnotationStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAnnotationStore for more information on using the UpdateAnnotationStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateAnnotationStoreRequest method. +// req, resp := client.UpdateAnnotationStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateAnnotationStore +func (c *Omics) UpdateAnnotationStoreRequest(input *UpdateAnnotationStoreInput) (req *request.Request, output *UpdateAnnotationStoreOutput) { + op := &request.Operation{ + Name: opUpdateAnnotationStore, + HTTPMethod: "POST", + HTTPPath: "/annotationStore/{name}", + } + + if input == nil { + input = &UpdateAnnotationStoreInput{} + } + + output = &UpdateAnnotationStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateAnnotationStore API operation for Amazon Omics. +// +// Updates an annotation store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation UpdateAnnotationStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateAnnotationStore +func (c *Omics) UpdateAnnotationStore(input *UpdateAnnotationStoreInput) (*UpdateAnnotationStoreOutput, error) { + req, out := c.UpdateAnnotationStoreRequest(input) + return out, req.Send() +} + +// UpdateAnnotationStoreWithContext is the same as UpdateAnnotationStore with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAnnotationStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) UpdateAnnotationStoreWithContext(ctx aws.Context, input *UpdateAnnotationStoreInput, opts ...request.Option) (*UpdateAnnotationStoreOutput, error) { + req, out := c.UpdateAnnotationStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateRunGroup = "UpdateRunGroup" + +// UpdateRunGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRunGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateRunGroup for more information on using the UpdateRunGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateRunGroupRequest method. +// req, resp := client.UpdateRunGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateRunGroup +func (c *Omics) UpdateRunGroupRequest(input *UpdateRunGroupInput) (req *request.Request, output *UpdateRunGroupOutput) { + op := &request.Operation{ + Name: opUpdateRunGroup, + HTTPMethod: "POST", + HTTPPath: "/runGroup/{id}", + } + + if input == nil { + input = &UpdateRunGroupInput{} + } + + output = &UpdateRunGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateRunGroup API operation for Amazon Omics. +// +// Updates a run group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation UpdateRunGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateRunGroup +func (c *Omics) UpdateRunGroup(input *UpdateRunGroupInput) (*UpdateRunGroupOutput, error) { + req, out := c.UpdateRunGroupRequest(input) + return out, req.Send() +} + +// UpdateRunGroupWithContext is the same as UpdateRunGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRunGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) UpdateRunGroupWithContext(ctx aws.Context, input *UpdateRunGroupInput, opts ...request.Option) (*UpdateRunGroupOutput, error) { + req, out := c.UpdateRunGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateVariantStore = "UpdateVariantStore" + +// UpdateVariantStoreRequest generates a "aws/request.Request" representing the +// client's request for the UpdateVariantStore operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateVariantStore for more information on using the UpdateVariantStore +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateVariantStoreRequest method. +// req, resp := client.UpdateVariantStoreRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateVariantStore +func (c *Omics) UpdateVariantStoreRequest(input *UpdateVariantStoreInput) (req *request.Request, output *UpdateVariantStoreOutput) { + op := &request.Operation{ + Name: opUpdateVariantStore, + HTTPMethod: "POST", + HTTPPath: "/variantStore/{name}", + } + + if input == nil { + input = &UpdateVariantStoreInput{} + } + + output = &UpdateVariantStoreOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateVariantStore API operation for Amazon Omics. +// +// Updates a variant store. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation UpdateVariantStore for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateVariantStore +func (c *Omics) UpdateVariantStore(input *UpdateVariantStoreInput) (*UpdateVariantStoreOutput, error) { + req, out := c.UpdateVariantStoreRequest(input) + return out, req.Send() +} + +// UpdateVariantStoreWithContext is the same as UpdateVariantStore with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateVariantStore for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) UpdateVariantStoreWithContext(ctx aws.Context, input *UpdateVariantStoreInput, opts ...request.Option) (*UpdateVariantStoreOutput, error) { + req, out := c.UpdateVariantStoreRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateWorkflow = "UpdateWorkflow" + +// UpdateWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the UpdateWorkflow operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateWorkflow for more information on using the UpdateWorkflow +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateWorkflowRequest method. +// req, resp := client.UpdateWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateWorkflow +func (c *Omics) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) { + op := &request.Operation{ + Name: opUpdateWorkflow, + HTTPMethod: "POST", + HTTPPath: "/workflow/{id}", + } + + if input == nil { + input = &UpdateWorkflowInput{} + } + + output = &UpdateWorkflowOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("workflows-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateWorkflow API operation for Amazon Omics. +// +// Updates a workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Omics's +// API operation UpdateWorkflow for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateWorkflow +func (c *Omics) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) { + req, out := c.UpdateWorkflowRequest(input) + return out, req.Send() +} + +// UpdateWorkflowWithContext is the same as UpdateWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateWorkflow for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) UpdateWorkflowWithContext(ctx aws.Context, input *UpdateWorkflowInput, opts ...request.Option) (*UpdateWorkflowOutput, error) { + req, out := c.UpdateWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// You do not have sufficient access to perform this action. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A read set activation job filter. +type ActivateReadSetFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's status. + Status *string `locationName:"status" type:"string" enum:"ReadSetActivationJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetFilter) GoString() string { + return s.String() +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ActivateReadSetFilter) SetCreatedAfter(v time.Time) *ActivateReadSetFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ActivateReadSetFilter) SetCreatedBefore(v time.Time) *ActivateReadSetFilter { + s.CreatedBefore = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ActivateReadSetFilter) SetStatus(v string) *ActivateReadSetFilter { + s.Status = &v + return s +} + +// A read set activation job. +type ActivateReadSetJobItem struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetActivationJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetJobItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetJobItem) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *ActivateReadSetJobItem) SetCompletionTime(v time.Time) *ActivateReadSetJobItem { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ActivateReadSetJobItem) SetCreationTime(v time.Time) *ActivateReadSetJobItem { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ActivateReadSetJobItem) SetId(v string) *ActivateReadSetJobItem { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ActivateReadSetJobItem) SetSequenceStoreId(v string) *ActivateReadSetJobItem { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ActivateReadSetJobItem) SetStatus(v string) *ActivateReadSetJobItem { + s.Status = &v + return s +} + +// A source for a read set activation job. +type ActivateReadSetSourceItem struct { + _ struct{} `type:"structure"` + + // The source's read set ID. + // + // ReadSetId is a required field + ReadSetId *string `locationName:"readSetId" min:"10" type:"string" required:"true"` + + // The source's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetActivationJobItemStatus"` + + // The source's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActivateReadSetSourceItem) GoString() string { + return s.String() +} + +// SetReadSetId sets the ReadSetId field's value. +func (s *ActivateReadSetSourceItem) SetReadSetId(v string) *ActivateReadSetSourceItem { + s.ReadSetId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ActivateReadSetSourceItem) SetStatus(v string) *ActivateReadSetSourceItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ActivateReadSetSourceItem) SetStatusMessage(v string) *ActivateReadSetSourceItem { + s.StatusMessage = &v + return s +} + +// Details about an imported annotation item. +type AnnotationImportItemDetail struct { + _ struct{} `type:"structure"` + + // The item's job status. + // + // JobStatus is a required field + JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"JobStatus"` + + // The source file's location in Amazon S3. + // + // Source is a required field + Source *string `locationName:"source" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportItemDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportItemDetail) GoString() string { + return s.String() +} + +// SetJobStatus sets the JobStatus field's value. +func (s *AnnotationImportItemDetail) SetJobStatus(v string) *AnnotationImportItemDetail { + s.JobStatus = &v + return s +} + +// SetSource sets the Source field's value. +func (s *AnnotationImportItemDetail) SetSource(v string) *AnnotationImportItemDetail { + s.Source = &v + return s +} + +// A source for an annotation import job. +type AnnotationImportItemSource struct { + _ struct{} `type:"structure"` + + // The source file's location in Amazon S3. + // + // Source is a required field + Source *string `locationName:"source" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportItemSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportItemSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnnotationImportItemSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnnotationImportItemSource"} + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSource sets the Source field's value. +func (s *AnnotationImportItemSource) SetSource(v string) *AnnotationImportItemSource { + s.Source = &v + return s +} + +// An annotation import job. +type AnnotationImportJobItem struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination annotation store. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + + // When the job was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportJobItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationImportJobItem) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *AnnotationImportJobItem) SetCompletionTime(v time.Time) *AnnotationImportJobItem { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *AnnotationImportJobItem) SetCreationTime(v time.Time) *AnnotationImportJobItem { + s.CreationTime = &v + return s +} + +// SetDestinationName sets the DestinationName field's value. +func (s *AnnotationImportJobItem) SetDestinationName(v string) *AnnotationImportJobItem { + s.DestinationName = &v + return s +} + +// SetId sets the Id field's value. +func (s *AnnotationImportJobItem) SetId(v string) *AnnotationImportJobItem { + s.Id = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *AnnotationImportJobItem) SetRoleArn(v string) *AnnotationImportJobItem { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *AnnotationImportJobItem) SetRunLeftNormalization(v bool) *AnnotationImportJobItem { + s.RunLeftNormalization = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AnnotationImportJobItem) SetStatus(v string) *AnnotationImportJobItem { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *AnnotationImportJobItem) SetUpdateTime(v time.Time) *AnnotationImportJobItem { + s.UpdateTime = &v + return s +} + +// An annotation store. +type AnnotationStoreItem struct { + _ struct{} `type:"structure"` + + // The store's creation time. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's server-side encryption (SSE) settings. + // + // SseConfig is a required field + SseConfig *SseConfig `locationName:"sseConfig" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // The store's status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store's ARN. + // + // StoreArn is a required field + StoreArn *string `locationName:"storeArn" min:"20" type:"string" required:"true"` + + // The store's file format. + // + // StoreFormat is a required field + StoreFormat *string `locationName:"storeFormat" type:"string" required:"true" enum:"StoreFormat"` + + // The store's size in bytes. + // + // StoreSizeBytes is a required field + StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationStoreItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AnnotationStoreItem) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *AnnotationStoreItem) SetCreationTime(v time.Time) *AnnotationStoreItem { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *AnnotationStoreItem) SetDescription(v string) *AnnotationStoreItem { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *AnnotationStoreItem) SetId(v string) *AnnotationStoreItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *AnnotationStoreItem) SetName(v string) *AnnotationStoreItem { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *AnnotationStoreItem) SetReference(v *ReferenceItem) *AnnotationStoreItem { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *AnnotationStoreItem) SetSseConfig(v *SseConfig) *AnnotationStoreItem { + s.SseConfig = v + return s +} + +// SetStatus sets the Status field's value. +func (s *AnnotationStoreItem) SetStatus(v string) *AnnotationStoreItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *AnnotationStoreItem) SetStatusMessage(v string) *AnnotationStoreItem { + s.StatusMessage = &v + return s +} + +// SetStoreArn sets the StoreArn field's value. +func (s *AnnotationStoreItem) SetStoreArn(v string) *AnnotationStoreItem { + s.StoreArn = &v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *AnnotationStoreItem) SetStoreFormat(v string) *AnnotationStoreItem { + s.StoreFormat = &v + return s +} + +// SetStoreSizeBytes sets the StoreSizeBytes field's value. +func (s *AnnotationStoreItem) SetStoreSizeBytes(v int64) *AnnotationStoreItem { + s.StoreSizeBytes = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *AnnotationStoreItem) SetUpdateTime(v time.Time) *AnnotationStoreItem { + s.UpdateTime = &v + return s +} + +type BatchDeleteReadSetInput struct { + _ struct{} `type:"structure"` + + // The read sets' IDs. + // + // Ids is a required field + Ids []*string `locationName:"ids" min:"1" type:"list" required:"true"` + + // The read sets' sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteReadSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteReadSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchDeleteReadSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchDeleteReadSetInput"} + if s.Ids == nil { + invalidParams.Add(request.NewErrParamRequired("Ids")) + } + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIds sets the Ids field's value. +func (s *BatchDeleteReadSetInput) SetIds(v []*string) *BatchDeleteReadSetInput { + s.Ids = v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *BatchDeleteReadSetInput) SetSequenceStoreId(v string) *BatchDeleteReadSetInput { + s.SequenceStoreId = &v + return s +} + +type BatchDeleteReadSetOutput struct { + _ struct{} `type:"structure"` + + // Errors returned by individual delete operations. + Errors []*ReadSetBatchError `locationName:"errors" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteReadSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteReadSetOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchDeleteReadSetOutput) SetErrors(v []*ReadSetBatchError) *BatchDeleteReadSetOutput { + s.Errors = v + return s +} + +type CancelAnnotationImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelAnnotationImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelAnnotationImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelAnnotationImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelAnnotationImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *CancelAnnotationImportJobInput) SetJobId(v string) *CancelAnnotationImportJobInput { + s.JobId = &v + return s +} + +type CancelAnnotationImportJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelAnnotationImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelAnnotationImportJobOutput) GoString() string { + return s.String() +} + +type CancelRunInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelRunInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *CancelRunInput) SetId(v string) *CancelRunInput { + s.Id = &v + return s +} + +type CancelRunOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelRunOutput) GoString() string { + return s.String() +} + +type CancelVariantImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelVariantImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelVariantImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelVariantImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelVariantImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *CancelVariantImportJobInput) SetJobId(v string) *CancelVariantImportJobInput { + s.JobId = &v + return s +} + +type CancelVariantImportJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelVariantImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelVariantImportJobOutput) GoString() string { + return s.String() +} + +// The request cannot be applied to the target resource in its current state. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CreateAnnotationStoreInput struct { + _ struct{} `type:"structure"` + + // A description for the store. + Description *string `locationName:"description" type:"string"` + + // A name for the store. + Name *string `locationName:"name" type:"string"` + + // The genome reference for the store's annotations. + Reference *ReferenceItem `locationName:"reference" type:"structure"` + + // Server-side encryption (SSE) settings for the store. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` + + // The annotation file format of the store. + // + // StoreFormat is a required field + StoreFormat *string `locationName:"storeFormat" type:"string" required:"true" enum:"StoreFormat"` + + // File parsing options for the annotation store. + StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` + + // Tags for the store. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAnnotationStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAnnotationStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAnnotationStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAnnotationStoreInput"} + if s.StoreFormat == nil { + invalidParams.Add(request.NewErrParamRequired("StoreFormat")) + } + if s.Reference != nil { + if err := s.Reference.Validate(); err != nil { + invalidParams.AddNested("Reference", err.(request.ErrInvalidParams)) + } + } + if s.SseConfig != nil { + if err := s.SseConfig.Validate(); err != nil { + invalidParams.AddNested("SseConfig", err.(request.ErrInvalidParams)) + } + } + if s.StoreOptions != nil { + if err := s.StoreOptions.Validate(); err != nil { + invalidParams.AddNested("StoreOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateAnnotationStoreInput) SetDescription(v string) *CreateAnnotationStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAnnotationStoreInput) SetName(v string) *CreateAnnotationStoreInput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *CreateAnnotationStoreInput) SetReference(v *ReferenceItem) *CreateAnnotationStoreInput { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateAnnotationStoreInput) SetSseConfig(v *SseConfig) *CreateAnnotationStoreInput { + s.SseConfig = v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *CreateAnnotationStoreInput) SetStoreFormat(v string) *CreateAnnotationStoreInput { + s.StoreFormat = &v + return s +} + +// SetStoreOptions sets the StoreOptions field's value. +func (s *CreateAnnotationStoreInput) SetStoreOptions(v *StoreOptions) *CreateAnnotationStoreInput { + s.StoreOptions = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateAnnotationStoreInput) SetTags(v map[string]*string) *CreateAnnotationStoreInput { + s.Tags = v + return s +} + +type CreateAnnotationStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + Reference *ReferenceItem `locationName:"reference" type:"structure"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // The annotation file format of the store. + StoreFormat *string `locationName:"storeFormat" type:"string" enum:"StoreFormat"` + + // The store's file parsing options. + StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAnnotationStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAnnotationStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CreateAnnotationStoreOutput) SetCreationTime(v time.Time) *CreateAnnotationStoreOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateAnnotationStoreOutput) SetId(v string) *CreateAnnotationStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAnnotationStoreOutput) SetName(v string) *CreateAnnotationStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *CreateAnnotationStoreOutput) SetReference(v *ReferenceItem) *CreateAnnotationStoreOutput { + s.Reference = v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAnnotationStoreOutput) SetStatus(v string) *CreateAnnotationStoreOutput { + s.Status = &v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *CreateAnnotationStoreOutput) SetStoreFormat(v string) *CreateAnnotationStoreOutput { + s.StoreFormat = &v + return s +} + +// SetStoreOptions sets the StoreOptions field's value. +func (s *CreateAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *CreateAnnotationStoreOutput { + s.StoreOptions = v + return s +} + +type CreateReferenceStoreInput struct { + _ struct{} `type:"structure"` + + // To ensure that requests don't run multiple times, specify a unique token + // for each request. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // A description for the store. + Description *string `locationName:"description" min:"1" type:"string"` + + // A name for the store. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Server-side encryption (SSE) settings for the store. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` + + // Tags for the store. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateReferenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateReferenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateReferenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateReferenceStoreInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.SseConfig != nil { + if err := s.SseConfig.Validate(); err != nil { + invalidParams.AddNested("SseConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateReferenceStoreInput) SetClientToken(v string) *CreateReferenceStoreInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateReferenceStoreInput) SetDescription(v string) *CreateReferenceStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateReferenceStoreInput) SetName(v string) *CreateReferenceStoreInput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateReferenceStoreInput) SetSseConfig(v *SseConfig) *CreateReferenceStoreInput { + s.SseConfig = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateReferenceStoreInput) SetTags(v map[string]*string) *CreateReferenceStoreInput { + s.Tags = v + return s +} + +type CreateReferenceStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's SSE settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateReferenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateReferenceStoreOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateReferenceStoreOutput) SetArn(v string) *CreateReferenceStoreOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CreateReferenceStoreOutput) SetCreationTime(v time.Time) *CreateReferenceStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateReferenceStoreOutput) SetDescription(v string) *CreateReferenceStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateReferenceStoreOutput) SetId(v string) *CreateReferenceStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateReferenceStoreOutput) SetName(v string) *CreateReferenceStoreOutput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateReferenceStoreOutput) SetSseConfig(v *SseConfig) *CreateReferenceStoreOutput { + s.SseConfig = v + return s +} + +type CreateRunGroupInput struct { + _ struct{} `type:"structure"` + + // The maximum number of CPUs to use in the group. + MaxCpus *int64 `locationName:"maxCpus" min:"1" type:"integer"` + + // A max duration for the group. + MaxDuration *int64 `locationName:"maxDuration" min:"1" type:"integer"` + + // The maximum number of concurrent runs for the group. + MaxRuns *int64 `locationName:"maxRuns" min:"1" type:"integer"` + + // A name for the group. + Name *string `locationName:"name" min:"1" type:"string"` + + // A request ID for the group. + RequestId *string `locationName:"requestId" min:"1" type:"string" idempotencyToken:"true"` + + // Tags for the group. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateRunGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateRunGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateRunGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateRunGroupInput"} + if s.MaxCpus != nil && *s.MaxCpus < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxCpus", 1)) + } + if s.MaxDuration != nil && *s.MaxDuration < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxDuration", 1)) + } + if s.MaxRuns != nil && *s.MaxRuns < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxRuns", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RequestId != nil && len(*s.RequestId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RequestId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxCpus sets the MaxCpus field's value. +func (s *CreateRunGroupInput) SetMaxCpus(v int64) *CreateRunGroupInput { + s.MaxCpus = &v + return s +} + +// SetMaxDuration sets the MaxDuration field's value. +func (s *CreateRunGroupInput) SetMaxDuration(v int64) *CreateRunGroupInput { + s.MaxDuration = &v + return s +} + +// SetMaxRuns sets the MaxRuns field's value. +func (s *CreateRunGroupInput) SetMaxRuns(v int64) *CreateRunGroupInput { + s.MaxRuns = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateRunGroupInput) SetName(v string) *CreateRunGroupInput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateRunGroupInput) SetRequestId(v string) *CreateRunGroupInput { + s.RequestId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateRunGroupInput) SetTags(v map[string]*string) *CreateRunGroupInput { + s.Tags = v + return s +} + +type CreateRunGroupOutput struct { + _ struct{} `type:"structure"` + + // The group's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // The group's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // Tags for the run group. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateRunGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateRunGroupOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateRunGroupOutput) SetArn(v string) *CreateRunGroupOutput { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateRunGroupOutput) SetId(v string) *CreateRunGroupOutput { + s.Id = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateRunGroupOutput) SetTags(v map[string]*string) *CreateRunGroupOutput { + s.Tags = v + return s +} + +type CreateSequenceStoreInput struct { + _ struct{} `type:"structure"` + + // To ensure that requests don't run multiple times, specify a unique token + // for each request. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // A description for the store. + Description *string `locationName:"description" min:"1" type:"string"` + + // A name for the store. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Server-side encryption (SSE) settings for the store. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` + + // Tags for the store. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSequenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSequenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSequenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSequenceStoreInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.SseConfig != nil { + if err := s.SseConfig.Validate(); err != nil { + invalidParams.AddNested("SseConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateSequenceStoreInput) SetClientToken(v string) *CreateSequenceStoreInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateSequenceStoreInput) SetDescription(v string) *CreateSequenceStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSequenceStoreInput) SetName(v string) *CreateSequenceStoreInput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateSequenceStoreInput) SetSseConfig(v *SseConfig) *CreateSequenceStoreInput { + s.SseConfig = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateSequenceStoreInput) SetTags(v map[string]*string) *CreateSequenceStoreInput { + s.Tags = v + return s +} + +type CreateSequenceStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's SSE settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSequenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSequenceStoreOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateSequenceStoreOutput) SetArn(v string) *CreateSequenceStoreOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CreateSequenceStoreOutput) SetCreationTime(v time.Time) *CreateSequenceStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateSequenceStoreOutput) SetDescription(v string) *CreateSequenceStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateSequenceStoreOutput) SetId(v string) *CreateSequenceStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSequenceStoreOutput) SetName(v string) *CreateSequenceStoreOutput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateSequenceStoreOutput) SetSseConfig(v *SseConfig) *CreateSequenceStoreOutput { + s.SseConfig = v + return s +} + +type CreateVariantStoreInput struct { + _ struct{} `type:"structure"` + + // A description for the store. + Description *string `locationName:"description" type:"string"` + + // A name for the store. + Name *string `locationName:"name" type:"string"` + + // The genome reference for the store's variants. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // Server-side encryption (SSE) settings for the store. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` + + // Tags for the store. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVariantStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVariantStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVariantStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVariantStoreInput"} + if s.Reference == nil { + invalidParams.Add(request.NewErrParamRequired("Reference")) + } + if s.Reference != nil { + if err := s.Reference.Validate(); err != nil { + invalidParams.AddNested("Reference", err.(request.ErrInvalidParams)) + } + } + if s.SseConfig != nil { + if err := s.SseConfig.Validate(); err != nil { + invalidParams.AddNested("SseConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateVariantStoreInput) SetDescription(v string) *CreateVariantStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateVariantStoreInput) SetName(v string) *CreateVariantStoreInput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *CreateVariantStoreInput) SetReference(v *ReferenceItem) *CreateVariantStoreInput { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *CreateVariantStoreInput) SetSseConfig(v *SseConfig) *CreateVariantStoreInput { + s.SseConfig = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateVariantStoreInput) SetTags(v map[string]*string) *CreateVariantStoreInput { + s.Tags = v + return s +} + +type CreateVariantStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + Reference *ReferenceItem `locationName:"reference" type:"structure"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVariantStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVariantStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CreateVariantStoreOutput) SetCreationTime(v time.Time) *CreateVariantStoreOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateVariantStoreOutput) SetId(v string) *CreateVariantStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateVariantStoreOutput) SetName(v string) *CreateVariantStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *CreateVariantStoreOutput) SetReference(v *ReferenceItem) *CreateVariantStoreOutput { + s.Reference = v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateVariantStoreOutput) SetStatus(v string) *CreateVariantStoreOutput { + s.Status = &v + return s +} + +type CreateWorkflowInput struct { + _ struct{} `type:"structure"` + + // The URI of a definition for the workflow. + DefinitionUri *string `locationName:"definitionUri" min:"1" type:"string"` + + // A ZIP archive for the workflow. + // DefinitionZip is automatically base64 encoded/decoded by the SDK. + DefinitionZip []byte `locationName:"definitionZip" type:"blob"` + + // A description for the workflow. + Description *string `locationName:"description" min:"1" type:"string"` + + // An engine for the workflow. + Engine *string `locationName:"engine" min:"1" type:"string" enum:"WorkflowEngine"` + + // The path of the main definition file for the workflow. + Main *string `locationName:"main" min:"1" type:"string"` + + // A name for the workflow. + Name *string `locationName:"name" min:"1" type:"string"` + + // A parameter template for the workflow. + ParameterTemplate map[string]*WorkflowParameter `locationName:"parameterTemplate" min:"1" type:"map"` + + // A request ID for the workflow. + RequestId *string `locationName:"requestId" min:"1" type:"string" idempotencyToken:"true"` + + // A storage capacity for the workflow. + StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` + + // Tags for the workflow. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkflowInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateWorkflowInput"} + if s.DefinitionUri != nil && len(*s.DefinitionUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DefinitionUri", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Engine != nil && len(*s.Engine) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Engine", 1)) + } + if s.Main != nil && len(*s.Main) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Main", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ParameterTemplate != nil && len(s.ParameterTemplate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParameterTemplate", 1)) + } + if s.RequestId != nil && len(*s.RequestId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RequestId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefinitionUri sets the DefinitionUri field's value. +func (s *CreateWorkflowInput) SetDefinitionUri(v string) *CreateWorkflowInput { + s.DefinitionUri = &v + return s +} + +// SetDefinitionZip sets the DefinitionZip field's value. +func (s *CreateWorkflowInput) SetDefinitionZip(v []byte) *CreateWorkflowInput { + s.DefinitionZip = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput { + s.Description = &v + return s +} + +// SetEngine sets the Engine field's value. +func (s *CreateWorkflowInput) SetEngine(v string) *CreateWorkflowInput { + s.Engine = &v + return s +} + +// SetMain sets the Main field's value. +func (s *CreateWorkflowInput) SetMain(v string) *CreateWorkflowInput { + s.Main = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput { + s.Name = &v + return s +} + +// SetParameterTemplate sets the ParameterTemplate field's value. +func (s *CreateWorkflowInput) SetParameterTemplate(v map[string]*WorkflowParameter) *CreateWorkflowInput { + s.ParameterTemplate = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateWorkflowInput) SetRequestId(v string) *CreateWorkflowInput { + s.RequestId = &v + return s +} + +// SetStorageCapacity sets the StorageCapacity field's value. +func (s *CreateWorkflowInput) SetStorageCapacity(v int64) *CreateWorkflowInput { + s.StorageCapacity = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateWorkflowInput) SetTags(v map[string]*string) *CreateWorkflowInput { + s.Tags = v + return s +} + +type CreateWorkflowOutput struct { + _ struct{} `type:"structure"` + + // The workflow's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // The workflow's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The workflow's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"WorkflowStatus"` + + // The workflow's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkflowOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkflowOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateWorkflowOutput) SetArn(v string) *CreateWorkflowOutput { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateWorkflowOutput) SetId(v string) *CreateWorkflowOutput { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateWorkflowOutput) SetStatus(v string) *CreateWorkflowOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateWorkflowOutput) SetTags(v map[string]*string) *CreateWorkflowOutput { + s.Tags = v + return s +} + +type DeleteAnnotationStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Whether to force deletion. + Force *bool `location:"querystring" locationName:"force" type:"boolean"` + + // The store's name. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAnnotationStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAnnotationStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAnnotationStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAnnotationStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForce sets the Force field's value. +func (s *DeleteAnnotationStoreInput) SetForce(v bool) *DeleteAnnotationStoreInput { + s.Force = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteAnnotationStoreInput) SetName(v string) *DeleteAnnotationStoreInput { + s.Name = &v + return s +} + +type DeleteAnnotationStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAnnotationStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAnnotationStoreOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *DeleteAnnotationStoreOutput) SetStatus(v string) *DeleteAnnotationStoreOutput { + s.Status = &v + return s +} + +type DeleteReferenceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The reference's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The reference's store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteReferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteReferenceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteReferenceInput) SetId(v string) *DeleteReferenceInput { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *DeleteReferenceInput) SetReferenceStoreId(v string) *DeleteReferenceInput { + s.ReferenceStoreId = &v + return s +} + +type DeleteReferenceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceOutput) GoString() string { + return s.String() +} + +type DeleteReferenceStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteReferenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteReferenceStoreInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteReferenceStoreInput) SetId(v string) *DeleteReferenceStoreInput { + s.Id = &v + return s +} + +type DeleteReferenceStoreOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReferenceStoreOutput) GoString() string { + return s.String() +} + +type DeleteRunGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run group's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteRunGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteRunGroupInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteRunGroupInput) SetId(v string) *DeleteRunGroupInput { + s.Id = &v + return s +} + +type DeleteRunGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunGroupOutput) GoString() string { + return s.String() +} + +type DeleteRunInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteRunInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteRunInput) SetId(v string) *DeleteRunInput { + s.Id = &v + return s +} + +type DeleteRunOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteRunOutput) GoString() string { + return s.String() +} + +type DeleteSequenceStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The sequence store's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSequenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSequenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSequenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSequenceStoreInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteSequenceStoreInput) SetId(v string) *DeleteSequenceStoreInput { + s.Id = &v + return s +} + +type DeleteSequenceStoreOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSequenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSequenceStoreOutput) GoString() string { + return s.String() +} + +type DeleteVariantStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Whether to force deletion. + Force *bool `location:"querystring" locationName:"force" type:"boolean"` + + // The store's name. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVariantStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVariantStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVariantStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVariantStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForce sets the Force field's value. +func (s *DeleteVariantStoreInput) SetForce(v bool) *DeleteVariantStoreInput { + s.Force = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteVariantStoreInput) SetName(v string) *DeleteVariantStoreInput { + s.Name = &v + return s +} + +type DeleteVariantStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVariantStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVariantStoreOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *DeleteVariantStoreOutput) SetStatus(v string) *DeleteVariantStoreOutput { + s.Status = &v + return s +} + +type DeleteWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The workflow's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWorkflowInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteWorkflowInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteWorkflowInput) SetId(v string) *DeleteWorkflowInput { + s.Id = &v + return s +} + +type DeleteWorkflowOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWorkflowOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWorkflowOutput) GoString() string { + return s.String() +} + +// A read set. +type ExportReadSet struct { + _ struct{} `type:"structure"` + + // The set's ID. + // + // ReadSetId is a required field + ReadSetId *string `locationName:"readSetId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSet) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSet) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExportReadSet) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExportReadSet"} + if s.ReadSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ReadSetId")) + } + if s.ReadSetId != nil && len(*s.ReadSetId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReadSetId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReadSetId sets the ReadSetId field's value. +func (s *ExportReadSet) SetReadSetId(v string) *ExportReadSet { + s.ReadSetId = &v + return s +} + +// Details about a read set. +type ExportReadSetDetail struct { + _ struct{} `type:"structure"` + + // The set's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The set's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetExportJobItemStatus"` + + // The set's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetDetail) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ExportReadSetDetail) SetId(v string) *ExportReadSetDetail { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ExportReadSetDetail) SetStatus(v string) *ExportReadSetDetail { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ExportReadSetDetail) SetStatusMessage(v string) *ExportReadSetDetail { + s.StatusMessage = &v + return s +} + +// An read set export job filter. +type ExportReadSetFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"ReadSetExportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetFilter) GoString() string { + return s.String() +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ExportReadSetFilter) SetCreatedAfter(v time.Time) *ExportReadSetFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ExportReadSetFilter) SetCreatedBefore(v time.Time) *ExportReadSetFilter { + s.CreatedBefore = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ExportReadSetFilter) SetStatus(v string) *ExportReadSetFilter { + s.Status = &v + return s +} + +// Details about a read set export job. +type ExportReadSetJobDetail struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination in Amazon S3. + // + // Destination is a required field + Destination *string `locationName:"destination" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetExportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetJobDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ExportReadSetJobDetail) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *ExportReadSetJobDetail) SetCompletionTime(v time.Time) *ExportReadSetJobDetail { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ExportReadSetJobDetail) SetCreationTime(v time.Time) *ExportReadSetJobDetail { + s.CreationTime = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *ExportReadSetJobDetail) SetDestination(v string) *ExportReadSetJobDetail { + s.Destination = &v + return s +} + +// SetId sets the Id field's value. +func (s *ExportReadSetJobDetail) SetId(v string) *ExportReadSetJobDetail { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ExportReadSetJobDetail) SetSequenceStoreId(v string) *ExportReadSetJobDetail { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ExportReadSetJobDetail) SetStatus(v string) *ExportReadSetJobDetail { + s.Status = &v + return s +} + +// Details about a file. +type FileInformation struct { + _ struct{} `type:"structure"` + + // The file's content length. + ContentLength *int64 `locationName:"contentLength" min:"1" type:"long"` + + // The file's part size. + PartSize *int64 `locationName:"partSize" min:"1" type:"long"` + + // The file's total parts. + TotalParts *int64 `locationName:"totalParts" min:"1" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FileInformation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FileInformation) GoString() string { + return s.String() +} + +// SetContentLength sets the ContentLength field's value. +func (s *FileInformation) SetContentLength(v int64) *FileInformation { + s.ContentLength = &v + return s +} + +// SetPartSize sets the PartSize field's value. +func (s *FileInformation) SetPartSize(v int64) *FileInformation { + s.PartSize = &v + return s +} + +// SetTotalParts sets the TotalParts field's value. +func (s *FileInformation) SetTotalParts(v int64) *FileInformation { + s.TotalParts = &v + return s +} + +// Formatting options for a file. +type FormatOptions struct { + _ struct{} `type:"structure"` + + // Options for a TSV file. + TsvOptions *TsvOptions `locationName:"tsvOptions" type:"structure"` + + // Options for a VCF file. + VcfOptions *VcfOptions `locationName:"vcfOptions" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FormatOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FormatOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FormatOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FormatOptions"} + if s.TsvOptions != nil { + if err := s.TsvOptions.Validate(); err != nil { + invalidParams.AddNested("TsvOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTsvOptions sets the TsvOptions field's value. +func (s *FormatOptions) SetTsvOptions(v *TsvOptions) *FormatOptions { + s.TsvOptions = v + return s +} + +// SetVcfOptions sets the VcfOptions field's value. +func (s *FormatOptions) SetVcfOptions(v *VcfOptions) *FormatOptions { + s.VcfOptions = v + return s +} + +type GetAnnotationImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAnnotationImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAnnotationImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetAnnotationImportJobInput) SetJobId(v string) *GetAnnotationImportJobInput { + s.JobId = &v + return s +} + +type GetAnnotationImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + // + // CompletionTime is a required field + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination annotation store. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" min:"3" type:"string" required:"true"` + + // Formatting options for a file. + // + // FormatOptions is a required field + FormatOptions *FormatOptions `locationName:"formatOptions" type:"structure" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The job's imported items. + // + // Items is a required field + Items []*AnnotationImportItemDetail `locationName:"items" min:"1" type:"list" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + // + // RunLeftNormalization is a required field + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + + // The job's status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // When the job was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationImportJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetAnnotationImportJobOutput) SetCompletionTime(v time.Time) *GetAnnotationImportJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetAnnotationImportJobOutput) SetCreationTime(v time.Time) *GetAnnotationImportJobOutput { + s.CreationTime = &v + return s +} + +// SetDestinationName sets the DestinationName field's value. +func (s *GetAnnotationImportJobOutput) SetDestinationName(v string) *GetAnnotationImportJobOutput { + s.DestinationName = &v + return s +} + +// SetFormatOptions sets the FormatOptions field's value. +func (s *GetAnnotationImportJobOutput) SetFormatOptions(v *FormatOptions) *GetAnnotationImportJobOutput { + s.FormatOptions = v + return s +} + +// SetId sets the Id field's value. +func (s *GetAnnotationImportJobOutput) SetId(v string) *GetAnnotationImportJobOutput { + s.Id = &v + return s +} + +// SetItems sets the Items field's value. +func (s *GetAnnotationImportJobOutput) SetItems(v []*AnnotationImportItemDetail) *GetAnnotationImportJobOutput { + s.Items = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetAnnotationImportJobOutput) SetRoleArn(v string) *GetAnnotationImportJobOutput { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *GetAnnotationImportJobOutput) SetRunLeftNormalization(v bool) *GetAnnotationImportJobOutput { + s.RunLeftNormalization = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetAnnotationImportJobOutput) SetStatus(v string) *GetAnnotationImportJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetAnnotationImportJobOutput) SetStatusMessage(v string) *GetAnnotationImportJobOutput { + s.StatusMessage = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetAnnotationImportJobOutput) SetUpdateTime(v time.Time) *GetAnnotationImportJobOutput { + s.UpdateTime = &v + return s +} + +type GetAnnotationStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The store's name. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAnnotationStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAnnotationStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetAnnotationStoreInput) SetName(v string) *GetAnnotationStoreInput { + s.Name = &v + return s +} + +type GetAnnotationStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's server-side encryption (SSE) settings. + // + // SseConfig is a required field + SseConfig *SseConfig `locationName:"sseConfig" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // A status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store's ARN. + // + // StoreArn is a required field + StoreArn *string `locationName:"storeArn" min:"20" type:"string" required:"true"` + + // The store's annotation file format. + StoreFormat *string `locationName:"storeFormat" type:"string" enum:"StoreFormat"` + + // The store's parsing options. + StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` + + // The store's size in bytes. + // + // StoreSizeBytes is a required field + StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + + // The store's tags. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAnnotationStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetAnnotationStoreOutput) SetCreationTime(v time.Time) *GetAnnotationStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetAnnotationStoreOutput) SetDescription(v string) *GetAnnotationStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetAnnotationStoreOutput) SetId(v string) *GetAnnotationStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetAnnotationStoreOutput) SetName(v string) *GetAnnotationStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *GetAnnotationStoreOutput) SetReference(v *ReferenceItem) *GetAnnotationStoreOutput { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *GetAnnotationStoreOutput) SetSseConfig(v *SseConfig) *GetAnnotationStoreOutput { + s.SseConfig = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetAnnotationStoreOutput) SetStatus(v string) *GetAnnotationStoreOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetAnnotationStoreOutput) SetStatusMessage(v string) *GetAnnotationStoreOutput { + s.StatusMessage = &v + return s +} + +// SetStoreArn sets the StoreArn field's value. +func (s *GetAnnotationStoreOutput) SetStoreArn(v string) *GetAnnotationStoreOutput { + s.StoreArn = &v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *GetAnnotationStoreOutput) SetStoreFormat(v string) *GetAnnotationStoreOutput { + s.StoreFormat = &v + return s +} + +// SetStoreOptions sets the StoreOptions field's value. +func (s *GetAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *GetAnnotationStoreOutput { + s.StoreOptions = v + return s +} + +// SetStoreSizeBytes sets the StoreSizeBytes field's value. +func (s *GetAnnotationStoreOutput) SetStoreSizeBytes(v int64) *GetAnnotationStoreOutput { + s.StoreSizeBytes = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetAnnotationStoreOutput) SetTags(v map[string]*string) *GetAnnotationStoreOutput { + s.Tags = v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetAnnotationStoreOutput) SetUpdateTime(v time.Time) *GetAnnotationStoreOutput { + s.UpdateTime = &v + return s +} + +type GetReadSetActivationJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetActivationJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetActivationJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReadSetActivationJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReadSetActivationJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReadSetActivationJobInput) SetId(v string) *GetReadSetActivationJobInput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetActivationJobInput) SetSequenceStoreId(v string) *GetReadSetActivationJobInput { + s.SequenceStoreId = &v + return s +} + +type GetReadSetActivationJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's sources. + Sources []*ActivateReadSetSourceItem `locationName:"sources" type:"list"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetActivationJobStatus"` + + // The job's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetActivationJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetActivationJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetReadSetActivationJobOutput) SetCompletionTime(v time.Time) *GetReadSetActivationJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReadSetActivationJobOutput) SetCreationTime(v time.Time) *GetReadSetActivationJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReadSetActivationJobOutput) SetId(v string) *GetReadSetActivationJobOutput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetActivationJobOutput) SetSequenceStoreId(v string) *GetReadSetActivationJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *GetReadSetActivationJobOutput) SetSources(v []*ActivateReadSetSourceItem) *GetReadSetActivationJobOutput { + s.Sources = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReadSetActivationJobOutput) SetStatus(v string) *GetReadSetActivationJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetReadSetActivationJobOutput) SetStatusMessage(v string) *GetReadSetActivationJobOutput { + s.StatusMessage = &v + return s +} + +type GetReadSetExportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetExportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetExportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReadSetExportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReadSetExportJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReadSetExportJobInput) SetId(v string) *GetReadSetExportJobInput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetExportJobInput) SetSequenceStoreId(v string) *GetReadSetExportJobInput { + s.SequenceStoreId = &v + return s +} + +type GetReadSetExportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination in Amazon S3. + // + // Destination is a required field + Destination *string `locationName:"destination" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's read sets. + ReadSets []*ExportReadSetDetail `locationName:"readSets" type:"list"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetExportJobStatus"` + + // The job's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetExportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetExportJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetReadSetExportJobOutput) SetCompletionTime(v time.Time) *GetReadSetExportJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReadSetExportJobOutput) SetCreationTime(v time.Time) *GetReadSetExportJobOutput { + s.CreationTime = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *GetReadSetExportJobOutput) SetDestination(v string) *GetReadSetExportJobOutput { + s.Destination = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReadSetExportJobOutput) SetId(v string) *GetReadSetExportJobOutput { + s.Id = &v + return s +} + +// SetReadSets sets the ReadSets field's value. +func (s *GetReadSetExportJobOutput) SetReadSets(v []*ExportReadSetDetail) *GetReadSetExportJobOutput { + s.ReadSets = v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetExportJobOutput) SetSequenceStoreId(v string) *GetReadSetExportJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReadSetExportJobOutput) SetStatus(v string) *GetReadSetExportJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetReadSetExportJobOutput) SetStatusMessage(v string) *GetReadSetExportJobOutput { + s.StatusMessage = &v + return s +} + +type GetReadSetImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReadSetImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReadSetImportJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReadSetImportJobInput) SetId(v string) *GetReadSetImportJobInput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetImportJobInput) SetSequenceStoreId(v string) *GetReadSetImportJobInput { + s.SequenceStoreId = &v + return s +} + +type GetReadSetImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's sources. + // + // Sources is a required field + Sources []*ImportReadSetSourceItem `locationName:"sources" type:"list" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetImportJobStatus"` + + // The job's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetImportJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetReadSetImportJobOutput) SetCompletionTime(v time.Time) *GetReadSetImportJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReadSetImportJobOutput) SetCreationTime(v time.Time) *GetReadSetImportJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReadSetImportJobOutput) SetId(v string) *GetReadSetImportJobOutput { + s.Id = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetReadSetImportJobOutput) SetRoleArn(v string) *GetReadSetImportJobOutput { + s.RoleArn = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetImportJobOutput) SetSequenceStoreId(v string) *GetReadSetImportJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *GetReadSetImportJobOutput) SetSources(v []*ImportReadSetSourceItem) *GetReadSetImportJobOutput { + s.Sources = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReadSetImportJobOutput) SetStatus(v string) *GetReadSetImportJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetReadSetImportJobOutput) SetStatusMessage(v string) *GetReadSetImportJobOutput { + s.StatusMessage = &v + return s +} + +type GetReadSetInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The file to retrieve. + File *string `location:"querystring" locationName:"file" type:"string" enum:"ReadSetFile"` + + // The read set's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The part number to retrieve. + // + // PartNumber is a required field + PartNumber *int64 `location:"querystring" locationName:"partNumber" min:"1" type:"integer" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReadSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReadSetInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.PartNumber == nil { + invalidParams.Add(request.NewErrParamRequired("PartNumber")) + } + if s.PartNumber != nil && *s.PartNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("PartNumber", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFile sets the File field's value. +func (s *GetReadSetInput) SetFile(v string) *GetReadSetInput { + s.File = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReadSetInput) SetId(v string) *GetReadSetInput { + s.Id = &v + return s +} + +// SetPartNumber sets the PartNumber field's value. +func (s *GetReadSetInput) SetPartNumber(v int64) *GetReadSetInput { + s.PartNumber = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetInput) SetSequenceStoreId(v string) *GetReadSetInput { + s.SequenceStoreId = &v + return s +} + +type GetReadSetMetadataInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The read set's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetMetadataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetMetadataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReadSetMetadataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReadSetMetadataInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReadSetMetadataInput) SetId(v string) *GetReadSetMetadataInput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetMetadataInput) SetSequenceStoreId(v string) *GetReadSetMetadataInput { + s.SequenceStoreId = &v + return s +} + +type GetReadSetMetadataOutput struct { + _ struct{} `type:"structure"` + + // The read set's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the read set was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The read set's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The read set's file type. + // + // FileType is a required field + FileType *string `locationName:"fileType" type:"string" required:"true" enum:"FileType"` + + // The read set's files. + Files *ReadSetFiles `locationName:"files" type:"structure"` + + // The read set's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The read set's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The read set's genome reference ARN. + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string"` + + // The read set's sample ID. + SampleId *string `locationName:"sampleId" min:"1" type:"string"` + + // The read set's sequence information. + SequenceInformation *SequenceInformation `locationName:"sequenceInformation" type:"structure"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The read set's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetStatus"` + + // The read set's subject ID. + SubjectId *string `locationName:"subjectId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetMetadataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetMetadataOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetReadSetMetadataOutput) SetArn(v string) *GetReadSetMetadataOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReadSetMetadataOutput) SetCreationTime(v time.Time) *GetReadSetMetadataOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetReadSetMetadataOutput) SetDescription(v string) *GetReadSetMetadataOutput { + s.Description = &v + return s +} + +// SetFileType sets the FileType field's value. +func (s *GetReadSetMetadataOutput) SetFileType(v string) *GetReadSetMetadataOutput { + s.FileType = &v + return s +} + +// SetFiles sets the Files field's value. +func (s *GetReadSetMetadataOutput) SetFiles(v *ReadSetFiles) *GetReadSetMetadataOutput { + s.Files = v + return s +} + +// SetId sets the Id field's value. +func (s *GetReadSetMetadataOutput) SetId(v string) *GetReadSetMetadataOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetReadSetMetadataOutput) SetName(v string) *GetReadSetMetadataOutput { + s.Name = &v + return s +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *GetReadSetMetadataOutput) SetReferenceArn(v string) *GetReadSetMetadataOutput { + s.ReferenceArn = &v + return s +} + +// SetSampleId sets the SampleId field's value. +func (s *GetReadSetMetadataOutput) SetSampleId(v string) *GetReadSetMetadataOutput { + s.SampleId = &v + return s +} + +// SetSequenceInformation sets the SequenceInformation field's value. +func (s *GetReadSetMetadataOutput) SetSequenceInformation(v *SequenceInformation) *GetReadSetMetadataOutput { + s.SequenceInformation = v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *GetReadSetMetadataOutput) SetSequenceStoreId(v string) *GetReadSetMetadataOutput { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReadSetMetadataOutput) SetStatus(v string) *GetReadSetMetadataOutput { + s.Status = &v + return s +} + +// SetSubjectId sets the SubjectId field's value. +func (s *GetReadSetMetadataOutput) SetSubjectId(v string) *GetReadSetMetadataOutput { + s.SubjectId = &v + return s +} + +type GetReadSetOutput struct { + _ struct{} `type:"structure" payload:"Payload"` + + // The read set file payload. + Payload io.ReadCloser `locationName:"payload" type:"blob"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReadSetOutput) GoString() string { + return s.String() +} + +// SetPayload sets the Payload field's value. +func (s *GetReadSetOutput) SetPayload(v io.ReadCloser) *GetReadSetOutput { + s.Payload = v + return s +} + +type GetReferenceImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReferenceImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReferenceImportJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReferenceImportJobInput) SetId(v string) *GetReferenceImportJobInput { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *GetReferenceImportJobInput) SetReferenceStoreId(v string) *GetReferenceImportJobInput { + s.ReferenceStoreId = &v + return s +} + +type GetReferenceImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's sources. + // + // Sources is a required field + Sources []*ImportReferenceSourceItem `locationName:"sources" type:"list" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReferenceImportJobStatus"` + + // The job's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceImportJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetReferenceImportJobOutput) SetCompletionTime(v time.Time) *GetReferenceImportJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReferenceImportJobOutput) SetCreationTime(v time.Time) *GetReferenceImportJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReferenceImportJobOutput) SetId(v string) *GetReferenceImportJobOutput { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *GetReferenceImportJobOutput) SetReferenceStoreId(v string) *GetReferenceImportJobOutput { + s.ReferenceStoreId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetReferenceImportJobOutput) SetRoleArn(v string) *GetReferenceImportJobOutput { + s.RoleArn = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *GetReferenceImportJobOutput) SetSources(v []*ImportReferenceSourceItem) *GetReferenceImportJobOutput { + s.Sources = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReferenceImportJobOutput) SetStatus(v string) *GetReferenceImportJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetReferenceImportJobOutput) SetStatusMessage(v string) *GetReferenceImportJobOutput { + s.StatusMessage = &v + return s +} + +type GetReferenceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The file to retrieve. + File *string `location:"querystring" locationName:"file" type:"string" enum:"ReferenceFile"` + + // The reference's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The part number to retrieve. + // + // PartNumber is a required field + PartNumber *int64 `location:"querystring" locationName:"partNumber" min:"1" type:"integer" required:"true"` + + // The range to retrieve. + Range *string `location:"header" locationName:"Range" min:"1" type:"string"` + + // The reference's store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReferenceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.PartNumber == nil { + invalidParams.Add(request.NewErrParamRequired("PartNumber")) + } + if s.PartNumber != nil && *s.PartNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("PartNumber", 1)) + } + if s.Range != nil && len(*s.Range) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Range", 1)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFile sets the File field's value. +func (s *GetReferenceInput) SetFile(v string) *GetReferenceInput { + s.File = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReferenceInput) SetId(v string) *GetReferenceInput { + s.Id = &v + return s +} + +// SetPartNumber sets the PartNumber field's value. +func (s *GetReferenceInput) SetPartNumber(v int64) *GetReferenceInput { + s.PartNumber = &v + return s +} + +// SetRange sets the Range field's value. +func (s *GetReferenceInput) SetRange(v string) *GetReferenceInput { + s.Range = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *GetReferenceInput) SetReferenceStoreId(v string) *GetReferenceInput { + s.ReferenceStoreId = &v + return s +} + +type GetReferenceMetadataInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The reference's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` + + // The reference's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceMetadataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceMetadataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReferenceMetadataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReferenceMetadataInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReferenceMetadataInput) SetId(v string) *GetReferenceMetadataInput { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *GetReferenceMetadataInput) SetReferenceStoreId(v string) *GetReferenceMetadataInput { + s.ReferenceStoreId = &v + return s +} + +type GetReferenceMetadataOutput struct { + _ struct{} `type:"structure"` + + // The reference's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the reference was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The reference's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The reference's files. + Files *ReferenceFiles `locationName:"files" type:"structure"` + + // The reference's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The reference's MD5 checksum. + // + // Md5 is a required field + Md5 *string `locationName:"md5" min:"1" type:"string" required:"true"` + + // The reference's name. + Name *string `locationName:"name" min:"3" type:"string"` + + // The reference's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // The reference's status. + Status *string `locationName:"status" type:"string" enum:"ReferenceStatus"` + + // When the reference was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceMetadataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceMetadataOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetReferenceMetadataOutput) SetArn(v string) *GetReferenceMetadataOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReferenceMetadataOutput) SetCreationTime(v time.Time) *GetReferenceMetadataOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetReferenceMetadataOutput) SetDescription(v string) *GetReferenceMetadataOutput { + s.Description = &v + return s +} + +// SetFiles sets the Files field's value. +func (s *GetReferenceMetadataOutput) SetFiles(v *ReferenceFiles) *GetReferenceMetadataOutput { + s.Files = v + return s +} + +// SetId sets the Id field's value. +func (s *GetReferenceMetadataOutput) SetId(v string) *GetReferenceMetadataOutput { + s.Id = &v + return s +} + +// SetMd5 sets the Md5 field's value. +func (s *GetReferenceMetadataOutput) SetMd5(v string) *GetReferenceMetadataOutput { + s.Md5 = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetReferenceMetadataOutput) SetName(v string) *GetReferenceMetadataOutput { + s.Name = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *GetReferenceMetadataOutput) SetReferenceStoreId(v string) *GetReferenceMetadataOutput { + s.ReferenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetReferenceMetadataOutput) SetStatus(v string) *GetReferenceMetadataOutput { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetReferenceMetadataOutput) SetUpdateTime(v time.Time) *GetReferenceMetadataOutput { + s.UpdateTime = &v + return s +} + +type GetReferenceOutput struct { + _ struct{} `type:"structure" payload:"Payload"` + + // The reference file payload. + Payload io.ReadCloser `locationName:"payload" type:"blob"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceOutput) GoString() string { + return s.String() +} + +// SetPayload sets the Payload field's value. +func (s *GetReferenceOutput) SetPayload(v io.ReadCloser) *GetReferenceOutput { + s.Payload = v + return s +} + +type GetReferenceStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReferenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReferenceStoreInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetReferenceStoreInput) SetId(v string) *GetReferenceStoreInput { + s.Id = &v + return s +} + +type GetReferenceStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's server-side encryption (SSE) settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReferenceStoreOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetReferenceStoreOutput) SetArn(v string) *GetReferenceStoreOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetReferenceStoreOutput) SetCreationTime(v time.Time) *GetReferenceStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetReferenceStoreOutput) SetDescription(v string) *GetReferenceStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetReferenceStoreOutput) SetId(v string) *GetReferenceStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetReferenceStoreOutput) SetName(v string) *GetReferenceStoreOutput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *GetReferenceStoreOutput) SetSseConfig(v *SseConfig) *GetReferenceStoreOutput { + s.SseConfig = v + return s +} + +type GetRunGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The group's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRunGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRunGroupInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetRunGroupInput) SetId(v string) *GetRunGroupInput { + s.Id = &v + return s +} + +type GetRunGroupOutput struct { + _ struct{} `type:"structure"` + + // The group's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the group was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The group's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The group's maximum number of CPUs to use. + MaxCpus *int64 `locationName:"maxCpus" min:"1" type:"integer"` + + // The group's maximum run duration. + MaxDuration *int64 `locationName:"maxDuration" min:"1" type:"integer"` + + // The maximum number of concurrent runs for the group. + MaxRuns *int64 `locationName:"maxRuns" min:"1" type:"integer"` + + // The group's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The group's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunGroupOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetRunGroupOutput) SetArn(v string) *GetRunGroupOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetRunGroupOutput) SetCreationTime(v time.Time) *GetRunGroupOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetRunGroupOutput) SetId(v string) *GetRunGroupOutput { + s.Id = &v + return s +} + +// SetMaxCpus sets the MaxCpus field's value. +func (s *GetRunGroupOutput) SetMaxCpus(v int64) *GetRunGroupOutput { + s.MaxCpus = &v + return s +} + +// SetMaxDuration sets the MaxDuration field's value. +func (s *GetRunGroupOutput) SetMaxDuration(v int64) *GetRunGroupOutput { + s.MaxDuration = &v + return s +} + +// SetMaxRuns sets the MaxRuns field's value. +func (s *GetRunGroupOutput) SetMaxRuns(v int64) *GetRunGroupOutput { + s.MaxRuns = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetRunGroupOutput) SetName(v string) *GetRunGroupOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetRunGroupOutput) SetTags(v map[string]*string) *GetRunGroupOutput { + s.Tags = v + return s +} + +type GetRunInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run's export format. + Export []*string `location:"querystring" locationName:"export" type:"list" enum:"RunExport"` + + // The run's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRunInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExport sets the Export field's value. +func (s *GetRunInput) SetExport(v []*string) *GetRunInput { + s.Export = v + return s +} + +// SetId sets the Id field's value. +func (s *GetRunInput) SetId(v string) *GetRunInput { + s.Id = &v + return s +} + +type GetRunOutput struct { + _ struct{} `type:"structure"` + + // The run's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the run was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The run's definition. + Definition *string `locationName:"definition" min:"1" type:"string"` + + // The run's digest. + Digest *string `locationName:"digest" min:"1" type:"string"` + + // The run's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The run's log level. + LogLevel *string `locationName:"logLevel" min:"1" type:"string" enum:"RunLogLevel"` + + // The run's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The run's output URI. + OutputUri *string `locationName:"outputUri" min:"1" type:"string"` + + // The run's priority. + Priority *int64 `locationName:"priority" type:"integer"` + + // The run's resource digests. + ResourceDigests map[string]*string `locationName:"resourceDigests" type:"map"` + + // The run's service role ARN. + RoleArn *string `locationName:"roleArn" min:"1" type:"string"` + + // The run's group ID. + RunGroupId *string `locationName:"runGroupId" min:"1" type:"string"` + + // The run's ID. + RunId *string `locationName:"runId" min:"1" type:"string"` + + // When the run started. + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` + + // Who started the run. + StartedBy *string `locationName:"startedBy" min:"1" type:"string"` + + // The run's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"RunStatus"` + + // The run's status message. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The run's stop time. + StopTime *time.Time `locationName:"stopTime" type:"timestamp" timestampFormat:"iso8601"` + + // The run's storage capacity. + StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` + + // The run's tags. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The run's workflow ID. + WorkflowId *string `locationName:"workflowId" min:"1" type:"string"` + + // The run's workflow type. + WorkflowType *string `locationName:"workflowType" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetRunOutput) SetArn(v string) *GetRunOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetRunOutput) SetCreationTime(v time.Time) *GetRunOutput { + s.CreationTime = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *GetRunOutput) SetDefinition(v string) *GetRunOutput { + s.Definition = &v + return s +} + +// SetDigest sets the Digest field's value. +func (s *GetRunOutput) SetDigest(v string) *GetRunOutput { + s.Digest = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetRunOutput) SetId(v string) *GetRunOutput { + s.Id = &v + return s +} + +// SetLogLevel sets the LogLevel field's value. +func (s *GetRunOutput) SetLogLevel(v string) *GetRunOutput { + s.LogLevel = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetRunOutput) SetName(v string) *GetRunOutput { + s.Name = &v + return s +} + +// SetOutputUri sets the OutputUri field's value. +func (s *GetRunOutput) SetOutputUri(v string) *GetRunOutput { + s.OutputUri = &v + return s +} + +// SetPriority sets the Priority field's value. +func (s *GetRunOutput) SetPriority(v int64) *GetRunOutput { + s.Priority = &v + return s +} + +// SetResourceDigests sets the ResourceDigests field's value. +func (s *GetRunOutput) SetResourceDigests(v map[string]*string) *GetRunOutput { + s.ResourceDigests = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetRunOutput) SetRoleArn(v string) *GetRunOutput { + s.RoleArn = &v + return s +} + +// SetRunGroupId sets the RunGroupId field's value. +func (s *GetRunOutput) SetRunGroupId(v string) *GetRunOutput { + s.RunGroupId = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *GetRunOutput) SetRunId(v string) *GetRunOutput { + s.RunId = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetRunOutput) SetStartTime(v time.Time) *GetRunOutput { + s.StartTime = &v + return s +} + +// SetStartedBy sets the StartedBy field's value. +func (s *GetRunOutput) SetStartedBy(v string) *GetRunOutput { + s.StartedBy = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetRunOutput) SetStatus(v string) *GetRunOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetRunOutput) SetStatusMessage(v string) *GetRunOutput { + s.StatusMessage = &v + return s +} + +// SetStopTime sets the StopTime field's value. +func (s *GetRunOutput) SetStopTime(v time.Time) *GetRunOutput { + s.StopTime = &v + return s +} + +// SetStorageCapacity sets the StorageCapacity field's value. +func (s *GetRunOutput) SetStorageCapacity(v int64) *GetRunOutput { + s.StorageCapacity = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetRunOutput) SetTags(v map[string]*string) *GetRunOutput { + s.Tags = v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetRunOutput) SetWorkflowId(v string) *GetRunOutput { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *GetRunOutput) SetWorkflowType(v string) *GetRunOutput { + s.WorkflowType = &v + return s +} + +type GetRunTaskInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The task's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` + + // The task's ID. + // + // TaskId is a required field + TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunTaskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRunTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRunTaskInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.TaskId == nil { + invalidParams.Add(request.NewErrParamRequired("TaskId")) + } + if s.TaskId != nil && len(*s.TaskId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetRunTaskInput) SetId(v string) *GetRunTaskInput { + s.Id = &v + return s +} + +// SetTaskId sets the TaskId field's value. +func (s *GetRunTaskInput) SetTaskId(v string) *GetRunTaskInput { + s.TaskId = &v + return s +} + +type GetRunTaskOutput struct { + _ struct{} `type:"structure"` + + // The task's CPU usage. + Cpus *int64 `locationName:"cpus" min:"1" type:"integer"` + + // When the task was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's log stream. + LogStream *string `locationName:"logStream" type:"string"` + + // The task's memory setting. + Memory *int64 `locationName:"memory" min:"1" type:"integer"` + + // The task's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The task's start time. + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"TaskStatus"` + + // The task's status message. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The task's stop time. + StopTime *time.Time `locationName:"stopTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's ID. + TaskId *string `locationName:"taskId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunTaskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRunTaskOutput) GoString() string { + return s.String() +} + +// SetCpus sets the Cpus field's value. +func (s *GetRunTaskOutput) SetCpus(v int64) *GetRunTaskOutput { + s.Cpus = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetRunTaskOutput) SetCreationTime(v time.Time) *GetRunTaskOutput { + s.CreationTime = &v + return s +} + +// SetLogStream sets the LogStream field's value. +func (s *GetRunTaskOutput) SetLogStream(v string) *GetRunTaskOutput { + s.LogStream = &v + return s +} + +// SetMemory sets the Memory field's value. +func (s *GetRunTaskOutput) SetMemory(v int64) *GetRunTaskOutput { + s.Memory = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetRunTaskOutput) SetName(v string) *GetRunTaskOutput { + s.Name = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetRunTaskOutput) SetStartTime(v time.Time) *GetRunTaskOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetRunTaskOutput) SetStatus(v string) *GetRunTaskOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetRunTaskOutput) SetStatusMessage(v string) *GetRunTaskOutput { + s.StatusMessage = &v + return s +} + +// SetStopTime sets the StopTime field's value. +func (s *GetRunTaskOutput) SetStopTime(v time.Time) *GetRunTaskOutput { + s.StopTime = &v + return s +} + +// SetTaskId sets the TaskId field's value. +func (s *GetRunTaskOutput) SetTaskId(v string) *GetRunTaskOutput { + s.TaskId = &v + return s +} + +type GetSequenceStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSequenceStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSequenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSequenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSequenceStoreInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetSequenceStoreInput) SetId(v string) *GetSequenceStoreInput { + s.Id = &v + return s +} + +type GetSequenceStoreOutput struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's server-side encryption (SSE) settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSequenceStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSequenceStoreOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetSequenceStoreOutput) SetArn(v string) *GetSequenceStoreOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetSequenceStoreOutput) SetCreationTime(v time.Time) *GetSequenceStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetSequenceStoreOutput) SetDescription(v string) *GetSequenceStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetSequenceStoreOutput) SetId(v string) *GetSequenceStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetSequenceStoreOutput) SetName(v string) *GetSequenceStoreOutput { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *GetSequenceStoreOutput) SetSseConfig(v *SseConfig) *GetSequenceStoreOutput { + s.SseConfig = v + return s +} + +type GetVariantImportJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The job's ID. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVariantImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVariantImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetVariantImportJobInput) SetJobId(v string) *GetVariantImportJobInput { + s.JobId = &v + return s +} + +type GetVariantImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination variant store. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" min:"3" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The job's items. + // + // Items is a required field + Items []*VariantImportItemDetail `locationName:"items" min:"1" type:"list" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + // + // RunLeftNormalization is a required field + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + + // The job's status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // When the job was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantImportJobOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetVariantImportJobOutput) SetCompletionTime(v time.Time) *GetVariantImportJobOutput { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetVariantImportJobOutput) SetCreationTime(v time.Time) *GetVariantImportJobOutput { + s.CreationTime = &v + return s +} + +// SetDestinationName sets the DestinationName field's value. +func (s *GetVariantImportJobOutput) SetDestinationName(v string) *GetVariantImportJobOutput { + s.DestinationName = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetVariantImportJobOutput) SetId(v string) *GetVariantImportJobOutput { + s.Id = &v + return s +} + +// SetItems sets the Items field's value. +func (s *GetVariantImportJobOutput) SetItems(v []*VariantImportItemDetail) *GetVariantImportJobOutput { + s.Items = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetVariantImportJobOutput) SetRoleArn(v string) *GetVariantImportJobOutput { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *GetVariantImportJobOutput) SetRunLeftNormalization(v bool) *GetVariantImportJobOutput { + s.RunLeftNormalization = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetVariantImportJobOutput) SetStatus(v string) *GetVariantImportJobOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetVariantImportJobOutput) SetStatusMessage(v string) *GetVariantImportJobOutput { + s.StatusMessage = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetVariantImportJobOutput) SetUpdateTime(v time.Time) *GetVariantImportJobOutput { + s.UpdateTime = &v + return s +} + +type GetVariantStoreInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The store's name. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVariantStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVariantStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetVariantStoreInput) SetName(v string) *GetVariantStoreInput { + s.Name = &v + return s +} + +type GetVariantStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's server-side encryption (SSE) settings. + // + // SseConfig is a required field + SseConfig *SseConfig `locationName:"sseConfig" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // The store's status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store's ARN. + // + // StoreArn is a required field + StoreArn *string `locationName:"storeArn" min:"20" type:"string" required:"true"` + + // The store's size in bytes. + // + // StoreSizeBytes is a required field + StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + + // The store's tags. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetVariantStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetVariantStoreOutput) SetCreationTime(v time.Time) *GetVariantStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetVariantStoreOutput) SetDescription(v string) *GetVariantStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetVariantStoreOutput) SetId(v string) *GetVariantStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetVariantStoreOutput) SetName(v string) *GetVariantStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *GetVariantStoreOutput) SetReference(v *ReferenceItem) *GetVariantStoreOutput { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *GetVariantStoreOutput) SetSseConfig(v *SseConfig) *GetVariantStoreOutput { + s.SseConfig = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetVariantStoreOutput) SetStatus(v string) *GetVariantStoreOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetVariantStoreOutput) SetStatusMessage(v string) *GetVariantStoreOutput { + s.StatusMessage = &v + return s +} + +// SetStoreArn sets the StoreArn field's value. +func (s *GetVariantStoreOutput) SetStoreArn(v string) *GetVariantStoreOutput { + s.StoreArn = &v + return s +} + +// SetStoreSizeBytes sets the StoreSizeBytes field's value. +func (s *GetVariantStoreOutput) SetStoreSizeBytes(v int64) *GetVariantStoreOutput { + s.StoreSizeBytes = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetVariantStoreOutput) SetTags(v map[string]*string) *GetVariantStoreOutput { + s.Tags = v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetVariantStoreOutput) SetUpdateTime(v time.Time) *GetVariantStoreOutput { + s.UpdateTime = &v + return s +} + +type GetWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The export format for the workflow. + Export []*string `location:"querystring" locationName:"export" type:"list" enum:"WorkflowExport"` + + // The workflow's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` + + // The workflow's type. + Type *string `location:"querystring" locationName:"type" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetWorkflowInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Type != nil && len(*s.Type) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Type", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExport sets the Export field's value. +func (s *GetWorkflowInput) SetExport(v []*string) *GetWorkflowInput { + s.Export = v + return s +} + +// SetId sets the Id field's value. +func (s *GetWorkflowInput) SetId(v string) *GetWorkflowInput { + s.Id = &v + return s +} + +// SetType sets the Type field's value. +func (s *GetWorkflowInput) SetType(v string) *GetWorkflowInput { + s.Type = &v + return s +} + +type GetWorkflowOutput struct { + _ struct{} `type:"structure"` + + // The workflow's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the workflow was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The workflow's definition. + Definition *string `locationName:"definition" min:"1" type:"string"` + + // The workflow's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The workflow's digest. + Digest *string `locationName:"digest" min:"1" type:"string"` + + // The workflow's engine. + Engine *string `locationName:"engine" min:"1" type:"string" enum:"WorkflowEngine"` + + // The workflow's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The path of the main definition file for the workflow. + Main *string `locationName:"main" min:"1" type:"string"` + + // The workflow's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The workflow's parameter template. + ParameterTemplate map[string]*WorkflowParameter `locationName:"parameterTemplate" min:"1" type:"map"` + + // The workflow's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"WorkflowStatus"` + + // The workflow's status message. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The workflow's storage capacity. + StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` + + // The workflow's tags. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The workflow's type. + Type *string `locationName:"type" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetWorkflowOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetWorkflowOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetWorkflowOutput) SetArn(v string) *GetWorkflowOutput { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetWorkflowOutput) SetCreationTime(v time.Time) *GetWorkflowOutput { + s.CreationTime = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *GetWorkflowOutput) SetDefinition(v string) *GetWorkflowOutput { + s.Definition = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetWorkflowOutput) SetDescription(v string) *GetWorkflowOutput { + s.Description = &v + return s +} + +// SetDigest sets the Digest field's value. +func (s *GetWorkflowOutput) SetDigest(v string) *GetWorkflowOutput { + s.Digest = &v + return s +} + +// SetEngine sets the Engine field's value. +func (s *GetWorkflowOutput) SetEngine(v string) *GetWorkflowOutput { + s.Engine = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetWorkflowOutput) SetId(v string) *GetWorkflowOutput { + s.Id = &v + return s +} + +// SetMain sets the Main field's value. +func (s *GetWorkflowOutput) SetMain(v string) *GetWorkflowOutput { + s.Main = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetWorkflowOutput) SetName(v string) *GetWorkflowOutput { + s.Name = &v + return s +} + +// SetParameterTemplate sets the ParameterTemplate field's value. +func (s *GetWorkflowOutput) SetParameterTemplate(v map[string]*WorkflowParameter) *GetWorkflowOutput { + s.ParameterTemplate = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetWorkflowOutput) SetStatus(v string) *GetWorkflowOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetWorkflowOutput) SetStatusMessage(v string) *GetWorkflowOutput { + s.StatusMessage = &v + return s +} + +// SetStorageCapacity sets the StorageCapacity field's value. +func (s *GetWorkflowOutput) SetStorageCapacity(v int64) *GetWorkflowOutput { + s.StorageCapacity = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetWorkflowOutput) SetTags(v map[string]*string) *GetWorkflowOutput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *GetWorkflowOutput) SetType(v string) *GetWorkflowOutput { + s.Type = &v + return s +} + +// A filter for import read set jobs. +type ImportReadSetFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"ReadSetImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetFilter) GoString() string { + return s.String() +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ImportReadSetFilter) SetCreatedAfter(v time.Time) *ImportReadSetFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ImportReadSetFilter) SetCreatedBefore(v time.Time) *ImportReadSetFilter { + s.CreatedBefore = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReadSetFilter) SetStatus(v string) *ImportReadSetFilter { + s.Status = &v + return s +} + +// An import read set job. +type ImportReadSetJobItem struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetJobItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetJobItem) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *ImportReadSetJobItem) SetCompletionTime(v time.Time) *ImportReadSetJobItem { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ImportReadSetJobItem) SetCreationTime(v time.Time) *ImportReadSetJobItem { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ImportReadSetJobItem) SetId(v string) *ImportReadSetJobItem { + s.Id = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ImportReadSetJobItem) SetRoleArn(v string) *ImportReadSetJobItem { + s.RoleArn = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ImportReadSetJobItem) SetSequenceStoreId(v string) *ImportReadSetJobItem { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReadSetJobItem) SetStatus(v string) *ImportReadSetJobItem { + s.Status = &v + return s +} + +// A source for an import read set job. +type ImportReadSetSourceItem struct { + _ struct{} `type:"structure"` + + // The source's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // Where the source originated. + GeneratedFrom *string `locationName:"generatedFrom" min:"1" type:"string"` + + // The source's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The source's genome reference ARN. + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string"` + + // The source's sample ID. + // + // SampleId is a required field + SampleId *string `locationName:"sampleId" min:"1" type:"string" required:"true"` + + // The source's file type. + // + // SourceFileType is a required field + SourceFileType *string `locationName:"sourceFileType" type:"string" required:"true" enum:"FileType"` + + // The source files' location in Amazon S3. + // + // SourceFiles is a required field + SourceFiles *SourceFiles `locationName:"sourceFiles" type:"structure" required:"true"` + + // The source's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetImportJobItemStatus"` + + // The source's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` + + // The source's subject ID. + // + // SubjectId is a required field + SubjectId *string `locationName:"subjectId" min:"1" type:"string" required:"true"` + + // The source's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReadSetSourceItem) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ImportReadSetSourceItem) SetDescription(v string) *ImportReadSetSourceItem { + s.Description = &v + return s +} + +// SetGeneratedFrom sets the GeneratedFrom field's value. +func (s *ImportReadSetSourceItem) SetGeneratedFrom(v string) *ImportReadSetSourceItem { + s.GeneratedFrom = &v + return s +} + +// SetName sets the Name field's value. +func (s *ImportReadSetSourceItem) SetName(v string) *ImportReadSetSourceItem { + s.Name = &v + return s +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *ImportReadSetSourceItem) SetReferenceArn(v string) *ImportReadSetSourceItem { + s.ReferenceArn = &v + return s +} + +// SetSampleId sets the SampleId field's value. +func (s *ImportReadSetSourceItem) SetSampleId(v string) *ImportReadSetSourceItem { + s.SampleId = &v + return s +} + +// SetSourceFileType sets the SourceFileType field's value. +func (s *ImportReadSetSourceItem) SetSourceFileType(v string) *ImportReadSetSourceItem { + s.SourceFileType = &v + return s +} + +// SetSourceFiles sets the SourceFiles field's value. +func (s *ImportReadSetSourceItem) SetSourceFiles(v *SourceFiles) *ImportReadSetSourceItem { + s.SourceFiles = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReadSetSourceItem) SetStatus(v string) *ImportReadSetSourceItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ImportReadSetSourceItem) SetStatusMessage(v string) *ImportReadSetSourceItem { + s.StatusMessage = &v + return s +} + +// SetSubjectId sets the SubjectId field's value. +func (s *ImportReadSetSourceItem) SetSubjectId(v string) *ImportReadSetSourceItem { + s.SubjectId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ImportReadSetSourceItem) SetTags(v map[string]*string) *ImportReadSetSourceItem { + s.Tags = v + return s +} + +// A filter for import references. +type ImportReferenceFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"ReferenceImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceFilter) GoString() string { + return s.String() +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ImportReferenceFilter) SetCreatedAfter(v time.Time) *ImportReferenceFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ImportReferenceFilter) SetCreatedBefore(v time.Time) *ImportReferenceFilter { + s.CreatedBefore = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReferenceFilter) SetStatus(v string) *ImportReferenceFilter { + s.Status = &v + return s +} + +// An import reference job. +type ImportReferenceJobItem struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReferenceImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceJobItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceJobItem) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *ImportReferenceJobItem) SetCompletionTime(v time.Time) *ImportReferenceJobItem { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ImportReferenceJobItem) SetCreationTime(v time.Time) *ImportReferenceJobItem { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ImportReferenceJobItem) SetId(v string) *ImportReferenceJobItem { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *ImportReferenceJobItem) SetReferenceStoreId(v string) *ImportReferenceJobItem { + s.ReferenceStoreId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ImportReferenceJobItem) SetRoleArn(v string) *ImportReferenceJobItem { + s.RoleArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReferenceJobItem) SetStatus(v string) *ImportReferenceJobItem { + s.Status = &v + return s +} + +// An genome reference source. +type ImportReferenceSourceItem struct { + _ struct{} `type:"structure"` + + // The source's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The source's name. + Name *string `locationName:"name" min:"3" type:"string"` + + // The source file's location in Amazon S3. + SourceFile *string `locationName:"sourceFile" type:"string"` + + // The source's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReferenceImportJobItemStatus"` + + // The source's status message. + StatusMessage *string `locationName:"statusMessage" min:"1" type:"string"` + + // The source's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportReferenceSourceItem) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ImportReferenceSourceItem) SetDescription(v string) *ImportReferenceSourceItem { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *ImportReferenceSourceItem) SetName(v string) *ImportReferenceSourceItem { + s.Name = &v + return s +} + +// SetSourceFile sets the SourceFile field's value. +func (s *ImportReferenceSourceItem) SetSourceFile(v string) *ImportReferenceSourceItem { + s.SourceFile = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportReferenceSourceItem) SetStatus(v string) *ImportReferenceSourceItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ImportReferenceSourceItem) SetStatusMessage(v string) *ImportReferenceSourceItem { + s.StatusMessage = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ImportReferenceSourceItem) SetTags(v map[string]*string) *ImportReferenceSourceItem { + s.Tags = v + return s +} + +// An unexpected error occurred. Try the request again. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A filter for annotation import jobs. +type ListAnnotationImportJobsFilter struct { + _ struct{} `type:"structure"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // A store name to filter on. + StoreName *string `locationName:"storeName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsFilter) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *ListAnnotationImportJobsFilter) SetStatus(v string) *ListAnnotationImportJobsFilter { + s.Status = &v + return s +} + +// SetStoreName sets the StoreName field's value. +func (s *ListAnnotationImportJobsFilter) SetStoreName(v string) *ListAnnotationImportJobsFilter { + s.StoreName = &v + return s +} + +type ListAnnotationImportJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ListAnnotationImportJobsFilter `locationName:"filter" type:"structure"` + + // IDs of annotation import jobs to retrieve. + Ids []*string `locationName:"ids" min:"1" type:"list"` + + // The maximum number of jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAnnotationImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAnnotationImportJobsInput"} + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListAnnotationImportJobsInput) SetFilter(v *ListAnnotationImportJobsFilter) *ListAnnotationImportJobsInput { + s.Filter = v + return s +} + +// SetIds sets the Ids field's value. +func (s *ListAnnotationImportJobsInput) SetIds(v []*string) *ListAnnotationImportJobsInput { + s.Ids = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAnnotationImportJobsInput) SetMaxResults(v int64) *ListAnnotationImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationImportJobsInput) SetNextToken(v string) *ListAnnotationImportJobsInput { + s.NextToken = &v + return s +} + +type ListAnnotationImportJobsOutput struct { + _ struct{} `type:"structure"` + + // A list of jobs. + AnnotationImportJobs []*AnnotationImportJobItem `locationName:"annotationImportJobs" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationImportJobsOutput) GoString() string { + return s.String() +} + +// SetAnnotationImportJobs sets the AnnotationImportJobs field's value. +func (s *ListAnnotationImportJobsOutput) SetAnnotationImportJobs(v []*AnnotationImportJobItem) *ListAnnotationImportJobsOutput { + s.AnnotationImportJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationImportJobsOutput) SetNextToken(v string) *ListAnnotationImportJobsOutput { + s.NextToken = &v + return s +} + +// A filter for annotation stores. +type ListAnnotationStoresFilter struct { + _ struct{} `type:"structure"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"StoreStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresFilter) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *ListAnnotationStoresFilter) SetStatus(v string) *ListAnnotationStoresFilter { + s.Status = &v + return s +} + +type ListAnnotationStoresInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ListAnnotationStoresFilter `locationName:"filter" type:"structure"` + + // IDs of stores to list. + Ids []*string `locationName:"ids" min:"1" type:"list"` + + // The maximum number of stores to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAnnotationStoresInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAnnotationStoresInput"} + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListAnnotationStoresInput) SetFilter(v *ListAnnotationStoresFilter) *ListAnnotationStoresInput { + s.Filter = v + return s +} + +// SetIds sets the Ids field's value. +func (s *ListAnnotationStoresInput) SetIds(v []*string) *ListAnnotationStoresInput { + s.Ids = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAnnotationStoresInput) SetMaxResults(v int64) *ListAnnotationStoresInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationStoresInput) SetNextToken(v string) *ListAnnotationStoresInput { + s.NextToken = &v + return s +} + +type ListAnnotationStoresOutput struct { + _ struct{} `type:"structure"` + + // A list of stores. + AnnotationStores []*AnnotationStoreItem `locationName:"annotationStores" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAnnotationStoresOutput) GoString() string { + return s.String() +} + +// SetAnnotationStores sets the AnnotationStores field's value. +func (s *ListAnnotationStoresOutput) SetAnnotationStores(v []*AnnotationStoreItem) *ListAnnotationStoresOutput { + s.AnnotationStores = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationStoresOutput) SetNextToken(v string) *ListAnnotationStoresOutput { + s.NextToken = &v + return s +} + +type ListReadSetActivationJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ActivateReadSetFilter `locationName:"filter" type:"structure"` + + // The maximum number of read set activation jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetActivationJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetActivationJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReadSetActivationJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReadSetActivationJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReadSetActivationJobsInput) SetFilter(v *ActivateReadSetFilter) *ListReadSetActivationJobsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReadSetActivationJobsInput) SetMaxResults(v int64) *ListReadSetActivationJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetActivationJobsInput) SetNextToken(v string) *ListReadSetActivationJobsInput { + s.NextToken = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ListReadSetActivationJobsInput) SetSequenceStoreId(v string) *ListReadSetActivationJobsInput { + s.SequenceStoreId = &v + return s +} + +type ListReadSetActivationJobsOutput struct { + _ struct{} `type:"structure"` + + // A list of jobs. + ActivationJobs []*ActivateReadSetJobItem `locationName:"activationJobs" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetActivationJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetActivationJobsOutput) GoString() string { + return s.String() +} + +// SetActivationJobs sets the ActivationJobs field's value. +func (s *ListReadSetActivationJobsOutput) SetActivationJobs(v []*ActivateReadSetJobItem) *ListReadSetActivationJobsOutput { + s.ActivationJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetActivationJobsOutput) SetNextToken(v string) *ListReadSetActivationJobsOutput { + s.NextToken = &v + return s +} + +type ListReadSetExportJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ExportReadSetFilter `locationName:"filter" type:"structure"` + + // The maximum number of jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The jobs' sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetExportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetExportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReadSetExportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReadSetExportJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReadSetExportJobsInput) SetFilter(v *ExportReadSetFilter) *ListReadSetExportJobsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReadSetExportJobsInput) SetMaxResults(v int64) *ListReadSetExportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetExportJobsInput) SetNextToken(v string) *ListReadSetExportJobsInput { + s.NextToken = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ListReadSetExportJobsInput) SetSequenceStoreId(v string) *ListReadSetExportJobsInput { + s.SequenceStoreId = &v + return s +} + +type ListReadSetExportJobsOutput struct { + _ struct{} `type:"structure"` + + // A list of jobs. + ExportJobs []*ExportReadSetJobDetail `locationName:"exportJobs" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetExportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetExportJobsOutput) GoString() string { + return s.String() +} + +// SetExportJobs sets the ExportJobs field's value. +func (s *ListReadSetExportJobsOutput) SetExportJobs(v []*ExportReadSetJobDetail) *ListReadSetExportJobsOutput { + s.ExportJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetExportJobsOutput) SetNextToken(v string) *ListReadSetExportJobsOutput { + s.NextToken = &v + return s +} + +type ListReadSetImportJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ImportReadSetFilter `locationName:"filter" type:"structure"` + + // The maximum number of jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The jobs' sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetImportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReadSetImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReadSetImportJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReadSetImportJobsInput) SetFilter(v *ImportReadSetFilter) *ListReadSetImportJobsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReadSetImportJobsInput) SetMaxResults(v int64) *ListReadSetImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetImportJobsInput) SetNextToken(v string) *ListReadSetImportJobsInput { + s.NextToken = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ListReadSetImportJobsInput) SetSequenceStoreId(v string) *ListReadSetImportJobsInput { + s.SequenceStoreId = &v + return s +} + +type ListReadSetImportJobsOutput struct { + _ struct{} `type:"structure"` + + // A list of jobs. + ImportJobs []*ImportReadSetJobItem `locationName:"importJobs" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetImportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetImportJobsOutput) GoString() string { + return s.String() +} + +// SetImportJobs sets the ImportJobs field's value. +func (s *ListReadSetImportJobsOutput) SetImportJobs(v []*ImportReadSetJobItem) *ListReadSetImportJobsOutput { + s.ImportJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetImportJobsOutput) SetNextToken(v string) *ListReadSetImportJobsOutput { + s.NextToken = &v + return s +} + +type ListReadSetsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ReadSetFilter `locationName:"filter" type:"structure"` + + // The maximum number of read sets to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The jobs' sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReadSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReadSetsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReadSetsInput) SetFilter(v *ReadSetFilter) *ListReadSetsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReadSetsInput) SetMaxResults(v int64) *ListReadSetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetsInput) SetNextToken(v string) *ListReadSetsInput { + s.NextToken = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ListReadSetsInput) SetSequenceStoreId(v string) *ListReadSetsInput { + s.SequenceStoreId = &v + return s +} + +type ListReadSetsOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of read sets. + // + // ReadSets is a required field + ReadSets []*ReadSetListItem `locationName:"readSets" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReadSetsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReadSetsOutput) SetNextToken(v string) *ListReadSetsOutput { + s.NextToken = &v + return s +} + +// SetReadSets sets the ReadSets field's value. +func (s *ListReadSetsOutput) SetReadSets(v []*ReadSetListItem) *ListReadSetsOutput { + s.ReadSets = v + return s +} + +type ListReferenceImportJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ImportReferenceFilter `locationName:"filter" type:"structure"` + + // The maximum number of jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceImportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReferenceImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReferenceImportJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReferenceImportJobsInput) SetFilter(v *ImportReferenceFilter) *ListReferenceImportJobsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReferenceImportJobsInput) SetMaxResults(v int64) *ListReferenceImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferenceImportJobsInput) SetNextToken(v string) *ListReferenceImportJobsInput { + s.NextToken = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *ListReferenceImportJobsInput) SetReferenceStoreId(v string) *ListReferenceImportJobsInput { + s.ReferenceStoreId = &v + return s +} + +type ListReferenceImportJobsOutput struct { + _ struct{} `type:"structure"` + + // A lis of jobs. + ImportJobs []*ImportReferenceJobItem `locationName:"importJobs" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceImportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceImportJobsOutput) GoString() string { + return s.String() +} + +// SetImportJobs sets the ImportJobs field's value. +func (s *ListReferenceImportJobsOutput) SetImportJobs(v []*ImportReferenceJobItem) *ListReferenceImportJobsOutput { + s.ImportJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferenceImportJobsOutput) SetNextToken(v string) *ListReferenceImportJobsOutput { + s.NextToken = &v + return s +} + +type ListReferenceStoresInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ReferenceStoreFilter `locationName:"filter" type:"structure"` + + // The maximum number of stores to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceStoresInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceStoresInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReferenceStoresInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReferenceStoresInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReferenceStoresInput) SetFilter(v *ReferenceStoreFilter) *ListReferenceStoresInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReferenceStoresInput) SetMaxResults(v int64) *ListReferenceStoresInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferenceStoresInput) SetNextToken(v string) *ListReferenceStoresInput { + s.NextToken = &v + return s +} + +type ListReferenceStoresOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of reference stores. + // + // ReferenceStores is a required field + ReferenceStores []*ReferenceStoreDetail `locationName:"referenceStores" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceStoresOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferenceStoresOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferenceStoresOutput) SetNextToken(v string) *ListReferenceStoresOutput { + s.NextToken = &v + return s +} + +// SetReferenceStores sets the ReferenceStores field's value. +func (s *ListReferenceStoresOutput) SetReferenceStores(v []*ReferenceStoreDetail) *ListReferenceStoresOutput { + s.ReferenceStores = v + return s +} + +type ListReferencesInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ReferenceFilter `locationName:"filter" type:"structure"` + + // The maximum number of references to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The references' reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferencesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferencesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReferencesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReferencesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListReferencesInput) SetFilter(v *ReferenceFilter) *ListReferencesInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReferencesInput) SetMaxResults(v int64) *ListReferencesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferencesInput) SetNextToken(v string) *ListReferencesInput { + s.NextToken = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *ListReferencesInput) SetReferenceStoreId(v string) *ListReferencesInput { + s.ReferenceStoreId = &v + return s +} + +type ListReferencesOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of references. + // + // References is a required field + References []*ReferenceListItem `locationName:"references" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferencesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReferencesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReferencesOutput) SetNextToken(v string) *ListReferencesOutput { + s.NextToken = &v + return s +} + +// SetReferences sets the References field's value. +func (s *ListReferencesOutput) SetReferences(v []*ReferenceListItem) *ListReferencesOutput { + s.References = v + return s +} + +type ListRunGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of run groups to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The run groups' name. + Name *string `location:"querystring" locationName:"name" min:"1" type:"string"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + StartingToken *string `location:"querystring" locationName:"startingToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListRunGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRunGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.StartingToken != nil && len(*s.StartingToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartingToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListRunGroupsInput) SetMaxResults(v int64) *ListRunGroupsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *ListRunGroupsInput) SetName(v string) *ListRunGroupsInput { + s.Name = &v + return s +} + +// SetStartingToken sets the StartingToken field's value. +func (s *ListRunGroupsInput) SetStartingToken(v string) *ListRunGroupsInput { + s.StartingToken = &v + return s +} + +type ListRunGroupsOutput struct { + _ struct{} `type:"structure"` + + // A list of groups. + Items []*RunGroupListItem `locationName:"items" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunGroupsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListRunGroupsOutput) SetItems(v []*RunGroupListItem) *ListRunGroupsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRunGroupsOutput) SetNextToken(v string) *ListRunGroupsOutput { + s.NextToken = &v + return s +} + +type ListRunTasksInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` + + // The maximum number of run tasks to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + StartingToken *string `location:"querystring" locationName:"startingToken" min:"1" type:"string"` + + // Filter the list by status. + Status *string `location:"querystring" locationName:"status" min:"1" type:"string" enum:"TaskStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunTasksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunTasksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListRunTasksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRunTasksInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.StartingToken != nil && len(*s.StartingToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartingToken", 1)) + } + if s.Status != nil && len(*s.Status) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Status", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *ListRunTasksInput) SetId(v string) *ListRunTasksInput { + s.Id = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListRunTasksInput) SetMaxResults(v int64) *ListRunTasksInput { + s.MaxResults = &v + return s +} + +// SetStartingToken sets the StartingToken field's value. +func (s *ListRunTasksInput) SetStartingToken(v string) *ListRunTasksInput { + s.StartingToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListRunTasksInput) SetStatus(v string) *ListRunTasksInput { + s.Status = &v + return s +} + +type ListRunTasksOutput struct { + _ struct{} `type:"structure"` + + // A list of tasks. + Items []*TaskListItem `locationName:"items" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunTasksOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunTasksOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListRunTasksOutput) SetItems(v []*TaskListItem) *ListRunTasksOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRunTasksOutput) SetNextToken(v string) *ListRunTasksOutput { + s.NextToken = &v + return s +} + +type ListRunsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of runs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Filter the list by run name. + Name *string `location:"querystring" locationName:"name" min:"1" type:"string"` + + // Filter the list by run group ID. + RunGroupId *string `location:"querystring" locationName:"runGroupId" min:"1" type:"string"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + StartingToken *string `location:"querystring" locationName:"startingToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListRunsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRunsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RunGroupId != nil && len(*s.RunGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RunGroupId", 1)) + } + if s.StartingToken != nil && len(*s.StartingToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartingToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListRunsInput) SetMaxResults(v int64) *ListRunsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *ListRunsInput) SetName(v string) *ListRunsInput { + s.Name = &v + return s +} + +// SetRunGroupId sets the RunGroupId field's value. +func (s *ListRunsInput) SetRunGroupId(v string) *ListRunsInput { + s.RunGroupId = &v + return s +} + +// SetStartingToken sets the StartingToken field's value. +func (s *ListRunsInput) SetStartingToken(v string) *ListRunsInput { + s.StartingToken = &v + return s +} + +type ListRunsOutput struct { + _ struct{} `type:"structure"` + + // A list of runs. + Items []*RunListItem `locationName:"items" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRunsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListRunsOutput) SetItems(v []*RunListItem) *ListRunsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRunsOutput) SetNextToken(v string) *ListRunsOutput { + s.NextToken = &v + return s +} + +type ListSequenceStoresInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *SequenceStoreFilter `locationName:"filter" type:"structure"` + + // The maximum number of stores to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListSequenceStoresInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListSequenceStoresInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSequenceStoresInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSequenceStoresInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListSequenceStoresInput) SetFilter(v *SequenceStoreFilter) *ListSequenceStoresInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSequenceStoresInput) SetMaxResults(v int64) *ListSequenceStoresInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSequenceStoresInput) SetNextToken(v string) *ListSequenceStoresInput { + s.NextToken = &v + return s +} + +type ListSequenceStoresOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of sequence stores. + // + // SequenceStores is a required field + SequenceStores []*SequenceStoreDetail `locationName:"sequenceStores" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListSequenceStoresOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListSequenceStoresOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSequenceStoresOutput) SetNextToken(v string) *ListSequenceStoresOutput { + s.NextToken = &v + return s +} + +// SetSequenceStores sets the SequenceStores field's value. +func (s *ListSequenceStoresOutput) SetSequenceStores(v []*SequenceStoreDetail) *ListSequenceStoresOutput { + s.SequenceStores = v + return s +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The resource's ARN. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // A list of tags. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +// A filter for variant import jobs. +type ListVariantImportJobsFilter struct { + _ struct{} `type:"structure"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // A store name to filter on. + StoreName *string `locationName:"storeName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsFilter) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *ListVariantImportJobsFilter) SetStatus(v string) *ListVariantImportJobsFilter { + s.Status = &v + return s +} + +// SetStoreName sets the StoreName field's value. +func (s *ListVariantImportJobsFilter) SetStoreName(v string) *ListVariantImportJobsFilter { + s.StoreName = &v + return s +} + +type ListVariantImportJobsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ListVariantImportJobsFilter `locationName:"filter" type:"structure"` + + // A list of job IDs. + Ids []*string `locationName:"ids" min:"1" type:"list"` + + // The maximum number of import jobs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListVariantImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListVariantImportJobsInput"} + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListVariantImportJobsInput) SetFilter(v *ListVariantImportJobsFilter) *ListVariantImportJobsInput { + s.Filter = v + return s +} + +// SetIds sets the Ids field's value. +func (s *ListVariantImportJobsInput) SetIds(v []*string) *ListVariantImportJobsInput { + s.Ids = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListVariantImportJobsInput) SetMaxResults(v int64) *ListVariantImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListVariantImportJobsInput) SetNextToken(v string) *ListVariantImportJobsInput { + s.NextToken = &v + return s +} + +type ListVariantImportJobsOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" type:"string"` + + // A list of jobs. + VariantImportJobs []*VariantImportJobItem `locationName:"variantImportJobs" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantImportJobsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListVariantImportJobsOutput) SetNextToken(v string) *ListVariantImportJobsOutput { + s.NextToken = &v + return s +} + +// SetVariantImportJobs sets the VariantImportJobs field's value. +func (s *ListVariantImportJobsOutput) SetVariantImportJobs(v []*VariantImportJobItem) *ListVariantImportJobsOutput { + s.VariantImportJobs = v + return s +} + +// A filter for variant stores. +type ListVariantStoresFilter struct { + _ struct{} `type:"structure"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"StoreStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresFilter) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *ListVariantStoresFilter) SetStatus(v string) *ListVariantStoresFilter { + s.Status = &v + return s +} + +type ListVariantStoresInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list. + Filter *ListVariantStoresFilter `locationName:"filter" type:"structure"` + + // A list of store IDs. + Ids []*string `locationName:"ids" min:"1" type:"list"` + + // The maximum number of stores to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListVariantStoresInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListVariantStoresInput"} + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListVariantStoresInput) SetFilter(v *ListVariantStoresFilter) *ListVariantStoresInput { + s.Filter = v + return s +} + +// SetIds sets the Ids field's value. +func (s *ListVariantStoresInput) SetIds(v []*string) *ListVariantStoresInput { + s.Ids = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListVariantStoresInput) SetMaxResults(v int64) *ListVariantStoresInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListVariantStoresInput) SetNextToken(v string) *ListVariantStoresInput { + s.NextToken = &v + return s +} + +type ListVariantStoresOutput struct { + _ struct{} `type:"structure"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" type:"string"` + + // A list of variant stores. + VariantStores []*VariantStoreItem `locationName:"variantStores" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListVariantStoresOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListVariantStoresOutput) SetNextToken(v string) *ListVariantStoresOutput { + s.NextToken = &v + return s +} + +// SetVariantStores sets the VariantStores field's value. +func (s *ListVariantStoresOutput) SetVariantStores(v []*VariantStoreItem) *ListVariantStoresOutput { + s.VariantStores = v + return s +} + +type ListWorkflowsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of workflows to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The workflows' name. + Name *string `location:"querystring" locationName:"name" min:"1" type:"string"` + + // Specify the pagination token from a previous request to retrieve the next + // page of results. + StartingToken *string `location:"querystring" locationName:"startingToken" min:"1" type:"string"` + + // The workflows' type. + Type *string `location:"querystring" locationName:"type" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListWorkflowsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListWorkflowsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListWorkflowsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListWorkflowsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.StartingToken != nil && len(*s.StartingToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartingToken", 1)) + } + if s.Type != nil && len(*s.Type) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Type", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListWorkflowsInput) SetMaxResults(v int64) *ListWorkflowsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *ListWorkflowsInput) SetName(v string) *ListWorkflowsInput { + s.Name = &v + return s +} + +// SetStartingToken sets the StartingToken field's value. +func (s *ListWorkflowsInput) SetStartingToken(v string) *ListWorkflowsInput { + s.StartingToken = &v + return s +} + +// SetType sets the Type field's value. +func (s *ListWorkflowsInput) SetType(v string) *ListWorkflowsInput { + s.Type = &v + return s +} + +type ListWorkflowsOutput struct { + _ struct{} `type:"structure"` + + // The workflows' items. + Items []*WorkflowListItem `locationName:"items" type:"list"` + + // A pagination token that's included if more results are available. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListWorkflowsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListWorkflowsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListWorkflowsOutput) SetItems(v []*WorkflowListItem) *ListWorkflowsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListWorkflowsOutput) SetNextToken(v string) *ListWorkflowsOutput { + s.NextToken = &v + return s +} + +// The ranges specified in the request are not valid. +type RangeNotSatisfiableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RangeNotSatisfiableException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RangeNotSatisfiableException) GoString() string { + return s.String() +} + +func newErrorRangeNotSatisfiableException(v protocol.ResponseMetadata) error { + return &RangeNotSatisfiableException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *RangeNotSatisfiableException) Code() string { + return "RangeNotSatisfiableException" +} + +// Message returns the exception's message. +func (s *RangeNotSatisfiableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *RangeNotSatisfiableException) OrigErr() error { + return nil +} + +func (s *RangeNotSatisfiableException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *RangeNotSatisfiableException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *RangeNotSatisfiableException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Read options for an annotation import job. +type ReadOptions struct { + _ struct{} `type:"structure"` + + // The file's comment character. + Comment *string `locationName:"comment" min:"1" type:"string"` + + // The file's encoding. + Encoding *string `locationName:"encoding" min:"1" type:"string"` + + // A character for escaping quotes in the file. + Escape *string `locationName:"escape" min:"1" type:"string"` + + // Whether quotes need to be escaped in the file. + EscapeQuotes *bool `locationName:"escapeQuotes" type:"boolean"` + + // Whether the file has a header row. + Header *bool `locationName:"header" type:"boolean"` + + // A line separator for the file. + LineSep *string `locationName:"lineSep" min:"1" type:"string"` + + // The file's quote character. + Quote *string `locationName:"quote" min:"1" type:"string"` + + // Whether all values need to be quoted, or just those that contain quotes. + QuoteAll *bool `locationName:"quoteAll" type:"boolean"` + + // The file's field separator. + Sep *string `locationName:"sep" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReadOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReadOptions"} + if s.Comment != nil && len(*s.Comment) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Comment", 1)) + } + if s.Encoding != nil && len(*s.Encoding) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Encoding", 1)) + } + if s.Escape != nil && len(*s.Escape) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Escape", 1)) + } + if s.LineSep != nil && len(*s.LineSep) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LineSep", 1)) + } + if s.Quote != nil && len(*s.Quote) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Quote", 1)) + } + if s.Sep != nil && len(*s.Sep) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Sep", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComment sets the Comment field's value. +func (s *ReadOptions) SetComment(v string) *ReadOptions { + s.Comment = &v + return s +} + +// SetEncoding sets the Encoding field's value. +func (s *ReadOptions) SetEncoding(v string) *ReadOptions { + s.Encoding = &v + return s +} + +// SetEscape sets the Escape field's value. +func (s *ReadOptions) SetEscape(v string) *ReadOptions { + s.Escape = &v + return s +} + +// SetEscapeQuotes sets the EscapeQuotes field's value. +func (s *ReadOptions) SetEscapeQuotes(v bool) *ReadOptions { + s.EscapeQuotes = &v + return s +} + +// SetHeader sets the Header field's value. +func (s *ReadOptions) SetHeader(v bool) *ReadOptions { + s.Header = &v + return s +} + +// SetLineSep sets the LineSep field's value. +func (s *ReadOptions) SetLineSep(v string) *ReadOptions { + s.LineSep = &v + return s +} + +// SetQuote sets the Quote field's value. +func (s *ReadOptions) SetQuote(v string) *ReadOptions { + s.Quote = &v + return s +} + +// SetQuoteAll sets the QuoteAll field's value. +func (s *ReadOptions) SetQuoteAll(v bool) *ReadOptions { + s.QuoteAll = &v + return s +} + +// SetSep sets the Sep field's value. +func (s *ReadOptions) SetSep(v string) *ReadOptions { + s.Sep = &v + return s +} + +// An error from a batch read set operation. +type ReadSetBatchError struct { + _ struct{} `type:"structure"` + + // The error's code. + // + // Code is a required field + Code *string `locationName:"code" type:"string" required:"true"` + + // The error's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The error's message. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetBatchError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetBatchError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ReadSetBatchError) SetCode(v string) *ReadSetBatchError { + s.Code = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReadSetBatchError) SetId(v string) *ReadSetBatchError { + s.Id = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ReadSetBatchError) SetMessage(v string) *ReadSetBatchError { + s.Message = &v + return s +} + +// Files in a read set. +type ReadSetFiles struct { + _ struct{} `type:"structure"` + + // The files' index. + Index *FileInformation `locationName:"index" type:"structure"` + + // The location of the first file in Amazon S3. + Source1 *FileInformation `locationName:"source1" type:"structure"` + + // The location of the second file in Amazon S3. + Source2 *FileInformation `locationName:"source2" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetFiles) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetFiles) GoString() string { + return s.String() +} + +// SetIndex sets the Index field's value. +func (s *ReadSetFiles) SetIndex(v *FileInformation) *ReadSetFiles { + s.Index = v + return s +} + +// SetSource1 sets the Source1 field's value. +func (s *ReadSetFiles) SetSource1(v *FileInformation) *ReadSetFiles { + s.Source1 = v + return s +} + +// SetSource2 sets the Source2 field's value. +func (s *ReadSetFiles) SetSource2(v *FileInformation) *ReadSetFiles { + s.Source2 = v + return s +} + +// A filter for read sets. +type ReadSetFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // A name to filter on. + Name *string `locationName:"name" min:"1" type:"string"` + + // A genome reference ARN to filter on. + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string"` + + // A status to filter on. + Status *string `locationName:"status" type:"string" enum:"ReadSetStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReadSetFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReadSetFilter"} + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ReferenceArn != nil && len(*s.ReferenceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ReadSetFilter) SetCreatedAfter(v time.Time) *ReadSetFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ReadSetFilter) SetCreatedBefore(v time.Time) *ReadSetFilter { + s.CreatedBefore = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReadSetFilter) SetName(v string) *ReadSetFilter { + s.Name = &v + return s +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *ReadSetFilter) SetReferenceArn(v string) *ReadSetFilter { + s.ReferenceArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ReadSetFilter) SetStatus(v string) *ReadSetFilter { + s.Status = &v + return s +} + +// A read set. +type ReadSetListItem struct { + _ struct{} `type:"structure"` + + // The read set's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the read set was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The read set's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The read set's file type. + // + // FileType is a required field + FileType *string `locationName:"fileType" type:"string" required:"true" enum:"FileType"` + + // The read set's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The read set's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The read set's genome reference ARN. + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string"` + + // The read set's sample ID. + SampleId *string `locationName:"sampleId" min:"1" type:"string"` + + // Details about a sequence. + SequenceInformation *SequenceInformation `locationName:"sequenceInformation" type:"structure"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The read set's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetStatus"` + + // The read set's subject ID. + SubjectId *string `locationName:"subjectId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetListItem) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ReadSetListItem) SetArn(v string) *ReadSetListItem { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ReadSetListItem) SetCreationTime(v time.Time) *ReadSetListItem { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ReadSetListItem) SetDescription(v string) *ReadSetListItem { + s.Description = &v + return s +} + +// SetFileType sets the FileType field's value. +func (s *ReadSetListItem) SetFileType(v string) *ReadSetListItem { + s.FileType = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReadSetListItem) SetId(v string) *ReadSetListItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReadSetListItem) SetName(v string) *ReadSetListItem { + s.Name = &v + return s +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *ReadSetListItem) SetReferenceArn(v string) *ReadSetListItem { + s.ReferenceArn = &v + return s +} + +// SetSampleId sets the SampleId field's value. +func (s *ReadSetListItem) SetSampleId(v string) *ReadSetListItem { + s.SampleId = &v + return s +} + +// SetSequenceInformation sets the SequenceInformation field's value. +func (s *ReadSetListItem) SetSequenceInformation(v *SequenceInformation) *ReadSetListItem { + s.SequenceInformation = v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *ReadSetListItem) SetSequenceStoreId(v string) *ReadSetListItem { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ReadSetListItem) SetStatus(v string) *ReadSetListItem { + s.Status = &v + return s +} + +// SetSubjectId sets the SubjectId field's value. +func (s *ReadSetListItem) SetSubjectId(v string) *ReadSetListItem { + s.SubjectId = &v + return s +} + +// A set of genome reference files. +type ReferenceFiles struct { + _ struct{} `type:"structure"` + + // The files' index. + Index *FileInformation `locationName:"index" type:"structure"` + + // The source file's location in Amazon S3. + Source *FileInformation `locationName:"source" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceFiles) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceFiles) GoString() string { + return s.String() +} + +// SetIndex sets the Index field's value. +func (s *ReferenceFiles) SetIndex(v *FileInformation) *ReferenceFiles { + s.Index = v + return s +} + +// SetSource sets the Source field's value. +func (s *ReferenceFiles) SetSource(v *FileInformation) *ReferenceFiles { + s.Source = v + return s +} + +// A filter for references. +type ReferenceFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // An MD5 checksum to filter on. + Md5 *string `locationName:"md5" min:"1" type:"string"` + + // A name to filter on. + Name *string `locationName:"name" min:"3" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceFilter"} + if s.Md5 != nil && len(*s.Md5) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Md5", 1)) + } + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ReferenceFilter) SetCreatedAfter(v time.Time) *ReferenceFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ReferenceFilter) SetCreatedBefore(v time.Time) *ReferenceFilter { + s.CreatedBefore = &v + return s +} + +// SetMd5 sets the Md5 field's value. +func (s *ReferenceFilter) SetMd5(v string) *ReferenceFilter { + s.Md5 = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReferenceFilter) SetName(v string) *ReferenceFilter { + s.Name = &v + return s +} + +// A genome reference. +type ReferenceItem struct { + _ struct{} `type:"structure"` + + // The reference's ARN. + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceItem"} + if s.ReferenceArn != nil && len(*s.ReferenceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *ReferenceItem) SetReferenceArn(v string) *ReferenceItem { + s.ReferenceArn = &v + return s +} + +// A genome reference. +type ReferenceListItem struct { + _ struct{} `type:"structure"` + + // The reference's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the reference was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The reference's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The reference's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The reference's MD5 checksum. + // + // Md5 is a required field + Md5 *string `locationName:"md5" min:"1" type:"string" required:"true"` + + // The reference's name. + Name *string `locationName:"name" min:"3" type:"string"` + + // The reference's store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // The reference's status. + Status *string `locationName:"status" type:"string" enum:"ReferenceStatus"` + + // When the reference was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceListItem) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ReferenceListItem) SetArn(v string) *ReferenceListItem { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ReferenceListItem) SetCreationTime(v time.Time) *ReferenceListItem { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ReferenceListItem) SetDescription(v string) *ReferenceListItem { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReferenceListItem) SetId(v string) *ReferenceListItem { + s.Id = &v + return s +} + +// SetMd5 sets the Md5 field's value. +func (s *ReferenceListItem) SetMd5(v string) *ReferenceListItem { + s.Md5 = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReferenceListItem) SetName(v string) *ReferenceListItem { + s.Name = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *ReferenceListItem) SetReferenceStoreId(v string) *ReferenceListItem { + s.ReferenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ReferenceListItem) SetStatus(v string) *ReferenceListItem { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ReferenceListItem) SetUpdateTime(v time.Time) *ReferenceListItem { + s.UpdateTime = &v + return s +} + +// Details about a reference store. +type ReferenceStoreDetail struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's server-side encryption (SSE) settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceStoreDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceStoreDetail) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ReferenceStoreDetail) SetArn(v string) *ReferenceStoreDetail { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ReferenceStoreDetail) SetCreationTime(v time.Time) *ReferenceStoreDetail { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ReferenceStoreDetail) SetDescription(v string) *ReferenceStoreDetail { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReferenceStoreDetail) SetId(v string) *ReferenceStoreDetail { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReferenceStoreDetail) SetName(v string) *ReferenceStoreDetail { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *ReferenceStoreDetail) SetSseConfig(v *SseConfig) *ReferenceStoreDetail { + s.SseConfig = v + return s +} + +// A filter for reference stores. +type ReferenceStoreFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // The name to filter on. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceStoreFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceStoreFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReferenceStoreFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReferenceStoreFilter"} + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *ReferenceStoreFilter) SetCreatedAfter(v time.Time) *ReferenceStoreFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *ReferenceStoreFilter) SetCreatedBefore(v time.Time) *ReferenceStoreFilter { + s.CreatedBefore = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReferenceStoreFilter) SetName(v string) *ReferenceStoreFilter { + s.Name = &v + return s +} + +// The request timed out. +type RequestTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RequestTimeoutException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RequestTimeoutException) GoString() string { + return s.String() +} + +func newErrorRequestTimeoutException(v protocol.ResponseMetadata) error { + return &RequestTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *RequestTimeoutException) Code() string { + return "RequestTimeoutException" +} + +// Message returns the exception's message. +func (s *RequestTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *RequestTimeoutException) OrigErr() error { + return nil +} + +func (s *RequestTimeoutException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *RequestTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *RequestTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The target resource was not found in the current Region. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A run group. +type RunGroupListItem struct { + _ struct{} `type:"structure"` + + // The group's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the group was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The group's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The group's maximum CPU count setting. + MaxCpus *int64 `locationName:"maxCpus" min:"1" type:"integer"` + + // The group's maximum duration setting. + MaxDuration *int64 `locationName:"maxDuration" min:"1" type:"integer"` + + // The group's maximum concurrent run setting. + MaxRuns *int64 `locationName:"maxRuns" min:"1" type:"integer"` + + // The group's name. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RunGroupListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RunGroupListItem) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *RunGroupListItem) SetArn(v string) *RunGroupListItem { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *RunGroupListItem) SetCreationTime(v time.Time) *RunGroupListItem { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *RunGroupListItem) SetId(v string) *RunGroupListItem { + s.Id = &v + return s +} + +// SetMaxCpus sets the MaxCpus field's value. +func (s *RunGroupListItem) SetMaxCpus(v int64) *RunGroupListItem { + s.MaxCpus = &v + return s +} + +// SetMaxDuration sets the MaxDuration field's value. +func (s *RunGroupListItem) SetMaxDuration(v int64) *RunGroupListItem { + s.MaxDuration = &v + return s +} + +// SetMaxRuns sets the MaxRuns field's value. +func (s *RunGroupListItem) SetMaxRuns(v int64) *RunGroupListItem { + s.MaxRuns = &v + return s +} + +// SetName sets the Name field's value. +func (s *RunGroupListItem) SetName(v string) *RunGroupListItem { + s.Name = &v + return s +} + +// A workflow run. +type RunListItem struct { + _ struct{} `type:"structure"` + + // The run's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the run was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The run's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The run's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The run's priority. + Priority *int64 `locationName:"priority" type:"integer"` + + // When the run started. + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` + + // The run's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"RunStatus"` + + // When the run stopped. + StopTime *time.Time `locationName:"stopTime" type:"timestamp" timestampFormat:"iso8601"` + + // The run's storage capacity. + StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` + + // The run's workflow ID. + WorkflowId *string `locationName:"workflowId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RunListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RunListItem) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *RunListItem) SetArn(v string) *RunListItem { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *RunListItem) SetCreationTime(v time.Time) *RunListItem { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *RunListItem) SetId(v string) *RunListItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *RunListItem) SetName(v string) *RunListItem { + s.Name = &v + return s +} + +// SetPriority sets the Priority field's value. +func (s *RunListItem) SetPriority(v int64) *RunListItem { + s.Priority = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *RunListItem) SetStartTime(v time.Time) *RunListItem { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RunListItem) SetStatus(v string) *RunListItem { + s.Status = &v + return s +} + +// SetStopTime sets the StopTime field's value. +func (s *RunListItem) SetStopTime(v time.Time) *RunListItem { + s.StopTime = &v + return s +} + +// SetStorageCapacity sets the StorageCapacity field's value. +func (s *RunListItem) SetStorageCapacity(v int64) *RunListItem { + s.StorageCapacity = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *RunListItem) SetWorkflowId(v string) *RunListItem { + s.WorkflowId = &v + return s +} + +// Details about a sequence. +type SequenceInformation struct { + _ struct{} `type:"structure"` + + // The sequence's alignment setting. + Alignment *string `locationName:"alignment" type:"string"` + + // Where the sequence originated. + GeneratedFrom *string `locationName:"generatedFrom" min:"1" type:"string"` + + // The sequence's total base count. + TotalBaseCount *int64 `locationName:"totalBaseCount" type:"long"` + + // The sequence's total read count. + TotalReadCount *int64 `locationName:"totalReadCount" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceInformation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceInformation) GoString() string { + return s.String() +} + +// SetAlignment sets the Alignment field's value. +func (s *SequenceInformation) SetAlignment(v string) *SequenceInformation { + s.Alignment = &v + return s +} + +// SetGeneratedFrom sets the GeneratedFrom field's value. +func (s *SequenceInformation) SetGeneratedFrom(v string) *SequenceInformation { + s.GeneratedFrom = &v + return s +} + +// SetTotalBaseCount sets the TotalBaseCount field's value. +func (s *SequenceInformation) SetTotalBaseCount(v int64) *SequenceInformation { + s.TotalBaseCount = &v + return s +} + +// SetTotalReadCount sets the TotalReadCount field's value. +func (s *SequenceInformation) SetTotalReadCount(v int64) *SequenceInformation { + s.TotalReadCount = &v + return s +} + +// Details about a sequence store. +type SequenceStoreDetail struct { + _ struct{} `type:"structure"` + + // The store's ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The store's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The store's server-side encryption (SSE) settings. + SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreDetail) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *SequenceStoreDetail) SetArn(v string) *SequenceStoreDetail { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *SequenceStoreDetail) SetCreationTime(v time.Time) *SequenceStoreDetail { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *SequenceStoreDetail) SetDescription(v string) *SequenceStoreDetail { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *SequenceStoreDetail) SetId(v string) *SequenceStoreDetail { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *SequenceStoreDetail) SetName(v string) *SequenceStoreDetail { + s.Name = &v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *SequenceStoreDetail) SetSseConfig(v *SseConfig) *SequenceStoreDetail { + s.SseConfig = v + return s +} + +// A filter for a sequence store. +type SequenceStoreFilter struct { + _ struct{} `type:"structure"` + + // The filter's start date. + CreatedAfter *time.Time `locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` + + // The filter's end date. + CreatedBefore *time.Time `locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` + + // A name to filter on. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SequenceStoreFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SequenceStoreFilter"} + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatedAfter sets the CreatedAfter field's value. +func (s *SequenceStoreFilter) SetCreatedAfter(v time.Time) *SequenceStoreFilter { + s.CreatedAfter = &v + return s +} + +// SetCreatedBefore sets the CreatedBefore field's value. +func (s *SequenceStoreFilter) SetCreatedBefore(v time.Time) *SequenceStoreFilter { + s.CreatedBefore = &v + return s +} + +// SetName sets the Name field's value. +func (s *SequenceStoreFilter) SetName(v string) *SequenceStoreFilter { + s.Name = &v + return s +} + +// The request exceeds a service quota. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Source files for a sequence. +type SourceFiles struct { + _ struct{} `type:"structure"` + + // The location of the first file in Amazon S3. + // + // Source1 is a required field + Source1 *string `locationName:"source1" type:"string" required:"true"` + + // The location of the second file in Amazon S3. + Source2 *string `locationName:"source2" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SourceFiles) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SourceFiles) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SourceFiles) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SourceFiles"} + if s.Source1 == nil { + invalidParams.Add(request.NewErrParamRequired("Source1")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSource1 sets the Source1 field's value. +func (s *SourceFiles) SetSource1(v string) *SourceFiles { + s.Source1 = &v + return s +} + +// SetSource2 sets the Source2 field's value. +func (s *SourceFiles) SetSource2(v string) *SourceFiles { + s.Source2 = &v + return s +} + +// Server-side encryption (SSE) settings for a store. +type SseConfig struct { + _ struct{} `type:"structure"` + + // An encryption key ARN. + KeyArn *string `locationName:"keyArn" min:"20" type:"string"` + + // The encryption type. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"EncryptionType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SseConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SseConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SseConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SseConfig"} + if s.KeyArn != nil && len(*s.KeyArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("KeyArn", 20)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKeyArn sets the KeyArn field's value. +func (s *SseConfig) SetKeyArn(v string) *SseConfig { + s.KeyArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *SseConfig) SetType(v string) *SseConfig { + s.Type = &v + return s +} + +type StartAnnotationImportJobInput struct { + _ struct{} `type:"structure"` + + // A destination annotation store for the job. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" min:"3" type:"string" required:"true"` + + // Formatting options for the annotation file. + FormatOptions *FormatOptions `locationName:"formatOptions" type:"structure"` + + // Items to import. + // + // Items is a required field + Items []*AnnotationImportItemSource `locationName:"items" min:"1" type:"list" required:"true"` + + // A service role for the job. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartAnnotationImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartAnnotationImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartAnnotationImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartAnnotationImportJobInput"} + if s.DestinationName == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationName")) + } + if s.DestinationName != nil && len(*s.DestinationName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DestinationName", 3)) + } + if s.Items == nil { + invalidParams.Add(request.NewErrParamRequired("Items")) + } + if s.Items != nil && len(s.Items) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Items", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.FormatOptions != nil { + if err := s.FormatOptions.Validate(); err != nil { + invalidParams.AddNested("FormatOptions", err.(request.ErrInvalidParams)) + } + } + if s.Items != nil { + for i, v := range s.Items { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Items", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationName sets the DestinationName field's value. +func (s *StartAnnotationImportJobInput) SetDestinationName(v string) *StartAnnotationImportJobInput { + s.DestinationName = &v + return s +} + +// SetFormatOptions sets the FormatOptions field's value. +func (s *StartAnnotationImportJobInput) SetFormatOptions(v *FormatOptions) *StartAnnotationImportJobInput { + s.FormatOptions = v + return s +} + +// SetItems sets the Items field's value. +func (s *StartAnnotationImportJobInput) SetItems(v []*AnnotationImportItemSource) *StartAnnotationImportJobInput { + s.Items = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartAnnotationImportJobInput) SetRoleArn(v string) *StartAnnotationImportJobInput { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *StartAnnotationImportJobInput) SetRunLeftNormalization(v bool) *StartAnnotationImportJobInput { + s.RunLeftNormalization = &v + return s +} + +type StartAnnotationImportJobOutput struct { + _ struct{} `type:"structure"` + + // The job's ID. + // + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartAnnotationImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartAnnotationImportJobOutput) GoString() string { + return s.String() +} + +// SetJobId sets the JobId field's value. +func (s *StartAnnotationImportJobOutput) SetJobId(v string) *StartAnnotationImportJobOutput { + s.JobId = &v + return s +} + +type StartReadSetActivationJobInput struct { + _ struct{} `type:"structure"` + + // To ensure that jobs don't run multiple times, specify a unique token for + // each job. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's sources. + // + // Sources is a required field + Sources []*StartReadSetActivationJobSourceItem `locationName:"sources" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReadSetActivationJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReadSetActivationJobInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + if s.Sources == nil { + invalidParams.Add(request.NewErrParamRequired("Sources")) + } + if s.Sources != nil && len(s.Sources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Sources", 1)) + } + if s.Sources != nil { + for i, v := range s.Sources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartReadSetActivationJobInput) SetClientToken(v string) *StartReadSetActivationJobInput { + s.ClientToken = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetActivationJobInput) SetSequenceStoreId(v string) *StartReadSetActivationJobInput { + s.SequenceStoreId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *StartReadSetActivationJobInput) SetSources(v []*StartReadSetActivationJobSourceItem) *StartReadSetActivationJobInput { + s.Sources = v + return s +} + +type StartReadSetActivationJobOutput struct { + _ struct{} `type:"structure"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetActivationJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *StartReadSetActivationJobOutput) SetCreationTime(v time.Time) *StartReadSetActivationJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *StartReadSetActivationJobOutput) SetId(v string) *StartReadSetActivationJobOutput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetActivationJobOutput) SetSequenceStoreId(v string) *StartReadSetActivationJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartReadSetActivationJobOutput) SetStatus(v string) *StartReadSetActivationJobOutput { + s.Status = &v + return s +} + +// A source for a read set activation job. +type StartReadSetActivationJobSourceItem struct { + _ struct{} `type:"structure"` + + // The source's read set ID. + // + // ReadSetId is a required field + ReadSetId *string `locationName:"readSetId" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetActivationJobSourceItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReadSetActivationJobSourceItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReadSetActivationJobSourceItem"} + if s.ReadSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ReadSetId")) + } + if s.ReadSetId != nil && len(*s.ReadSetId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReadSetId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReadSetId sets the ReadSetId field's value. +func (s *StartReadSetActivationJobSourceItem) SetReadSetId(v string) *StartReadSetActivationJobSourceItem { + s.ReadSetId = &v + return s +} + +type StartReadSetExportJobInput struct { + _ struct{} `type:"structure"` + + // To ensure that jobs don't run multiple times, specify a unique token for + // each job. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // A location for exported files in Amazon S3. + // + // Destination is a required field + Destination *string `locationName:"destination" type:"string" required:"true"` + + // A service role for the job. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // Sources for the job. + // + // Sources is a required field + Sources []*ExportReadSet `locationName:"sources" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetExportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetExportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReadSetExportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReadSetExportJobInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + if s.Sources == nil { + invalidParams.Add(request.NewErrParamRequired("Sources")) + } + if s.Sources != nil && len(s.Sources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Sources", 1)) + } + if s.Sources != nil { + for i, v := range s.Sources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartReadSetExportJobInput) SetClientToken(v string) *StartReadSetExportJobInput { + s.ClientToken = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *StartReadSetExportJobInput) SetDestination(v string) *StartReadSetExportJobInput { + s.Destination = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartReadSetExportJobInput) SetRoleArn(v string) *StartReadSetExportJobInput { + s.RoleArn = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetExportJobInput) SetSequenceStoreId(v string) *StartReadSetExportJobInput { + s.SequenceStoreId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *StartReadSetExportJobInput) SetSources(v []*ExportReadSet) *StartReadSetExportJobInput { + s.Sources = v + return s +} + +type StartReadSetExportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's output location. + // + // Destination is a required field + Destination *string `locationName:"destination" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetExportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetExportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetExportJobOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *StartReadSetExportJobOutput) SetCreationTime(v time.Time) *StartReadSetExportJobOutput { + s.CreationTime = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *StartReadSetExportJobOutput) SetDestination(v string) *StartReadSetExportJobOutput { + s.Destination = &v + return s +} + +// SetId sets the Id field's value. +func (s *StartReadSetExportJobOutput) SetId(v string) *StartReadSetExportJobOutput { + s.Id = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetExportJobOutput) SetSequenceStoreId(v string) *StartReadSetExportJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartReadSetExportJobOutput) SetStatus(v string) *StartReadSetExportJobOutput { + s.Status = &v + return s +} + +type StartReadSetImportJobInput struct { + _ struct{} `type:"structure"` + + // To ensure that jobs don't run multiple times, specify a unique token for + // each job. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // A service role for the job. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // Source files to import. + // + // Sources is a required field + Sources []*StartReadSetImportJobSourceItem `locationName:"sources" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReadSetImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReadSetImportJobInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.SequenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("SequenceStoreId")) + } + if s.SequenceStoreId != nil && len(*s.SequenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SequenceStoreId", 10)) + } + if s.Sources == nil { + invalidParams.Add(request.NewErrParamRequired("Sources")) + } + if s.Sources != nil && len(s.Sources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Sources", 1)) + } + if s.Sources != nil { + for i, v := range s.Sources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartReadSetImportJobInput) SetClientToken(v string) *StartReadSetImportJobInput { + s.ClientToken = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartReadSetImportJobInput) SetRoleArn(v string) *StartReadSetImportJobInput { + s.RoleArn = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetImportJobInput) SetSequenceStoreId(v string) *StartReadSetImportJobInput { + s.SequenceStoreId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *StartReadSetImportJobInput) SetSources(v []*StartReadSetImportJobSourceItem) *StartReadSetImportJobInput { + s.Sources = v + return s +} + +type StartReadSetImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The read set's sequence store ID. + // + // SequenceStoreId is a required field + SequenceStoreId *string `locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReadSetImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *StartReadSetImportJobOutput) SetCreationTime(v time.Time) *StartReadSetImportJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *StartReadSetImportJobOutput) SetId(v string) *StartReadSetImportJobOutput { + s.Id = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartReadSetImportJobOutput) SetRoleArn(v string) *StartReadSetImportJobOutput { + s.RoleArn = &v + return s +} + +// SetSequenceStoreId sets the SequenceStoreId field's value. +func (s *StartReadSetImportJobOutput) SetSequenceStoreId(v string) *StartReadSetImportJobOutput { + s.SequenceStoreId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartReadSetImportJobOutput) SetStatus(v string) *StartReadSetImportJobOutput { + s.Status = &v + return s +} + +// A source for a read set import job. +type StartReadSetImportJobSourceItem struct { + _ struct{} `type:"structure"` + + // The source's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // Where the source originated. + GeneratedFrom *string `locationName:"generatedFrom" min:"1" type:"string"` + + // The source's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The source's reference ARN. + // + // ReferenceArn is a required field + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string" required:"true"` + + // The source's sample ID. + // + // SampleId is a required field + SampleId *string `locationName:"sampleId" min:"1" type:"string" required:"true"` + + // The source's file type. + // + // SourceFileType is a required field + SourceFileType *string `locationName:"sourceFileType" type:"string" required:"true" enum:"FileType"` + + // The source files' location in Amazon S3. + // + // SourceFiles is a required field + SourceFiles *SourceFiles `locationName:"sourceFiles" type:"structure" required:"true"` + + // The source's subject ID. + // + // SubjectId is a required field + SubjectId *string `locationName:"subjectId" min:"1" type:"string" required:"true"` + + // The source's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReadSetImportJobSourceItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReadSetImportJobSourceItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReadSetImportJobSourceItem"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.GeneratedFrom != nil && len(*s.GeneratedFrom) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GeneratedFrom", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ReferenceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceArn")) + } + if s.ReferenceArn != nil && len(*s.ReferenceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceArn", 1)) + } + if s.SampleId == nil { + invalidParams.Add(request.NewErrParamRequired("SampleId")) + } + if s.SampleId != nil && len(*s.SampleId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SampleId", 1)) + } + if s.SourceFileType == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFileType")) + } + if s.SourceFiles == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFiles")) + } + if s.SubjectId == nil { + invalidParams.Add(request.NewErrParamRequired("SubjectId")) + } + if s.SubjectId != nil && len(*s.SubjectId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SubjectId", 1)) + } + if s.SourceFiles != nil { + if err := s.SourceFiles.Validate(); err != nil { + invalidParams.AddNested("SourceFiles", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *StartReadSetImportJobSourceItem) SetDescription(v string) *StartReadSetImportJobSourceItem { + s.Description = &v + return s +} + +// SetGeneratedFrom sets the GeneratedFrom field's value. +func (s *StartReadSetImportJobSourceItem) SetGeneratedFrom(v string) *StartReadSetImportJobSourceItem { + s.GeneratedFrom = &v + return s +} + +// SetName sets the Name field's value. +func (s *StartReadSetImportJobSourceItem) SetName(v string) *StartReadSetImportJobSourceItem { + s.Name = &v + return s +} + +// SetReferenceArn sets the ReferenceArn field's value. +func (s *StartReadSetImportJobSourceItem) SetReferenceArn(v string) *StartReadSetImportJobSourceItem { + s.ReferenceArn = &v + return s +} + +// SetSampleId sets the SampleId field's value. +func (s *StartReadSetImportJobSourceItem) SetSampleId(v string) *StartReadSetImportJobSourceItem { + s.SampleId = &v + return s +} + +// SetSourceFileType sets the SourceFileType field's value. +func (s *StartReadSetImportJobSourceItem) SetSourceFileType(v string) *StartReadSetImportJobSourceItem { + s.SourceFileType = &v + return s +} + +// SetSourceFiles sets the SourceFiles field's value. +func (s *StartReadSetImportJobSourceItem) SetSourceFiles(v *SourceFiles) *StartReadSetImportJobSourceItem { + s.SourceFiles = v + return s +} + +// SetSubjectId sets the SubjectId field's value. +func (s *StartReadSetImportJobSourceItem) SetSubjectId(v string) *StartReadSetImportJobSourceItem { + s.SubjectId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartReadSetImportJobSourceItem) SetTags(v map[string]*string) *StartReadSetImportJobSourceItem { + s.Tags = v + return s +} + +type StartReferenceImportJobInput struct { + _ struct{} `type:"structure"` + + // To ensure that jobs don't run multiple times, specify a unique token for + // each job. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `location:"uri" locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // A service role for the job. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // Sources for the job. + // + // Sources is a required field + Sources []*StartReferenceImportJobSourceItem `locationName:"sources" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReferenceImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReferenceImportJobInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.ReferenceStoreId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceStoreId")) + } + if s.ReferenceStoreId != nil && len(*s.ReferenceStoreId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ReferenceStoreId", 10)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.Sources == nil { + invalidParams.Add(request.NewErrParamRequired("Sources")) + } + if s.Sources != nil && len(s.Sources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Sources", 1)) + } + if s.Sources != nil { + for i, v := range s.Sources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Sources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartReferenceImportJobInput) SetClientToken(v string) *StartReferenceImportJobInput { + s.ClientToken = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *StartReferenceImportJobInput) SetReferenceStoreId(v string) *StartReferenceImportJobInput { + s.ReferenceStoreId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartReferenceImportJobInput) SetRoleArn(v string) *StartReferenceImportJobInput { + s.RoleArn = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *StartReferenceImportJobInput) SetSources(v []*StartReferenceImportJobSourceItem) *StartReferenceImportJobInput { + s.Sources = v + return s +} + +type StartReferenceImportJobOutput struct { + _ struct{} `type:"structure"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" min:"10" type:"string" required:"true"` + + // The job's reference store ID. + // + // ReferenceStoreId is a required field + ReferenceStoreId *string `locationName:"referenceStoreId" min:"10" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ReferenceImportJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *StartReferenceImportJobOutput) SetCreationTime(v time.Time) *StartReferenceImportJobOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *StartReferenceImportJobOutput) SetId(v string) *StartReferenceImportJobOutput { + s.Id = &v + return s +} + +// SetReferenceStoreId sets the ReferenceStoreId field's value. +func (s *StartReferenceImportJobOutput) SetReferenceStoreId(v string) *StartReferenceImportJobOutput { + s.ReferenceStoreId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartReferenceImportJobOutput) SetRoleArn(v string) *StartReferenceImportJobOutput { + s.RoleArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartReferenceImportJobOutput) SetStatus(v string) *StartReferenceImportJobOutput { + s.Status = &v + return s +} + +// A source for a reference import job. +type StartReferenceImportJobSourceItem struct { + _ struct{} `type:"structure"` + + // The source's description. + Description *string `locationName:"description" min:"1" type:"string"` + + // The source's name. + // + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` + + // The source file's location in Amazon S3. + // + // SourceFile is a required field + SourceFile *string `locationName:"sourceFile" type:"string" required:"true"` + + // The source's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobSourceItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartReferenceImportJobSourceItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReferenceImportJobSourceItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReferenceImportJobSourceItem"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + } + if s.SourceFile == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFile")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *StartReferenceImportJobSourceItem) SetDescription(v string) *StartReferenceImportJobSourceItem { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *StartReferenceImportJobSourceItem) SetName(v string) *StartReferenceImportJobSourceItem { + s.Name = &v + return s +} + +// SetSourceFile sets the SourceFile field's value. +func (s *StartReferenceImportJobSourceItem) SetSourceFile(v string) *StartReferenceImportJobSourceItem { + s.SourceFile = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartReferenceImportJobSourceItem) SetTags(v map[string]*string) *StartReferenceImportJobSourceItem { + s.Tags = v + return s +} + +type StartRunInput struct { + _ struct{} `type:"structure"` + + // A log level for the run. + LogLevel *string `locationName:"logLevel" min:"1" type:"string" enum:"RunLogLevel"` + + // A name for the run. + Name *string `locationName:"name" min:"1" type:"string"` + + // An output URI for the run. + OutputUri *string `locationName:"outputUri" min:"1" type:"string"` + + // A priority for the run. + Priority *int64 `locationName:"priority" type:"integer"` + + // A request ID for the run. + RequestId *string `locationName:"requestId" min:"1" type:"string" idempotencyToken:"true"` + + // A service role for the run. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` + + // The run's group ID. + RunGroupId *string `locationName:"runGroupId" min:"1" type:"string"` + + // The run's ID. + RunId *string `locationName:"runId" min:"1" type:"string"` + + // A storage capacity for the run. + StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` + + // Tags for the run. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The run's workflow ID. + WorkflowId *string `locationName:"workflowId" min:"1" type:"string"` + + // The run's workflows type. + WorkflowType *string `locationName:"workflowType" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartRunInput"} + if s.LogLevel != nil && len(*s.LogLevel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LogLevel", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.OutputUri != nil && len(*s.OutputUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputUri", 1)) + } + if s.RequestId != nil && len(*s.RequestId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RequestId", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) + } + if s.RunGroupId != nil && len(*s.RunGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RunGroupId", 1)) + } + if s.RunId != nil && len(*s.RunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + if s.WorkflowType != nil && len(*s.WorkflowType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLogLevel sets the LogLevel field's value. +func (s *StartRunInput) SetLogLevel(v string) *StartRunInput { + s.LogLevel = &v + return s +} + +// SetName sets the Name field's value. +func (s *StartRunInput) SetName(v string) *StartRunInput { + s.Name = &v + return s +} + +// SetOutputUri sets the OutputUri field's value. +func (s *StartRunInput) SetOutputUri(v string) *StartRunInput { + s.OutputUri = &v + return s +} + +// SetPriority sets the Priority field's value. +func (s *StartRunInput) SetPriority(v int64) *StartRunInput { + s.Priority = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *StartRunInput) SetRequestId(v string) *StartRunInput { + s.RequestId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartRunInput) SetRoleArn(v string) *StartRunInput { + s.RoleArn = &v + return s +} + +// SetRunGroupId sets the RunGroupId field's value. +func (s *StartRunInput) SetRunGroupId(v string) *StartRunInput { + s.RunGroupId = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *StartRunInput) SetRunId(v string) *StartRunInput { + s.RunId = &v + return s +} + +// SetStorageCapacity sets the StorageCapacity field's value. +func (s *StartRunInput) SetStorageCapacity(v int64) *StartRunInput { + s.StorageCapacity = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartRunInput) SetTags(v map[string]*string) *StartRunInput { + s.Tags = v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *StartRunInput) SetWorkflowId(v string) *StartRunInput { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *StartRunInput) SetWorkflowType(v string) *StartRunInput { + s.WorkflowType = &v + return s +} + +type StartRunOutput struct { + _ struct{} `type:"structure"` + + // The run's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // The run's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The run's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"RunStatus"` + + // The run's tags. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRunOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *StartRunOutput) SetArn(v string) *StartRunOutput { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *StartRunOutput) SetId(v string) *StartRunOutput { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartRunOutput) SetStatus(v string) *StartRunOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartRunOutput) SetTags(v map[string]*string) *StartRunOutput { + s.Tags = v + return s +} + +type StartVariantImportJobInput struct { + _ struct{} `type:"structure"` + + // The destination variant store for the job. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" min:"3" type:"string" required:"true"` + + // Items to import. + // + // Items is a required field + Items []*VariantImportItemSource `locationName:"items" min:"1" type:"list" required:"true"` + + // A service role for the job. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartVariantImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartVariantImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartVariantImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartVariantImportJobInput"} + if s.DestinationName == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationName")) + } + if s.DestinationName != nil && len(*s.DestinationName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DestinationName", 3)) + } + if s.Items == nil { + invalidParams.Add(request.NewErrParamRequired("Items")) + } + if s.Items != nil && len(s.Items) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Items", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.Items != nil { + for i, v := range s.Items { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Items", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationName sets the DestinationName field's value. +func (s *StartVariantImportJobInput) SetDestinationName(v string) *StartVariantImportJobInput { + s.DestinationName = &v + return s +} + +// SetItems sets the Items field's value. +func (s *StartVariantImportJobInput) SetItems(v []*VariantImportItemSource) *StartVariantImportJobInput { + s.Items = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartVariantImportJobInput) SetRoleArn(v string) *StartVariantImportJobInput { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *StartVariantImportJobInput) SetRunLeftNormalization(v bool) *StartVariantImportJobInput { + s.RunLeftNormalization = &v + return s +} + +type StartVariantImportJobOutput struct { + _ struct{} `type:"structure"` + + // The job's ID. + // + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartVariantImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartVariantImportJobOutput) GoString() string { + return s.String() +} + +// SetJobId sets the JobId field's value. +func (s *StartVariantImportJobOutput) SetJobId(v string) *StartVariantImportJobOutput { + s.JobId = &v + return s +} + +// Settings for a store. +type StoreOptions struct { + _ struct{} `type:"structure"` + + // File settings for a TSV store. + TsvStoreOptions *TsvStoreOptions `locationName:"tsvStoreOptions" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StoreOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StoreOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StoreOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StoreOptions"} + if s.TsvStoreOptions != nil { + if err := s.TsvStoreOptions.Validate(); err != nil { + invalidParams.AddNested("TsvStoreOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTsvStoreOptions sets the TsvStoreOptions field's value. +func (s *StoreOptions) SetTsvStoreOptions(v *TsvStoreOptions) *StoreOptions { + s.TsvStoreOptions = v + return s +} + +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The resource's ARN. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` + + // Tags for the resource. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) GoString() string { + return s.String() +} + +// A workflow run task. +type TaskListItem struct { + _ struct{} `type:"structure"` + + // The task's CPU count. + Cpus *int64 `locationName:"cpus" min:"1" type:"integer"` + + // When the task was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's memory. + Memory *int64 `locationName:"memory" min:"1" type:"integer"` + + // The task's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // When the task started. + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"TaskStatus"` + + // When the task stopped. + StopTime *time.Time `locationName:"stopTime" type:"timestamp" timestampFormat:"iso8601"` + + // The task's ID. + TaskId *string `locationName:"taskId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TaskListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TaskListItem) GoString() string { + return s.String() +} + +// SetCpus sets the Cpus field's value. +func (s *TaskListItem) SetCpus(v int64) *TaskListItem { + s.Cpus = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TaskListItem) SetCreationTime(v time.Time) *TaskListItem { + s.CreationTime = &v + return s +} + +// SetMemory sets the Memory field's value. +func (s *TaskListItem) SetMemory(v int64) *TaskListItem { + s.Memory = &v + return s +} + +// SetName sets the Name field's value. +func (s *TaskListItem) SetName(v string) *TaskListItem { + s.Name = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *TaskListItem) SetStartTime(v time.Time) *TaskListItem { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TaskListItem) SetStatus(v string) *TaskListItem { + s.Status = &v + return s +} + +// SetStopTime sets the StopTime field's value. +func (s *TaskListItem) SetStopTime(v time.Time) *TaskListItem { + s.StopTime = &v + return s +} + +// SetTaskId sets the TaskId field's value. +func (s *TaskListItem) SetTaskId(v string) *TaskListItem { + s.TaskId = &v + return s +} + +// The request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Formatting options for a TSV file. +type TsvOptions struct { + _ struct{} `type:"structure"` + + // The file's read options. + ReadOptions *ReadOptions `locationName:"readOptions" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TsvOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TsvOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TsvOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TsvOptions"} + if s.ReadOptions != nil { + if err := s.ReadOptions.Validate(); err != nil { + invalidParams.AddNested("ReadOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReadOptions sets the ReadOptions field's value. +func (s *TsvOptions) SetReadOptions(v *ReadOptions) *TsvOptions { + s.ReadOptions = v + return s +} + +// File settings for a TSV store. +type TsvStoreOptions struct { + _ struct{} `type:"structure"` + + // The store's annotation type. + AnnotationType *string `locationName:"annotationType" type:"string" enum:"AnnotationType"` + + // The store's header key to column name mapping. + FormatToHeader map[string]*string `locationName:"formatToHeader" type:"map"` + + // The store's schema. + Schema []map[string]*string `locationName:"schema" min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TsvStoreOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TsvStoreOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TsvStoreOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TsvStoreOptions"} + if s.Schema != nil && len(s.Schema) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Schema", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnnotationType sets the AnnotationType field's value. +func (s *TsvStoreOptions) SetAnnotationType(v string) *TsvStoreOptions { + s.AnnotationType = &v + return s +} + +// SetFormatToHeader sets the FormatToHeader field's value. +func (s *TsvStoreOptions) SetFormatToHeader(v map[string]*string) *TsvStoreOptions { + s.FormatToHeader = v + return s +} + +// SetSchema sets the Schema field's value. +func (s *TsvStoreOptions) SetSchema(v []map[string]*string) *TsvStoreOptions { + s.Schema = v + return s +} + +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The resource's ARN. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` + + // Keys of tags to remove. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) GoString() string { + return s.String() +} + +type UpdateAnnotationStoreInput struct { + _ struct{} `type:"structure"` + + // A description for the store. + Description *string `locationName:"description" type:"string"` + + // A name for the store. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAnnotationStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAnnotationStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAnnotationStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAnnotationStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateAnnotationStoreInput) SetDescription(v string) *UpdateAnnotationStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAnnotationStoreInput) SetName(v string) *UpdateAnnotationStoreInput { + s.Name = &v + return s +} + +type UpdateAnnotationStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // The annotation file format of the store. + StoreFormat *string `locationName:"storeFormat" type:"string" enum:"StoreFormat"` + + // Parsing options for the store. + StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAnnotationStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAnnotationStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *UpdateAnnotationStoreOutput) SetCreationTime(v time.Time) *UpdateAnnotationStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateAnnotationStoreOutput) SetDescription(v string) *UpdateAnnotationStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateAnnotationStoreOutput) SetId(v string) *UpdateAnnotationStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAnnotationStoreOutput) SetName(v string) *UpdateAnnotationStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *UpdateAnnotationStoreOutput) SetReference(v *ReferenceItem) *UpdateAnnotationStoreOutput { + s.Reference = v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateAnnotationStoreOutput) SetStatus(v string) *UpdateAnnotationStoreOutput { + s.Status = &v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *UpdateAnnotationStoreOutput) SetStoreFormat(v string) *UpdateAnnotationStoreOutput { + s.StoreFormat = &v + return s +} + +// SetStoreOptions sets the StoreOptions field's value. +func (s *UpdateAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *UpdateAnnotationStoreOutput { + s.StoreOptions = v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *UpdateAnnotationStoreOutput) SetUpdateTime(v time.Time) *UpdateAnnotationStoreOutput { + s.UpdateTime = &v + return s +} + +type UpdateRunGroupInput struct { + _ struct{} `type:"structure"` + + // The group's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` + + // The maximum number of CPUs to use. + MaxCpus *int64 `locationName:"maxCpus" min:"1" type:"integer"` + + // The maximum amount of time to run. + MaxDuration *int64 `locationName:"maxDuration" min:"1" type:"integer"` + + // The maximum number of concurrent runs for the group. + MaxRuns *int64 `locationName:"maxRuns" min:"1" type:"integer"` + + // A name for the group. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateRunGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateRunGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateRunGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateRunGroupInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.MaxCpus != nil && *s.MaxCpus < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxCpus", 1)) + } + if s.MaxDuration != nil && *s.MaxDuration < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxDuration", 1)) + } + if s.MaxRuns != nil && *s.MaxRuns < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxRuns", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *UpdateRunGroupInput) SetId(v string) *UpdateRunGroupInput { + s.Id = &v + return s +} + +// SetMaxCpus sets the MaxCpus field's value. +func (s *UpdateRunGroupInput) SetMaxCpus(v int64) *UpdateRunGroupInput { + s.MaxCpus = &v + return s +} + +// SetMaxDuration sets the MaxDuration field's value. +func (s *UpdateRunGroupInput) SetMaxDuration(v int64) *UpdateRunGroupInput { + s.MaxDuration = &v + return s +} + +// SetMaxRuns sets the MaxRuns field's value. +func (s *UpdateRunGroupInput) SetMaxRuns(v int64) *UpdateRunGroupInput { + s.MaxRuns = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateRunGroupInput) SetName(v string) *UpdateRunGroupInput { + s.Name = &v + return s +} + +type UpdateRunGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateRunGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateRunGroupOutput) GoString() string { + return s.String() +} + +type UpdateVariantStoreInput struct { + _ struct{} `type:"structure"` + + // A description for the store. + Description *string `locationName:"description" type:"string"` + + // A name for the store. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVariantStoreInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVariantStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateVariantStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateVariantStoreInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateVariantStoreInput) SetDescription(v string) *UpdateVariantStoreInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateVariantStoreInput) SetName(v string) *UpdateVariantStoreInput { + s.Name = &v + return s +} + +type UpdateVariantStoreOutput struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVariantStoreOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVariantStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *UpdateVariantStoreOutput) SetCreationTime(v time.Time) *UpdateVariantStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateVariantStoreOutput) SetDescription(v string) *UpdateVariantStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateVariantStoreOutput) SetId(v string) *UpdateVariantStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateVariantStoreOutput) SetName(v string) *UpdateVariantStoreOutput { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *UpdateVariantStoreOutput) SetReference(v *ReferenceItem) *UpdateVariantStoreOutput { + s.Reference = v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateVariantStoreOutput) SetStatus(v string) *UpdateVariantStoreOutput { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *UpdateVariantStoreOutput) SetUpdateTime(v time.Time) *UpdateVariantStoreOutput { + s.UpdateTime = &v + return s +} + +type UpdateWorkflowInput struct { + _ struct{} `type:"structure"` + + // A description for the workflow. + Description *string `locationName:"description" min:"1" type:"string"` + + // The workflow's ID. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` + + // A name for the workflow. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkflowInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateWorkflowInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateWorkflowInput) SetId(v string) *UpdateWorkflowInput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput { + s.Name = &v + return s +} + +type UpdateWorkflowOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkflowOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkflowOutput) GoString() string { + return s.String() +} + +// The input fails to satisfy the constraints specified by an AWS service. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Details about an imported variant item. +type VariantImportItemDetail struct { + _ struct{} `type:"structure"` + + // The item's job status. + // + // JobStatus is a required field + JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"JobStatus"` + + // The source file's location in Amazon S3. + // + // Source is a required field + Source *string `locationName:"source" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportItemDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportItemDetail) GoString() string { + return s.String() +} + +// SetJobStatus sets the JobStatus field's value. +func (s *VariantImportItemDetail) SetJobStatus(v string) *VariantImportItemDetail { + s.JobStatus = &v + return s +} + +// SetSource sets the Source field's value. +func (s *VariantImportItemDetail) SetSource(v string) *VariantImportItemDetail { + s.Source = &v + return s +} + +// A imported variant item's source. +type VariantImportItemSource struct { + _ struct{} `type:"structure"` + + // The source file's location in Amazon S3. + // + // Source is a required field + Source *string `locationName:"source" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportItemSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportItemSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VariantImportItemSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VariantImportItemSource"} + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSource sets the Source field's value. +func (s *VariantImportItemSource) SetSource(v string) *VariantImportItemSource { + s.Source = &v + return s +} + +// A variant import job. +type VariantImportJobItem struct { + _ struct{} `type:"structure"` + + // When the job completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp" timestampFormat:"iso8601"` + + // When the job was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The job's destination variant store. + // + // DestinationName is a required field + DestinationName *string `locationName:"destinationName" type:"string" required:"true"` + + // The job's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The job's service role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The job's left normalization setting. + RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean"` + + // The job's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + + // When the job was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportJobItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantImportJobItem) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *VariantImportJobItem) SetCompletionTime(v time.Time) *VariantImportJobItem { + s.CompletionTime = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VariantImportJobItem) SetCreationTime(v time.Time) *VariantImportJobItem { + s.CreationTime = &v + return s +} + +// SetDestinationName sets the DestinationName field's value. +func (s *VariantImportJobItem) SetDestinationName(v string) *VariantImportJobItem { + s.DestinationName = &v + return s +} + +// SetId sets the Id field's value. +func (s *VariantImportJobItem) SetId(v string) *VariantImportJobItem { + s.Id = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *VariantImportJobItem) SetRoleArn(v string) *VariantImportJobItem { + s.RoleArn = &v + return s +} + +// SetRunLeftNormalization sets the RunLeftNormalization field's value. +func (s *VariantImportJobItem) SetRunLeftNormalization(v bool) *VariantImportJobItem { + s.RunLeftNormalization = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *VariantImportJobItem) SetStatus(v string) *VariantImportJobItem { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *VariantImportJobItem) SetUpdateTime(v time.Time) *VariantImportJobItem { + s.UpdateTime = &v + return s +} + +// A variant store. +type VariantStoreItem struct { + _ struct{} `type:"structure"` + + // When the store was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The store's description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The store's ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The store's name. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The store's genome reference. + // + // Reference is a required field + Reference *ReferenceItem `locationName:"reference" type:"structure" required:"true"` + + // The store's server-side encryption (SSE) settings. + // + // SseConfig is a required field + SseConfig *SseConfig `locationName:"sseConfig" type:"structure" required:"true"` + + // The store's status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StoreStatus"` + + // The store's status message. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store's ARN. + // + // StoreArn is a required field + StoreArn *string `locationName:"storeArn" min:"20" type:"string" required:"true"` + + // The store's size in bytes. + // + // StoreSizeBytes is a required field + StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantStoreItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VariantStoreItem) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *VariantStoreItem) SetCreationTime(v time.Time) *VariantStoreItem { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *VariantStoreItem) SetDescription(v string) *VariantStoreItem { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *VariantStoreItem) SetId(v string) *VariantStoreItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *VariantStoreItem) SetName(v string) *VariantStoreItem { + s.Name = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *VariantStoreItem) SetReference(v *ReferenceItem) *VariantStoreItem { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *VariantStoreItem) SetSseConfig(v *SseConfig) *VariantStoreItem { + s.SseConfig = v + return s +} + +// SetStatus sets the Status field's value. +func (s *VariantStoreItem) SetStatus(v string) *VariantStoreItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *VariantStoreItem) SetStatusMessage(v string) *VariantStoreItem { + s.StatusMessage = &v + return s +} + +// SetStoreArn sets the StoreArn field's value. +func (s *VariantStoreItem) SetStoreArn(v string) *VariantStoreItem { + s.StoreArn = &v + return s +} + +// SetStoreSizeBytes sets the StoreSizeBytes field's value. +func (s *VariantStoreItem) SetStoreSizeBytes(v int64) *VariantStoreItem { + s.StoreSizeBytes = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *VariantStoreItem) SetUpdateTime(v time.Time) *VariantStoreItem { + s.UpdateTime = &v + return s +} + +// Formatting options for a VCF file. +type VcfOptions struct { + _ struct{} `type:"structure"` + + // The file's ignore filter field setting. + IgnoreFilterField *bool `locationName:"ignoreFilterField" type:"boolean"` + + // The file's ignore qual field setting. + IgnoreQualField *bool `locationName:"ignoreQualField" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VcfOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VcfOptions) GoString() string { + return s.String() +} + +// SetIgnoreFilterField sets the IgnoreFilterField field's value. +func (s *VcfOptions) SetIgnoreFilterField(v bool) *VcfOptions { + s.IgnoreFilterField = &v + return s +} + +// SetIgnoreQualField sets the IgnoreQualField field's value. +func (s *VcfOptions) SetIgnoreQualField(v bool) *VcfOptions { + s.IgnoreQualField = &v + return s +} + +// A workflow. +type WorkflowListItem struct { + _ struct{} `type:"structure"` + + // The workflow's ARN. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // When the workflow was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The workflow's digest. + Digest *string `locationName:"digest" min:"1" type:"string"` + + // The workflow's ID. + Id *string `locationName:"id" min:"1" type:"string"` + + // The workflow's name. + Name *string `locationName:"name" min:"1" type:"string"` + + // The workflow's status. + Status *string `locationName:"status" min:"1" type:"string" enum:"WorkflowStatus"` + + // The workflow's type. + Type *string `locationName:"type" min:"1" type:"string" enum:"WorkflowType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkflowListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkflowListItem) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *WorkflowListItem) SetArn(v string) *WorkflowListItem { + s.Arn = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *WorkflowListItem) SetCreationTime(v time.Time) *WorkflowListItem { + s.CreationTime = &v + return s +} + +// SetDigest sets the Digest field's value. +func (s *WorkflowListItem) SetDigest(v string) *WorkflowListItem { + s.Digest = &v + return s +} + +// SetId sets the Id field's value. +func (s *WorkflowListItem) SetId(v string) *WorkflowListItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *WorkflowListItem) SetName(v string) *WorkflowListItem { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *WorkflowListItem) SetStatus(v string) *WorkflowListItem { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *WorkflowListItem) SetType(v string) *WorkflowListItem { + s.Type = &v + return s +} + +// A workflow parameter. +type WorkflowParameter struct { + _ struct{} `type:"structure"` + + // The parameter's description. + Description *string `locationName:"description" type:"string"` + + // Whether the parameter is optional. + Optional *bool `locationName:"optional" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkflowParameter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkflowParameter) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *WorkflowParameter) SetDescription(v string) *WorkflowParameter { + s.Description = &v + return s +} + +// SetOptional sets the Optional field's value. +func (s *WorkflowParameter) SetOptional(v bool) *WorkflowParameter { + s.Optional = &v + return s +} + +const ( + // AnnotationTypeGeneric is a AnnotationType enum value + AnnotationTypeGeneric = "GENERIC" + + // AnnotationTypeChrPos is a AnnotationType enum value + AnnotationTypeChrPos = "CHR_POS" + + // AnnotationTypeChrPosRefAlt is a AnnotationType enum value + AnnotationTypeChrPosRefAlt = "CHR_POS_REF_ALT" + + // AnnotationTypeChrStartEndOneBase is a AnnotationType enum value + AnnotationTypeChrStartEndOneBase = "CHR_START_END_ONE_BASE" + + // AnnotationTypeChrStartEndRefAltOneBase is a AnnotationType enum value + AnnotationTypeChrStartEndRefAltOneBase = "CHR_START_END_REF_ALT_ONE_BASE" + + // AnnotationTypeChrStartEndZeroBase is a AnnotationType enum value + AnnotationTypeChrStartEndZeroBase = "CHR_START_END_ZERO_BASE" + + // AnnotationTypeChrStartEndRefAltZeroBase is a AnnotationType enum value + AnnotationTypeChrStartEndRefAltZeroBase = "CHR_START_END_REF_ALT_ZERO_BASE" +) + +// AnnotationType_Values returns all elements of the AnnotationType enum +func AnnotationType_Values() []string { + return []string{ + AnnotationTypeGeneric, + AnnotationTypeChrPos, + AnnotationTypeChrPosRefAlt, + AnnotationTypeChrStartEndOneBase, + AnnotationTypeChrStartEndRefAltOneBase, + AnnotationTypeChrStartEndZeroBase, + AnnotationTypeChrStartEndRefAltZeroBase, + } +} + +const ( + // EncryptionTypeKms is a EncryptionType enum value + EncryptionTypeKms = "KMS" +) + +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypeKms, + } +} + +const ( + // FileTypeFastq is a FileType enum value + FileTypeFastq = "FASTQ" + + // FileTypeBam is a FileType enum value + FileTypeBam = "BAM" + + // FileTypeCram is a FileType enum value + FileTypeCram = "CRAM" +) + +// FileType_Values returns all elements of the FileType enum +func FileType_Values() []string { + return []string{ + FileTypeFastq, + FileTypeBam, + FileTypeCram, + } +} + +const ( + // FormatToHeaderKeyChr is a FormatToHeaderKey enum value + FormatToHeaderKeyChr = "CHR" + + // FormatToHeaderKeyStart is a FormatToHeaderKey enum value + FormatToHeaderKeyStart = "START" + + // FormatToHeaderKeyEnd is a FormatToHeaderKey enum value + FormatToHeaderKeyEnd = "END" + + // FormatToHeaderKeyRef is a FormatToHeaderKey enum value + FormatToHeaderKeyRef = "REF" + + // FormatToHeaderKeyAlt is a FormatToHeaderKey enum value + FormatToHeaderKeyAlt = "ALT" + + // FormatToHeaderKeyPos is a FormatToHeaderKey enum value + FormatToHeaderKeyPos = "POS" +) + +// FormatToHeaderKey_Values returns all elements of the FormatToHeaderKey enum +func FormatToHeaderKey_Values() []string { + return []string{ + FormatToHeaderKeyChr, + FormatToHeaderKeyStart, + FormatToHeaderKeyEnd, + FormatToHeaderKeyRef, + FormatToHeaderKeyAlt, + FormatToHeaderKeyPos, + } +} + +const ( + // JobStatusSubmitted is a JobStatus enum value + JobStatusSubmitted = "SUBMITTED" + + // JobStatusInProgress is a JobStatus enum value + JobStatusInProgress = "IN_PROGRESS" + + // JobStatusCancelled is a JobStatus enum value + JobStatusCancelled = "CANCELLED" + + // JobStatusCompleted is a JobStatus enum value + JobStatusCompleted = "COMPLETED" + + // JobStatusFailed is a JobStatus enum value + JobStatusFailed = "FAILED" +) + +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusSubmitted, + JobStatusInProgress, + JobStatusCancelled, + JobStatusCompleted, + JobStatusFailed, + } +} + +const ( + // ReadSetActivationJobItemStatusNotStarted is a ReadSetActivationJobItemStatus enum value + ReadSetActivationJobItemStatusNotStarted = "NOT_STARTED" + + // ReadSetActivationJobItemStatusInProgress is a ReadSetActivationJobItemStatus enum value + ReadSetActivationJobItemStatusInProgress = "IN_PROGRESS" + + // ReadSetActivationJobItemStatusFinished is a ReadSetActivationJobItemStatus enum value + ReadSetActivationJobItemStatusFinished = "FINISHED" + + // ReadSetActivationJobItemStatusFailed is a ReadSetActivationJobItemStatus enum value + ReadSetActivationJobItemStatusFailed = "FAILED" +) + +// ReadSetActivationJobItemStatus_Values returns all elements of the ReadSetActivationJobItemStatus enum +func ReadSetActivationJobItemStatus_Values() []string { + return []string{ + ReadSetActivationJobItemStatusNotStarted, + ReadSetActivationJobItemStatusInProgress, + ReadSetActivationJobItemStatusFinished, + ReadSetActivationJobItemStatusFailed, + } +} + +const ( + // ReadSetActivationJobStatusSubmitted is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusSubmitted = "SUBMITTED" + + // ReadSetActivationJobStatusInProgress is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusInProgress = "IN_PROGRESS" + + // ReadSetActivationJobStatusCancelling is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusCancelling = "CANCELLING" + + // ReadSetActivationJobStatusCancelled is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusCancelled = "CANCELLED" + + // ReadSetActivationJobStatusFailed is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusFailed = "FAILED" + + // ReadSetActivationJobStatusCompleted is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusCompleted = "COMPLETED" + + // ReadSetActivationJobStatusCompletedWithFailures is a ReadSetActivationJobStatus enum value + ReadSetActivationJobStatusCompletedWithFailures = "COMPLETED_WITH_FAILURES" +) + +// ReadSetActivationJobStatus_Values returns all elements of the ReadSetActivationJobStatus enum +func ReadSetActivationJobStatus_Values() []string { + return []string{ + ReadSetActivationJobStatusSubmitted, + ReadSetActivationJobStatusInProgress, + ReadSetActivationJobStatusCancelling, + ReadSetActivationJobStatusCancelled, + ReadSetActivationJobStatusFailed, + ReadSetActivationJobStatusCompleted, + ReadSetActivationJobStatusCompletedWithFailures, + } +} + +const ( + // ReadSetExportJobItemStatusNotStarted is a ReadSetExportJobItemStatus enum value + ReadSetExportJobItemStatusNotStarted = "NOT_STARTED" + + // ReadSetExportJobItemStatusInProgress is a ReadSetExportJobItemStatus enum value + ReadSetExportJobItemStatusInProgress = "IN_PROGRESS" + + // ReadSetExportJobItemStatusFinished is a ReadSetExportJobItemStatus enum value + ReadSetExportJobItemStatusFinished = "FINISHED" + + // ReadSetExportJobItemStatusFailed is a ReadSetExportJobItemStatus enum value + ReadSetExportJobItemStatusFailed = "FAILED" +) + +// ReadSetExportJobItemStatus_Values returns all elements of the ReadSetExportJobItemStatus enum +func ReadSetExportJobItemStatus_Values() []string { + return []string{ + ReadSetExportJobItemStatusNotStarted, + ReadSetExportJobItemStatusInProgress, + ReadSetExportJobItemStatusFinished, + ReadSetExportJobItemStatusFailed, + } +} + +const ( + // ReadSetExportJobStatusSubmitted is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusSubmitted = "SUBMITTED" + + // ReadSetExportJobStatusInProgress is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusInProgress = "IN_PROGRESS" + + // ReadSetExportJobStatusCancelling is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusCancelling = "CANCELLING" + + // ReadSetExportJobStatusCancelled is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusCancelled = "CANCELLED" + + // ReadSetExportJobStatusFailed is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusFailed = "FAILED" + + // ReadSetExportJobStatusCompleted is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusCompleted = "COMPLETED" + + // ReadSetExportJobStatusCompletedWithFailures is a ReadSetExportJobStatus enum value + ReadSetExportJobStatusCompletedWithFailures = "COMPLETED_WITH_FAILURES" +) + +// ReadSetExportJobStatus_Values returns all elements of the ReadSetExportJobStatus enum +func ReadSetExportJobStatus_Values() []string { + return []string{ + ReadSetExportJobStatusSubmitted, + ReadSetExportJobStatusInProgress, + ReadSetExportJobStatusCancelling, + ReadSetExportJobStatusCancelled, + ReadSetExportJobStatusFailed, + ReadSetExportJobStatusCompleted, + ReadSetExportJobStatusCompletedWithFailures, + } +} + +const ( + // ReadSetFileSource1 is a ReadSetFile enum value + ReadSetFileSource1 = "SOURCE1" + + // ReadSetFileSource2 is a ReadSetFile enum value + ReadSetFileSource2 = "SOURCE2" + + // ReadSetFileIndex is a ReadSetFile enum value + ReadSetFileIndex = "INDEX" +) + +// ReadSetFile_Values returns all elements of the ReadSetFile enum +func ReadSetFile_Values() []string { + return []string{ + ReadSetFileSource1, + ReadSetFileSource2, + ReadSetFileIndex, + } +} + +const ( + // ReadSetImportJobItemStatusNotStarted is a ReadSetImportJobItemStatus enum value + ReadSetImportJobItemStatusNotStarted = "NOT_STARTED" + + // ReadSetImportJobItemStatusInProgress is a ReadSetImportJobItemStatus enum value + ReadSetImportJobItemStatusInProgress = "IN_PROGRESS" + + // ReadSetImportJobItemStatusFinished is a ReadSetImportJobItemStatus enum value + ReadSetImportJobItemStatusFinished = "FINISHED" + + // ReadSetImportJobItemStatusFailed is a ReadSetImportJobItemStatus enum value + ReadSetImportJobItemStatusFailed = "FAILED" +) + +// ReadSetImportJobItemStatus_Values returns all elements of the ReadSetImportJobItemStatus enum +func ReadSetImportJobItemStatus_Values() []string { + return []string{ + ReadSetImportJobItemStatusNotStarted, + ReadSetImportJobItemStatusInProgress, + ReadSetImportJobItemStatusFinished, + ReadSetImportJobItemStatusFailed, + } +} + +const ( + // ReadSetImportJobStatusSubmitted is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusSubmitted = "SUBMITTED" + + // ReadSetImportJobStatusInProgress is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusInProgress = "IN_PROGRESS" + + // ReadSetImportJobStatusCancelling is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusCancelling = "CANCELLING" + + // ReadSetImportJobStatusCancelled is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusCancelled = "CANCELLED" + + // ReadSetImportJobStatusFailed is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusFailed = "FAILED" + + // ReadSetImportJobStatusCompleted is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusCompleted = "COMPLETED" + + // ReadSetImportJobStatusCompletedWithFailures is a ReadSetImportJobStatus enum value + ReadSetImportJobStatusCompletedWithFailures = "COMPLETED_WITH_FAILURES" +) + +// ReadSetImportJobStatus_Values returns all elements of the ReadSetImportJobStatus enum +func ReadSetImportJobStatus_Values() []string { + return []string{ + ReadSetImportJobStatusSubmitted, + ReadSetImportJobStatusInProgress, + ReadSetImportJobStatusCancelling, + ReadSetImportJobStatusCancelled, + ReadSetImportJobStatusFailed, + ReadSetImportJobStatusCompleted, + ReadSetImportJobStatusCompletedWithFailures, + } +} + +const ( + // ReadSetStatusArchived is a ReadSetStatus enum value + ReadSetStatusArchived = "ARCHIVED" + + // ReadSetStatusActivating is a ReadSetStatus enum value + ReadSetStatusActivating = "ACTIVATING" + + // ReadSetStatusActive is a ReadSetStatus enum value + ReadSetStatusActive = "ACTIVE" + + // ReadSetStatusDeleting is a ReadSetStatus enum value + ReadSetStatusDeleting = "DELETING" + + // ReadSetStatusDeleted is a ReadSetStatus enum value + ReadSetStatusDeleted = "DELETED" +) + +// ReadSetStatus_Values returns all elements of the ReadSetStatus enum +func ReadSetStatus_Values() []string { + return []string{ + ReadSetStatusArchived, + ReadSetStatusActivating, + ReadSetStatusActive, + ReadSetStatusDeleting, + ReadSetStatusDeleted, + } +} + +const ( + // ReferenceFileSource is a ReferenceFile enum value + ReferenceFileSource = "SOURCE" + + // ReferenceFileIndex is a ReferenceFile enum value + ReferenceFileIndex = "INDEX" +) + +// ReferenceFile_Values returns all elements of the ReferenceFile enum +func ReferenceFile_Values() []string { + return []string{ + ReferenceFileSource, + ReferenceFileIndex, + } +} + +const ( + // ReferenceImportJobItemStatusNotStarted is a ReferenceImportJobItemStatus enum value + ReferenceImportJobItemStatusNotStarted = "NOT_STARTED" + + // ReferenceImportJobItemStatusInProgress is a ReferenceImportJobItemStatus enum value + ReferenceImportJobItemStatusInProgress = "IN_PROGRESS" + + // ReferenceImportJobItemStatusFinished is a ReferenceImportJobItemStatus enum value + ReferenceImportJobItemStatusFinished = "FINISHED" + + // ReferenceImportJobItemStatusFailed is a ReferenceImportJobItemStatus enum value + ReferenceImportJobItemStatusFailed = "FAILED" +) + +// ReferenceImportJobItemStatus_Values returns all elements of the ReferenceImportJobItemStatus enum +func ReferenceImportJobItemStatus_Values() []string { + return []string{ + ReferenceImportJobItemStatusNotStarted, + ReferenceImportJobItemStatusInProgress, + ReferenceImportJobItemStatusFinished, + ReferenceImportJobItemStatusFailed, + } +} + +const ( + // ReferenceImportJobStatusSubmitted is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusSubmitted = "SUBMITTED" + + // ReferenceImportJobStatusInProgress is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusInProgress = "IN_PROGRESS" + + // ReferenceImportJobStatusCancelling is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusCancelling = "CANCELLING" + + // ReferenceImportJobStatusCancelled is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusCancelled = "CANCELLED" + + // ReferenceImportJobStatusFailed is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusFailed = "FAILED" + + // ReferenceImportJobStatusCompleted is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusCompleted = "COMPLETED" + + // ReferenceImportJobStatusCompletedWithFailures is a ReferenceImportJobStatus enum value + ReferenceImportJobStatusCompletedWithFailures = "COMPLETED_WITH_FAILURES" +) + +// ReferenceImportJobStatus_Values returns all elements of the ReferenceImportJobStatus enum +func ReferenceImportJobStatus_Values() []string { + return []string{ + ReferenceImportJobStatusSubmitted, + ReferenceImportJobStatusInProgress, + ReferenceImportJobStatusCancelling, + ReferenceImportJobStatusCancelled, + ReferenceImportJobStatusFailed, + ReferenceImportJobStatusCompleted, + ReferenceImportJobStatusCompletedWithFailures, + } +} + +const ( + // ReferenceStatusActive is a ReferenceStatus enum value + ReferenceStatusActive = "ACTIVE" + + // ReferenceStatusDeleting is a ReferenceStatus enum value + ReferenceStatusDeleting = "DELETING" + + // ReferenceStatusDeleted is a ReferenceStatus enum value + ReferenceStatusDeleted = "DELETED" +) + +// ReferenceStatus_Values returns all elements of the ReferenceStatus enum +func ReferenceStatus_Values() []string { + return []string{ + ReferenceStatusActive, + ReferenceStatusDeleting, + ReferenceStatusDeleted, + } +} + +const ( + // RunExportDefinition is a RunExport enum value + RunExportDefinition = "DEFINITION" +) + +// RunExport_Values returns all elements of the RunExport enum +func RunExport_Values() []string { + return []string{ + RunExportDefinition, + } +} + +const ( + // RunLogLevelOff is a RunLogLevel enum value + RunLogLevelOff = "OFF" + + // RunLogLevelFatal is a RunLogLevel enum value + RunLogLevelFatal = "FATAL" + + // RunLogLevelError is a RunLogLevel enum value + RunLogLevelError = "ERROR" + + // RunLogLevelAll is a RunLogLevel enum value + RunLogLevelAll = "ALL" +) + +// RunLogLevel_Values returns all elements of the RunLogLevel enum +func RunLogLevel_Values() []string { + return []string{ + RunLogLevelOff, + RunLogLevelFatal, + RunLogLevelError, + RunLogLevelAll, + } +} + +const ( + // RunStatusPending is a RunStatus enum value + RunStatusPending = "PENDING" + + // RunStatusStarting is a RunStatus enum value + RunStatusStarting = "STARTING" + + // RunStatusRunning is a RunStatus enum value + RunStatusRunning = "RUNNING" + + // RunStatusStopping is a RunStatus enum value + RunStatusStopping = "STOPPING" + + // RunStatusCompleted is a RunStatus enum value + RunStatusCompleted = "COMPLETED" + + // RunStatusDeleted is a RunStatus enum value + RunStatusDeleted = "DELETED" + + // RunStatusCancelled is a RunStatus enum value + RunStatusCancelled = "CANCELLED" + + // RunStatusFailed is a RunStatus enum value + RunStatusFailed = "FAILED" +) + +// RunStatus_Values returns all elements of the RunStatus enum +func RunStatus_Values() []string { + return []string{ + RunStatusPending, + RunStatusStarting, + RunStatusRunning, + RunStatusStopping, + RunStatusCompleted, + RunStatusDeleted, + RunStatusCancelled, + RunStatusFailed, + } +} + +const ( + // SchemaValueTypeLong is a SchemaValueType enum value + SchemaValueTypeLong = "LONG" + + // SchemaValueTypeInt is a SchemaValueType enum value + SchemaValueTypeInt = "INT" + + // SchemaValueTypeString is a SchemaValueType enum value + SchemaValueTypeString = "STRING" + + // SchemaValueTypeFloat is a SchemaValueType enum value + SchemaValueTypeFloat = "FLOAT" + + // SchemaValueTypeDouble is a SchemaValueType enum value + SchemaValueTypeDouble = "DOUBLE" + + // SchemaValueTypeBoolean is a SchemaValueType enum value + SchemaValueTypeBoolean = "BOOLEAN" +) + +// SchemaValueType_Values returns all elements of the SchemaValueType enum +func SchemaValueType_Values() []string { + return []string{ + SchemaValueTypeLong, + SchemaValueTypeInt, + SchemaValueTypeString, + SchemaValueTypeFloat, + SchemaValueTypeDouble, + SchemaValueTypeBoolean, + } +} + +const ( + // StoreFormatGff is a StoreFormat enum value + StoreFormatGff = "GFF" + + // StoreFormatTsv is a StoreFormat enum value + StoreFormatTsv = "TSV" + + // StoreFormatVcf is a StoreFormat enum value + StoreFormatVcf = "VCF" +) + +// StoreFormat_Values returns all elements of the StoreFormat enum +func StoreFormat_Values() []string { + return []string{ + StoreFormatGff, + StoreFormatTsv, + StoreFormatVcf, + } +} + +const ( + // StoreStatusCreating is a StoreStatus enum value + StoreStatusCreating = "CREATING" + + // StoreStatusUpdating is a StoreStatus enum value + StoreStatusUpdating = "UPDATING" + + // StoreStatusDeleting is a StoreStatus enum value + StoreStatusDeleting = "DELETING" + + // StoreStatusActive is a StoreStatus enum value + StoreStatusActive = "ACTIVE" + + // StoreStatusFailed is a StoreStatus enum value + StoreStatusFailed = "FAILED" +) + +// StoreStatus_Values returns all elements of the StoreStatus enum +func StoreStatus_Values() []string { + return []string{ + StoreStatusCreating, + StoreStatusUpdating, + StoreStatusDeleting, + StoreStatusActive, + StoreStatusFailed, + } +} + +const ( + // TaskStatusPending is a TaskStatus enum value + TaskStatusPending = "PENDING" + + // TaskStatusStarting is a TaskStatus enum value + TaskStatusStarting = "STARTING" + + // TaskStatusRunning is a TaskStatus enum value + TaskStatusRunning = "RUNNING" + + // TaskStatusStopping is a TaskStatus enum value + TaskStatusStopping = "STOPPING" + + // TaskStatusCompleted is a TaskStatus enum value + TaskStatusCompleted = "COMPLETED" + + // TaskStatusCancelled is a TaskStatus enum value + TaskStatusCancelled = "CANCELLED" + + // TaskStatusFailed is a TaskStatus enum value + TaskStatusFailed = "FAILED" +) + +// TaskStatus_Values returns all elements of the TaskStatus enum +func TaskStatus_Values() []string { + return []string{ + TaskStatusPending, + TaskStatusStarting, + TaskStatusRunning, + TaskStatusStopping, + TaskStatusCompleted, + TaskStatusCancelled, + TaskStatusFailed, + } +} + +const ( + // WorkflowEngineWdl is a WorkflowEngine enum value + WorkflowEngineWdl = "WDL" + + // WorkflowEngineNextflow is a WorkflowEngine enum value + WorkflowEngineNextflow = "NEXTFLOW" +) + +// WorkflowEngine_Values returns all elements of the WorkflowEngine enum +func WorkflowEngine_Values() []string { + return []string{ + WorkflowEngineWdl, + WorkflowEngineNextflow, + } +} + +const ( + // WorkflowExportDefinition is a WorkflowExport enum value + WorkflowExportDefinition = "DEFINITION" +) + +// WorkflowExport_Values returns all elements of the WorkflowExport enum +func WorkflowExport_Values() []string { + return []string{ + WorkflowExportDefinition, + } +} + +const ( + // WorkflowStatusCreating is a WorkflowStatus enum value + WorkflowStatusCreating = "CREATING" + + // WorkflowStatusActive is a WorkflowStatus enum value + WorkflowStatusActive = "ACTIVE" + + // WorkflowStatusUpdating is a WorkflowStatus enum value + WorkflowStatusUpdating = "UPDATING" + + // WorkflowStatusDeleted is a WorkflowStatus enum value + WorkflowStatusDeleted = "DELETED" + + // WorkflowStatusFailed is a WorkflowStatus enum value + WorkflowStatusFailed = "FAILED" +) + +// WorkflowStatus_Values returns all elements of the WorkflowStatus enum +func WorkflowStatus_Values() []string { + return []string{ + WorkflowStatusCreating, + WorkflowStatusActive, + WorkflowStatusUpdating, + WorkflowStatusDeleted, + WorkflowStatusFailed, + } +} + +const ( + // WorkflowTypePrivate is a WorkflowType enum value + WorkflowTypePrivate = "PRIVATE" +) + +// WorkflowType_Values returns all elements of the WorkflowType enum +func WorkflowType_Values() []string { + return []string{ + WorkflowTypePrivate, + } +} diff --git a/service/omics/errors.go b/service/omics/errors.go new file mode 100644 index 00000000000..296f30c661e --- /dev/null +++ b/service/omics/errors.go @@ -0,0 +1,76 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package omics + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You do not have sufficient access to perform this action. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // The request cannot be applied to the target resource in its current state. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // An unexpected error occurred. Try the request again. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeRangeNotSatisfiableException for service response error code + // "RangeNotSatisfiableException". + // + // The ranges specified in the request are not valid. + ErrCodeRangeNotSatisfiableException = "RangeNotSatisfiableException" + + // ErrCodeRequestTimeoutException for service response error code + // "RequestTimeoutException". + // + // The request timed out. + ErrCodeRequestTimeoutException = "RequestTimeoutException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // The target resource was not found in the current Region. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // The request exceeds a service quota. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // The input fails to satisfy the constraints specified by an AWS service. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "RangeNotSatisfiableException": newErrorRangeNotSatisfiableException, + "RequestTimeoutException": newErrorRequestTimeoutException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/omics/omicsiface/interface.go b/service/omics/omicsiface/interface.go new file mode 100644 index 00000000000..b170a7c5d81 --- /dev/null +++ b/service/omics/omicsiface/interface.go @@ -0,0 +1,421 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package omicsiface provides an interface to enable mocking the Amazon Omics service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package omicsiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/omics" +) + +// OmicsAPI provides an interface to enable mocking the +// omics.Omics service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // Amazon Omics. +// func myFunc(svc omicsiface.OmicsAPI) bool { +// // Make svc.BatchDeleteReadSet request +// } +// +// func main() { +// sess := session.New() +// svc := omics.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOmicsClient struct { +// omicsiface.OmicsAPI +// } +// func (m *mockOmicsClient) BatchDeleteReadSet(input *omics.BatchDeleteReadSetInput) (*omics.BatchDeleteReadSetOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOmicsClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type OmicsAPI interface { + BatchDeleteReadSet(*omics.BatchDeleteReadSetInput) (*omics.BatchDeleteReadSetOutput, error) + BatchDeleteReadSetWithContext(aws.Context, *omics.BatchDeleteReadSetInput, ...request.Option) (*omics.BatchDeleteReadSetOutput, error) + BatchDeleteReadSetRequest(*omics.BatchDeleteReadSetInput) (*request.Request, *omics.BatchDeleteReadSetOutput) + + CancelAnnotationImportJob(*omics.CancelAnnotationImportJobInput) (*omics.CancelAnnotationImportJobOutput, error) + CancelAnnotationImportJobWithContext(aws.Context, *omics.CancelAnnotationImportJobInput, ...request.Option) (*omics.CancelAnnotationImportJobOutput, error) + CancelAnnotationImportJobRequest(*omics.CancelAnnotationImportJobInput) (*request.Request, *omics.CancelAnnotationImportJobOutput) + + CancelRun(*omics.CancelRunInput) (*omics.CancelRunOutput, error) + CancelRunWithContext(aws.Context, *omics.CancelRunInput, ...request.Option) (*omics.CancelRunOutput, error) + CancelRunRequest(*omics.CancelRunInput) (*request.Request, *omics.CancelRunOutput) + + CancelVariantImportJob(*omics.CancelVariantImportJobInput) (*omics.CancelVariantImportJobOutput, error) + CancelVariantImportJobWithContext(aws.Context, *omics.CancelVariantImportJobInput, ...request.Option) (*omics.CancelVariantImportJobOutput, error) + CancelVariantImportJobRequest(*omics.CancelVariantImportJobInput) (*request.Request, *omics.CancelVariantImportJobOutput) + + CreateAnnotationStore(*omics.CreateAnnotationStoreInput) (*omics.CreateAnnotationStoreOutput, error) + CreateAnnotationStoreWithContext(aws.Context, *omics.CreateAnnotationStoreInput, ...request.Option) (*omics.CreateAnnotationStoreOutput, error) + CreateAnnotationStoreRequest(*omics.CreateAnnotationStoreInput) (*request.Request, *omics.CreateAnnotationStoreOutput) + + CreateReferenceStore(*omics.CreateReferenceStoreInput) (*omics.CreateReferenceStoreOutput, error) + CreateReferenceStoreWithContext(aws.Context, *omics.CreateReferenceStoreInput, ...request.Option) (*omics.CreateReferenceStoreOutput, error) + CreateReferenceStoreRequest(*omics.CreateReferenceStoreInput) (*request.Request, *omics.CreateReferenceStoreOutput) + + CreateRunGroup(*omics.CreateRunGroupInput) (*omics.CreateRunGroupOutput, error) + CreateRunGroupWithContext(aws.Context, *omics.CreateRunGroupInput, ...request.Option) (*omics.CreateRunGroupOutput, error) + CreateRunGroupRequest(*omics.CreateRunGroupInput) (*request.Request, *omics.CreateRunGroupOutput) + + CreateSequenceStore(*omics.CreateSequenceStoreInput) (*omics.CreateSequenceStoreOutput, error) + CreateSequenceStoreWithContext(aws.Context, *omics.CreateSequenceStoreInput, ...request.Option) (*omics.CreateSequenceStoreOutput, error) + CreateSequenceStoreRequest(*omics.CreateSequenceStoreInput) (*request.Request, *omics.CreateSequenceStoreOutput) + + CreateVariantStore(*omics.CreateVariantStoreInput) (*omics.CreateVariantStoreOutput, error) + CreateVariantStoreWithContext(aws.Context, *omics.CreateVariantStoreInput, ...request.Option) (*omics.CreateVariantStoreOutput, error) + CreateVariantStoreRequest(*omics.CreateVariantStoreInput) (*request.Request, *omics.CreateVariantStoreOutput) + + CreateWorkflow(*omics.CreateWorkflowInput) (*omics.CreateWorkflowOutput, error) + CreateWorkflowWithContext(aws.Context, *omics.CreateWorkflowInput, ...request.Option) (*omics.CreateWorkflowOutput, error) + CreateWorkflowRequest(*omics.CreateWorkflowInput) (*request.Request, *omics.CreateWorkflowOutput) + + DeleteAnnotationStore(*omics.DeleteAnnotationStoreInput) (*omics.DeleteAnnotationStoreOutput, error) + DeleteAnnotationStoreWithContext(aws.Context, *omics.DeleteAnnotationStoreInput, ...request.Option) (*omics.DeleteAnnotationStoreOutput, error) + DeleteAnnotationStoreRequest(*omics.DeleteAnnotationStoreInput) (*request.Request, *omics.DeleteAnnotationStoreOutput) + + DeleteReference(*omics.DeleteReferenceInput) (*omics.DeleteReferenceOutput, error) + DeleteReferenceWithContext(aws.Context, *omics.DeleteReferenceInput, ...request.Option) (*omics.DeleteReferenceOutput, error) + DeleteReferenceRequest(*omics.DeleteReferenceInput) (*request.Request, *omics.DeleteReferenceOutput) + + DeleteReferenceStore(*omics.DeleteReferenceStoreInput) (*omics.DeleteReferenceStoreOutput, error) + DeleteReferenceStoreWithContext(aws.Context, *omics.DeleteReferenceStoreInput, ...request.Option) (*omics.DeleteReferenceStoreOutput, error) + DeleteReferenceStoreRequest(*omics.DeleteReferenceStoreInput) (*request.Request, *omics.DeleteReferenceStoreOutput) + + DeleteRun(*omics.DeleteRunInput) (*omics.DeleteRunOutput, error) + DeleteRunWithContext(aws.Context, *omics.DeleteRunInput, ...request.Option) (*omics.DeleteRunOutput, error) + DeleteRunRequest(*omics.DeleteRunInput) (*request.Request, *omics.DeleteRunOutput) + + DeleteRunGroup(*omics.DeleteRunGroupInput) (*omics.DeleteRunGroupOutput, error) + DeleteRunGroupWithContext(aws.Context, *omics.DeleteRunGroupInput, ...request.Option) (*omics.DeleteRunGroupOutput, error) + DeleteRunGroupRequest(*omics.DeleteRunGroupInput) (*request.Request, *omics.DeleteRunGroupOutput) + + DeleteSequenceStore(*omics.DeleteSequenceStoreInput) (*omics.DeleteSequenceStoreOutput, error) + DeleteSequenceStoreWithContext(aws.Context, *omics.DeleteSequenceStoreInput, ...request.Option) (*omics.DeleteSequenceStoreOutput, error) + DeleteSequenceStoreRequest(*omics.DeleteSequenceStoreInput) (*request.Request, *omics.DeleteSequenceStoreOutput) + + DeleteVariantStore(*omics.DeleteVariantStoreInput) (*omics.DeleteVariantStoreOutput, error) + DeleteVariantStoreWithContext(aws.Context, *omics.DeleteVariantStoreInput, ...request.Option) (*omics.DeleteVariantStoreOutput, error) + DeleteVariantStoreRequest(*omics.DeleteVariantStoreInput) (*request.Request, *omics.DeleteVariantStoreOutput) + + DeleteWorkflow(*omics.DeleteWorkflowInput) (*omics.DeleteWorkflowOutput, error) + DeleteWorkflowWithContext(aws.Context, *omics.DeleteWorkflowInput, ...request.Option) (*omics.DeleteWorkflowOutput, error) + DeleteWorkflowRequest(*omics.DeleteWorkflowInput) (*request.Request, *omics.DeleteWorkflowOutput) + + GetAnnotationImportJob(*omics.GetAnnotationImportJobInput) (*omics.GetAnnotationImportJobOutput, error) + GetAnnotationImportJobWithContext(aws.Context, *omics.GetAnnotationImportJobInput, ...request.Option) (*omics.GetAnnotationImportJobOutput, error) + GetAnnotationImportJobRequest(*omics.GetAnnotationImportJobInput) (*request.Request, *omics.GetAnnotationImportJobOutput) + + GetAnnotationStore(*omics.GetAnnotationStoreInput) (*omics.GetAnnotationStoreOutput, error) + GetAnnotationStoreWithContext(aws.Context, *omics.GetAnnotationStoreInput, ...request.Option) (*omics.GetAnnotationStoreOutput, error) + GetAnnotationStoreRequest(*omics.GetAnnotationStoreInput) (*request.Request, *omics.GetAnnotationStoreOutput) + + GetReadSet(*omics.GetReadSetInput) (*omics.GetReadSetOutput, error) + GetReadSetWithContext(aws.Context, *omics.GetReadSetInput, ...request.Option) (*omics.GetReadSetOutput, error) + GetReadSetRequest(*omics.GetReadSetInput) (*request.Request, *omics.GetReadSetOutput) + + GetReadSetActivationJob(*omics.GetReadSetActivationJobInput) (*omics.GetReadSetActivationJobOutput, error) + GetReadSetActivationJobWithContext(aws.Context, *omics.GetReadSetActivationJobInput, ...request.Option) (*omics.GetReadSetActivationJobOutput, error) + GetReadSetActivationJobRequest(*omics.GetReadSetActivationJobInput) (*request.Request, *omics.GetReadSetActivationJobOutput) + + GetReadSetExportJob(*omics.GetReadSetExportJobInput) (*omics.GetReadSetExportJobOutput, error) + GetReadSetExportJobWithContext(aws.Context, *omics.GetReadSetExportJobInput, ...request.Option) (*omics.GetReadSetExportJobOutput, error) + GetReadSetExportJobRequest(*omics.GetReadSetExportJobInput) (*request.Request, *omics.GetReadSetExportJobOutput) + + GetReadSetImportJob(*omics.GetReadSetImportJobInput) (*omics.GetReadSetImportJobOutput, error) + GetReadSetImportJobWithContext(aws.Context, *omics.GetReadSetImportJobInput, ...request.Option) (*omics.GetReadSetImportJobOutput, error) + GetReadSetImportJobRequest(*omics.GetReadSetImportJobInput) (*request.Request, *omics.GetReadSetImportJobOutput) + + GetReadSetMetadata(*omics.GetReadSetMetadataInput) (*omics.GetReadSetMetadataOutput, error) + GetReadSetMetadataWithContext(aws.Context, *omics.GetReadSetMetadataInput, ...request.Option) (*omics.GetReadSetMetadataOutput, error) + GetReadSetMetadataRequest(*omics.GetReadSetMetadataInput) (*request.Request, *omics.GetReadSetMetadataOutput) + + GetReference(*omics.GetReferenceInput) (*omics.GetReferenceOutput, error) + GetReferenceWithContext(aws.Context, *omics.GetReferenceInput, ...request.Option) (*omics.GetReferenceOutput, error) + GetReferenceRequest(*omics.GetReferenceInput) (*request.Request, *omics.GetReferenceOutput) + + GetReferenceImportJob(*omics.GetReferenceImportJobInput) (*omics.GetReferenceImportJobOutput, error) + GetReferenceImportJobWithContext(aws.Context, *omics.GetReferenceImportJobInput, ...request.Option) (*omics.GetReferenceImportJobOutput, error) + GetReferenceImportJobRequest(*omics.GetReferenceImportJobInput) (*request.Request, *omics.GetReferenceImportJobOutput) + + GetReferenceMetadata(*omics.GetReferenceMetadataInput) (*omics.GetReferenceMetadataOutput, error) + GetReferenceMetadataWithContext(aws.Context, *omics.GetReferenceMetadataInput, ...request.Option) (*omics.GetReferenceMetadataOutput, error) + GetReferenceMetadataRequest(*omics.GetReferenceMetadataInput) (*request.Request, *omics.GetReferenceMetadataOutput) + + GetReferenceStore(*omics.GetReferenceStoreInput) (*omics.GetReferenceStoreOutput, error) + GetReferenceStoreWithContext(aws.Context, *omics.GetReferenceStoreInput, ...request.Option) (*omics.GetReferenceStoreOutput, error) + GetReferenceStoreRequest(*omics.GetReferenceStoreInput) (*request.Request, *omics.GetReferenceStoreOutput) + + GetRun(*omics.GetRunInput) (*omics.GetRunOutput, error) + GetRunWithContext(aws.Context, *omics.GetRunInput, ...request.Option) (*omics.GetRunOutput, error) + GetRunRequest(*omics.GetRunInput) (*request.Request, *omics.GetRunOutput) + + GetRunGroup(*omics.GetRunGroupInput) (*omics.GetRunGroupOutput, error) + GetRunGroupWithContext(aws.Context, *omics.GetRunGroupInput, ...request.Option) (*omics.GetRunGroupOutput, error) + GetRunGroupRequest(*omics.GetRunGroupInput) (*request.Request, *omics.GetRunGroupOutput) + + GetRunTask(*omics.GetRunTaskInput) (*omics.GetRunTaskOutput, error) + GetRunTaskWithContext(aws.Context, *omics.GetRunTaskInput, ...request.Option) (*omics.GetRunTaskOutput, error) + GetRunTaskRequest(*omics.GetRunTaskInput) (*request.Request, *omics.GetRunTaskOutput) + + GetSequenceStore(*omics.GetSequenceStoreInput) (*omics.GetSequenceStoreOutput, error) + GetSequenceStoreWithContext(aws.Context, *omics.GetSequenceStoreInput, ...request.Option) (*omics.GetSequenceStoreOutput, error) + GetSequenceStoreRequest(*omics.GetSequenceStoreInput) (*request.Request, *omics.GetSequenceStoreOutput) + + GetVariantImportJob(*omics.GetVariantImportJobInput) (*omics.GetVariantImportJobOutput, error) + GetVariantImportJobWithContext(aws.Context, *omics.GetVariantImportJobInput, ...request.Option) (*omics.GetVariantImportJobOutput, error) + GetVariantImportJobRequest(*omics.GetVariantImportJobInput) (*request.Request, *omics.GetVariantImportJobOutput) + + GetVariantStore(*omics.GetVariantStoreInput) (*omics.GetVariantStoreOutput, error) + GetVariantStoreWithContext(aws.Context, *omics.GetVariantStoreInput, ...request.Option) (*omics.GetVariantStoreOutput, error) + GetVariantStoreRequest(*omics.GetVariantStoreInput) (*request.Request, *omics.GetVariantStoreOutput) + + GetWorkflow(*omics.GetWorkflowInput) (*omics.GetWorkflowOutput, error) + GetWorkflowWithContext(aws.Context, *omics.GetWorkflowInput, ...request.Option) (*omics.GetWorkflowOutput, error) + GetWorkflowRequest(*omics.GetWorkflowInput) (*request.Request, *omics.GetWorkflowOutput) + + ListAnnotationImportJobs(*omics.ListAnnotationImportJobsInput) (*omics.ListAnnotationImportJobsOutput, error) + ListAnnotationImportJobsWithContext(aws.Context, *omics.ListAnnotationImportJobsInput, ...request.Option) (*omics.ListAnnotationImportJobsOutput, error) + ListAnnotationImportJobsRequest(*omics.ListAnnotationImportJobsInput) (*request.Request, *omics.ListAnnotationImportJobsOutput) + + ListAnnotationImportJobsPages(*omics.ListAnnotationImportJobsInput, func(*omics.ListAnnotationImportJobsOutput, bool) bool) error + ListAnnotationImportJobsPagesWithContext(aws.Context, *omics.ListAnnotationImportJobsInput, func(*omics.ListAnnotationImportJobsOutput, bool) bool, ...request.Option) error + + ListAnnotationStores(*omics.ListAnnotationStoresInput) (*omics.ListAnnotationStoresOutput, error) + ListAnnotationStoresWithContext(aws.Context, *omics.ListAnnotationStoresInput, ...request.Option) (*omics.ListAnnotationStoresOutput, error) + ListAnnotationStoresRequest(*omics.ListAnnotationStoresInput) (*request.Request, *omics.ListAnnotationStoresOutput) + + ListAnnotationStoresPages(*omics.ListAnnotationStoresInput, func(*omics.ListAnnotationStoresOutput, bool) bool) error + ListAnnotationStoresPagesWithContext(aws.Context, *omics.ListAnnotationStoresInput, func(*omics.ListAnnotationStoresOutput, bool) bool, ...request.Option) error + + ListReadSetActivationJobs(*omics.ListReadSetActivationJobsInput) (*omics.ListReadSetActivationJobsOutput, error) + ListReadSetActivationJobsWithContext(aws.Context, *omics.ListReadSetActivationJobsInput, ...request.Option) (*omics.ListReadSetActivationJobsOutput, error) + ListReadSetActivationJobsRequest(*omics.ListReadSetActivationJobsInput) (*request.Request, *omics.ListReadSetActivationJobsOutput) + + ListReadSetActivationJobsPages(*omics.ListReadSetActivationJobsInput, func(*omics.ListReadSetActivationJobsOutput, bool) bool) error + ListReadSetActivationJobsPagesWithContext(aws.Context, *omics.ListReadSetActivationJobsInput, func(*omics.ListReadSetActivationJobsOutput, bool) bool, ...request.Option) error + + ListReadSetExportJobs(*omics.ListReadSetExportJobsInput) (*omics.ListReadSetExportJobsOutput, error) + ListReadSetExportJobsWithContext(aws.Context, *omics.ListReadSetExportJobsInput, ...request.Option) (*omics.ListReadSetExportJobsOutput, error) + ListReadSetExportJobsRequest(*omics.ListReadSetExportJobsInput) (*request.Request, *omics.ListReadSetExportJobsOutput) + + ListReadSetExportJobsPages(*omics.ListReadSetExportJobsInput, func(*omics.ListReadSetExportJobsOutput, bool) bool) error + ListReadSetExportJobsPagesWithContext(aws.Context, *omics.ListReadSetExportJobsInput, func(*omics.ListReadSetExportJobsOutput, bool) bool, ...request.Option) error + + ListReadSetImportJobs(*omics.ListReadSetImportJobsInput) (*omics.ListReadSetImportJobsOutput, error) + ListReadSetImportJobsWithContext(aws.Context, *omics.ListReadSetImportJobsInput, ...request.Option) (*omics.ListReadSetImportJobsOutput, error) + ListReadSetImportJobsRequest(*omics.ListReadSetImportJobsInput) (*request.Request, *omics.ListReadSetImportJobsOutput) + + ListReadSetImportJobsPages(*omics.ListReadSetImportJobsInput, func(*omics.ListReadSetImportJobsOutput, bool) bool) error + ListReadSetImportJobsPagesWithContext(aws.Context, *omics.ListReadSetImportJobsInput, func(*omics.ListReadSetImportJobsOutput, bool) bool, ...request.Option) error + + ListReadSets(*omics.ListReadSetsInput) (*omics.ListReadSetsOutput, error) + ListReadSetsWithContext(aws.Context, *omics.ListReadSetsInput, ...request.Option) (*omics.ListReadSetsOutput, error) + ListReadSetsRequest(*omics.ListReadSetsInput) (*request.Request, *omics.ListReadSetsOutput) + + ListReadSetsPages(*omics.ListReadSetsInput, func(*omics.ListReadSetsOutput, bool) bool) error + ListReadSetsPagesWithContext(aws.Context, *omics.ListReadSetsInput, func(*omics.ListReadSetsOutput, bool) bool, ...request.Option) error + + ListReferenceImportJobs(*omics.ListReferenceImportJobsInput) (*omics.ListReferenceImportJobsOutput, error) + ListReferenceImportJobsWithContext(aws.Context, *omics.ListReferenceImportJobsInput, ...request.Option) (*omics.ListReferenceImportJobsOutput, error) + ListReferenceImportJobsRequest(*omics.ListReferenceImportJobsInput) (*request.Request, *omics.ListReferenceImportJobsOutput) + + ListReferenceImportJobsPages(*omics.ListReferenceImportJobsInput, func(*omics.ListReferenceImportJobsOutput, bool) bool) error + ListReferenceImportJobsPagesWithContext(aws.Context, *omics.ListReferenceImportJobsInput, func(*omics.ListReferenceImportJobsOutput, bool) bool, ...request.Option) error + + ListReferenceStores(*omics.ListReferenceStoresInput) (*omics.ListReferenceStoresOutput, error) + ListReferenceStoresWithContext(aws.Context, *omics.ListReferenceStoresInput, ...request.Option) (*omics.ListReferenceStoresOutput, error) + ListReferenceStoresRequest(*omics.ListReferenceStoresInput) (*request.Request, *omics.ListReferenceStoresOutput) + + ListReferenceStoresPages(*omics.ListReferenceStoresInput, func(*omics.ListReferenceStoresOutput, bool) bool) error + ListReferenceStoresPagesWithContext(aws.Context, *omics.ListReferenceStoresInput, func(*omics.ListReferenceStoresOutput, bool) bool, ...request.Option) error + + ListReferences(*omics.ListReferencesInput) (*omics.ListReferencesOutput, error) + ListReferencesWithContext(aws.Context, *omics.ListReferencesInput, ...request.Option) (*omics.ListReferencesOutput, error) + ListReferencesRequest(*omics.ListReferencesInput) (*request.Request, *omics.ListReferencesOutput) + + ListReferencesPages(*omics.ListReferencesInput, func(*omics.ListReferencesOutput, bool) bool) error + ListReferencesPagesWithContext(aws.Context, *omics.ListReferencesInput, func(*omics.ListReferencesOutput, bool) bool, ...request.Option) error + + ListRunGroups(*omics.ListRunGroupsInput) (*omics.ListRunGroupsOutput, error) + ListRunGroupsWithContext(aws.Context, *omics.ListRunGroupsInput, ...request.Option) (*omics.ListRunGroupsOutput, error) + ListRunGroupsRequest(*omics.ListRunGroupsInput) (*request.Request, *omics.ListRunGroupsOutput) + + ListRunGroupsPages(*omics.ListRunGroupsInput, func(*omics.ListRunGroupsOutput, bool) bool) error + ListRunGroupsPagesWithContext(aws.Context, *omics.ListRunGroupsInput, func(*omics.ListRunGroupsOutput, bool) bool, ...request.Option) error + + ListRunTasks(*omics.ListRunTasksInput) (*omics.ListRunTasksOutput, error) + ListRunTasksWithContext(aws.Context, *omics.ListRunTasksInput, ...request.Option) (*omics.ListRunTasksOutput, error) + ListRunTasksRequest(*omics.ListRunTasksInput) (*request.Request, *omics.ListRunTasksOutput) + + ListRunTasksPages(*omics.ListRunTasksInput, func(*omics.ListRunTasksOutput, bool) bool) error + ListRunTasksPagesWithContext(aws.Context, *omics.ListRunTasksInput, func(*omics.ListRunTasksOutput, bool) bool, ...request.Option) error + + ListRuns(*omics.ListRunsInput) (*omics.ListRunsOutput, error) + ListRunsWithContext(aws.Context, *omics.ListRunsInput, ...request.Option) (*omics.ListRunsOutput, error) + ListRunsRequest(*omics.ListRunsInput) (*request.Request, *omics.ListRunsOutput) + + ListRunsPages(*omics.ListRunsInput, func(*omics.ListRunsOutput, bool) bool) error + ListRunsPagesWithContext(aws.Context, *omics.ListRunsInput, func(*omics.ListRunsOutput, bool) bool, ...request.Option) error + + ListSequenceStores(*omics.ListSequenceStoresInput) (*omics.ListSequenceStoresOutput, error) + ListSequenceStoresWithContext(aws.Context, *omics.ListSequenceStoresInput, ...request.Option) (*omics.ListSequenceStoresOutput, error) + ListSequenceStoresRequest(*omics.ListSequenceStoresInput) (*request.Request, *omics.ListSequenceStoresOutput) + + ListSequenceStoresPages(*omics.ListSequenceStoresInput, func(*omics.ListSequenceStoresOutput, bool) bool) error + ListSequenceStoresPagesWithContext(aws.Context, *omics.ListSequenceStoresInput, func(*omics.ListSequenceStoresOutput, bool) bool, ...request.Option) error + + ListTagsForResource(*omics.ListTagsForResourceInput) (*omics.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *omics.ListTagsForResourceInput, ...request.Option) (*omics.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*omics.ListTagsForResourceInput) (*request.Request, *omics.ListTagsForResourceOutput) + + ListVariantImportJobs(*omics.ListVariantImportJobsInput) (*omics.ListVariantImportJobsOutput, error) + ListVariantImportJobsWithContext(aws.Context, *omics.ListVariantImportJobsInput, ...request.Option) (*omics.ListVariantImportJobsOutput, error) + ListVariantImportJobsRequest(*omics.ListVariantImportJobsInput) (*request.Request, *omics.ListVariantImportJobsOutput) + + ListVariantImportJobsPages(*omics.ListVariantImportJobsInput, func(*omics.ListVariantImportJobsOutput, bool) bool) error + ListVariantImportJobsPagesWithContext(aws.Context, *omics.ListVariantImportJobsInput, func(*omics.ListVariantImportJobsOutput, bool) bool, ...request.Option) error + + ListVariantStores(*omics.ListVariantStoresInput) (*omics.ListVariantStoresOutput, error) + ListVariantStoresWithContext(aws.Context, *omics.ListVariantStoresInput, ...request.Option) (*omics.ListVariantStoresOutput, error) + ListVariantStoresRequest(*omics.ListVariantStoresInput) (*request.Request, *omics.ListVariantStoresOutput) + + ListVariantStoresPages(*omics.ListVariantStoresInput, func(*omics.ListVariantStoresOutput, bool) bool) error + ListVariantStoresPagesWithContext(aws.Context, *omics.ListVariantStoresInput, func(*omics.ListVariantStoresOutput, bool) bool, ...request.Option) error + + ListWorkflows(*omics.ListWorkflowsInput) (*omics.ListWorkflowsOutput, error) + ListWorkflowsWithContext(aws.Context, *omics.ListWorkflowsInput, ...request.Option) (*omics.ListWorkflowsOutput, error) + ListWorkflowsRequest(*omics.ListWorkflowsInput) (*request.Request, *omics.ListWorkflowsOutput) + + ListWorkflowsPages(*omics.ListWorkflowsInput, func(*omics.ListWorkflowsOutput, bool) bool) error + ListWorkflowsPagesWithContext(aws.Context, *omics.ListWorkflowsInput, func(*omics.ListWorkflowsOutput, bool) bool, ...request.Option) error + + StartAnnotationImportJob(*omics.StartAnnotationImportJobInput) (*omics.StartAnnotationImportJobOutput, error) + StartAnnotationImportJobWithContext(aws.Context, *omics.StartAnnotationImportJobInput, ...request.Option) (*omics.StartAnnotationImportJobOutput, error) + StartAnnotationImportJobRequest(*omics.StartAnnotationImportJobInput) (*request.Request, *omics.StartAnnotationImportJobOutput) + + StartReadSetActivationJob(*omics.StartReadSetActivationJobInput) (*omics.StartReadSetActivationJobOutput, error) + StartReadSetActivationJobWithContext(aws.Context, *omics.StartReadSetActivationJobInput, ...request.Option) (*omics.StartReadSetActivationJobOutput, error) + StartReadSetActivationJobRequest(*omics.StartReadSetActivationJobInput) (*request.Request, *omics.StartReadSetActivationJobOutput) + + StartReadSetExportJob(*omics.StartReadSetExportJobInput) (*omics.StartReadSetExportJobOutput, error) + StartReadSetExportJobWithContext(aws.Context, *omics.StartReadSetExportJobInput, ...request.Option) (*omics.StartReadSetExportJobOutput, error) + StartReadSetExportJobRequest(*omics.StartReadSetExportJobInput) (*request.Request, *omics.StartReadSetExportJobOutput) + + StartReadSetImportJob(*omics.StartReadSetImportJobInput) (*omics.StartReadSetImportJobOutput, error) + StartReadSetImportJobWithContext(aws.Context, *omics.StartReadSetImportJobInput, ...request.Option) (*omics.StartReadSetImportJobOutput, error) + StartReadSetImportJobRequest(*omics.StartReadSetImportJobInput) (*request.Request, *omics.StartReadSetImportJobOutput) + + StartReferenceImportJob(*omics.StartReferenceImportJobInput) (*omics.StartReferenceImportJobOutput, error) + StartReferenceImportJobWithContext(aws.Context, *omics.StartReferenceImportJobInput, ...request.Option) (*omics.StartReferenceImportJobOutput, error) + StartReferenceImportJobRequest(*omics.StartReferenceImportJobInput) (*request.Request, *omics.StartReferenceImportJobOutput) + + StartRun(*omics.StartRunInput) (*omics.StartRunOutput, error) + StartRunWithContext(aws.Context, *omics.StartRunInput, ...request.Option) (*omics.StartRunOutput, error) + StartRunRequest(*omics.StartRunInput) (*request.Request, *omics.StartRunOutput) + + StartVariantImportJob(*omics.StartVariantImportJobInput) (*omics.StartVariantImportJobOutput, error) + StartVariantImportJobWithContext(aws.Context, *omics.StartVariantImportJobInput, ...request.Option) (*omics.StartVariantImportJobOutput, error) + StartVariantImportJobRequest(*omics.StartVariantImportJobInput) (*request.Request, *omics.StartVariantImportJobOutput) + + TagResource(*omics.TagResourceInput) (*omics.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *omics.TagResourceInput, ...request.Option) (*omics.TagResourceOutput, error) + TagResourceRequest(*omics.TagResourceInput) (*request.Request, *omics.TagResourceOutput) + + UntagResource(*omics.UntagResourceInput) (*omics.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *omics.UntagResourceInput, ...request.Option) (*omics.UntagResourceOutput, error) + UntagResourceRequest(*omics.UntagResourceInput) (*request.Request, *omics.UntagResourceOutput) + + UpdateAnnotationStore(*omics.UpdateAnnotationStoreInput) (*omics.UpdateAnnotationStoreOutput, error) + UpdateAnnotationStoreWithContext(aws.Context, *omics.UpdateAnnotationStoreInput, ...request.Option) (*omics.UpdateAnnotationStoreOutput, error) + UpdateAnnotationStoreRequest(*omics.UpdateAnnotationStoreInput) (*request.Request, *omics.UpdateAnnotationStoreOutput) + + UpdateRunGroup(*omics.UpdateRunGroupInput) (*omics.UpdateRunGroupOutput, error) + UpdateRunGroupWithContext(aws.Context, *omics.UpdateRunGroupInput, ...request.Option) (*omics.UpdateRunGroupOutput, error) + UpdateRunGroupRequest(*omics.UpdateRunGroupInput) (*request.Request, *omics.UpdateRunGroupOutput) + + UpdateVariantStore(*omics.UpdateVariantStoreInput) (*omics.UpdateVariantStoreOutput, error) + UpdateVariantStoreWithContext(aws.Context, *omics.UpdateVariantStoreInput, ...request.Option) (*omics.UpdateVariantStoreOutput, error) + UpdateVariantStoreRequest(*omics.UpdateVariantStoreInput) (*request.Request, *omics.UpdateVariantStoreOutput) + + UpdateWorkflow(*omics.UpdateWorkflowInput) (*omics.UpdateWorkflowOutput, error) + UpdateWorkflowWithContext(aws.Context, *omics.UpdateWorkflowInput, ...request.Option) (*omics.UpdateWorkflowOutput, error) + UpdateWorkflowRequest(*omics.UpdateWorkflowInput) (*request.Request, *omics.UpdateWorkflowOutput) + + WaitUntilAnnotationImportJobCreated(*omics.GetAnnotationImportJobInput) error + WaitUntilAnnotationImportJobCreatedWithContext(aws.Context, *omics.GetAnnotationImportJobInput, ...request.WaiterOption) error + + WaitUntilAnnotationStoreCreated(*omics.GetAnnotationStoreInput) error + WaitUntilAnnotationStoreCreatedWithContext(aws.Context, *omics.GetAnnotationStoreInput, ...request.WaiterOption) error + + WaitUntilAnnotationStoreDeleted(*omics.GetAnnotationStoreInput) error + WaitUntilAnnotationStoreDeletedWithContext(aws.Context, *omics.GetAnnotationStoreInput, ...request.WaiterOption) error + + WaitUntilReadSetActivationJobCompleted(*omics.GetReadSetActivationJobInput) error + WaitUntilReadSetActivationJobCompletedWithContext(aws.Context, *omics.GetReadSetActivationJobInput, ...request.WaiterOption) error + + WaitUntilReadSetExportJobCompleted(*omics.GetReadSetExportJobInput) error + WaitUntilReadSetExportJobCompletedWithContext(aws.Context, *omics.GetReadSetExportJobInput, ...request.WaiterOption) error + + WaitUntilReadSetImportJobCompleted(*omics.GetReadSetImportJobInput) error + WaitUntilReadSetImportJobCompletedWithContext(aws.Context, *omics.GetReadSetImportJobInput, ...request.WaiterOption) error + + WaitUntilReferenceImportJobCompleted(*omics.GetReferenceImportJobInput) error + WaitUntilReferenceImportJobCompletedWithContext(aws.Context, *omics.GetReferenceImportJobInput, ...request.WaiterOption) error + + WaitUntilRunCompleted(*omics.GetRunInput) error + WaitUntilRunCompletedWithContext(aws.Context, *omics.GetRunInput, ...request.WaiterOption) error + + WaitUntilRunRunning(*omics.GetRunInput) error + WaitUntilRunRunningWithContext(aws.Context, *omics.GetRunInput, ...request.WaiterOption) error + + WaitUntilTaskCompleted(*omics.GetRunTaskInput) error + WaitUntilTaskCompletedWithContext(aws.Context, *omics.GetRunTaskInput, ...request.WaiterOption) error + + WaitUntilTaskRunning(*omics.GetRunTaskInput) error + WaitUntilTaskRunningWithContext(aws.Context, *omics.GetRunTaskInput, ...request.WaiterOption) error + + WaitUntilVariantImportJobCreated(*omics.GetVariantImportJobInput) error + WaitUntilVariantImportJobCreatedWithContext(aws.Context, *omics.GetVariantImportJobInput, ...request.WaiterOption) error + + WaitUntilVariantStoreCreated(*omics.GetVariantStoreInput) error + WaitUntilVariantStoreCreatedWithContext(aws.Context, *omics.GetVariantStoreInput, ...request.WaiterOption) error + + WaitUntilVariantStoreDeleted(*omics.GetVariantStoreInput) error + WaitUntilVariantStoreDeletedWithContext(aws.Context, *omics.GetVariantStoreInput, ...request.WaiterOption) error + + WaitUntilWorkflowActive(*omics.GetWorkflowInput) error + WaitUntilWorkflowActiveWithContext(aws.Context, *omics.GetWorkflowInput, ...request.WaiterOption) error +} + +var _ OmicsAPI = (*omics.Omics)(nil) diff --git a/service/omics/service.go b/service/omics/service.go new file mode 100644 index 00000000000..5063b1f436b --- /dev/null +++ b/service/omics/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package omics + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// Omics provides the API operation methods for making requests to +// Amazon Omics. See this package's package overview docs +// for details on the service. +// +// Omics methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type Omics struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "Omics" // Name of service. + EndpointsID = "omics" // ID to lookup a service endpoint with. + ServiceID = "Omics" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the Omics client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a Omics client from just a session. +// svc := omics.New(mySession) +// +// // Create a Omics client with additional configuration +// svc := omics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *Omics { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "omics" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *Omics { + svc := &Omics{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2022-11-28", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a Omics operation and runs any +// custom request initialization. +func (c *Omics) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/omics/waiters.go b/service/omics/waiters.go new file mode 100644 index 00000000000..5f81b455a24 --- /dev/null +++ b/service/omics/waiters.go @@ -0,0 +1,1015 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package omics + +import ( + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" +) + +// WaitUntilAnnotationImportJobCreated uses the Amazon Omics API operation +// GetAnnotationImportJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilAnnotationImportJobCreated(input *GetAnnotationImportJobInput) error { + return c.WaitUntilAnnotationImportJobCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilAnnotationImportJobCreatedWithContext is an extended version of WaitUntilAnnotationImportJobCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilAnnotationImportJobCreatedWithContext(ctx aws.Context, input *GetAnnotationImportJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilAnnotationImportJobCreated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetAnnotationImportJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAnnotationImportJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilAnnotationStoreCreated uses the Amazon Omics API operation +// GetAnnotationStore to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilAnnotationStoreCreated(input *GetAnnotationStoreInput) error { + return c.WaitUntilAnnotationStoreCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilAnnotationStoreCreatedWithContext is an extended version of WaitUntilAnnotationStoreCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilAnnotationStoreCreatedWithContext(ctx aws.Context, input *GetAnnotationStoreInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilAnnotationStoreCreated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "ACTIVE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CREATING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "UPDATING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetAnnotationStoreInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAnnotationStoreRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilAnnotationStoreDeleted uses the Amazon Omics API operation +// GetAnnotationStore to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilAnnotationStoreDeleted(input *GetAnnotationStoreInput) error { + return c.WaitUntilAnnotationStoreDeletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilAnnotationStoreDeletedWithContext is an extended version of WaitUntilAnnotationStoreDeleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilAnnotationStoreDeletedWithContext(ctx aws.Context, input *GetAnnotationStoreInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilAnnotationStoreDeleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.ErrorWaiterMatch, + Expected: "ResourceNotFoundException", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETING", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetAnnotationStoreInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAnnotationStoreRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilReadSetActivationJobCompleted uses the Amazon Omics API operation +// GetReadSetActivationJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilReadSetActivationJobCompleted(input *GetReadSetActivationJobInput) error { + return c.WaitUntilReadSetActivationJobCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilReadSetActivationJobCompletedWithContext is an extended version of WaitUntilReadSetActivationJobCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilReadSetActivationJobCompletedWithContext(ctx aws.Context, input *GetReadSetActivationJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilReadSetActivationJobCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED_WITH_FAILURES", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetReadSetActivationJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetReadSetActivationJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilReadSetExportJobCompleted uses the Amazon Omics API operation +// GetReadSetExportJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilReadSetExportJobCompleted(input *GetReadSetExportJobInput) error { + return c.WaitUntilReadSetExportJobCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilReadSetExportJobCompletedWithContext is an extended version of WaitUntilReadSetExportJobCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilReadSetExportJobCompletedWithContext(ctx aws.Context, input *GetReadSetExportJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilReadSetExportJobCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED_WITH_FAILURES", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetReadSetExportJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetReadSetExportJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilReadSetImportJobCompleted uses the Amazon Omics API operation +// GetReadSetImportJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilReadSetImportJobCompleted(input *GetReadSetImportJobInput) error { + return c.WaitUntilReadSetImportJobCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilReadSetImportJobCompletedWithContext is an extended version of WaitUntilReadSetImportJobCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilReadSetImportJobCompletedWithContext(ctx aws.Context, input *GetReadSetImportJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilReadSetImportJobCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED_WITH_FAILURES", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetReadSetImportJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetReadSetImportJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilReferenceImportJobCompleted uses the Amazon Omics API operation +// GetReferenceImportJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilReferenceImportJobCompleted(input *GetReferenceImportJobInput) error { + return c.WaitUntilReferenceImportJobCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilReferenceImportJobCompletedWithContext is an extended version of WaitUntilReferenceImportJobCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilReferenceImportJobCompletedWithContext(ctx aws.Context, input *GetReferenceImportJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilReferenceImportJobCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED_WITH_FAILURES", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetReferenceImportJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetReferenceImportJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilRunCompleted uses the Amazon Omics API operation +// GetRun to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilRunCompleted(input *GetRunInput) error { + return c.WaitUntilRunCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilRunCompletedWithContext is an extended version of WaitUntilRunCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilRunCompletedWithContext(ctx aws.Context, input *GetRunInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilRunCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "PENDING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STARTING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "RUNNING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STOPPING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetRunInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetRunRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilRunRunning uses the Amazon Omics API operation +// GetRun to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilRunRunning(input *GetRunInput) error { + return c.WaitUntilRunRunningWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilRunRunningWithContext is an extended version of WaitUntilRunRunning. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilRunRunningWithContext(ctx aws.Context, input *GetRunInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilRunRunning", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "RUNNING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "PENDING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STARTING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetRunInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetRunRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilTaskCompleted uses the Amazon Omics API operation +// GetRunTask to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilTaskCompleted(input *GetRunTaskInput) error { + return c.WaitUntilTaskCompletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilTaskCompletedWithContext is an extended version of WaitUntilTaskCompleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilTaskCompletedWithContext(ctx aws.Context, input *GetRunTaskInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilTaskCompleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "PENDING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STARTING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "RUNNING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STOPPING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetRunTaskInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetRunTaskRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilTaskRunning uses the Amazon Omics API operation +// GetRunTask to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilTaskRunning(input *GetRunTaskInput) error { + return c.WaitUntilTaskRunningWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilTaskRunningWithContext is an extended version of WaitUntilTaskRunning. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilTaskRunningWithContext(ctx aws.Context, input *GetRunTaskInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilTaskRunning", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "RUNNING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "PENDING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "STARTING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetRunTaskInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetRunTaskRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilVariantImportJobCreated uses the Amazon Omics API operation +// GetVariantImportJob to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilVariantImportJobCreated(input *GetVariantImportJobInput) error { + return c.WaitUntilVariantImportJobCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilVariantImportJobCreatedWithContext is an extended version of WaitUntilVariantImportJobCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilVariantImportJobCreatedWithContext(ctx aws.Context, input *GetVariantImportJobInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilVariantImportJobCreated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "SUBMITTED", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CANCELLED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "COMPLETED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetVariantImportJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetVariantImportJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilVariantStoreCreated uses the Amazon Omics API operation +// GetVariantStore to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilVariantStoreCreated(input *GetVariantStoreInput) error { + return c.WaitUntilVariantStoreCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilVariantStoreCreatedWithContext is an extended version of WaitUntilVariantStoreCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilVariantStoreCreatedWithContext(ctx aws.Context, input *GetVariantStoreInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilVariantStoreCreated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "ACTIVE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CREATING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "UPDATING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetVariantStoreInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetVariantStoreRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilVariantStoreDeleted uses the Amazon Omics API operation +// GetVariantStore to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilVariantStoreDeleted(input *GetVariantStoreInput) error { + return c.WaitUntilVariantStoreDeletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilVariantStoreDeletedWithContext is an extended version of WaitUntilVariantStoreDeleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilVariantStoreDeletedWithContext(ctx aws.Context, input *GetVariantStoreInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilVariantStoreDeleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.ErrorWaiterMatch, + Expected: "ResourceNotFoundException", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETING", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetVariantStoreInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetVariantStoreRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilWorkflowActive uses the Amazon Omics API operation +// GetWorkflow to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilWorkflowActive(input *GetWorkflowInput) error { + return c.WaitUntilWorkflowActiveWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilWorkflowActiveWithContext is an extended version of WaitUntilWorkflowActive. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Omics) WaitUntilWorkflowActiveWithContext(ctx aws.Context, input *GetWorkflowInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilWorkflowActive", + MaxAttempts: 10, + Delay: request.ConstantWaiterDelay(3 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "ACTIVE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CREATING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "UPDATING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetWorkflowInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetWorkflowRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} diff --git a/service/transcribestreamingservice/api.go b/service/transcribestreamingservice/api.go index 50c2d08fd7d..2b00a2285d8 100644 --- a/service/transcribestreamingservice/api.go +++ b/service/transcribestreamingservice/api.go @@ -280,8 +280,8 @@ func (es *StartCallAnalyticsStreamTranscriptionEventStream) closeInputPipe() err // // These events are: // -// * AudioEvent -// * ConfigurationEvent +// - AudioEvent +// - ConfigurationEvent func (es *StartCallAnalyticsStreamTranscriptionEventStream) Send(ctx aws.Context, event AudioStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -325,9 +325,9 @@ func (es *StartCallAnalyticsStreamTranscriptionEventStream) runInputStream(r *re // // These events are: // -// * CategoryEvent -// * UtteranceEvent -// * CallAnalyticsTranscriptResultStreamUnknownEvent +// - CategoryEvent +// - UtteranceEvent +// - CallAnalyticsTranscriptResultStreamUnknownEvent func (es *StartCallAnalyticsStreamTranscriptionEventStream) Events() <-chan CallAnalyticsTranscriptResultStreamEvent { return es.Reader.Events() } @@ -672,8 +672,8 @@ func (es *StartMedicalStreamTranscriptionEventStream) closeInputPipe() error { // // These events are: // -// * AudioEvent -// * ConfigurationEvent +// - AudioEvent +// - ConfigurationEvent func (es *StartMedicalStreamTranscriptionEventStream) Send(ctx aws.Context, event AudioStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -717,8 +717,8 @@ func (es *StartMedicalStreamTranscriptionEventStream) runInputStream(r *request. // // These events are: // -// * MedicalTranscriptEvent -// * MedicalTranscriptResultStreamUnknownEvent +// - MedicalTranscriptEvent +// - MedicalTranscriptResultStreamUnknownEvent func (es *StartMedicalStreamTranscriptionEventStream) Events() <-chan MedicalTranscriptResultStreamEvent { return es.Reader.Events() } @@ -1062,8 +1062,8 @@ func (es *StartStreamTranscriptionEventStream) closeInputPipe() error { // // These events are: // -// * AudioEvent -// * ConfigurationEvent +// - AudioEvent +// - ConfigurationEvent func (es *StartStreamTranscriptionEventStream) Send(ctx aws.Context, event AudioStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -1107,8 +1107,8 @@ func (es *StartStreamTranscriptionEventStream) runInputStream(r *request.Request // // These events are: // -// * TranscriptEvent -// * TranscriptResultStreamUnknownEvent +// - TranscriptEvent +// - TranscriptResultStreamUnknownEvent func (es *StartStreamTranscriptionEventStream) Events() <-chan TranscriptResultStreamEvent { return es.Reader.Events() }