Documentation ¶
Overview ¶
Package imagebuilder provides the client and types for making API requests to imagebuilder.
EC2 Image Builder is a fully managed AWS service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date “golden” server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.
See https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02 for more information on this service.
See imagebuilder package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/imagebuilder/
Using the Client ¶
To use imagebuilder with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the imagebuilder client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/imagebuilder/#New
Index ¶
- Constants
- type Ami
- type AmiDistributionConfiguration
- type CancelImageCreationInput
- type CancelImageCreationOutput
- type CancelImageCreationRequest
- type CancelImageCreationResponse
- type Client
- func (c *Client) CancelImageCreationRequest(input *CancelImageCreationInput) CancelImageCreationRequest
- func (c *Client) CreateComponentRequest(input *CreateComponentInput) CreateComponentRequest
- func (c *Client) CreateDistributionConfigurationRequest(input *CreateDistributionConfigurationInput) CreateDistributionConfigurationRequest
- func (c *Client) CreateImagePipelineRequest(input *CreateImagePipelineInput) CreateImagePipelineRequest
- func (c *Client) CreateImageRecipeRequest(input *CreateImageRecipeInput) CreateImageRecipeRequest
- func (c *Client) CreateImageRequest(input *CreateImageInput) CreateImageRequest
- func (c *Client) CreateInfrastructureConfigurationRequest(input *CreateInfrastructureConfigurationInput) CreateInfrastructureConfigurationRequest
- func (c *Client) DeleteComponentRequest(input *DeleteComponentInput) DeleteComponentRequest
- func (c *Client) DeleteDistributionConfigurationRequest(input *DeleteDistributionConfigurationInput) DeleteDistributionConfigurationRequest
- func (c *Client) DeleteImagePipelineRequest(input *DeleteImagePipelineInput) DeleteImagePipelineRequest
- func (c *Client) DeleteImageRecipeRequest(input *DeleteImageRecipeInput) DeleteImageRecipeRequest
- func (c *Client) DeleteImageRequest(input *DeleteImageInput) DeleteImageRequest
- func (c *Client) DeleteInfrastructureConfigurationRequest(input *DeleteInfrastructureConfigurationInput) DeleteInfrastructureConfigurationRequest
- func (c *Client) GetComponentPolicyRequest(input *GetComponentPolicyInput) GetComponentPolicyRequest
- func (c *Client) GetComponentRequest(input *GetComponentInput) GetComponentRequest
- func (c *Client) GetDistributionConfigurationRequest(input *GetDistributionConfigurationInput) GetDistributionConfigurationRequest
- func (c *Client) GetImagePipelineRequest(input *GetImagePipelineInput) GetImagePipelineRequest
- func (c *Client) GetImagePolicyRequest(input *GetImagePolicyInput) GetImagePolicyRequest
- func (c *Client) GetImageRecipePolicyRequest(input *GetImageRecipePolicyInput) GetImageRecipePolicyRequest
- func (c *Client) GetImageRecipeRequest(input *GetImageRecipeInput) GetImageRecipeRequest
- func (c *Client) GetImageRequest(input *GetImageInput) GetImageRequest
- func (c *Client) GetInfrastructureConfigurationRequest(input *GetInfrastructureConfigurationInput) GetInfrastructureConfigurationRequest
- func (c *Client) ImportComponentRequest(input *ImportComponentInput) ImportComponentRequest
- func (c *Client) ListComponentBuildVersionsRequest(input *ListComponentBuildVersionsInput) ListComponentBuildVersionsRequest
- func (c *Client) ListComponentsRequest(input *ListComponentsInput) ListComponentsRequest
- func (c *Client) ListDistributionConfigurationsRequest(input *ListDistributionConfigurationsInput) ListDistributionConfigurationsRequest
- func (c *Client) ListImageBuildVersionsRequest(input *ListImageBuildVersionsInput) ListImageBuildVersionsRequest
- func (c *Client) ListImagePipelineImagesRequest(input *ListImagePipelineImagesInput) ListImagePipelineImagesRequest
- func (c *Client) ListImagePipelinesRequest(input *ListImagePipelinesInput) ListImagePipelinesRequest
- func (c *Client) ListImageRecipesRequest(input *ListImageRecipesInput) ListImageRecipesRequest
- func (c *Client) ListImagesRequest(input *ListImagesInput) ListImagesRequest
- func (c *Client) ListInfrastructureConfigurationsRequest(input *ListInfrastructureConfigurationsInput) ListInfrastructureConfigurationsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) PutComponentPolicyRequest(input *PutComponentPolicyInput) PutComponentPolicyRequest
- func (c *Client) PutImagePolicyRequest(input *PutImagePolicyInput) PutImagePolicyRequest
- func (c *Client) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) PutImageRecipePolicyRequest
- func (c *Client) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) StartImagePipelineExecutionRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) UpdateDistributionConfigurationRequest
- func (c *Client) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) UpdateImagePipelineRequest
- func (c *Client) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) UpdateInfrastructureConfigurationRequest
- type Component
- type ComponentConfiguration
- type ComponentFormat
- type ComponentSummary
- type ComponentType
- type ComponentVersion
- type CreateComponentInput
- type CreateComponentOutput
- type CreateComponentRequest
- type CreateComponentResponse
- type CreateDistributionConfigurationInput
- type CreateDistributionConfigurationOutput
- type CreateDistributionConfigurationRequest
- type CreateDistributionConfigurationResponse
- type CreateImageInput
- type CreateImageOutput
- type CreateImagePipelineInput
- type CreateImagePipelineOutput
- type CreateImagePipelineRequest
- type CreateImagePipelineResponse
- type CreateImageRecipeInput
- type CreateImageRecipeOutput
- type CreateImageRecipeRequest
- type CreateImageRecipeResponse
- type CreateImageRequest
- type CreateImageResponse
- type CreateInfrastructureConfigurationInput
- type CreateInfrastructureConfigurationOutput
- type CreateInfrastructureConfigurationRequest
- type CreateInfrastructureConfigurationResponse
- type DeleteComponentInput
- type DeleteComponentOutput
- type DeleteComponentRequest
- type DeleteComponentResponse
- type DeleteDistributionConfigurationInput
- type DeleteDistributionConfigurationOutput
- type DeleteDistributionConfigurationRequest
- type DeleteDistributionConfigurationResponse
- type DeleteImageInput
- type DeleteImageOutput
- type DeleteImagePipelineInput
- type DeleteImagePipelineOutput
- type DeleteImagePipelineRequest
- type DeleteImagePipelineResponse
- type DeleteImageRecipeInput
- type DeleteImageRecipeOutput
- type DeleteImageRecipeRequest
- type DeleteImageRecipeResponse
- type DeleteImageRequest
- type DeleteImageResponse
- type DeleteInfrastructureConfigurationInput
- type DeleteInfrastructureConfigurationOutput
- type DeleteInfrastructureConfigurationRequest
- type DeleteInfrastructureConfigurationResponse
- type Distribution
- type DistributionConfiguration
- type DistributionConfigurationSummary
- type EbsInstanceBlockDeviceSpecification
- type EbsVolumeType
- type Filter
- type GetComponentInput
- type GetComponentOutput
- type GetComponentPolicyInput
- type GetComponentPolicyOutput
- type GetComponentPolicyRequest
- type GetComponentPolicyResponse
- type GetComponentRequest
- type GetComponentResponse
- type GetDistributionConfigurationInput
- type GetDistributionConfigurationOutput
- type GetDistributionConfigurationRequest
- type GetDistributionConfigurationResponse
- type GetImageInput
- type GetImageOutput
- type GetImagePipelineInput
- type GetImagePipelineOutput
- type GetImagePipelineRequest
- type GetImagePipelineResponse
- type GetImagePolicyInput
- type GetImagePolicyOutput
- type GetImagePolicyRequest
- type GetImagePolicyResponse
- type GetImageRecipeInput
- type GetImageRecipeOutput
- type GetImageRecipePolicyInput
- type GetImageRecipePolicyOutput
- type GetImageRecipePolicyRequest
- type GetImageRecipePolicyResponse
- type GetImageRecipeRequest
- type GetImageRecipeResponse
- type GetImageRequest
- type GetImageResponse
- type GetInfrastructureConfigurationInput
- type GetInfrastructureConfigurationOutput
- type GetInfrastructureConfigurationRequest
- type GetInfrastructureConfigurationResponse
- type Image
- type ImagePipeline
- type ImageRecipe
- type ImageRecipeSummary
- type ImageState
- type ImageStatus
- type ImageSummary
- type ImageTestsConfiguration
- type ImageVersion
- type ImportComponentInput
- type ImportComponentOutput
- type ImportComponentRequest
- type ImportComponentResponse
- type InfrastructureConfiguration
- type InfrastructureConfigurationSummary
- type InstanceBlockDeviceMapping
- type LaunchPermissionConfiguration
- type ListComponentBuildVersionsInput
- type ListComponentBuildVersionsOutput
- type ListComponentBuildVersionsPaginator
- type ListComponentBuildVersionsRequest
- type ListComponentBuildVersionsResponse
- type ListComponentsInput
- type ListComponentsOutput
- type ListComponentsPaginator
- type ListComponentsRequest
- type ListComponentsResponse
- type ListDistributionConfigurationsInput
- type ListDistributionConfigurationsOutput
- type ListDistributionConfigurationsPaginator
- type ListDistributionConfigurationsRequest
- type ListDistributionConfigurationsResponse
- type ListImageBuildVersionsInput
- type ListImageBuildVersionsOutput
- type ListImageBuildVersionsPaginator
- type ListImageBuildVersionsRequest
- type ListImageBuildVersionsResponse
- type ListImagePipelineImagesInput
- type ListImagePipelineImagesOutput
- type ListImagePipelineImagesPaginator
- type ListImagePipelineImagesRequest
- type ListImagePipelineImagesResponse
- type ListImagePipelinesInput
- type ListImagePipelinesOutput
- type ListImagePipelinesPaginator
- type ListImagePipelinesRequest
- type ListImagePipelinesResponse
- type ListImageRecipesInput
- type ListImageRecipesOutput
- type ListImageRecipesPaginator
- type ListImageRecipesRequest
- type ListImageRecipesResponse
- type ListImagesInput
- type ListImagesOutput
- type ListImagesPaginator
- type ListImagesRequest
- type ListImagesResponse
- type ListInfrastructureConfigurationsInput
- type ListInfrastructureConfigurationsOutput
- type ListInfrastructureConfigurationsPaginator
- type ListInfrastructureConfigurationsRequest
- type ListInfrastructureConfigurationsResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type Logging
- type OutputResources
- type Ownership
- type PipelineExecutionStartCondition
- type PipelineStatus
- type Platform
- type PutComponentPolicyInput
- type PutComponentPolicyOutput
- type PutComponentPolicyRequest
- type PutComponentPolicyResponse
- type PutImagePolicyInput
- type PutImagePolicyOutput
- type PutImagePolicyRequest
- type PutImagePolicyResponse
- type PutImageRecipePolicyInput
- type PutImageRecipePolicyOutput
- type PutImageRecipePolicyRequest
- type PutImageRecipePolicyResponse
- type S3Logs
- type Schedule
- type StartImagePipelineExecutionInput
- type StartImagePipelineExecutionOutput
- type StartImagePipelineExecutionRequest
- type StartImagePipelineExecutionResponse
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateDistributionConfigurationInput
- type UpdateDistributionConfigurationOutput
- type UpdateDistributionConfigurationRequest
- type UpdateDistributionConfigurationResponse
- type UpdateImagePipelineInput
- type UpdateImagePipelineOutput
- type UpdateImagePipelineRequest
- type UpdateImagePipelineResponse
- type UpdateInfrastructureConfigurationInput
- type UpdateInfrastructureConfigurationOutput
- type UpdateInfrastructureConfigurationRequest
- type UpdateInfrastructureConfigurationResponse
Constants ¶
const ( ServiceName = "imagebuilder" // Service's name ServiceID = "Imagebuilder" // Service's identifier EndpointsID = "imagebuilder" // Service's Endpoint identifier )
const ( // ErrCodeCallRateLimitExceededException for service response error code // "CallRateLimitExceededException". // // You have exceeded the permitted request rate for the specific operation. ErrCodeCallRateLimitExceededException = "CallRateLimitExceededException" // ErrCodeException for service response error code // "Exception". // // These errors are usually caused by a client action, such as using an action // or resource on behalf of a user that doesn't have permissions to use the // action or resource, or specifying an invalid resource identifier. ErrCodeException = "Exception" // ErrCodeForbiddenException for service response error code // "ForbiddenException". // // You are not authorized to perform the requested operation. ErrCodeForbiddenException = "ForbiddenException" // ErrCodeIdempotentParameterMismatchException for service response error code // "IdempotentParameterMismatchException". // // You have specified a client token for an operation using parameter values // that differ from a previous request that used the same client token. ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException" // ErrCodeInvalidPaginationTokenException for service response error code // "InvalidPaginationTokenException". // // You have provided an invalid pagination token in your request. ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException" // ErrCodeInvalidParameterCombinationException for service response error code // "InvalidParameterCombinationException". // // You have specified two or more mutually exclusive parameters. Review the // error message for details. ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // The specified parameter is invalid. Review the available parameters for the // API request. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // // The value that you provided for the specified parameter is invalid. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // You have made a request for an action that is not supported by the service. ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeInvalidVersionNumberException for service response error code // "InvalidVersionNumberException". // // Your version number is out of bounds or does not follow the required syntax. ErrCodeInvalidVersionNumberException = "InvalidVersionNumberException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // The resource that you are trying to create already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceDependencyException for service response error code // "ResourceDependencyException". // // You have attempted to mutate or delete a resource with a dependency that // prohibits this action. See the error message for more details. ErrCodeResourceDependencyException = "ResourceDependencyException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // The resource that you are trying to operate on is currently in use. Review // the message details and retry later. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // At least one of the resources referenced by your request does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceException for service response error code // "ServiceException". // // This exception is thrown when the service encounters an unrecoverable exception. ErrCodeServiceException = "ServiceException" // "ServiceUnavailableException". // // The service is unable to process your request at this time. ErrCodeServiceUnavailableException = "ServiceUnavailableException" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ami ¶
type Ami struct { // The description of the EC2 AMI. Description *string `locationName:"description" min:"1" type:"string"` // The AMI ID of the EC2 AMI. Image *string `locationName:"image" min:"1" type:"string"` // The name of the EC2 AMI. Name *string `locationName:"name" min:"1" type:"string"` // The AWS Region of the EC2 AMI. Region *string `locationName:"region" min:"1" type:"string"` // Image state shows the image status and the reason for that status. State *ImageState `locationName:"state" type:"structure"` // contains filtered or unexported fields }
Details of an EC2 AMI.
func (Ami) MarshalFields ¶
func (s Ami) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type AmiDistributionConfiguration ¶
type AmiDistributionConfiguration struct { // The tags to apply to AMIs distributed to this Region. AmiTags map[string]string `locationName:"amiTags" min:"1" type:"map"` // The description of the distribution configuration. Description *string `locationName:"description" min:"1" type:"string"` // Launch permissions can be used to configure which AWS accounts can use the // AMI to launch instances. LaunchPermission *LaunchPermissionConfiguration `locationName:"launchPermission" type:"structure"` // The name of the distribution configuration. Name *string `locationName:"name" min:"1" type:"string"` // contains filtered or unexported fields }
Define and configure the output AMIs of the pipeline.
func (AmiDistributionConfiguration) MarshalFields ¶
func (s AmiDistributionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AmiDistributionConfiguration) String ¶
func (s AmiDistributionConfiguration) String() string
String returns the string representation
func (*AmiDistributionConfiguration) Validate ¶
func (s *AmiDistributionConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelImageCreationInput ¶
type CancelImageCreationInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the image whose creation you want to cancel. // // ImageBuildVersionArn is a required field ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelImageCreationInput) MarshalFields ¶
func (s CancelImageCreationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelImageCreationInput) String ¶
func (s CancelImageCreationInput) String() string
String returns the string representation
func (*CancelImageCreationInput) Validate ¶
func (s *CancelImageCreationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelImageCreationOutput ¶
type CancelImageCreationOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image whose creation has been cancelled. ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CancelImageCreationOutput) MarshalFields ¶
func (s CancelImageCreationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelImageCreationOutput) String ¶
func (s CancelImageCreationOutput) String() string
String returns the string representation
type CancelImageCreationRequest ¶
type CancelImageCreationRequest struct { *aws.Request Input *CancelImageCreationInput Copy func(*CancelImageCreationInput) CancelImageCreationRequest }
CancelImageCreationRequest is the request type for the CancelImageCreation API operation.
func (CancelImageCreationRequest) Send ¶
func (r CancelImageCreationRequest) Send(ctx context.Context) (*CancelImageCreationResponse, error)
Send marshals and sends the CancelImageCreation API request.
type CancelImageCreationResponse ¶
type CancelImageCreationResponse struct { *CancelImageCreationOutput // contains filtered or unexported fields }
CancelImageCreationResponse is the response type for the CancelImageCreation API operation.
func (*CancelImageCreationResponse) SDKResponseMetdata ¶
func (r *CancelImageCreationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelImageCreation request.
type Client ¶
Client provides the API operation methods for making requests to imagebuilder. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := imagebuilder.New(myConfig)
func (*Client) CancelImageCreationRequest ¶
func (c *Client) CancelImageCreationRequest(input *CancelImageCreationInput) CancelImageCreationRequest
CancelImageCreationRequest returns a request value for making API operation for EC2 Image Builder.
CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
// Example sending a request using CancelImageCreationRequest. req := client.CancelImageCreationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreation
func (*Client) CreateComponentRequest ¶
func (c *Client) CreateComponentRequest(input *CreateComponentInput) CreateComponentRequest
CreateComponentRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new component that can be used to build, validate, test, and assess your image.
// Example sending a request using CreateComponentRequest. req := client.CreateComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent
func (*Client) CreateDistributionConfigurationRequest ¶
func (c *Client) CreateDistributionConfigurationRequest(input *CreateDistributionConfigurationInput) CreateDistributionConfigurationRequest
CreateDistributionConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
// Example sending a request using CreateDistributionConfigurationRequest. req := client.CreateDistributionConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfiguration
func (*Client) CreateImagePipelineRequest ¶
func (c *Client) CreateImagePipelineRequest(input *CreateImagePipelineInput) CreateImagePipelineRequest
CreateImagePipelineRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
// Example sending a request using CreateImagePipelineRequest. req := client.CreateImagePipelineRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipeline
func (*Client) CreateImageRecipeRequest ¶
func (c *Client) CreateImageRecipeRequest(input *CreateImageRecipeInput) CreateImageRecipeRequest
CreateImageRecipeRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
// Example sending a request using CreateImageRecipeRequest. req := client.CreateImageRecipeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe
func (*Client) CreateImageRequest ¶
func (c *Client) CreateImageRequest(input *CreateImageInput) CreateImageRequest
CreateImageRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.
// Example sending a request using CreateImageRequest. req := client.CreateImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage
func (*Client) CreateInfrastructureConfigurationRequest ¶
func (c *Client) CreateInfrastructureConfigurationRequest(input *CreateInfrastructureConfigurationInput) CreateInfrastructureConfigurationRequest
CreateInfrastructureConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
// Example sending a request using CreateInfrastructureConfigurationRequest. req := client.CreateInfrastructureConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfiguration
func (*Client) DeleteComponentRequest ¶
func (c *Client) DeleteComponentRequest(input *DeleteComponentInput) DeleteComponentRequest
DeleteComponentRequest returns a request value for making API operation for EC2 Image Builder.
Deletes a component build version.
// Example sending a request using DeleteComponentRequest. req := client.DeleteComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent
func (*Client) DeleteDistributionConfigurationRequest ¶
func (c *Client) DeleteDistributionConfigurationRequest(input *DeleteDistributionConfigurationInput) DeleteDistributionConfigurationRequest
DeleteDistributionConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Deletes a distribution configuration.
// Example sending a request using DeleteDistributionConfigurationRequest. req := client.DeleteDistributionConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteDistributionConfiguration
func (*Client) DeleteImagePipelineRequest ¶
func (c *Client) DeleteImagePipelineRequest(input *DeleteImagePipelineInput) DeleteImagePipelineRequest
DeleteImagePipelineRequest returns a request value for making API operation for EC2 Image Builder.
Deletes an image pipeline.
// Example sending a request using DeleteImagePipelineRequest. req := client.DeleteImagePipelineRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImagePipeline
func (*Client) DeleteImageRecipeRequest ¶
func (c *Client) DeleteImageRecipeRequest(input *DeleteImageRecipeInput) DeleteImageRecipeRequest
DeleteImageRecipeRequest returns a request value for making API operation for EC2 Image Builder.
Deletes an image recipe.
// Example sending a request using DeleteImageRecipeRequest. req := client.DeleteImageRecipeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRecipe
func (*Client) DeleteImageRequest ¶
func (c *Client) DeleteImageRequest(input *DeleteImageInput) DeleteImageRequest
DeleteImageRequest returns a request value for making API operation for EC2 Image Builder.
Deletes an image.
// Example sending a request using DeleteImageRequest. req := client.DeleteImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImage
func (*Client) DeleteInfrastructureConfigurationRequest ¶
func (c *Client) DeleteInfrastructureConfigurationRequest(input *DeleteInfrastructureConfigurationInput) DeleteInfrastructureConfigurationRequest
DeleteInfrastructureConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Deletes an infrastructure configuration.
// Example sending a request using DeleteInfrastructureConfigurationRequest. req := client.DeleteInfrastructureConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteInfrastructureConfiguration
func (*Client) GetComponentPolicyRequest ¶
func (c *Client) GetComponentPolicyRequest(input *GetComponentPolicyInput) GetComponentPolicyRequest
GetComponentPolicyRequest returns a request value for making API operation for EC2 Image Builder.
Gets a component policy.
// Example sending a request using GetComponentPolicyRequest. req := client.GetComponentPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentPolicy
func (*Client) GetComponentRequest ¶
func (c *Client) GetComponentRequest(input *GetComponentInput) GetComponentRequest
GetComponentRequest returns a request value for making API operation for EC2 Image Builder.
Gets a component object.
// Example sending a request using GetComponentRequest. req := client.GetComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent
func (*Client) GetDistributionConfigurationRequest ¶
func (c *Client) GetDistributionConfigurationRequest(input *GetDistributionConfigurationInput) GetDistributionConfigurationRequest
GetDistributionConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Gets a distribution configuration.
// Example sending a request using GetDistributionConfigurationRequest. req := client.GetDistributionConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetDistributionConfiguration
func (*Client) GetImagePipelineRequest ¶
func (c *Client) GetImagePipelineRequest(input *GetImagePipelineInput) GetImagePipelineRequest
GetImagePipelineRequest returns a request value for making API operation for EC2 Image Builder.
Gets an image pipeline.
// Example sending a request using GetImagePipelineRequest. req := client.GetImagePipelineRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline
func (*Client) GetImagePolicyRequest ¶
func (c *Client) GetImagePolicyRequest(input *GetImagePolicyInput) GetImagePolicyRequest
GetImagePolicyRequest returns a request value for making API operation for EC2 Image Builder.
Gets an image policy.
// Example sending a request using GetImagePolicyRequest. req := client.GetImagePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePolicy
func (*Client) GetImageRecipePolicyRequest ¶
func (c *Client) GetImageRecipePolicyRequest(input *GetImageRecipePolicyInput) GetImageRecipePolicyRequest
GetImageRecipePolicyRequest returns a request value for making API operation for EC2 Image Builder.
Gets an image recipe policy.
// Example sending a request using GetImageRecipePolicyRequest. req := client.GetImageRecipePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipePolicy
func (*Client) GetImageRecipeRequest ¶
func (c *Client) GetImageRecipeRequest(input *GetImageRecipeInput) GetImageRecipeRequest
GetImageRecipeRequest returns a request value for making API operation for EC2 Image Builder.
Gets an image recipe.
// Example sending a request using GetImageRecipeRequest. req := client.GetImageRecipeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe
func (*Client) GetImageRequest ¶
func (c *Client) GetImageRequest(input *GetImageInput) GetImageRequest
GetImageRequest returns a request value for making API operation for EC2 Image Builder.
Gets an image.
// Example sending a request using GetImageRequest. req := client.GetImageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage
func (*Client) GetInfrastructureConfigurationRequest ¶
func (c *Client) GetInfrastructureConfigurationRequest(input *GetInfrastructureConfigurationInput) GetInfrastructureConfigurationRequest
GetInfrastructureConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Gets an infrastructure configuration.
// Example sending a request using GetInfrastructureConfigurationRequest. req := client.GetInfrastructureConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration
func (*Client) ImportComponentRequest ¶
func (c *Client) ImportComponentRequest(input *ImportComponentInput) ImportComponentRequest
ImportComponentRequest returns a request value for making API operation for EC2 Image Builder.
Imports a component and transforms its data into a component document.
// Example sending a request using ImportComponentRequest. req := client.ImportComponentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponent
func (*Client) ListComponentBuildVersionsRequest ¶
func (c *Client) ListComponentBuildVersionsRequest(input *ListComponentBuildVersionsInput) ListComponentBuildVersionsRequest
ListComponentBuildVersionsRequest returns a request value for making API operation for EC2 Image Builder.
Returns the list of component build versions for the specified semantic version.
// Example sending a request using ListComponentBuildVersionsRequest. req := client.ListComponentBuildVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersions
func (*Client) ListComponentsRequest ¶
func (c *Client) ListComponentsRequest(input *ListComponentsInput) ListComponentsRequest
ListComponentsRequest returns a request value for making API operation for EC2 Image Builder.
Returns the list of component build versions for the specified semantic version.
// Example sending a request using ListComponentsRequest. req := client.ListComponentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents
func (*Client) ListDistributionConfigurationsRequest ¶
func (c *Client) ListDistributionConfigurationsRequest(input *ListDistributionConfigurationsInput) ListDistributionConfigurationsRequest
ListDistributionConfigurationsRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of distribution configurations.
// Example sending a request using ListDistributionConfigurationsRequest. req := client.ListDistributionConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations
func (*Client) ListImageBuildVersionsRequest ¶
func (c *Client) ListImageBuildVersionsRequest(input *ListImageBuildVersionsInput) ListImageBuildVersionsRequest
ListImageBuildVersionsRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of distribution configurations.
// Example sending a request using ListImageBuildVersionsRequest. req := client.ListImageBuildVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions
func (*Client) ListImagePipelineImagesRequest ¶
func (c *Client) ListImagePipelineImagesRequest(input *ListImagePipelineImagesInput) ListImagePipelineImagesRequest
ListImagePipelineImagesRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of images created by the specified pipeline.
// Example sending a request using ListImagePipelineImagesRequest. req := client.ListImagePipelineImagesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages
func (*Client) ListImagePipelinesRequest ¶
func (c *Client) ListImagePipelinesRequest(input *ListImagePipelinesInput) ListImagePipelinesRequest
ListImagePipelinesRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of image pipelines.
// Example sending a request using ListImagePipelinesRequest. req := client.ListImagePipelinesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines
func (*Client) ListImageRecipesRequest ¶
func (c *Client) ListImageRecipesRequest(input *ListImageRecipesInput) ListImageRecipesRequest
ListImageRecipesRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of image recipes.
// Example sending a request using ListImageRecipesRequest. req := client.ListImageRecipesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipes
func (*Client) ListImagesRequest ¶
func (c *Client) ListImagesRequest(input *ListImagesInput) ListImagesRequest
ListImagesRequest returns a request value for making API operation for EC2 Image Builder.
Returns the list of image build versions for the specified semantic version.
// Example sending a request using ListImagesRequest. req := client.ListImagesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages
func (*Client) ListInfrastructureConfigurationsRequest ¶
func (c *Client) ListInfrastructureConfigurationsRequest(input *ListInfrastructureConfigurationsInput) ListInfrastructureConfigurationsRequest
ListInfrastructureConfigurationsRequest returns a request value for making API operation for EC2 Image Builder.
Returns a list of infrastructure configurations.
// Example sending a request using ListInfrastructureConfigurationsRequest. req := client.ListInfrastructureConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for EC2 Image Builder.
Returns the list of tags for the specified resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource
func (*Client) PutComponentPolicyRequest ¶
func (c *Client) PutComponentPolicyRequest(input *PutComponentPolicyInput) PutComponentPolicyRequest
PutComponentPolicyRequest returns a request value for making API operation for EC2 Image Builder.
Applies a policy to a component.
// Example sending a request using PutComponentPolicyRequest. req := client.PutComponentPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy
func (*Client) PutImagePolicyRequest ¶
func (c *Client) PutImagePolicyRequest(input *PutImagePolicyInput) PutImagePolicyRequest
PutImagePolicyRequest returns a request value for making API operation for EC2 Image Builder.
Applies a policy to an image.
// Example sending a request using PutImagePolicyRequest. req := client.PutImagePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy
func (*Client) PutImageRecipePolicyRequest ¶
func (c *Client) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) PutImageRecipePolicyRequest
PutImageRecipePolicyRequest returns a request value for making API operation for EC2 Image Builder.
Applies a policy to an image recipe.
// Example sending a request using PutImageRecipePolicyRequest. req := client.PutImageRecipePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy
func (*Client) StartImagePipelineExecutionRequest ¶
func (c *Client) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) StartImagePipelineExecutionRequest
StartImagePipelineExecutionRequest returns a request value for making API operation for EC2 Image Builder.
Manually triggers a pipeline to create an image.
// Example sending a request using StartImagePipelineExecutionRequest. req := client.StartImagePipelineExecutionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for EC2 Image Builder.
Adds a tag to a resource.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for EC2 Image Builder.
Removes a tag from a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource
func (*Client) UpdateDistributionConfigurationRequest ¶
func (c *Client) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) UpdateDistributionConfigurationRequest
UpdateDistributionConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
// Example sending a request using UpdateDistributionConfigurationRequest. req := client.UpdateDistributionConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration
func (*Client) UpdateImagePipelineRequest ¶
func (c *Client) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) UpdateImagePipelineRequest
UpdateImagePipelineRequest returns a request value for making API operation for EC2 Image Builder.
Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
// Example sending a request using UpdateImagePipelineRequest. req := client.UpdateImagePipelineRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline
func (*Client) UpdateInfrastructureConfigurationRequest ¶
func (c *Client) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) UpdateInfrastructureConfigurationRequest
UpdateInfrastructureConfigurationRequest returns a request value for making API operation for EC2 Image Builder.
Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
// Example sending a request using UpdateInfrastructureConfigurationRequest. req := client.UpdateInfrastructureConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration
type Component ¶
type Component struct { // The Amazon Resource Name (ARN) of the component. Arn *string `locationName:"arn" type:"string"` // The change description of the component. ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"` // The data of the component. Data *string `locationName:"data" type:"string"` // The date that the component was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The description of the component. Description *string `locationName:"description" min:"1" type:"string"` // The encryption status of the component. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The KMS key identifier used to encrypt the component. KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` // The name of the component. Name *string `locationName:"name" type:"string"` // The owner of the component. Owner *string `locationName:"owner" min:"1" type:"string"` // The platform of the component. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The tags associated with the component. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The type of the component denotes whether the component is used to build // the image or only to test it. Type ComponentType `locationName:"type" type:"string" enum:"true"` // The version of the component. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
A detailed view of a component.
func (Component) MarshalFields ¶
func (s Component) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ComponentConfiguration ¶
type ComponentConfiguration struct { // The Amazon Resource Name (ARN) of the component. // // ComponentArn is a required field ComponentArn *string `locationName:"componentArn" type:"string" required:"true"` // contains filtered or unexported fields }
Configuration details of the component.
func (ComponentConfiguration) MarshalFields ¶
func (s ComponentConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ComponentConfiguration) String ¶
func (s ComponentConfiguration) String() string
String returns the string representation
func (*ComponentConfiguration) Validate ¶
func (s *ComponentConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ComponentFormat ¶
type ComponentFormat string
const (
ComponentFormatShell ComponentFormat = "SHELL"
)
Enum values for ComponentFormat
func (ComponentFormat) MarshalValue ¶
func (enum ComponentFormat) MarshalValue() (string, error)
func (ComponentFormat) MarshalValueBuf ¶
func (enum ComponentFormat) MarshalValueBuf(b []byte) ([]byte, error)
type ComponentSummary ¶
type ComponentSummary struct { // The Amazon Resource Name (ARN) of the component. Arn *string `locationName:"arn" type:"string"` // The change description of the component. ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"` // The date that the component was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The description of the component. Description *string `locationName:"description" min:"1" type:"string"` // The name of the component. Name *string `locationName:"name" type:"string"` // The owner of the component. Owner *string `locationName:"owner" min:"1" type:"string"` // The platform of the component. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The tags associated with the component. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The type of the component denotes whether the component is used to build // the image or only to test it. Type ComponentType `locationName:"type" type:"string" enum:"true"` // The version of the component. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
A high-level summary of a component.
func (ComponentSummary) MarshalFields ¶
func (s ComponentSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ComponentSummary) String ¶
func (s ComponentSummary) String() string
String returns the string representation
type ComponentType ¶
type ComponentType string
const ( ComponentTypeBuild ComponentType = "BUILD" ComponentTypeTest ComponentType = "TEST" )
Enum values for ComponentType
func (ComponentType) MarshalValue ¶
func (enum ComponentType) MarshalValue() (string, error)
func (ComponentType) MarshalValueBuf ¶
func (enum ComponentType) MarshalValueBuf(b []byte) ([]byte, error)
type ComponentVersion ¶
type ComponentVersion struct { // The Amazon Resource Name (ARN) of the component. Arn *string `locationName:"arn" type:"string"` // The date that the component was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The description of the component. Description *string `locationName:"description" min:"1" type:"string"` // The name of the component. Name *string `locationName:"name" type:"string"` // The owner of the component. Owner *string `locationName:"owner" min:"1" type:"string"` // The platform of the component. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The type of the component denotes whether the component is used to build // the image or only to test it. Type ComponentType `locationName:"type" type:"string" enum:"true"` // The semantic version of the component. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
A high-level overview of a component semantic version.
func (ComponentVersion) MarshalFields ¶
func (s ComponentVersion) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ComponentVersion) String ¶
func (s ComponentVersion) String() string
String returns the string representation
type CreateComponentInput ¶
type CreateComponentInput struct { // The change description of the component. Describes what change has been made // in this version, or what makes this version different from other versions // of this component. ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"` // The idempotency token of the component. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The data of the component. Used to specify the data inline. Either data or // uri can be used to specify the data within the component. Data *string `locationName:"data" min:"1" type:"string"` // The description of the component. Describes the contents of the component. Description *string `locationName:"description" min:"1" type:"string"` // The ID of the KMS key that should be used to encrypt this component. KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` // The name of the component. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The platform of the component. // // Platform is a required field Platform Platform `locationName:"platform" type:"string" required:"true" enum:"true"` // The semantic version of the component. This version follows the semantic // version syntax. For example, major.minor.patch. This could be versioned like // software (2.0.1) or like a date (2019.12.01). // // SemanticVersion is a required field SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"` // The tags of the component. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The uri of the component. Must be an S3 URL and the requester must have permission // to access the S3 bucket. If you use S3, you can specify component content // up to your service quota. Either data or uri can be used to specify the data // within the component. Uri *string `locationName:"uri" type:"string"` // contains filtered or unexported fields }
func (CreateComponentInput) MarshalFields ¶
func (s CreateComponentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateComponentInput) String ¶
func (s CreateComponentInput) String() string
String returns the string representation
func (*CreateComponentInput) Validate ¶
func (s *CreateComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateComponentOutput ¶
type CreateComponentOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the component that was created by this // request. ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateComponentOutput) MarshalFields ¶
func (s CreateComponentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateComponentOutput) String ¶
func (s CreateComponentOutput) String() string
String returns the string representation
type CreateComponentRequest ¶
type CreateComponentRequest struct { *aws.Request Input *CreateComponentInput Copy func(*CreateComponentInput) CreateComponentRequest }
CreateComponentRequest is the request type for the CreateComponent API operation.
func (CreateComponentRequest) Send ¶
func (r CreateComponentRequest) Send(ctx context.Context) (*CreateComponentResponse, error)
Send marshals and sends the CreateComponent API request.
type CreateComponentResponse ¶
type CreateComponentResponse struct { *CreateComponentOutput // contains filtered or unexported fields }
CreateComponentResponse is the response type for the CreateComponent API operation.
func (*CreateComponentResponse) SDKResponseMetdata ¶
func (r *CreateComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateComponent request.
type CreateDistributionConfigurationInput ¶
type CreateDistributionConfigurationInput struct { // The idempotency token of the distribution configuration. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the distribution configuration. Description *string `locationName:"description" min:"1" type:"string"` // The distributions of the distribution configuration. // // Distributions is a required field Distributions []Distribution `locationName:"distributions" type:"list" required:"true"` // The name of the distribution configuration. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The tags of the distribution configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateDistributionConfigurationInput) MarshalFields ¶
func (s CreateDistributionConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDistributionConfigurationInput) String ¶
func (s CreateDistributionConfigurationInput) String() string
String returns the string representation
func (*CreateDistributionConfigurationInput) Validate ¶
func (s *CreateDistributionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDistributionConfigurationOutput ¶
type CreateDistributionConfigurationOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration that was // created by this request. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateDistributionConfigurationOutput) MarshalFields ¶
func (s CreateDistributionConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDistributionConfigurationOutput) String ¶
func (s CreateDistributionConfigurationOutput) String() string
String returns the string representation
type CreateDistributionConfigurationRequest ¶
type CreateDistributionConfigurationRequest struct { *aws.Request Input *CreateDistributionConfigurationInput Copy func(*CreateDistributionConfigurationInput) CreateDistributionConfigurationRequest }
CreateDistributionConfigurationRequest is the request type for the CreateDistributionConfiguration API operation.
func (CreateDistributionConfigurationRequest) Send ¶
func (r CreateDistributionConfigurationRequest) Send(ctx context.Context) (*CreateDistributionConfigurationResponse, error)
Send marshals and sends the CreateDistributionConfiguration API request.
type CreateDistributionConfigurationResponse ¶
type CreateDistributionConfigurationResponse struct { *CreateDistributionConfigurationOutput // contains filtered or unexported fields }
CreateDistributionConfigurationResponse is the response type for the CreateDistributionConfiguration API operation.
func (*CreateDistributionConfigurationResponse) SDKResponseMetdata ¶
func (r *CreateDistributionConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDistributionConfiguration request.
type CreateImageInput ¶
type CreateImageInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the distribution configuration that defines // and configures the outputs of your pipeline. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The Amazon Resource Name (ARN) of the image recipe that defines how images // are configured, tested, and assessed. // // ImageRecipeArn is a required field ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string" required:"true"` // The image tests configuration of the image. ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of the infrastructure configuration that defines // the environment in which your image will be built and tested. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // The tags of the image. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateImageInput) MarshalFields ¶
func (s CreateImageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImageInput) String ¶
func (s CreateImageInput) String() string
String returns the string representation
func (*CreateImageInput) Validate ¶
func (s *CreateImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateImageOutput ¶
type CreateImageOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image that was created by this request. ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateImageOutput) MarshalFields ¶
func (s CreateImageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImageOutput) String ¶
func (s CreateImageOutput) String() string
String returns the string representation
type CreateImagePipelineInput ¶
type CreateImagePipelineInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the image pipeline. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration that will // be used to configure and distribute images created by this image pipeline. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The Amazon Resource Name (ARN) of the image recipe that will be used to configure // images created by this image pipeline. // // ImageRecipeArn is a required field ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string" required:"true"` // The image test configuration of the image pipeline. ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of the infrastructure configuration that will // be used to build images created by this image pipeline. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // The name of the image pipeline. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The schedule of the image pipeline. Schedule *Schedule `locationName:"schedule" type:"structure"` // The status of the image pipeline. Status PipelineStatus `locationName:"status" type:"string" enum:"true"` // The tags of the image pipeline. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateImagePipelineInput) MarshalFields ¶
func (s CreateImagePipelineInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImagePipelineInput) String ¶
func (s CreateImagePipelineInput) String() string
String returns the string representation
func (*CreateImagePipelineInput) Validate ¶
func (s *CreateImagePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateImagePipelineOutput ¶
type CreateImagePipelineOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image pipeline that was created by // this request. ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateImagePipelineOutput) MarshalFields ¶
func (s CreateImagePipelineOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImagePipelineOutput) String ¶
func (s CreateImagePipelineOutput) String() string
String returns the string representation
type CreateImagePipelineRequest ¶
type CreateImagePipelineRequest struct { *aws.Request Input *CreateImagePipelineInput Copy func(*CreateImagePipelineInput) CreateImagePipelineRequest }
CreateImagePipelineRequest is the request type for the CreateImagePipeline API operation.
func (CreateImagePipelineRequest) Send ¶
func (r CreateImagePipelineRequest) Send(ctx context.Context) (*CreateImagePipelineResponse, error)
Send marshals and sends the CreateImagePipeline API request.
type CreateImagePipelineResponse ¶
type CreateImagePipelineResponse struct { *CreateImagePipelineOutput // contains filtered or unexported fields }
CreateImagePipelineResponse is the response type for the CreateImagePipeline API operation.
func (*CreateImagePipelineResponse) SDKResponseMetdata ¶
func (r *CreateImagePipelineResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateImagePipeline request.
type CreateImageRecipeInput ¶
type CreateImageRecipeInput struct { // The block device mappings of the image recipe. BlockDeviceMappings []InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"` // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The components of the image recipe. // // Components is a required field Components []ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"` // The description of the image recipe. Description *string `locationName:"description" min:"1" type:"string"` // The name of the image recipe. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The parent image of the image recipe. // // ParentImage is a required field ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"` // The semantic version of the image recipe. // // SemanticVersion is a required field SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"` // The tags of the image recipe. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateImageRecipeInput) MarshalFields ¶
func (s CreateImageRecipeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImageRecipeInput) String ¶
func (s CreateImageRecipeInput) String() string
String returns the string representation
func (*CreateImageRecipeInput) Validate ¶
func (s *CreateImageRecipeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateImageRecipeOutput ¶
type CreateImageRecipeOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image recipe that was created by this // request. ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateImageRecipeOutput) MarshalFields ¶
func (s CreateImageRecipeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateImageRecipeOutput) String ¶
func (s CreateImageRecipeOutput) String() string
String returns the string representation
type CreateImageRecipeRequest ¶
type CreateImageRecipeRequest struct { *aws.Request Input *CreateImageRecipeInput Copy func(*CreateImageRecipeInput) CreateImageRecipeRequest }
CreateImageRecipeRequest is the request type for the CreateImageRecipe API operation.
func (CreateImageRecipeRequest) Send ¶
func (r CreateImageRecipeRequest) Send(ctx context.Context) (*CreateImageRecipeResponse, error)
Send marshals and sends the CreateImageRecipe API request.
type CreateImageRecipeResponse ¶
type CreateImageRecipeResponse struct { *CreateImageRecipeOutput // contains filtered or unexported fields }
CreateImageRecipeResponse is the response type for the CreateImageRecipe API operation.
func (*CreateImageRecipeResponse) SDKResponseMetdata ¶
func (r *CreateImageRecipeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateImageRecipe request.
type CreateImageRequest ¶
type CreateImageRequest struct { *aws.Request Input *CreateImageInput Copy func(*CreateImageInput) CreateImageRequest }
CreateImageRequest is the request type for the CreateImage API operation.
func (CreateImageRequest) Send ¶
func (r CreateImageRequest) Send(ctx context.Context) (*CreateImageResponse, error)
Send marshals and sends the CreateImage API request.
type CreateImageResponse ¶
type CreateImageResponse struct { *CreateImageOutput // contains filtered or unexported fields }
CreateImageResponse is the response type for the CreateImage API operation.
func (*CreateImageResponse) SDKResponseMetdata ¶
func (r *CreateImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateImage request.
type CreateInfrastructureConfigurationInput ¶
type CreateInfrastructureConfigurationInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the infrastructure configuration. Description *string `locationName:"description" min:"1" type:"string"` // The instance profile to associate with the instance used to customize your // EC2 AMI. // // InstanceProfileName is a required field InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string" required:"true"` // The instance types of the infrastructure configuration. You can specify one // or more instance types to use for this build. The service will pick one of // these instance types based on availability. InstanceTypes []string `locationName:"instanceTypes" type:"list"` // The key pair of the infrastructure configuration. This can be used to log // on to and debug the instance used to create your image. KeyPair *string `locationName:"keyPair" min:"1" type:"string"` // The logging configuration of the infrastructure configuration. Logging *Logging `locationName:"logging" type:"structure"` // The name of the infrastructure configuration. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The security group IDs to associate with the instance used to customize your // EC2 AMI. SecurityGroupIds []string `locationName:"securityGroupIds" type:"list"` // The SNS topic on which to send image build events. SnsTopicArn *string `locationName:"snsTopicArn" type:"string"` // The subnet ID in which to place the instance used to customize your EC2 AMI. SubnetId *string `locationName:"subnetId" min:"1" type:"string"` // The tags of the infrastructure configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The terminate instance on failure setting of the infrastructure configuration. // Set to false if you want Image Builder to retain the instance used to configure // your AMI if the build or test phase of your workflow fails. TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"` // contains filtered or unexported fields }
func (CreateInfrastructureConfigurationInput) MarshalFields ¶
func (s CreateInfrastructureConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateInfrastructureConfigurationInput) String ¶
func (s CreateInfrastructureConfigurationInput) String() string
String returns the string representation
func (*CreateInfrastructureConfigurationInput) Validate ¶
func (s *CreateInfrastructureConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInfrastructureConfigurationOutput ¶
type CreateInfrastructureConfigurationOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the infrastructure configuration that was // created by this request. InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateInfrastructureConfigurationOutput) MarshalFields ¶
func (s CreateInfrastructureConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateInfrastructureConfigurationOutput) String ¶
func (s CreateInfrastructureConfigurationOutput) String() string
String returns the string representation
type CreateInfrastructureConfigurationRequest ¶
type CreateInfrastructureConfigurationRequest struct { *aws.Request Input *CreateInfrastructureConfigurationInput Copy func(*CreateInfrastructureConfigurationInput) CreateInfrastructureConfigurationRequest }
CreateInfrastructureConfigurationRequest is the request type for the CreateInfrastructureConfiguration API operation.
func (CreateInfrastructureConfigurationRequest) Send ¶
func (r CreateInfrastructureConfigurationRequest) Send(ctx context.Context) (*CreateInfrastructureConfigurationResponse, error)
Send marshals and sends the CreateInfrastructureConfiguration API request.
type CreateInfrastructureConfigurationResponse ¶
type CreateInfrastructureConfigurationResponse struct { *CreateInfrastructureConfigurationOutput // contains filtered or unexported fields }
CreateInfrastructureConfigurationResponse is the response type for the CreateInfrastructureConfiguration API operation.
func (*CreateInfrastructureConfigurationResponse) SDKResponseMetdata ¶
func (r *CreateInfrastructureConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateInfrastructureConfiguration request.
type DeleteComponentInput ¶
type DeleteComponentInput struct { // The Amazon Resource Name (ARN) of the component build version to delete. // // ComponentBuildVersionArn is a required field ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteComponentInput) MarshalFields ¶
func (s DeleteComponentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteComponentInput) String ¶
func (s DeleteComponentInput) String() string
String returns the string representation
func (*DeleteComponentInput) Validate ¶
func (s *DeleteComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteComponentOutput ¶
type DeleteComponentOutput struct { // The Amazon Resource Name (ARN) of the component build version that was deleted. ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteComponentOutput) MarshalFields ¶
func (s DeleteComponentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteComponentOutput) String ¶
func (s DeleteComponentOutput) String() string
String returns the string representation
type DeleteComponentRequest ¶
type DeleteComponentRequest struct { *aws.Request Input *DeleteComponentInput Copy func(*DeleteComponentInput) DeleteComponentRequest }
DeleteComponentRequest is the request type for the DeleteComponent API operation.
func (DeleteComponentRequest) Send ¶
func (r DeleteComponentRequest) Send(ctx context.Context) (*DeleteComponentResponse, error)
Send marshals and sends the DeleteComponent API request.
type DeleteComponentResponse ¶
type DeleteComponentResponse struct { *DeleteComponentOutput // contains filtered or unexported fields }
DeleteComponentResponse is the response type for the DeleteComponent API operation.
func (*DeleteComponentResponse) SDKResponseMetdata ¶
func (r *DeleteComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteComponent request.
type DeleteDistributionConfigurationInput ¶
type DeleteDistributionConfigurationInput struct { // The Amazon Resource Name (ARN) of the distribution configuration to delete. // // DistributionConfigurationArn is a required field DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDistributionConfigurationInput) MarshalFields ¶
func (s DeleteDistributionConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDistributionConfigurationInput) String ¶
func (s DeleteDistributionConfigurationInput) String() string
String returns the string representation
func (*DeleteDistributionConfigurationInput) Validate ¶
func (s *DeleteDistributionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDistributionConfigurationOutput ¶
type DeleteDistributionConfigurationOutput struct { // The Amazon Resource Name (ARN) of the distribution configuration that was // deleted. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteDistributionConfigurationOutput) MarshalFields ¶
func (s DeleteDistributionConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDistributionConfigurationOutput) String ¶
func (s DeleteDistributionConfigurationOutput) String() string
String returns the string representation
type DeleteDistributionConfigurationRequest ¶
type DeleteDistributionConfigurationRequest struct { *aws.Request Input *DeleteDistributionConfigurationInput Copy func(*DeleteDistributionConfigurationInput) DeleteDistributionConfigurationRequest }
DeleteDistributionConfigurationRequest is the request type for the DeleteDistributionConfiguration API operation.
func (DeleteDistributionConfigurationRequest) Send ¶
func (r DeleteDistributionConfigurationRequest) Send(ctx context.Context) (*DeleteDistributionConfigurationResponse, error)
Send marshals and sends the DeleteDistributionConfiguration API request.
type DeleteDistributionConfigurationResponse ¶
type DeleteDistributionConfigurationResponse struct { *DeleteDistributionConfigurationOutput // contains filtered or unexported fields }
DeleteDistributionConfigurationResponse is the response type for the DeleteDistributionConfiguration API operation.
func (*DeleteDistributionConfigurationResponse) SDKResponseMetdata ¶
func (r *DeleteDistributionConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDistributionConfiguration request.
type DeleteImageInput ¶
type DeleteImageInput struct { // The Amazon Resource Name (ARN) of the image to delete. // // ImageBuildVersionArn is a required field ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteImageInput) MarshalFields ¶
func (s DeleteImageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImageInput) String ¶
func (s DeleteImageInput) String() string
String returns the string representation
func (*DeleteImageInput) Validate ¶
func (s *DeleteImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteImageOutput ¶
type DeleteImageOutput struct { // The Amazon Resource Name (ARN) of the image that was deleted. ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteImageOutput) MarshalFields ¶
func (s DeleteImageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImageOutput) String ¶
func (s DeleteImageOutput) String() string
String returns the string representation
type DeleteImagePipelineInput ¶
type DeleteImagePipelineInput struct { // The Amazon Resource Name (ARN) of the image pipeline to delete. // // ImagePipelineArn is a required field ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteImagePipelineInput) MarshalFields ¶
func (s DeleteImagePipelineInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImagePipelineInput) String ¶
func (s DeleteImagePipelineInput) String() string
String returns the string representation
func (*DeleteImagePipelineInput) Validate ¶
func (s *DeleteImagePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteImagePipelineOutput ¶
type DeleteImagePipelineOutput struct { // The Amazon Resource Name (ARN) of the image pipeline that was deleted. ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteImagePipelineOutput) MarshalFields ¶
func (s DeleteImagePipelineOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImagePipelineOutput) String ¶
func (s DeleteImagePipelineOutput) String() string
String returns the string representation
type DeleteImagePipelineRequest ¶
type DeleteImagePipelineRequest struct { *aws.Request Input *DeleteImagePipelineInput Copy func(*DeleteImagePipelineInput) DeleteImagePipelineRequest }
DeleteImagePipelineRequest is the request type for the DeleteImagePipeline API operation.
func (DeleteImagePipelineRequest) Send ¶
func (r DeleteImagePipelineRequest) Send(ctx context.Context) (*DeleteImagePipelineResponse, error)
Send marshals and sends the DeleteImagePipeline API request.
type DeleteImagePipelineResponse ¶
type DeleteImagePipelineResponse struct { *DeleteImagePipelineOutput // contains filtered or unexported fields }
DeleteImagePipelineResponse is the response type for the DeleteImagePipeline API operation.
func (*DeleteImagePipelineResponse) SDKResponseMetdata ¶
func (r *DeleteImagePipelineResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteImagePipeline request.
type DeleteImageRecipeInput ¶
type DeleteImageRecipeInput struct { // The Amazon Resource Name (ARN) of the image recipe to delete. // // ImageRecipeArn is a required field ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteImageRecipeInput) MarshalFields ¶
func (s DeleteImageRecipeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImageRecipeInput) String ¶
func (s DeleteImageRecipeInput) String() string
String returns the string representation
func (*DeleteImageRecipeInput) Validate ¶
func (s *DeleteImageRecipeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteImageRecipeOutput ¶
type DeleteImageRecipeOutput struct { // The Amazon Resource Name (ARN) of the image recipe that was deleted. ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteImageRecipeOutput) MarshalFields ¶
func (s DeleteImageRecipeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteImageRecipeOutput) String ¶
func (s DeleteImageRecipeOutput) String() string
String returns the string representation
type DeleteImageRecipeRequest ¶
type DeleteImageRecipeRequest struct { *aws.Request Input *DeleteImageRecipeInput Copy func(*DeleteImageRecipeInput) DeleteImageRecipeRequest }
DeleteImageRecipeRequest is the request type for the DeleteImageRecipe API operation.
func (DeleteImageRecipeRequest) Send ¶
func (r DeleteImageRecipeRequest) Send(ctx context.Context) (*DeleteImageRecipeResponse, error)
Send marshals and sends the DeleteImageRecipe API request.
type DeleteImageRecipeResponse ¶
type DeleteImageRecipeResponse struct { *DeleteImageRecipeOutput // contains filtered or unexported fields }
DeleteImageRecipeResponse is the response type for the DeleteImageRecipe API operation.
func (*DeleteImageRecipeResponse) SDKResponseMetdata ¶
func (r *DeleteImageRecipeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteImageRecipe request.
type DeleteImageRequest ¶
type DeleteImageRequest struct { *aws.Request Input *DeleteImageInput Copy func(*DeleteImageInput) DeleteImageRequest }
DeleteImageRequest is the request type for the DeleteImage API operation.
func (DeleteImageRequest) Send ¶
func (r DeleteImageRequest) Send(ctx context.Context) (*DeleteImageResponse, error)
Send marshals and sends the DeleteImage API request.
type DeleteImageResponse ¶
type DeleteImageResponse struct { *DeleteImageOutput // contains filtered or unexported fields }
DeleteImageResponse is the response type for the DeleteImage API operation.
func (*DeleteImageResponse) SDKResponseMetdata ¶
func (r *DeleteImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteImage request.
type DeleteInfrastructureConfigurationInput ¶
type DeleteInfrastructureConfigurationInput struct { // The Amazon Resource Name (ARN) of the infrastructure configuration to delete. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `location:"querystring" locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteInfrastructureConfigurationInput) MarshalFields ¶
func (s DeleteInfrastructureConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteInfrastructureConfigurationInput) String ¶
func (s DeleteInfrastructureConfigurationInput) String() string
String returns the string representation
func (*DeleteInfrastructureConfigurationInput) Validate ¶
func (s *DeleteInfrastructureConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteInfrastructureConfigurationOutput ¶
type DeleteInfrastructureConfigurationOutput struct { // The Amazon Resource Name (ARN) of the infrastructure configuration that was // deleted. InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteInfrastructureConfigurationOutput) MarshalFields ¶
func (s DeleteInfrastructureConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteInfrastructureConfigurationOutput) String ¶
func (s DeleteInfrastructureConfigurationOutput) String() string
String returns the string representation
type DeleteInfrastructureConfigurationRequest ¶
type DeleteInfrastructureConfigurationRequest struct { *aws.Request Input *DeleteInfrastructureConfigurationInput Copy func(*DeleteInfrastructureConfigurationInput) DeleteInfrastructureConfigurationRequest }
DeleteInfrastructureConfigurationRequest is the request type for the DeleteInfrastructureConfiguration API operation.
func (DeleteInfrastructureConfigurationRequest) Send ¶
func (r DeleteInfrastructureConfigurationRequest) Send(ctx context.Context) (*DeleteInfrastructureConfigurationResponse, error)
Send marshals and sends the DeleteInfrastructureConfiguration API request.
type DeleteInfrastructureConfigurationResponse ¶
type DeleteInfrastructureConfigurationResponse struct { *DeleteInfrastructureConfigurationOutput // contains filtered or unexported fields }
DeleteInfrastructureConfigurationResponse is the response type for the DeleteInfrastructureConfiguration API operation.
func (*DeleteInfrastructureConfigurationResponse) SDKResponseMetdata ¶
func (r *DeleteInfrastructureConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteInfrastructureConfiguration request.
type Distribution ¶
type Distribution struct { // The specific AMI settings (for example, launch permissions, AMI tags). AmiDistributionConfiguration *AmiDistributionConfiguration `locationName:"amiDistributionConfiguration" type:"structure"` // The License Manager Configuration to associate with the AMI in the specified // Region. LicenseConfigurationArns []string `locationName:"licenseConfigurationArns" type:"list"` // The target Region. // // Region is a required field Region *string `locationName:"region" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Defines the settings for a specific Region.
func (Distribution) MarshalFields ¶
func (s Distribution) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Distribution) String ¶
func (s Distribution) String() string
String returns the string representation
func (*Distribution) Validate ¶
func (s *Distribution) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DistributionConfiguration ¶
type DistributionConfiguration struct { // The Amazon Resource Name (ARN) of the distribution configuration. Arn *string `locationName:"arn" type:"string"` // The date on which this distribution configuration was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The date on which this distribution configuration was last updated. DateUpdated *string `locationName:"dateUpdated" type:"string"` // The description of the distribution configuration. Description *string `locationName:"description" min:"1" type:"string"` // The distributions of the distribution configuration. Distributions []Distribution `locationName:"distributions" type:"list"` // The name of the distribution configuration. Name *string `locationName:"name" type:"string"` // The tags of the distribution configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The maximum duration in minutes for this distribution configuration. // // TimeoutMinutes is a required field TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"30" type:"integer" required:"true"` // contains filtered or unexported fields }
A distribution configuration.
func (DistributionConfiguration) MarshalFields ¶
func (s DistributionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DistributionConfiguration) String ¶
func (s DistributionConfiguration) String() string
String returns the string representation
type DistributionConfigurationSummary ¶
type DistributionConfigurationSummary struct { // The Amazon Resource Name (ARN) of the distribution configuration. Arn *string `locationName:"arn" type:"string"` // The date on which the distribution configuration was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The date on which the distribution configuration was updated. DateUpdated *string `locationName:"dateUpdated" type:"string"` // The description of the distribution configuration. Description *string `locationName:"description" min:"1" type:"string"` // The name of the distribution configuration. Name *string `locationName:"name" type:"string"` // The tags associated with the distribution configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
A high-level overview of a distribution configuration.
func (DistributionConfigurationSummary) MarshalFields ¶
func (s DistributionConfigurationSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DistributionConfigurationSummary) String ¶
func (s DistributionConfigurationSummary) String() string
String returns the string representation
type EbsInstanceBlockDeviceSpecification ¶
type EbsInstanceBlockDeviceSpecification struct { // Use to configure delete on termination of the associated device. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // Use to configure device encryption. Encrypted *bool `locationName:"encrypted" type:"boolean"` // Use to configure device IOPS. Iops *int64 `locationName:"iops" min:"100" type:"integer"` // Use to configure the KMS key to use when encrypting the device. KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` // The snapshot that defines the device contents. SnapshotId *string `locationName:"snapshotId" min:"1" type:"string"` // Use to override the device's volume size. VolumeSize *int64 `locationName:"volumeSize" min:"1" type:"integer"` // Use to override the device's volume type. VolumeType EbsVolumeType `locationName:"volumeType" type:"string" enum:"true"` // contains filtered or unexported fields }
Amazon EBS-specific block device mapping specifications.
func (EbsInstanceBlockDeviceSpecification) MarshalFields ¶
func (s EbsInstanceBlockDeviceSpecification) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EbsInstanceBlockDeviceSpecification) String ¶
func (s EbsInstanceBlockDeviceSpecification) String() string
String returns the string representation
func (*EbsInstanceBlockDeviceSpecification) Validate ¶
func (s *EbsInstanceBlockDeviceSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EbsVolumeType ¶
type EbsVolumeType string
const ( EbsVolumeTypeStandard EbsVolumeType = "standard" EbsVolumeTypeIo1 EbsVolumeType = "io1" EbsVolumeTypeGp2 EbsVolumeType = "gp2" EbsVolumeTypeSc1 EbsVolumeType = "sc1" EbsVolumeTypeSt1 EbsVolumeType = "st1" )
Enum values for EbsVolumeType
func (EbsVolumeType) MarshalValue ¶
func (enum EbsVolumeType) MarshalValue() (string, error)
func (EbsVolumeType) MarshalValueBuf ¶
func (enum EbsVolumeType) MarshalValueBuf(b []byte) ([]byte, error)
type Filter ¶
type Filter struct { // The name of the filter. Filter names are case-sensitive. Name *string `locationName:"name" type:"string"` // The filter values. Filter values are case-sensitive. Values []string `locationName:"values" min:"1" type:"list"` // contains filtered or unexported fields }
A filter name and value pair that is used to return a more specific list of results from a list operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
func (Filter) MarshalFields ¶
func (s Filter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type GetComponentInput ¶
type GetComponentInput struct { // The Amazon Resource Name (ARN) of the component that you want to retrieve. // Regex requires "/\d+$" suffix. // // ComponentBuildVersionArn is a required field ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetComponentInput) MarshalFields ¶
func (s GetComponentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetComponentInput) String ¶
func (s GetComponentInput) String() string
String returns the string representation
func (*GetComponentInput) Validate ¶
func (s *GetComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetComponentOutput ¶
type GetComponentOutput struct { // The component object associated with the specified ARN. Component *Component `locationName:"component" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetComponentOutput) MarshalFields ¶
func (s GetComponentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetComponentOutput) String ¶
func (s GetComponentOutput) String() string
String returns the string representation
type GetComponentPolicyInput ¶
type GetComponentPolicyInput struct { // The Amazon Resource Name (ARN) of the component whose policy you want to // retrieve. // // ComponentArn is a required field ComponentArn *string `location:"querystring" locationName:"componentArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetComponentPolicyInput) MarshalFields ¶
func (s GetComponentPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetComponentPolicyInput) String ¶
func (s GetComponentPolicyInput) String() string
String returns the string representation
func (*GetComponentPolicyInput) Validate ¶
func (s *GetComponentPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetComponentPolicyOutput ¶
type GetComponentPolicyOutput struct { // The component policy. Policy *string `locationName:"policy" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetComponentPolicyOutput) MarshalFields ¶
func (s GetComponentPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetComponentPolicyOutput) String ¶
func (s GetComponentPolicyOutput) String() string
String returns the string representation
type GetComponentPolicyRequest ¶
type GetComponentPolicyRequest struct { *aws.Request Input *GetComponentPolicyInput Copy func(*GetComponentPolicyInput) GetComponentPolicyRequest }
GetComponentPolicyRequest is the request type for the GetComponentPolicy API operation.
func (GetComponentPolicyRequest) Send ¶
func (r GetComponentPolicyRequest) Send(ctx context.Context) (*GetComponentPolicyResponse, error)
Send marshals and sends the GetComponentPolicy API request.
type GetComponentPolicyResponse ¶
type GetComponentPolicyResponse struct { *GetComponentPolicyOutput // contains filtered or unexported fields }
GetComponentPolicyResponse is the response type for the GetComponentPolicy API operation.
func (*GetComponentPolicyResponse) SDKResponseMetdata ¶
func (r *GetComponentPolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetComponentPolicy request.
type GetComponentRequest ¶
type GetComponentRequest struct { *aws.Request Input *GetComponentInput Copy func(*GetComponentInput) GetComponentRequest }
GetComponentRequest is the request type for the GetComponent API operation.
func (GetComponentRequest) Send ¶
func (r GetComponentRequest) Send(ctx context.Context) (*GetComponentResponse, error)
Send marshals and sends the GetComponent API request.
type GetComponentResponse ¶
type GetComponentResponse struct { *GetComponentOutput // contains filtered or unexported fields }
GetComponentResponse is the response type for the GetComponent API operation.
func (*GetComponentResponse) SDKResponseMetdata ¶
func (r *GetComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetComponent request.
type GetDistributionConfigurationInput ¶
type GetDistributionConfigurationInput struct { // The Amazon Resource Name (ARN) of the distribution configuration that you // want to retrieve. // // DistributionConfigurationArn is a required field DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetDistributionConfigurationInput) MarshalFields ¶
func (s GetDistributionConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDistributionConfigurationInput) String ¶
func (s GetDistributionConfigurationInput) String() string
String returns the string representation
func (*GetDistributionConfigurationInput) Validate ¶
func (s *GetDistributionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDistributionConfigurationOutput ¶
type GetDistributionConfigurationOutput struct { // The distribution configuration object. DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetDistributionConfigurationOutput) MarshalFields ¶
func (s GetDistributionConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDistributionConfigurationOutput) String ¶
func (s GetDistributionConfigurationOutput) String() string
String returns the string representation
type GetDistributionConfigurationRequest ¶
type GetDistributionConfigurationRequest struct { *aws.Request Input *GetDistributionConfigurationInput Copy func(*GetDistributionConfigurationInput) GetDistributionConfigurationRequest }
GetDistributionConfigurationRequest is the request type for the GetDistributionConfiguration API operation.
func (GetDistributionConfigurationRequest) Send ¶
func (r GetDistributionConfigurationRequest) Send(ctx context.Context) (*GetDistributionConfigurationResponse, error)
Send marshals and sends the GetDistributionConfiguration API request.
type GetDistributionConfigurationResponse ¶
type GetDistributionConfigurationResponse struct { *GetDistributionConfigurationOutput // contains filtered or unexported fields }
GetDistributionConfigurationResponse is the response type for the GetDistributionConfiguration API operation.
func (*GetDistributionConfigurationResponse) SDKResponseMetdata ¶
func (r *GetDistributionConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDistributionConfiguration request.
type GetImageInput ¶
type GetImageInput struct { // The Amazon Resource Name (ARN) of the image that you want to retrieve. // // ImageBuildVersionArn is a required field ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImageInput) MarshalFields ¶
func (s GetImageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageInput) String ¶
func (s GetImageInput) String() string
String returns the string representation
func (*GetImageInput) Validate ¶
func (s *GetImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImageOutput ¶
type GetImageOutput struct { // The image object. Image *Image `locationName:"image" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetImageOutput) MarshalFields ¶
func (s GetImageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageOutput) String ¶
func (s GetImageOutput) String() string
String returns the string representation
type GetImagePipelineInput ¶
type GetImagePipelineInput struct { // The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve. // // ImagePipelineArn is a required field ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImagePipelineInput) MarshalFields ¶
func (s GetImagePipelineInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImagePipelineInput) String ¶
func (s GetImagePipelineInput) String() string
String returns the string representation
func (*GetImagePipelineInput) Validate ¶
func (s *GetImagePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImagePipelineOutput ¶
type GetImagePipelineOutput struct { // The image pipeline object. ImagePipeline *ImagePipeline `locationName:"imagePipeline" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetImagePipelineOutput) MarshalFields ¶
func (s GetImagePipelineOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImagePipelineOutput) String ¶
func (s GetImagePipelineOutput) String() string
String returns the string representation
type GetImagePipelineRequest ¶
type GetImagePipelineRequest struct { *aws.Request Input *GetImagePipelineInput Copy func(*GetImagePipelineInput) GetImagePipelineRequest }
GetImagePipelineRequest is the request type for the GetImagePipeline API operation.
func (GetImagePipelineRequest) Send ¶
func (r GetImagePipelineRequest) Send(ctx context.Context) (*GetImagePipelineResponse, error)
Send marshals and sends the GetImagePipeline API request.
type GetImagePipelineResponse ¶
type GetImagePipelineResponse struct { *GetImagePipelineOutput // contains filtered or unexported fields }
GetImagePipelineResponse is the response type for the GetImagePipeline API operation.
func (*GetImagePipelineResponse) SDKResponseMetdata ¶
func (r *GetImagePipelineResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetImagePipeline request.
type GetImagePolicyInput ¶
type GetImagePolicyInput struct { // The Amazon Resource Name (ARN) of the image whose policy you want to retrieve. // // ImageArn is a required field ImageArn *string `location:"querystring" locationName:"imageArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImagePolicyInput) MarshalFields ¶
func (s GetImagePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImagePolicyInput) String ¶
func (s GetImagePolicyInput) String() string
String returns the string representation
func (*GetImagePolicyInput) Validate ¶
func (s *GetImagePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImagePolicyOutput ¶
type GetImagePolicyOutput struct { // The image policy object. Policy *string `locationName:"policy" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetImagePolicyOutput) MarshalFields ¶
func (s GetImagePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImagePolicyOutput) String ¶
func (s GetImagePolicyOutput) String() string
String returns the string representation
type GetImagePolicyRequest ¶
type GetImagePolicyRequest struct { *aws.Request Input *GetImagePolicyInput Copy func(*GetImagePolicyInput) GetImagePolicyRequest }
GetImagePolicyRequest is the request type for the GetImagePolicy API operation.
func (GetImagePolicyRequest) Send ¶
func (r GetImagePolicyRequest) Send(ctx context.Context) (*GetImagePolicyResponse, error)
Send marshals and sends the GetImagePolicy API request.
type GetImagePolicyResponse ¶
type GetImagePolicyResponse struct { *GetImagePolicyOutput // contains filtered or unexported fields }
GetImagePolicyResponse is the response type for the GetImagePolicy API operation.
func (*GetImagePolicyResponse) SDKResponseMetdata ¶
func (r *GetImagePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetImagePolicy request.
type GetImageRecipeInput ¶
type GetImageRecipeInput struct { // The Amazon Resource Name (ARN) of the image recipe that you want to retrieve. // // ImageRecipeArn is a required field ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImageRecipeInput) MarshalFields ¶
func (s GetImageRecipeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageRecipeInput) String ¶
func (s GetImageRecipeInput) String() string
String returns the string representation
func (*GetImageRecipeInput) Validate ¶
func (s *GetImageRecipeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImageRecipeOutput ¶
type GetImageRecipeOutput struct { // The image recipe object. ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetImageRecipeOutput) MarshalFields ¶
func (s GetImageRecipeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageRecipeOutput) String ¶
func (s GetImageRecipeOutput) String() string
String returns the string representation
type GetImageRecipePolicyInput ¶
type GetImageRecipePolicyInput struct { // The Amazon Resource Name (ARN) of the image recipe whose policy you want // to retrieve. // // ImageRecipeArn is a required field ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetImageRecipePolicyInput) MarshalFields ¶
func (s GetImageRecipePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageRecipePolicyInput) String ¶
func (s GetImageRecipePolicyInput) String() string
String returns the string representation
func (*GetImageRecipePolicyInput) Validate ¶
func (s *GetImageRecipePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetImageRecipePolicyOutput ¶
type GetImageRecipePolicyOutput struct { // The image recipe policy object. Policy *string `locationName:"policy" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetImageRecipePolicyOutput) MarshalFields ¶
func (s GetImageRecipePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetImageRecipePolicyOutput) String ¶
func (s GetImageRecipePolicyOutput) String() string
String returns the string representation
type GetImageRecipePolicyRequest ¶
type GetImageRecipePolicyRequest struct { *aws.Request Input *GetImageRecipePolicyInput Copy func(*GetImageRecipePolicyInput) GetImageRecipePolicyRequest }
GetImageRecipePolicyRequest is the request type for the GetImageRecipePolicy API operation.
func (GetImageRecipePolicyRequest) Send ¶
func (r GetImageRecipePolicyRequest) Send(ctx context.Context) (*GetImageRecipePolicyResponse, error)
Send marshals and sends the GetImageRecipePolicy API request.
type GetImageRecipePolicyResponse ¶
type GetImageRecipePolicyResponse struct { *GetImageRecipePolicyOutput // contains filtered or unexported fields }
GetImageRecipePolicyResponse is the response type for the GetImageRecipePolicy API operation.
func (*GetImageRecipePolicyResponse) SDKResponseMetdata ¶
func (r *GetImageRecipePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetImageRecipePolicy request.
type GetImageRecipeRequest ¶
type GetImageRecipeRequest struct { *aws.Request Input *GetImageRecipeInput Copy func(*GetImageRecipeInput) GetImageRecipeRequest }
GetImageRecipeRequest is the request type for the GetImageRecipe API operation.
func (GetImageRecipeRequest) Send ¶
func (r GetImageRecipeRequest) Send(ctx context.Context) (*GetImageRecipeResponse, error)
Send marshals and sends the GetImageRecipe API request.
type GetImageRecipeResponse ¶
type GetImageRecipeResponse struct { *GetImageRecipeOutput // contains filtered or unexported fields }
GetImageRecipeResponse is the response type for the GetImageRecipe API operation.
func (*GetImageRecipeResponse) SDKResponseMetdata ¶
func (r *GetImageRecipeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetImageRecipe request.
type GetImageRequest ¶
type GetImageRequest struct { *aws.Request Input *GetImageInput Copy func(*GetImageInput) GetImageRequest }
GetImageRequest is the request type for the GetImage API operation.
func (GetImageRequest) Send ¶
func (r GetImageRequest) Send(ctx context.Context) (*GetImageResponse, error)
Send marshals and sends the GetImage API request.
type GetImageResponse ¶
type GetImageResponse struct { *GetImageOutput // contains filtered or unexported fields }
GetImageResponse is the response type for the GetImage API operation.
func (*GetImageResponse) SDKResponseMetdata ¶
func (r *GetImageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetImage request.
type GetInfrastructureConfigurationInput ¶
type GetInfrastructureConfigurationInput struct { // The Amazon Resource Name (ARN) of the infrastructure configuration that you // want to retrieve. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `location:"querystring" locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // contains filtered or unexported fields }
GetInfrastructureConfiguration request object.
func (GetInfrastructureConfigurationInput) MarshalFields ¶
func (s GetInfrastructureConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetInfrastructureConfigurationInput) String ¶
func (s GetInfrastructureConfigurationInput) String() string
String returns the string representation
func (*GetInfrastructureConfigurationInput) Validate ¶
func (s *GetInfrastructureConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInfrastructureConfigurationOutput ¶
type GetInfrastructureConfigurationOutput struct { // The infrastructure configuration object. InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
GetInfrastructureConfiguration response object.
func (GetInfrastructureConfigurationOutput) MarshalFields ¶
func (s GetInfrastructureConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetInfrastructureConfigurationOutput) String ¶
func (s GetInfrastructureConfigurationOutput) String() string
String returns the string representation
type GetInfrastructureConfigurationRequest ¶
type GetInfrastructureConfigurationRequest struct { *aws.Request Input *GetInfrastructureConfigurationInput Copy func(*GetInfrastructureConfigurationInput) GetInfrastructureConfigurationRequest }
GetInfrastructureConfigurationRequest is the request type for the GetInfrastructureConfiguration API operation.
func (GetInfrastructureConfigurationRequest) Send ¶
func (r GetInfrastructureConfigurationRequest) Send(ctx context.Context) (*GetInfrastructureConfigurationResponse, error)
Send marshals and sends the GetInfrastructureConfiguration API request.
type GetInfrastructureConfigurationResponse ¶
type GetInfrastructureConfigurationResponse struct { *GetInfrastructureConfigurationOutput // contains filtered or unexported fields }
GetInfrastructureConfigurationResponse is the response type for the GetInfrastructureConfiguration API operation.
func (*GetInfrastructureConfigurationResponse) SDKResponseMetdata ¶
func (r *GetInfrastructureConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetInfrastructureConfiguration request.
type Image ¶
type Image struct { // The Amazon Resource Name (ARN) of the image. Arn *string `locationName:"arn" type:"string"` // The date on which this image was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The distribution configuration used when creating this image. DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"` // The image recipe used when creating the image. ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"` // The image tests configuration used when creating this image. ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"` // The infrastructure used when creating this image. InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"` // The name of the image. Name *string `locationName:"name" type:"string"` // The output resources produced when creating this image. OutputResources *OutputResources `locationName:"outputResources" type:"structure"` // The platform of the image. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The Amazon Resource Name (ARN) of the image pipeline that created this image. SourcePipelineArn *string `locationName:"sourcePipelineArn" type:"string"` // The name of the image pipeline that created this image. SourcePipelineName *string `locationName:"sourcePipelineName" type:"string"` // The state of the image. State *ImageState `locationName:"state" type:"structure"` // The tags of the image. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The semantic version of the image. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
An image build version.
func (Image) MarshalFields ¶
func (s Image) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ImagePipeline ¶
type ImagePipeline struct { // The Amazon Resource Name (ARN) of the image pipeline. Arn *string `locationName:"arn" type:"string"` // The date on which this image pipeline was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The date on which this image pipeline was last run. DateLastRun *string `locationName:"dateLastRun" type:"string"` // The date on which this image pipeline will next be run. DateNextRun *string `locationName:"dateNextRun" type:"string"` // The date on which this image pipeline was last updated. DateUpdated *string `locationName:"dateUpdated" type:"string"` // The description of the image pipeline. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration associated // with this image pipeline. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The Amazon Resource Name (ARN) of the image recipe associated with this image // pipeline. ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"` // The image tests configuration of the image pipeline. ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of the infrastructure configuration associated // with this image pipeline. InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"` // The name of the image pipeline. Name *string `locationName:"name" type:"string"` // The platform of the image pipeline. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The schedule of the image pipeline. Schedule *Schedule `locationName:"schedule" type:"structure"` // The status of the image pipeline. Status PipelineStatus `locationName:"status" type:"string" enum:"true"` // The tags of this image pipeline. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
Details of an image pipeline.
func (ImagePipeline) MarshalFields ¶
func (s ImagePipeline) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImagePipeline) String ¶
func (s ImagePipeline) String() string
String returns the string representation
type ImageRecipe ¶
type ImageRecipe struct { // The Amazon Resource Name (ARN) of the image recipe. Arn *string `locationName:"arn" type:"string"` // The block device mappings to apply when creating images from this recipe. BlockDeviceMappings []InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"` // The components of the image recipe. Components []ComponentConfiguration `locationName:"components" min:"1" type:"list"` // The date on which this image recipe was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The description of the image recipe. Description *string `locationName:"description" min:"1" type:"string"` // The name of the image recipe. Name *string `locationName:"name" type:"string"` // The owner of the image recipe. Owner *string `locationName:"owner" min:"1" type:"string"` // The parent image of the image recipe. ParentImage *string `locationName:"parentImage" min:"1" type:"string"` // The platform of the image recipe. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The tags of the image recipe. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The version of the image recipe. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
An image recipe.
func (ImageRecipe) MarshalFields ¶
func (s ImageRecipe) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageRecipe) String ¶
func (s ImageRecipe) String() string
String returns the string representation
type ImageRecipeSummary ¶
type ImageRecipeSummary struct { // The Amazon Resource Name (ARN) of the image recipe. Arn *string `locationName:"arn" type:"string"` // The date on which this image recipe was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The name of the image recipe. Name *string `locationName:"name" type:"string"` // The owner of the image recipe. Owner *string `locationName:"owner" min:"1" type:"string"` // The parent image of the image recipe. ParentImage *string `locationName:"parentImage" min:"1" type:"string"` // The platform of the image recipe. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The tags of the image recipe. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
A summary of an image recipe.
func (ImageRecipeSummary) MarshalFields ¶
func (s ImageRecipeSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageRecipeSummary) String ¶
func (s ImageRecipeSummary) String() string
String returns the string representation
type ImageState ¶
type ImageState struct { // The reason for the image's status. Reason *string `locationName:"reason" min:"1" type:"string"` // The status of the image. Status ImageStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Image state shows the image status and the reason for that status.
func (ImageState) MarshalFields ¶
func (s ImageState) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageState) String ¶
func (s ImageState) String() string
String returns the string representation
type ImageStatus ¶
type ImageStatus string
const ( ImageStatusPending ImageStatus = "PENDING" ImageStatusCreating ImageStatus = "CREATING" ImageStatusBuilding ImageStatus = "BUILDING" ImageStatusTesting ImageStatus = "TESTING" ImageStatusDistributing ImageStatus = "DISTRIBUTING" ImageStatusIntegrating ImageStatus = "INTEGRATING" ImageStatusAvailable ImageStatus = "AVAILABLE" ImageStatusCancelled ImageStatus = "CANCELLED" ImageStatusFailed ImageStatus = "FAILED" ImageStatusDeprecated ImageStatus = "DEPRECATED" ImageStatusDeleted ImageStatus = "DELETED" )
Enum values for ImageStatus
func (ImageStatus) MarshalValue ¶
func (enum ImageStatus) MarshalValue() (string, error)
func (ImageStatus) MarshalValueBuf ¶
func (enum ImageStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ImageSummary ¶
type ImageSummary struct { // The Amazon Resource Name (ARN) of the image. Arn *string `locationName:"arn" type:"string"` // The date on which this image was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The name of the image. Name *string `locationName:"name" type:"string"` // The output resources produced when creating this image. OutputResources *OutputResources `locationName:"outputResources" type:"structure"` // The owner of the image. Owner *string `locationName:"owner" min:"1" type:"string"` // The platform of the image. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The state of the image. State *ImageState `locationName:"state" type:"structure"` // The tags of the image. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The version of the image. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
An image summary.
func (ImageSummary) MarshalFields ¶
func (s ImageSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageSummary) String ¶
func (s ImageSummary) String() string
String returns the string representation
type ImageTestsConfiguration ¶
type ImageTestsConfiguration struct { // Defines if tests should be executed when building this image. ImageTestsEnabled *bool `locationName:"imageTestsEnabled" type:"boolean"` // The maximum time in minutes that tests are permitted to run. TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"60" type:"integer"` // contains filtered or unexported fields }
Image tests configuration.
func (ImageTestsConfiguration) MarshalFields ¶
func (s ImageTestsConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageTestsConfiguration) String ¶
func (s ImageTestsConfiguration) String() string
String returns the string representation
func (*ImageTestsConfiguration) Validate ¶
func (s *ImageTestsConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImageVersion ¶
type ImageVersion struct { // The Amazon Resource Name (ARN) of the image semantic version. Arn *string `locationName:"arn" type:"string"` // The date at which this image semantic version was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The name of the image semantic version. Name *string `locationName:"name" type:"string"` // The owner of the image semantic version. Owner *string `locationName:"owner" min:"1" type:"string"` // The platform of the image semantic version. Platform Platform `locationName:"platform" type:"string" enum:"true"` // The semantic version of the image semantic version. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
An image semantic version.
func (ImageVersion) MarshalFields ¶
func (s ImageVersion) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImageVersion) String ¶
func (s ImageVersion) String() string
String returns the string representation
type ImportComponentInput ¶
type ImportComponentInput struct { // The change description of the component. Describes what change has been made // in this version, or what makes this version different from other versions // of this component. ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"` // The idempotency token of the component. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The data of the component. Used to specify the data inline. Either data or // uri can be used to specify the data within the component. Data *string `locationName:"data" min:"1" type:"string"` // The description of the component. Describes the contents of the component. Description *string `locationName:"description" min:"1" type:"string"` // The format of the resource that you want to import as a component. // // Format is a required field Format ComponentFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The ID of the KMS key that should be used to encrypt this component. KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` // The name of the component. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The platform of the component. // // Platform is a required field Platform Platform `locationName:"platform" type:"string" required:"true" enum:"true"` // The semantic version of the component. This version follows the semantic // version syntax. For example, major.minor.patch. This could be versioned like // software (2.0.1) or like a date (2019.12.01). // // SemanticVersion is a required field SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"` // The tags of the component. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The type of the component denotes whether the component is used to build // the image or only to test it. // // Type is a required field Type ComponentType `locationName:"type" type:"string" required:"true" enum:"true"` // The uri of the component. Must be an S3 URL and the requester must have permission // to access the S3 bucket. If you use S3, you can specify component content // up to your service quota. Either data or uri can be used to specify the data // within the component. Uri *string `locationName:"uri" type:"string"` // contains filtered or unexported fields }
func (ImportComponentInput) MarshalFields ¶
func (s ImportComponentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportComponentInput) String ¶
func (s ImportComponentInput) String() string
String returns the string representation
func (*ImportComponentInput) Validate ¶
func (s *ImportComponentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportComponentOutput ¶
type ImportComponentOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the imported component. ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ImportComponentOutput) MarshalFields ¶
func (s ImportComponentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportComponentOutput) String ¶
func (s ImportComponentOutput) String() string
String returns the string representation
type ImportComponentRequest ¶
type ImportComponentRequest struct { *aws.Request Input *ImportComponentInput Copy func(*ImportComponentInput) ImportComponentRequest }
ImportComponentRequest is the request type for the ImportComponent API operation.
func (ImportComponentRequest) Send ¶
func (r ImportComponentRequest) Send(ctx context.Context) (*ImportComponentResponse, error)
Send marshals and sends the ImportComponent API request.
type ImportComponentResponse ¶
type ImportComponentResponse struct { *ImportComponentOutput // contains filtered or unexported fields }
ImportComponentResponse is the response type for the ImportComponent API operation.
func (*ImportComponentResponse) SDKResponseMetdata ¶
func (r *ImportComponentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportComponent request.
type InfrastructureConfiguration ¶
type InfrastructureConfiguration struct { // The Amazon Resource Name (ARN) of the infrastructure configuration. Arn *string `locationName:"arn" type:"string"` // The date on which the infrastructure configuration was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The date on which the infrastructure configuration was last updated. DateUpdated *string `locationName:"dateUpdated" type:"string"` // The description of the infrastructure configuration. Description *string `locationName:"description" min:"1" type:"string"` // The instance profile of the infrastructure configuration. InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string"` // The instance types of the infrastructure configuration. InstanceTypes []string `locationName:"instanceTypes" type:"list"` // The EC2 key pair of the infrastructure configuration. KeyPair *string `locationName:"keyPair" min:"1" type:"string"` // The logging configuration of the infrastructure configuration. Logging *Logging `locationName:"logging" type:"structure"` // The name of the infrastructure configuration. Name *string `locationName:"name" type:"string"` // The security group IDs of the infrastructure configuration. SecurityGroupIds []string `locationName:"securityGroupIds" type:"list"` // The SNS topic Amazon Resource Name (ARN) of the infrastructure configuration. SnsTopicArn *string `locationName:"snsTopicArn" min:"1" type:"string"` // The subnet ID of the infrastructure configuration. SubnetId *string `locationName:"subnetId" min:"1" type:"string"` // The tags of the infrastructure configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The terminate instance on failure configuration of the infrastructure configuration. TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"` // contains filtered or unexported fields }
Details of the infrastructure configuration.
func (InfrastructureConfiguration) MarshalFields ¶
func (s InfrastructureConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InfrastructureConfiguration) String ¶
func (s InfrastructureConfiguration) String() string
String returns the string representation
type InfrastructureConfigurationSummary ¶
type InfrastructureConfigurationSummary struct { // The Amazon Resource Name (ARN) of the infrastructure configuration. Arn *string `locationName:"arn" type:"string"` // The date on which the infrastructure configuration was created. DateCreated *string `locationName:"dateCreated" type:"string"` // The date on which the infrastructure configuration was last updated. DateUpdated *string `locationName:"dateUpdated" type:"string"` // The description of the infrastructure configuration. Description *string `locationName:"description" min:"1" type:"string"` // The name of the infrastructure configuration. Name *string `locationName:"name" type:"string"` // The tags of the infrastructure configuration. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
The infrastructure used when building EC2 AMIs.
func (InfrastructureConfigurationSummary) MarshalFields ¶
func (s InfrastructureConfigurationSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InfrastructureConfigurationSummary) String ¶
func (s InfrastructureConfigurationSummary) String() string
String returns the string representation
type InstanceBlockDeviceMapping ¶
type InstanceBlockDeviceMapping struct { // The device to which these mappings apply. DeviceName *string `locationName:"deviceName" min:"1" type:"string"` // Use to manage Amazon EBS-specific configuration for this mapping. Ebs *EbsInstanceBlockDeviceSpecification `locationName:"ebs" type:"structure"` // Use to remove a mapping from the parent image. NoDevice *string `locationName:"noDevice" type:"string"` // Use to manage instance ephemeral devices. VirtualName *string `locationName:"virtualName" min:"1" type:"string"` // contains filtered or unexported fields }
Defines block device mappings for the instance used to configure your image.
func (InstanceBlockDeviceMapping) MarshalFields ¶
func (s InstanceBlockDeviceMapping) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InstanceBlockDeviceMapping) String ¶
func (s InstanceBlockDeviceMapping) String() string
String returns the string representation
func (*InstanceBlockDeviceMapping) Validate ¶
func (s *InstanceBlockDeviceMapping) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LaunchPermissionConfiguration ¶
type LaunchPermissionConfiguration struct { // The name of the group. UserGroups []string `locationName:"userGroups" type:"list"` // The AWS account ID. UserIds []string `locationName:"userIds" type:"list"` // contains filtered or unexported fields }
Describes the configuration for a launch permission. The launch permission modification request is sent to the EC2 ModifyImageAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html) API on behalf of the user for each Region they have selected to distribute the AMI.
func (LaunchPermissionConfiguration) MarshalFields ¶
func (s LaunchPermissionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LaunchPermissionConfiguration) String ¶
func (s LaunchPermissionConfiguration) String() string
String returns the string representation
type ListComponentBuildVersionsInput ¶
type ListComponentBuildVersionsInput struct { // The component version Amazon Resource Name (ARN) whose versions you want // to list. // // ComponentVersionArn is a required field ComponentVersionArn *string `locationName:"componentVersionArn" type:"string" required:"true"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListComponentBuildVersionsInput) MarshalFields ¶
func (s ListComponentBuildVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListComponentBuildVersionsInput) String ¶
func (s ListComponentBuildVersionsInput) String() string
String returns the string representation
func (*ListComponentBuildVersionsInput) Validate ¶
func (s *ListComponentBuildVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListComponentBuildVersionsOutput ¶
type ListComponentBuildVersionsOutput struct { // The list of component summaries for the specified semantic version. ComponentSummaryList []ComponentSummary `locationName:"componentSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListComponentBuildVersionsOutput) MarshalFields ¶
func (s ListComponentBuildVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListComponentBuildVersionsOutput) String ¶
func (s ListComponentBuildVersionsOutput) String() string
String returns the string representation
type ListComponentBuildVersionsPaginator ¶
ListComponentBuildVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListComponentBuildVersionsPaginator ¶
func NewListComponentBuildVersionsPaginator(req ListComponentBuildVersionsRequest) ListComponentBuildVersionsPaginator
NewListComponentBuildVersionsRequestPaginator returns a paginator for ListComponentBuildVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListComponentBuildVersionsRequest(input) p := imagebuilder.NewListComponentBuildVersionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListComponentBuildVersionsPaginator) CurrentPage ¶
func (p *ListComponentBuildVersionsPaginator) CurrentPage() *ListComponentBuildVersionsOutput
type ListComponentBuildVersionsRequest ¶
type ListComponentBuildVersionsRequest struct { *aws.Request Input *ListComponentBuildVersionsInput Copy func(*ListComponentBuildVersionsInput) ListComponentBuildVersionsRequest }
ListComponentBuildVersionsRequest is the request type for the ListComponentBuildVersions API operation.
func (ListComponentBuildVersionsRequest) Send ¶
func (r ListComponentBuildVersionsRequest) Send(ctx context.Context) (*ListComponentBuildVersionsResponse, error)
Send marshals and sends the ListComponentBuildVersions API request.
type ListComponentBuildVersionsResponse ¶
type ListComponentBuildVersionsResponse struct { *ListComponentBuildVersionsOutput // contains filtered or unexported fields }
ListComponentBuildVersionsResponse is the response type for the ListComponentBuildVersions API operation.
func (*ListComponentBuildVersionsResponse) SDKResponseMetdata ¶
func (r *ListComponentBuildVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListComponentBuildVersions request.
type ListComponentsInput ¶
type ListComponentsInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The owner defines which components you want to list. By default, this request // will only show components owned by your account. You can use this field to // specify if you want to view components owned by yourself, by Amazon, or those // components that have been shared with you by other customers. Owner Ownership `locationName:"owner" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListComponentsInput) MarshalFields ¶
func (s ListComponentsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListComponentsInput) String ¶
func (s ListComponentsInput) String() string
String returns the string representation
func (*ListComponentsInput) Validate ¶
func (s *ListComponentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListComponentsOutput ¶
type ListComponentsOutput struct { // The list of component semantic versions. ComponentVersionList []ComponentVersion `locationName:"componentVersionList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListComponentsOutput) MarshalFields ¶
func (s ListComponentsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListComponentsOutput) String ¶
func (s ListComponentsOutput) String() string
String returns the string representation
type ListComponentsPaginator ¶
ListComponentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListComponentsPaginator ¶
func NewListComponentsPaginator(req ListComponentsRequest) ListComponentsPaginator
NewListComponentsRequestPaginator returns a paginator for ListComponents. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListComponentsRequest(input) p := imagebuilder.NewListComponentsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListComponentsPaginator) CurrentPage ¶
func (p *ListComponentsPaginator) CurrentPage() *ListComponentsOutput
type ListComponentsRequest ¶
type ListComponentsRequest struct { *aws.Request Input *ListComponentsInput Copy func(*ListComponentsInput) ListComponentsRequest }
ListComponentsRequest is the request type for the ListComponents API operation.
func (ListComponentsRequest) Send ¶
func (r ListComponentsRequest) Send(ctx context.Context) (*ListComponentsResponse, error)
Send marshals and sends the ListComponents API request.
type ListComponentsResponse ¶
type ListComponentsResponse struct { *ListComponentsOutput // contains filtered or unexported fields }
ListComponentsResponse is the response type for the ListComponents API operation.
func (*ListComponentsResponse) SDKResponseMetdata ¶
func (r *ListComponentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListComponents request.
type ListDistributionConfigurationsInput ¶
type ListDistributionConfigurationsInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListDistributionConfigurationsInput) MarshalFields ¶
func (s ListDistributionConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDistributionConfigurationsInput) String ¶
func (s ListDistributionConfigurationsInput) String() string
String returns the string representation
func (*ListDistributionConfigurationsInput) Validate ¶
func (s *ListDistributionConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDistributionConfigurationsOutput ¶
type ListDistributionConfigurationsOutput struct { // The list of distributions. DistributionConfigurationSummaryList []DistributionConfigurationSummary `locationName:"distributionConfigurationSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListDistributionConfigurationsOutput) MarshalFields ¶
func (s ListDistributionConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDistributionConfigurationsOutput) String ¶
func (s ListDistributionConfigurationsOutput) String() string
String returns the string representation
type ListDistributionConfigurationsPaginator ¶
ListDistributionConfigurationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDistributionConfigurationsPaginator ¶
func NewListDistributionConfigurationsPaginator(req ListDistributionConfigurationsRequest) ListDistributionConfigurationsPaginator
NewListDistributionConfigurationsRequestPaginator returns a paginator for ListDistributionConfigurations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDistributionConfigurationsRequest(input) p := imagebuilder.NewListDistributionConfigurationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDistributionConfigurationsPaginator) CurrentPage ¶
func (p *ListDistributionConfigurationsPaginator) CurrentPage() *ListDistributionConfigurationsOutput
type ListDistributionConfigurationsRequest ¶
type ListDistributionConfigurationsRequest struct { *aws.Request Input *ListDistributionConfigurationsInput Copy func(*ListDistributionConfigurationsInput) ListDistributionConfigurationsRequest }
ListDistributionConfigurationsRequest is the request type for the ListDistributionConfigurations API operation.
func (ListDistributionConfigurationsRequest) Send ¶
func (r ListDistributionConfigurationsRequest) Send(ctx context.Context) (*ListDistributionConfigurationsResponse, error)
Send marshals and sends the ListDistributionConfigurations API request.
type ListDistributionConfigurationsResponse ¶
type ListDistributionConfigurationsResponse struct { *ListDistributionConfigurationsOutput // contains filtered or unexported fields }
ListDistributionConfigurationsResponse is the response type for the ListDistributionConfigurations API operation.
func (*ListDistributionConfigurationsResponse) SDKResponseMetdata ¶
func (r *ListDistributionConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDistributionConfigurations request.
type ListImageBuildVersionsInput ¶
type ListImageBuildVersionsInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the image whose build versions you want // to retrieve. // // ImageVersionArn is a required field ImageVersionArn *string `locationName:"imageVersionArn" type:"string" required:"true"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImageBuildVersionsInput) MarshalFields ¶
func (s ListImageBuildVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImageBuildVersionsInput) String ¶
func (s ListImageBuildVersionsInput) String() string
String returns the string representation
func (*ListImageBuildVersionsInput) Validate ¶
func (s *ListImageBuildVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImageBuildVersionsOutput ¶
type ListImageBuildVersionsOutput struct { // The list of image build versions. ImageSummaryList []ImageSummary `locationName:"imageSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImageBuildVersionsOutput) MarshalFields ¶
func (s ListImageBuildVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImageBuildVersionsOutput) String ¶
func (s ListImageBuildVersionsOutput) String() string
String returns the string representation
type ListImageBuildVersionsPaginator ¶
ListImageBuildVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListImageBuildVersionsPaginator ¶
func NewListImageBuildVersionsPaginator(req ListImageBuildVersionsRequest) ListImageBuildVersionsPaginator
NewListImageBuildVersionsRequestPaginator returns a paginator for ListImageBuildVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListImageBuildVersionsRequest(input) p := imagebuilder.NewListImageBuildVersionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListImageBuildVersionsPaginator) CurrentPage ¶
func (p *ListImageBuildVersionsPaginator) CurrentPage() *ListImageBuildVersionsOutput
type ListImageBuildVersionsRequest ¶
type ListImageBuildVersionsRequest struct { *aws.Request Input *ListImageBuildVersionsInput Copy func(*ListImageBuildVersionsInput) ListImageBuildVersionsRequest }
ListImageBuildVersionsRequest is the request type for the ListImageBuildVersions API operation.
func (ListImageBuildVersionsRequest) Send ¶
func (r ListImageBuildVersionsRequest) Send(ctx context.Context) (*ListImageBuildVersionsResponse, error)
Send marshals and sends the ListImageBuildVersions API request.
type ListImageBuildVersionsResponse ¶
type ListImageBuildVersionsResponse struct { *ListImageBuildVersionsOutput // contains filtered or unexported fields }
ListImageBuildVersionsResponse is the response type for the ListImageBuildVersions API operation.
func (*ListImageBuildVersionsResponse) SDKResponseMetdata ¶
func (r *ListImageBuildVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListImageBuildVersions request.
type ListImagePipelineImagesInput ¶
type ListImagePipelineImagesInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the image pipeline whose images you want // to view. // // ImagePipelineArn is a required field ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string" required:"true"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImagePipelineImagesInput) MarshalFields ¶
func (s ListImagePipelineImagesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagePipelineImagesInput) String ¶
func (s ListImagePipelineImagesInput) String() string
String returns the string representation
func (*ListImagePipelineImagesInput) Validate ¶
func (s *ListImagePipelineImagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImagePipelineImagesOutput ¶
type ListImagePipelineImagesOutput struct { // The list of images built by this pipeline. ImageSummaryList []ImageSummary `locationName:"imageSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImagePipelineImagesOutput) MarshalFields ¶
func (s ListImagePipelineImagesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagePipelineImagesOutput) String ¶
func (s ListImagePipelineImagesOutput) String() string
String returns the string representation
type ListImagePipelineImagesPaginator ¶
ListImagePipelineImagesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListImagePipelineImagesPaginator ¶
func NewListImagePipelineImagesPaginator(req ListImagePipelineImagesRequest) ListImagePipelineImagesPaginator
NewListImagePipelineImagesRequestPaginator returns a paginator for ListImagePipelineImages. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListImagePipelineImagesRequest(input) p := imagebuilder.NewListImagePipelineImagesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListImagePipelineImagesPaginator) CurrentPage ¶
func (p *ListImagePipelineImagesPaginator) CurrentPage() *ListImagePipelineImagesOutput
type ListImagePipelineImagesRequest ¶
type ListImagePipelineImagesRequest struct { *aws.Request Input *ListImagePipelineImagesInput Copy func(*ListImagePipelineImagesInput) ListImagePipelineImagesRequest }
ListImagePipelineImagesRequest is the request type for the ListImagePipelineImages API operation.
func (ListImagePipelineImagesRequest) Send ¶
func (r ListImagePipelineImagesRequest) Send(ctx context.Context) (*ListImagePipelineImagesResponse, error)
Send marshals and sends the ListImagePipelineImages API request.
type ListImagePipelineImagesResponse ¶
type ListImagePipelineImagesResponse struct { *ListImagePipelineImagesOutput // contains filtered or unexported fields }
ListImagePipelineImagesResponse is the response type for the ListImagePipelineImages API operation.
func (*ListImagePipelineImagesResponse) SDKResponseMetdata ¶
func (r *ListImagePipelineImagesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListImagePipelineImages request.
type ListImagePipelinesInput ¶
type ListImagePipelinesInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImagePipelinesInput) MarshalFields ¶
func (s ListImagePipelinesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagePipelinesInput) String ¶
func (s ListImagePipelinesInput) String() string
String returns the string representation
func (*ListImagePipelinesInput) Validate ¶
func (s *ListImagePipelinesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImagePipelinesOutput ¶
type ListImagePipelinesOutput struct { // The list of image pipelines. ImagePipelineList []ImagePipeline `locationName:"imagePipelineList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImagePipelinesOutput) MarshalFields ¶
func (s ListImagePipelinesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagePipelinesOutput) String ¶
func (s ListImagePipelinesOutput) String() string
String returns the string representation
type ListImagePipelinesPaginator ¶
ListImagePipelinesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListImagePipelinesPaginator ¶
func NewListImagePipelinesPaginator(req ListImagePipelinesRequest) ListImagePipelinesPaginator
NewListImagePipelinesRequestPaginator returns a paginator for ListImagePipelines. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListImagePipelinesRequest(input) p := imagebuilder.NewListImagePipelinesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListImagePipelinesPaginator) CurrentPage ¶
func (p *ListImagePipelinesPaginator) CurrentPage() *ListImagePipelinesOutput
type ListImagePipelinesRequest ¶
type ListImagePipelinesRequest struct { *aws.Request Input *ListImagePipelinesInput Copy func(*ListImagePipelinesInput) ListImagePipelinesRequest }
ListImagePipelinesRequest is the request type for the ListImagePipelines API operation.
func (ListImagePipelinesRequest) Send ¶
func (r ListImagePipelinesRequest) Send(ctx context.Context) (*ListImagePipelinesResponse, error)
Send marshals and sends the ListImagePipelines API request.
type ListImagePipelinesResponse ¶
type ListImagePipelinesResponse struct { *ListImagePipelinesOutput // contains filtered or unexported fields }
ListImagePipelinesResponse is the response type for the ListImagePipelines API operation.
func (*ListImagePipelinesResponse) SDKResponseMetdata ¶
func (r *ListImagePipelinesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListImagePipelines request.
type ListImageRecipesInput ¶
type ListImageRecipesInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The owner defines which image recipes you want to list. By default, this // request will only show image recipes owned by your account. You can use this // field to specify if you want to view image recipes owned by yourself, by // Amazon, or those image recipes that have been shared with you by other customers. Owner Ownership `locationName:"owner" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListImageRecipesInput) MarshalFields ¶
func (s ListImageRecipesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImageRecipesInput) String ¶
func (s ListImageRecipesInput) String() string
String returns the string representation
func (*ListImageRecipesInput) Validate ¶
func (s *ListImageRecipesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImageRecipesOutput ¶
type ListImageRecipesOutput struct { // The list of image pipelines. ImageRecipeSummaryList []ImageRecipeSummary `locationName:"imageRecipeSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImageRecipesOutput) MarshalFields ¶
func (s ListImageRecipesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImageRecipesOutput) String ¶
func (s ListImageRecipesOutput) String() string
String returns the string representation
type ListImageRecipesPaginator ¶
ListImageRecipesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListImageRecipesPaginator ¶
func NewListImageRecipesPaginator(req ListImageRecipesRequest) ListImageRecipesPaginator
NewListImageRecipesRequestPaginator returns a paginator for ListImageRecipes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListImageRecipesRequest(input) p := imagebuilder.NewListImageRecipesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListImageRecipesPaginator) CurrentPage ¶
func (p *ListImageRecipesPaginator) CurrentPage() *ListImageRecipesOutput
type ListImageRecipesRequest ¶
type ListImageRecipesRequest struct { *aws.Request Input *ListImageRecipesInput Copy func(*ListImageRecipesInput) ListImageRecipesRequest }
ListImageRecipesRequest is the request type for the ListImageRecipes API operation.
func (ListImageRecipesRequest) Send ¶
func (r ListImageRecipesRequest) Send(ctx context.Context) (*ListImageRecipesResponse, error)
Send marshals and sends the ListImageRecipes API request.
type ListImageRecipesResponse ¶
type ListImageRecipesResponse struct { *ListImageRecipesOutput // contains filtered or unexported fields }
ListImageRecipesResponse is the response type for the ListImageRecipes API operation.
func (*ListImageRecipesResponse) SDKResponseMetdata ¶
func (r *ListImageRecipesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListImageRecipes request.
type ListImagesInput ¶
type ListImagesInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The owner defines which images you want to list. By default, this request // will only show images owned by your account. You can use this field to specify // if you want to view images owned by yourself, by Amazon, or those images // that have been shared with you by other customers. Owner Ownership `locationName:"owner" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListImagesInput) MarshalFields ¶
func (s ListImagesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagesInput) String ¶
func (s ListImagesInput) String() string
String returns the string representation
func (*ListImagesInput) Validate ¶
func (s *ListImagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListImagesOutput ¶
type ListImagesOutput struct { // The list of image semantic versions. ImageVersionList []ImageVersion `locationName:"imageVersionList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListImagesOutput) MarshalFields ¶
func (s ListImagesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListImagesOutput) String ¶
func (s ListImagesOutput) String() string
String returns the string representation
type ListImagesPaginator ¶
ListImagesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListImagesPaginator ¶
func NewListImagesPaginator(req ListImagesRequest) ListImagesPaginator
NewListImagesRequestPaginator returns a paginator for ListImages. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListImagesRequest(input) p := imagebuilder.NewListImagesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListImagesPaginator) CurrentPage ¶
func (p *ListImagesPaginator) CurrentPage() *ListImagesOutput
type ListImagesRequest ¶
type ListImagesRequest struct { *aws.Request Input *ListImagesInput Copy func(*ListImagesInput) ListImagesRequest }
ListImagesRequest is the request type for the ListImages API operation.
func (ListImagesRequest) Send ¶
func (r ListImagesRequest) Send(ctx context.Context) (*ListImagesResponse, error)
Send marshals and sends the ListImages API request.
type ListImagesResponse ¶
type ListImagesResponse struct { *ListImagesOutput // contains filtered or unexported fields }
ListImagesResponse is the response type for the ListImages API operation.
func (*ListImagesResponse) SDKResponseMetdata ¶
func (r *ListImagesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListImages request.
type ListInfrastructureConfigurationsInput ¶
type ListInfrastructureConfigurationsInput struct { // The filters. Filters []Filter `locationName:"filters" min:"1" type:"list"` // The maximum items to return in a request. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // A token to specify where to start paginating. This is the NextToken from // a previously truncated response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListInfrastructureConfigurationsInput) MarshalFields ¶
func (s ListInfrastructureConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListInfrastructureConfigurationsInput) String ¶
func (s ListInfrastructureConfigurationsInput) String() string
String returns the string representation
func (*ListInfrastructureConfigurationsInput) Validate ¶
func (s *ListInfrastructureConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInfrastructureConfigurationsOutput ¶
type ListInfrastructureConfigurationsOutput struct { // The list of infrastructure configurations. InfrastructureConfigurationSummaryList []InfrastructureConfigurationSummary `locationName:"infrastructureConfigurationSummaryList" type:"list"` // The next token used for paginated responses. When this is not empty, there // are additional elements that the service has not included in this request. // Use this token with the next request to retrieve additional objects. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListInfrastructureConfigurationsOutput) MarshalFields ¶
func (s ListInfrastructureConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListInfrastructureConfigurationsOutput) String ¶
func (s ListInfrastructureConfigurationsOutput) String() string
String returns the string representation
type ListInfrastructureConfigurationsPaginator ¶
ListInfrastructureConfigurationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListInfrastructureConfigurationsPaginator ¶
func NewListInfrastructureConfigurationsPaginator(req ListInfrastructureConfigurationsRequest) ListInfrastructureConfigurationsPaginator
NewListInfrastructureConfigurationsRequestPaginator returns a paginator for ListInfrastructureConfigurations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListInfrastructureConfigurationsRequest(input) p := imagebuilder.NewListInfrastructureConfigurationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListInfrastructureConfigurationsPaginator) CurrentPage ¶
func (p *ListInfrastructureConfigurationsPaginator) CurrentPage() *ListInfrastructureConfigurationsOutput
type ListInfrastructureConfigurationsRequest ¶
type ListInfrastructureConfigurationsRequest struct { *aws.Request Input *ListInfrastructureConfigurationsInput Copy func(*ListInfrastructureConfigurationsInput) ListInfrastructureConfigurationsRequest }
ListInfrastructureConfigurationsRequest is the request type for the ListInfrastructureConfigurations API operation.
func (ListInfrastructureConfigurationsRequest) Send ¶
func (r ListInfrastructureConfigurationsRequest) Send(ctx context.Context) (*ListInfrastructureConfigurationsResponse, error)
Send marshals and sends the ListInfrastructureConfigurations API request.
type ListInfrastructureConfigurationsResponse ¶
type ListInfrastructureConfigurationsResponse struct { *ListInfrastructureConfigurationsOutput // contains filtered or unexported fields }
ListInfrastructureConfigurationsResponse is the response type for the ListInfrastructureConfigurations API operation.
func (*ListInfrastructureConfigurationsResponse) SDKResponseMetdata ¶
func (r *ListInfrastructureConfigurationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListInfrastructureConfigurations request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags for the specified resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type Logging ¶
type Logging struct { // The Amazon S3 logging configuration. S3Logs *S3Logs `locationName:"s3Logs" type:"structure"` // contains filtered or unexported fields }
Logging configuration defines where Image Builder uploads your logs.
func (Logging) MarshalFields ¶
func (s Logging) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type OutputResources ¶
type OutputResources struct { // The EC2 AMIs created by this image. Amis []Ami `locationName:"amis" type:"list"` // contains filtered or unexported fields }
The resources produced by this image.
func (OutputResources) MarshalFields ¶
func (s OutputResources) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OutputResources) String ¶
func (s OutputResources) String() string
String returns the string representation
type PipelineExecutionStartCondition ¶
type PipelineExecutionStartCondition string
const ( PipelineExecutionStartConditionExpressionMatchOnly PipelineExecutionStartCondition = "EXPRESSION_MATCH_ONLY" PipelineExecutionStartConditionExpressionMatchAndDependencyUpdatesAvailable PipelineExecutionStartCondition = "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE" )
Enum values for PipelineExecutionStartCondition
func (PipelineExecutionStartCondition) MarshalValue ¶
func (enum PipelineExecutionStartCondition) MarshalValue() (string, error)
func (PipelineExecutionStartCondition) MarshalValueBuf ¶
func (enum PipelineExecutionStartCondition) MarshalValueBuf(b []byte) ([]byte, error)
type PipelineStatus ¶
type PipelineStatus string
const ( PipelineStatusDisabled PipelineStatus = "DISABLED" PipelineStatusEnabled PipelineStatus = "ENABLED" )
Enum values for PipelineStatus
func (PipelineStatus) MarshalValue ¶
func (enum PipelineStatus) MarshalValue() (string, error)
func (PipelineStatus) MarshalValueBuf ¶
func (enum PipelineStatus) MarshalValueBuf(b []byte) ([]byte, error)
type PutComponentPolicyInput ¶
type PutComponentPolicyInput struct { // The Amazon Resource Name (ARN) of the component that this policy should be // applied to. // // ComponentArn is a required field ComponentArn *string `locationName:"componentArn" type:"string" required:"true"` // The policy to apply. // // Policy is a required field Policy *string `locationName:"policy" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutComponentPolicyInput) MarshalFields ¶
func (s PutComponentPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutComponentPolicyInput) String ¶
func (s PutComponentPolicyInput) String() string
String returns the string representation
func (*PutComponentPolicyInput) Validate ¶
func (s *PutComponentPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutComponentPolicyOutput ¶
type PutComponentPolicyOutput struct { // The Amazon Resource Name (ARN) of the component that this policy was applied // to. ComponentArn *string `locationName:"componentArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (PutComponentPolicyOutput) MarshalFields ¶
func (s PutComponentPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutComponentPolicyOutput) String ¶
func (s PutComponentPolicyOutput) String() string
String returns the string representation
type PutComponentPolicyRequest ¶
type PutComponentPolicyRequest struct { *aws.Request Input *PutComponentPolicyInput Copy func(*PutComponentPolicyInput) PutComponentPolicyRequest }
PutComponentPolicyRequest is the request type for the PutComponentPolicy API operation.
func (PutComponentPolicyRequest) Send ¶
func (r PutComponentPolicyRequest) Send(ctx context.Context) (*PutComponentPolicyResponse, error)
Send marshals and sends the PutComponentPolicy API request.
type PutComponentPolicyResponse ¶
type PutComponentPolicyResponse struct { *PutComponentPolicyOutput // contains filtered or unexported fields }
PutComponentPolicyResponse is the response type for the PutComponentPolicy API operation.
func (*PutComponentPolicyResponse) SDKResponseMetdata ¶
func (r *PutComponentPolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutComponentPolicy request.
type PutImagePolicyInput ¶
type PutImagePolicyInput struct { // The Amazon Resource Name (ARN) of the image that this policy should be applied // to. // // ImageArn is a required field ImageArn *string `locationName:"imageArn" type:"string" required:"true"` // The policy to apply. // // Policy is a required field Policy *string `locationName:"policy" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutImagePolicyInput) MarshalFields ¶
func (s PutImagePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutImagePolicyInput) String ¶
func (s PutImagePolicyInput) String() string
String returns the string representation
func (*PutImagePolicyInput) Validate ¶
func (s *PutImagePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutImagePolicyOutput ¶
type PutImagePolicyOutput struct { // The Amazon Resource Name (ARN) of the image that this policy was applied // to. ImageArn *string `locationName:"imageArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (PutImagePolicyOutput) MarshalFields ¶
func (s PutImagePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutImagePolicyOutput) String ¶
func (s PutImagePolicyOutput) String() string
String returns the string representation
type PutImagePolicyRequest ¶
type PutImagePolicyRequest struct { *aws.Request Input *PutImagePolicyInput Copy func(*PutImagePolicyInput) PutImagePolicyRequest }
PutImagePolicyRequest is the request type for the PutImagePolicy API operation.
func (PutImagePolicyRequest) Send ¶
func (r PutImagePolicyRequest) Send(ctx context.Context) (*PutImagePolicyResponse, error)
Send marshals and sends the PutImagePolicy API request.
type PutImagePolicyResponse ¶
type PutImagePolicyResponse struct { *PutImagePolicyOutput // contains filtered or unexported fields }
PutImagePolicyResponse is the response type for the PutImagePolicy API operation.
func (*PutImagePolicyResponse) SDKResponseMetdata ¶
func (r *PutImagePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutImagePolicy request.
type PutImageRecipePolicyInput ¶
type PutImageRecipePolicyInput struct { // The Amazon Resource Name (ARN) of the image recipe that this policy should // be applied to. // // ImageRecipeArn is a required field ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string" required:"true"` // The policy to apply. // // Policy is a required field Policy *string `locationName:"policy" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutImageRecipePolicyInput) MarshalFields ¶
func (s PutImageRecipePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutImageRecipePolicyInput) String ¶
func (s PutImageRecipePolicyInput) String() string
String returns the string representation
func (*PutImageRecipePolicyInput) Validate ¶
func (s *PutImageRecipePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutImageRecipePolicyOutput ¶
type PutImageRecipePolicyOutput struct { // The Amazon Resource Name (ARN) of the image recipe that this policy was applied // to. ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (PutImageRecipePolicyOutput) MarshalFields ¶
func (s PutImageRecipePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutImageRecipePolicyOutput) String ¶
func (s PutImageRecipePolicyOutput) String() string
String returns the string representation
type PutImageRecipePolicyRequest ¶
type PutImageRecipePolicyRequest struct { *aws.Request Input *PutImageRecipePolicyInput Copy func(*PutImageRecipePolicyInput) PutImageRecipePolicyRequest }
PutImageRecipePolicyRequest is the request type for the PutImageRecipePolicy API operation.
func (PutImageRecipePolicyRequest) Send ¶
func (r PutImageRecipePolicyRequest) Send(ctx context.Context) (*PutImageRecipePolicyResponse, error)
Send marshals and sends the PutImageRecipePolicy API request.
type PutImageRecipePolicyResponse ¶
type PutImageRecipePolicyResponse struct { *PutImageRecipePolicyOutput // contains filtered or unexported fields }
PutImageRecipePolicyResponse is the response type for the PutImageRecipePolicy API operation.
func (*PutImageRecipePolicyResponse) SDKResponseMetdata ¶
func (r *PutImageRecipePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutImageRecipePolicy request.
type S3Logs ¶
type S3Logs struct { // The Amazon S3 bucket in which to store the logs. S3BucketName *string `locationName:"s3BucketName" min:"1" type:"string"` // The Amazon S3 path in which to store the logs. S3KeyPrefix *string `locationName:"s3KeyPrefix" min:"1" type:"string"` // contains filtered or unexported fields }
Amazon S3 logging configuration.
func (S3Logs) MarshalFields ¶
func (s S3Logs) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Schedule ¶
type Schedule struct { // The condition configures when the pipeline should trigger a new image build. // When the pipelineExecutionStartCondition is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, // EC2 Image Builder will build a new image only when there are known changes // pending. When it is set to EXPRESSION_MATCH_ONLY, it will build a new image // every time the CRON expression matches the current time. PipelineExecutionStartCondition PipelineExecutionStartCondition `locationName:"pipelineExecutionStartCondition" type:"string" enum:"true"` // The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition. ScheduleExpression *string `locationName:"scheduleExpression" min:"1" type:"string"` // contains filtered or unexported fields }
A schedule configures how often and when a pipeline will automatically create a new image.
func (Schedule) MarshalFields ¶
func (s Schedule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type StartImagePipelineExecutionInput ¶
type StartImagePipelineExecutionInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the image pipeline that you want to manually // invoke. // // ImagePipelineArn is a required field ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartImagePipelineExecutionInput) MarshalFields ¶
func (s StartImagePipelineExecutionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartImagePipelineExecutionInput) String ¶
func (s StartImagePipelineExecutionInput) String() string
String returns the string representation
func (*StartImagePipelineExecutionInput) Validate ¶
func (s *StartImagePipelineExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartImagePipelineExecutionOutput ¶
type StartImagePipelineExecutionOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image that was created by this request. ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (StartImagePipelineExecutionOutput) MarshalFields ¶
func (s StartImagePipelineExecutionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartImagePipelineExecutionOutput) String ¶
func (s StartImagePipelineExecutionOutput) String() string
String returns the string representation
type StartImagePipelineExecutionRequest ¶
type StartImagePipelineExecutionRequest struct { *aws.Request Input *StartImagePipelineExecutionInput Copy func(*StartImagePipelineExecutionInput) StartImagePipelineExecutionRequest }
StartImagePipelineExecutionRequest is the request type for the StartImagePipelineExecution API operation.
func (StartImagePipelineExecutionRequest) Send ¶
func (r StartImagePipelineExecutionRequest) Send(ctx context.Context) (*StartImagePipelineExecutionResponse, error)
Send marshals and sends the StartImagePipelineExecution API request.
type StartImagePipelineExecutionResponse ¶
type StartImagePipelineExecutionResponse struct { *StartImagePipelineExecutionOutput // contains filtered or unexported fields }
StartImagePipelineExecutionResponse is the response type for the StartImagePipelineExecution API operation.
func (*StartImagePipelineExecutionResponse) SDKResponseMetdata ¶
func (r *StartImagePipelineExecutionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartImagePipelineExecution request.
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource that you want to tag. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tags to apply to the resource. // // Tags is a required field Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource that you want to untag. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tag keys to remove from the resource. // // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateDistributionConfigurationInput ¶
type UpdateDistributionConfigurationInput struct { // The idempotency token of the distribution configuration. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the distribution configuration. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration that you // want to update. // // DistributionConfigurationArn is a required field DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string" required:"true"` // The distributions of the distribution configuration. // // Distributions is a required field Distributions []Distribution `locationName:"distributions" type:"list" required:"true"` // contains filtered or unexported fields }
func (UpdateDistributionConfigurationInput) MarshalFields ¶
func (s UpdateDistributionConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDistributionConfigurationInput) String ¶
func (s UpdateDistributionConfigurationInput) String() string
String returns the string representation
func (*UpdateDistributionConfigurationInput) Validate ¶
func (s *UpdateDistributionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDistributionConfigurationOutput ¶
type UpdateDistributionConfigurationOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration that was // updated by this request. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateDistributionConfigurationOutput) MarshalFields ¶
func (s UpdateDistributionConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDistributionConfigurationOutput) String ¶
func (s UpdateDistributionConfigurationOutput) String() string
String returns the string representation
type UpdateDistributionConfigurationRequest ¶
type UpdateDistributionConfigurationRequest struct { *aws.Request Input *UpdateDistributionConfigurationInput Copy func(*UpdateDistributionConfigurationInput) UpdateDistributionConfigurationRequest }
UpdateDistributionConfigurationRequest is the request type for the UpdateDistributionConfiguration API operation.
func (UpdateDistributionConfigurationRequest) Send ¶
func (r UpdateDistributionConfigurationRequest) Send(ctx context.Context) (*UpdateDistributionConfigurationResponse, error)
Send marshals and sends the UpdateDistributionConfiguration API request.
type UpdateDistributionConfigurationResponse ¶
type UpdateDistributionConfigurationResponse struct { *UpdateDistributionConfigurationOutput // contains filtered or unexported fields }
UpdateDistributionConfigurationResponse is the response type for the UpdateDistributionConfiguration API operation.
func (*UpdateDistributionConfigurationResponse) SDKResponseMetdata ¶
func (r *UpdateDistributionConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDistributionConfiguration request.
type UpdateImagePipelineInput ¶
type UpdateImagePipelineInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the image pipeline. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the distribution configuration that will // be used to configure and distribute images updated by this image pipeline. DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"` // The Amazon Resource Name (ARN) of the image pipeline that you want to update. // // ImagePipelineArn is a required field ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the image recipe that will be used to configure // images updated by this image pipeline. // // ImageRecipeArn is a required field ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string" required:"true"` // The image test configuration of the image pipeline. ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of the infrastructure configuration that will // be used to build images updated by this image pipeline. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // The schedule of the image pipeline. Schedule *Schedule `locationName:"schedule" type:"structure"` // The status of the image pipeline. Status PipelineStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (UpdateImagePipelineInput) MarshalFields ¶
func (s UpdateImagePipelineInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateImagePipelineInput) String ¶
func (s UpdateImagePipelineInput) String() string
String returns the string representation
func (*UpdateImagePipelineInput) Validate ¶
func (s *UpdateImagePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateImagePipelineOutput ¶
type UpdateImagePipelineOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the image pipeline that was updated by // this request. ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateImagePipelineOutput) MarshalFields ¶
func (s UpdateImagePipelineOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateImagePipelineOutput) String ¶
func (s UpdateImagePipelineOutput) String() string
String returns the string representation
type UpdateImagePipelineRequest ¶
type UpdateImagePipelineRequest struct { *aws.Request Input *UpdateImagePipelineInput Copy func(*UpdateImagePipelineInput) UpdateImagePipelineRequest }
UpdateImagePipelineRequest is the request type for the UpdateImagePipeline API operation.
func (UpdateImagePipelineRequest) Send ¶
func (r UpdateImagePipelineRequest) Send(ctx context.Context) (*UpdateImagePipelineResponse, error)
Send marshals and sends the UpdateImagePipeline API request.
type UpdateImagePipelineResponse ¶
type UpdateImagePipelineResponse struct { *UpdateImagePipelineOutput // contains filtered or unexported fields }
UpdateImagePipelineResponse is the response type for the UpdateImagePipeline API operation.
func (*UpdateImagePipelineResponse) SDKResponseMetdata ¶
func (r *UpdateImagePipelineResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateImagePipeline request.
type UpdateInfrastructureConfigurationInput ¶
type UpdateInfrastructureConfigurationInput struct { // The idempotency token used to make this request idempotent. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" min:"1" type:"string" required:"true" idempotencyToken:"true"` // The description of the infrastructure configuration. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the infrastructure configuration that you // want to update. // // InfrastructureConfigurationArn is a required field InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"` // The instance profile to associate with the instance used to customize your // EC2 AMI. // // InstanceProfileName is a required field InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string" required:"true"` // The instance types of the infrastructure configuration. You can specify one // or more instance types to use for this build. The service will pick one of // these instance types based on availability. InstanceTypes []string `locationName:"instanceTypes" type:"list"` // The key pair of the infrastructure configuration. This can be used to log // on to and debug the instance used to create your image. KeyPair *string `locationName:"keyPair" min:"1" type:"string"` // The logging configuration of the infrastructure configuration. Logging *Logging `locationName:"logging" type:"structure"` // The security group IDs to associate with the instance used to customize your // EC2 AMI. SecurityGroupIds []string `locationName:"securityGroupIds" type:"list"` // The SNS topic on which to send image build events. SnsTopicArn *string `locationName:"snsTopicArn" type:"string"` // The subnet ID to place the instance used to customize your EC2 AMI in. SubnetId *string `locationName:"subnetId" min:"1" type:"string"` // The terminate instance on failure setting of the infrastructure configuration. // Set to false if you want Image Builder to retain the instance used to configure // your AMI if the build or test phase of your workflow fails. TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"` // contains filtered or unexported fields }
func (UpdateInfrastructureConfigurationInput) MarshalFields ¶
func (s UpdateInfrastructureConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateInfrastructureConfigurationInput) String ¶
func (s UpdateInfrastructureConfigurationInput) String() string
String returns the string representation
func (*UpdateInfrastructureConfigurationInput) Validate ¶
func (s *UpdateInfrastructureConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateInfrastructureConfigurationOutput ¶
type UpdateInfrastructureConfigurationOutput struct { // The idempotency token used to make this request idempotent. ClientToken *string `locationName:"clientToken" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the infrastructure configuration that was // updated by this request. InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"` // The request ID that uniquely identifies this request. RequestId *string `locationName:"requestId" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateInfrastructureConfigurationOutput) MarshalFields ¶
func (s UpdateInfrastructureConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateInfrastructureConfigurationOutput) String ¶
func (s UpdateInfrastructureConfigurationOutput) String() string
String returns the string representation
type UpdateInfrastructureConfigurationRequest ¶
type UpdateInfrastructureConfigurationRequest struct { *aws.Request Input *UpdateInfrastructureConfigurationInput Copy func(*UpdateInfrastructureConfigurationInput) UpdateInfrastructureConfigurationRequest }
UpdateInfrastructureConfigurationRequest is the request type for the UpdateInfrastructureConfiguration API operation.
func (UpdateInfrastructureConfigurationRequest) Send ¶
func (r UpdateInfrastructureConfigurationRequest) Send(ctx context.Context) (*UpdateInfrastructureConfigurationResponse, error)
Send marshals and sends the UpdateInfrastructureConfiguration API request.
type UpdateInfrastructureConfigurationResponse ¶
type UpdateInfrastructureConfigurationResponse struct { *UpdateInfrastructureConfigurationOutput // contains filtered or unexported fields }
UpdateInfrastructureConfigurationResponse is the response type for the UpdateInfrastructureConfiguration API operation.
func (*UpdateInfrastructureConfigurationResponse) SDKResponseMetdata ¶
func (r *UpdateInfrastructureConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateInfrastructureConfiguration request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CancelImageCreation.go
- api_op_CreateComponent.go
- api_op_CreateDistributionConfiguration.go
- api_op_CreateImage.go
- api_op_CreateImagePipeline.go
- api_op_CreateImageRecipe.go
- api_op_CreateInfrastructureConfiguration.go
- api_op_DeleteComponent.go
- api_op_DeleteDistributionConfiguration.go
- api_op_DeleteImage.go
- api_op_DeleteImagePipeline.go
- api_op_DeleteImageRecipe.go
- api_op_DeleteInfrastructureConfiguration.go
- api_op_GetComponent.go
- api_op_GetComponentPolicy.go
- api_op_GetDistributionConfiguration.go
- api_op_GetImage.go
- api_op_GetImagePipeline.go
- api_op_GetImagePolicy.go
- api_op_GetImageRecipe.go
- api_op_GetImageRecipePolicy.go
- api_op_GetInfrastructureConfiguration.go
- api_op_ImportComponent.go
- api_op_ListComponentBuildVersions.go
- api_op_ListComponents.go
- api_op_ListDistributionConfigurations.go
- api_op_ListImageBuildVersions.go
- api_op_ListImagePipelineImages.go
- api_op_ListImagePipelines.go
- api_op_ListImageRecipes.go
- api_op_ListImages.go
- api_op_ListInfrastructureConfigurations.go
- api_op_ListTagsForResource.go
- api_op_PutComponentPolicy.go
- api_op_PutImagePolicy.go
- api_op_PutImageRecipePolicy.go
- api_op_StartImagePipelineExecution.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateDistributionConfiguration.go
- api_op_UpdateImagePipeline.go
- api_op_UpdateInfrastructureConfiguration.go
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package imagebuilderiface provides an interface to enable mocking the EC2 Image Builder service client for testing your code.
|
Package imagebuilderiface provides an interface to enable mocking the EC2 Image Builder service client for testing your code. |