imagebuilder

package
v1.37.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 37

Documentation

Overview

Package imagebuilder provides the client and types for making API requests to EC2 Image Builder.

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 contact EC2 Image Builder 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 EC2 Image Builder client Imagebuilder for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/imagebuilder/#New

Index

Constants

View Source
const (
	// ComponentTypeBuild is a ComponentType enum value
	ComponentTypeBuild = "BUILD"

	// ComponentTypeTest is a ComponentType enum value
	ComponentTypeTest = "TEST"
)
View Source
const (
	// EbsVolumeTypeStandard is a EbsVolumeType enum value
	EbsVolumeTypeStandard = "standard"

	// EbsVolumeTypeIo1 is a EbsVolumeType enum value
	EbsVolumeTypeIo1 = "io1"

	// EbsVolumeTypeIo2 is a EbsVolumeType enum value
	EbsVolumeTypeIo2 = "io2"

	// EbsVolumeTypeGp2 is a EbsVolumeType enum value
	EbsVolumeTypeGp2 = "gp2"

	// EbsVolumeTypeSc1 is a EbsVolumeType enum value
	EbsVolumeTypeSc1 = "sc1"

	// EbsVolumeTypeSt1 is a EbsVolumeType enum value
	EbsVolumeTypeSt1 = "st1"
)
View Source
const (
	// ImageStatusPending is a ImageStatus enum value
	ImageStatusPending = "PENDING"

	// ImageStatusCreating is a ImageStatus enum value
	ImageStatusCreating = "CREATING"

	// ImageStatusBuilding is a ImageStatus enum value
	ImageStatusBuilding = "BUILDING"

	// ImageStatusTesting is a ImageStatus enum value
	ImageStatusTesting = "TESTING"

	// ImageStatusDistributing is a ImageStatus enum value
	ImageStatusDistributing = "DISTRIBUTING"

	// ImageStatusIntegrating is a ImageStatus enum value
	ImageStatusIntegrating = "INTEGRATING"

	// ImageStatusAvailable is a ImageStatus enum value
	ImageStatusAvailable = "AVAILABLE"

	// ImageStatusCancelled is a ImageStatus enum value
	ImageStatusCancelled = "CANCELLED"

	// ImageStatusFailed is a ImageStatus enum value
	ImageStatusFailed = "FAILED"

	// ImageStatusDeprecated is a ImageStatus enum value
	ImageStatusDeprecated = "DEPRECATED"

	// ImageStatusDeleted is a ImageStatus enum value
	ImageStatusDeleted = "DELETED"
)
View Source
const (
	// ImageTypeAmi is a ImageType enum value
	ImageTypeAmi = "AMI"

	// ImageTypeDocker is a ImageType enum value
	ImageTypeDocker = "DOCKER"
)
View Source
const (
	// OwnershipSelf is a Ownership enum value
	OwnershipSelf = "Self"

	// OwnershipShared is a Ownership enum value
	OwnershipShared = "Shared"

	// OwnershipAmazon is a Ownership enum value
	OwnershipAmazon = "Amazon"
)
View Source
const (
	// PipelineExecutionStartConditionExpressionMatchOnly is a PipelineExecutionStartCondition enum value
	PipelineExecutionStartConditionExpressionMatchOnly = "EXPRESSION_MATCH_ONLY"

	// PipelineExecutionStartConditionExpressionMatchAndDependencyUpdatesAvailable is a PipelineExecutionStartCondition enum value
	PipelineExecutionStartConditionExpressionMatchAndDependencyUpdatesAvailable = "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
)
View Source
const (
	// PipelineStatusDisabled is a PipelineStatus enum value
	PipelineStatusDisabled = "DISABLED"

	// PipelineStatusEnabled is a PipelineStatus enum value
	PipelineStatusEnabled = "ENABLED"
)
View Source
const (
	// PlatformWindows is a Platform enum value
	PlatformWindows = "Windows"

	// PlatformLinux is a Platform enum value
	PlatformLinux = "Linux"
)
View Source
const (

	// ErrCodeCallRateLimitExceededException for service response error code
	// "CallRateLimitExceededException".
	//
	// You have exceeded the permitted request rate for the specific operation.
	ErrCodeCallRateLimitExceededException = "CallRateLimitExceededException"

	// ErrCodeClientException for service response error code
	// "ClientException".
	//
	// 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.
	ErrCodeClientException = "ClientException"

	// 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"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have exceeded the number of permitted resources or operations for this
	// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service is unable to process your request at this time.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)
View Source
const (
	ServiceName = "imagebuilder" // Name of service.
	EndpointsID = ServiceName    // ID to lookup a service endpoint with.
	ServiceID   = "imagebuilder" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ComponentFormatShell is a ComponentFormat enum value
	ComponentFormatShell = "SHELL"
)
View Source
const (
	// ContainerRepositoryServiceEcr is a ContainerRepositoryService enum value
	ContainerRepositoryServiceEcr = "ECR"
)
View Source
const (
	// ContainerTypeDocker is a ContainerType enum value
	ContainerTypeDocker = "DOCKER"
)

Variables

This section is empty.

Functions

func ComponentFormat_Values added in v1.34.3

func ComponentFormat_Values() []string

ComponentFormat_Values returns all elements of the ComponentFormat enum

func ComponentType_Values added in v1.34.3

func ComponentType_Values() []string

ComponentType_Values returns all elements of the ComponentType enum

func ContainerRepositoryService_Values added in v1.36.11

func ContainerRepositoryService_Values() []string

ContainerRepositoryService_Values returns all elements of the ContainerRepositoryService enum

func ContainerType_Values added in v1.36.11

func ContainerType_Values() []string

ContainerType_Values returns all elements of the ContainerType enum

func EbsVolumeType_Values added in v1.34.3

func EbsVolumeType_Values() []string

EbsVolumeType_Values returns all elements of the EbsVolumeType enum

func ImageStatus_Values added in v1.34.3

func ImageStatus_Values() []string

ImageStatus_Values returns all elements of the ImageStatus enum

func ImageType_Values added in v1.36.11

func ImageType_Values() []string

ImageType_Values returns all elements of the ImageType enum

func Ownership_Values added in v1.34.3

func Ownership_Values() []string

Ownership_Values returns all elements of the Ownership enum

func PipelineExecutionStartCondition_Values added in v1.34.3

func PipelineExecutionStartCondition_Values() []string

PipelineExecutionStartCondition_Values returns all elements of the PipelineExecutionStartCondition enum

func PipelineStatus_Values added in v1.34.3

func PipelineStatus_Values() []string

PipelineStatus_Values returns all elements of the PipelineStatus enum

func Platform_Values added in v1.34.3

func Platform_Values() []string

Platform_Values returns all elements of the Platform enum

Types

type Ami

type Ami struct {

	// The account ID of the owner of the AMI.
	AccountId *string `locationName:"accountId" min:"1" type:"string"`

	// The description of the EC2 AMI. Minimum and maximum length are in characters.
	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) GoString

func (s Ami) GoString() string

GoString returns the string representation

func (*Ami) SetAccountId added in v1.35.0

func (s *Ami) SetAccountId(v string) *Ami

SetAccountId sets the AccountId field's value.

func (*Ami) SetDescription

func (s *Ami) SetDescription(v string) *Ami

SetDescription sets the Description field's value.

func (*Ami) SetImage

func (s *Ami) SetImage(v string) *Ami

SetImage sets the Image field's value.

func (*Ami) SetName

func (s *Ami) SetName(v string) *Ami

SetName sets the Name field's value.

func (*Ami) SetRegion

func (s *Ami) SetRegion(v string) *Ami

SetRegion sets the Region field's value.

func (*Ami) SetState

func (s *Ami) SetState(v *ImageState) *Ami

SetState sets the State field's value.

func (Ami) String

func (s Ami) String() string

String returns the string representation

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. Minimum and maximum length
	// are in characters.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The KMS key identifier used to encrypt the distributed image.
	KmsKeyId *string `locationName:"kmsKeyId" 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"`

	// The ID of an account to which you want to distribute an image.
	TargetAccountIds []*string `locationName:"targetAccountIds" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Define and configure the output AMIs of the pipeline.

func (AmiDistributionConfiguration) GoString

func (s AmiDistributionConfiguration) GoString() string

GoString returns the string representation

func (*AmiDistributionConfiguration) SetAmiTags

SetAmiTags sets the AmiTags field's value.

func (*AmiDistributionConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*AmiDistributionConfiguration) SetKmsKeyId added in v1.33.0

SetKmsKeyId sets the KmsKeyId field's value.

func (*AmiDistributionConfiguration) SetLaunchPermission

SetLaunchPermission sets the LaunchPermission field's value.

func (*AmiDistributionConfiguration) SetName

SetName sets the Name field's value.

func (*AmiDistributionConfiguration) SetTargetAccountIds added in v1.35.0

SetTargetAccountIds sets the TargetAccountIds field's value.

func (AmiDistributionConfiguration) 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 CallRateLimitExceededException added in v1.28.0

type CallRateLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have exceeded the permitted request rate for the specific operation.

func (*CallRateLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*CallRateLimitExceededException) Error added in v1.28.0

func (CallRateLimitExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*CallRateLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*CallRateLimitExceededException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CallRateLimitExceededException) RequestID added in v1.28.0

func (s *CallRateLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CallRateLimitExceededException) StatusCode added in v1.28.0

func (s *CallRateLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CallRateLimitExceededException) String added in v1.28.0

String returns the string representation

type CancelImageCreationInput

type CancelImageCreationInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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) GoString

func (s CancelImageCreationInput) GoString() string

GoString returns the string representation

func (*CancelImageCreationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CancelImageCreationInput) SetImageBuildVersionArn

func (s *CancelImageCreationInput) SetImageBuildVersionArn(v string) *CancelImageCreationInput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

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) GoString

func (s CancelImageCreationOutput) GoString() string

GoString returns the string representation

func (*CancelImageCreationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CancelImageCreationOutput) SetImageBuildVersionArn

func (s *CancelImageCreationOutput) SetImageBuildVersionArn(v string) *CancelImageCreationOutput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*CancelImageCreationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CancelImageCreationOutput) String

func (s CancelImageCreationOutput) String() string

String returns the string representation

type ClientException added in v1.28.0

type ClientException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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.

func (*ClientException) Code added in v1.28.0

func (s *ClientException) Code() string

Code returns the exception type name.

func (*ClientException) Error added in v1.28.0

func (s *ClientException) Error() string

func (ClientException) GoString added in v1.28.0

func (s ClientException) GoString() string

GoString returns the string representation

func (*ClientException) Message added in v1.28.0

func (s *ClientException) Message() string

Message returns the exception's message.

func (*ClientException) OrigErr added in v1.28.0

func (s *ClientException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ClientException) RequestID added in v1.28.0

func (s *ClientException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ClientException) StatusCode added in v1.28.0

func (s *ClientException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ClientException) String added in v1.28.0

func (s ClientException) String() string

String returns the string representation

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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// The operating system (OS) version supported by the component. If the OS information
	// is available, a prefix match is performed against the parent image OS version
	// during image recipe creation.
	SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`

	// 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 *string `locationName:"type" type:"string" enum:"ComponentType"`

	// The version of the component.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

A detailed view of a component.

func (Component) GoString

func (s Component) GoString() string

GoString returns the string representation

func (*Component) SetArn

func (s *Component) SetArn(v string) *Component

SetArn sets the Arn field's value.

func (*Component) SetChangeDescription

func (s *Component) SetChangeDescription(v string) *Component

SetChangeDescription sets the ChangeDescription field's value.

func (*Component) SetData

func (s *Component) SetData(v string) *Component

SetData sets the Data field's value.

func (*Component) SetDateCreated

func (s *Component) SetDateCreated(v string) *Component

SetDateCreated sets the DateCreated field's value.

func (*Component) SetDescription

func (s *Component) SetDescription(v string) *Component

SetDescription sets the Description field's value.

func (*Component) SetEncrypted

func (s *Component) SetEncrypted(v bool) *Component

SetEncrypted sets the Encrypted field's value.

func (*Component) SetKmsKeyId

func (s *Component) SetKmsKeyId(v string) *Component

SetKmsKeyId sets the KmsKeyId field's value.

func (*Component) SetName

func (s *Component) SetName(v string) *Component

SetName sets the Name field's value.

func (*Component) SetOwner

func (s *Component) SetOwner(v string) *Component

SetOwner sets the Owner field's value.

func (*Component) SetPlatform

func (s *Component) SetPlatform(v string) *Component

SetPlatform sets the Platform field's value.

func (*Component) SetSupportedOsVersions added in v1.30.28

func (s *Component) SetSupportedOsVersions(v []*string) *Component

SetSupportedOsVersions sets the SupportedOsVersions field's value.

func (*Component) SetTags

func (s *Component) SetTags(v map[string]*string) *Component

SetTags sets the Tags field's value.

func (*Component) SetType

func (s *Component) SetType(v string) *Component

SetType sets the Type field's value.

func (*Component) SetVersion

func (s *Component) SetVersion(v string) *Component

SetVersion sets the Version field's value.

func (Component) String

func (s Component) String() string

String returns the string representation

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) GoString

func (s ComponentConfiguration) GoString() string

GoString returns the string representation

func (*ComponentConfiguration) SetComponentArn

func (s *ComponentConfiguration) SetComponentArn(v string) *ComponentConfiguration

SetComponentArn sets the ComponentArn field's value.

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 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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// The operating system (OS) version supported by the component. If the OS information
	// is available, a prefix match is performed against the parent image OS version
	// during image recipe creation.
	SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`

	// 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 *string `locationName:"type" type:"string" enum:"ComponentType"`

	// 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) GoString

func (s ComponentSummary) GoString() string

GoString returns the string representation

func (*ComponentSummary) SetArn

SetArn sets the Arn field's value.

func (*ComponentSummary) SetChangeDescription

func (s *ComponentSummary) SetChangeDescription(v string) *ComponentSummary

SetChangeDescription sets the ChangeDescription field's value.

func (*ComponentSummary) SetDateCreated

func (s *ComponentSummary) SetDateCreated(v string) *ComponentSummary

SetDateCreated sets the DateCreated field's value.

func (*ComponentSummary) SetDescription

func (s *ComponentSummary) SetDescription(v string) *ComponentSummary

SetDescription sets the Description field's value.

func (*ComponentSummary) SetName

func (s *ComponentSummary) SetName(v string) *ComponentSummary

SetName sets the Name field's value.

func (*ComponentSummary) SetOwner

func (s *ComponentSummary) SetOwner(v string) *ComponentSummary

SetOwner sets the Owner field's value.

func (*ComponentSummary) SetPlatform

func (s *ComponentSummary) SetPlatform(v string) *ComponentSummary

SetPlatform sets the Platform field's value.

func (*ComponentSummary) SetSupportedOsVersions added in v1.30.28

func (s *ComponentSummary) SetSupportedOsVersions(v []*string) *ComponentSummary

SetSupportedOsVersions sets the SupportedOsVersions field's value.

func (*ComponentSummary) SetTags

func (s *ComponentSummary) SetTags(v map[string]*string) *ComponentSummary

SetTags sets the Tags field's value.

func (*ComponentSummary) SetType

func (s *ComponentSummary) SetType(v string) *ComponentSummary

SetType sets the Type field's value.

func (*ComponentSummary) SetVersion

func (s *ComponentSummary) SetVersion(v string) *ComponentSummary

SetVersion sets the Version field's value.

func (ComponentSummary) String

func (s ComponentSummary) String() string

String returns the string representation

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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// The operating system (OS) version supported by the component. If the OS information
	// is available, a prefix match is performed against the parent image OS version
	// during image recipe creation.
	SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`

	// The type of the component denotes whether the component is used to build
	// the image or only to test it.
	Type *string `locationName:"type" type:"string" enum:"ComponentType"`

	// 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) GoString

func (s ComponentVersion) GoString() string

GoString returns the string representation

func (*ComponentVersion) SetArn

SetArn sets the Arn field's value.

func (*ComponentVersion) SetDateCreated

func (s *ComponentVersion) SetDateCreated(v string) *ComponentVersion

SetDateCreated sets the DateCreated field's value.

func (*ComponentVersion) SetDescription

func (s *ComponentVersion) SetDescription(v string) *ComponentVersion

SetDescription sets the Description field's value.

func (*ComponentVersion) SetName

func (s *ComponentVersion) SetName(v string) *ComponentVersion

SetName sets the Name field's value.

func (*ComponentVersion) SetOwner

func (s *ComponentVersion) SetOwner(v string) *ComponentVersion

SetOwner sets the Owner field's value.

func (*ComponentVersion) SetPlatform

func (s *ComponentVersion) SetPlatform(v string) *ComponentVersion

SetPlatform sets the Platform field's value.

func (*ComponentVersion) SetSupportedOsVersions added in v1.30.28

func (s *ComponentVersion) SetSupportedOsVersions(v []*string) *ComponentVersion

SetSupportedOsVersions sets the SupportedOsVersions field's value.

func (*ComponentVersion) SetType

func (s *ComponentVersion) SetType(v string) *ComponentVersion

SetType sets the Type field's value.

func (*ComponentVersion) SetVersion

func (s *ComponentVersion) SetVersion(v string) *ComponentVersion

SetVersion sets the Version field's value.

func (ComponentVersion) String

func (s ComponentVersion) String() string

String returns the string representation

type Container added in v1.36.11

type Container struct {

	// A list of URIs for containers created in the context Region.
	ImageUris []*string `locationName:"imageUris" type:"list"`

	// Containers and container images are Region-specific. This is the Region context
	// for the container.
	Region *string `locationName:"region" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A container encapsulates the runtime environment for an application.

func (Container) GoString added in v1.36.11

func (s Container) GoString() string

GoString returns the string representation

func (*Container) SetImageUris added in v1.36.11

func (s *Container) SetImageUris(v []*string) *Container

SetImageUris sets the ImageUris field's value.

func (*Container) SetRegion added in v1.36.11

func (s *Container) SetRegion(v string) *Container

SetRegion sets the Region field's value.

func (Container) String added in v1.36.11

func (s Container) String() string

String returns the string representation

type ContainerDistributionConfiguration added in v1.36.11

type ContainerDistributionConfiguration struct {

	// Tags that are attached to the container distribution configuration.
	ContainerTags []*string `locationName:"containerTags" type:"list"`

	// The description of the container distribution configuration.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The destination repository for the container distribution configuration.
	//
	// TargetRepository is a required field
	TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Container distribution settings for encryption, licensing, and sharing in a specific Region.

func (ContainerDistributionConfiguration) GoString added in v1.36.11

GoString returns the string representation

func (*ContainerDistributionConfiguration) SetContainerTags added in v1.36.11

SetContainerTags sets the ContainerTags field's value.

func (*ContainerDistributionConfiguration) SetDescription added in v1.36.11

SetDescription sets the Description field's value.

func (*ContainerDistributionConfiguration) SetTargetRepository added in v1.36.11

SetTargetRepository sets the TargetRepository field's value.

func (ContainerDistributionConfiguration) String added in v1.36.11

String returns the string representation

func (*ContainerDistributionConfiguration) Validate added in v1.36.11

Validate inspects the fields of the type to determine if they are valid.

type ContainerRecipe added in v1.36.11

type ContainerRecipe struct {

	// The Amazon Resource Name (ARN) of the container recipe.
	Arn *string `locationName:"arn" type:"string"`

	// Components for build and test that are included in the container recipe.
	Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list"`

	// Specifies the type of container, such as Docker.
	ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`

	// The date when this container recipe was created.
	DateCreated *string `locationName:"dateCreated" type:"string"`

	// The description of the container recipe.
	Description *string `locationName:"description" min:"1" type:"string"`

	// Dockerfiles are text documents that are used to build Docker containers,
	// and ensure that they contain all of the elements required by the application
	// running inside. The template data consists of contextual variables where
	// Image Builder places build information or scripts, based on your container
	// image recipe.
	DockerfileTemplateData *string `locationName:"dockerfileTemplateData" type:"string"`

	// A flag that indicates if the target container is encrypted.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// Identifies which KMS key is used to encrypt the container image for distribution
	// to the target Region.
	KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`

	// The name of the container recipe.
	Name *string `locationName:"name" type:"string"`

	// The owner of the container recipe.
	Owner *string `locationName:"owner" min:"1" type:"string"`

	// The source image for the container recipe.
	ParentImage *string `locationName:"parentImage" min:"1" type:"string"`

	// The system platform for the container, such as Windows or Linux.
	Platform *string `locationName:"platform" type:"string" enum:"Platform"`

	// Tags that are attached to the container recipe.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`

	// The destination repository for the container image.
	TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure"`

	// The semantic version of the container recipe (<major>.<minor>.<patch>).
	Version *string `locationName:"version" type:"string"`

	// The working directory for use during build and test workflows.
	WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
	// contains filtered or unexported fields
}

A container recipe.

func (ContainerRecipe) GoString added in v1.36.11

func (s ContainerRecipe) GoString() string

GoString returns the string representation

func (*ContainerRecipe) SetArn added in v1.36.11

func (s *ContainerRecipe) SetArn(v string) *ContainerRecipe

SetArn sets the Arn field's value.

func (*ContainerRecipe) SetComponents added in v1.36.11

func (s *ContainerRecipe) SetComponents(v []*ComponentConfiguration) *ContainerRecipe

SetComponents sets the Components field's value.

func (*ContainerRecipe) SetContainerType added in v1.36.11

func (s *ContainerRecipe) SetContainerType(v string) *ContainerRecipe

SetContainerType sets the ContainerType field's value.

func (*ContainerRecipe) SetDateCreated added in v1.36.11

func (s *ContainerRecipe) SetDateCreated(v string) *ContainerRecipe

SetDateCreated sets the DateCreated field's value.

func (*ContainerRecipe) SetDescription added in v1.36.11

func (s *ContainerRecipe) SetDescription(v string) *ContainerRecipe

SetDescription sets the Description field's value.

func (*ContainerRecipe) SetDockerfileTemplateData added in v1.36.11

func (s *ContainerRecipe) SetDockerfileTemplateData(v string) *ContainerRecipe

SetDockerfileTemplateData sets the DockerfileTemplateData field's value.

func (*ContainerRecipe) SetEncrypted added in v1.36.11

func (s *ContainerRecipe) SetEncrypted(v bool) *ContainerRecipe

SetEncrypted sets the Encrypted field's value.

func (*ContainerRecipe) SetKmsKeyId added in v1.36.11

func (s *ContainerRecipe) SetKmsKeyId(v string) *ContainerRecipe

SetKmsKeyId sets the KmsKeyId field's value.

func (*ContainerRecipe) SetName added in v1.36.11

func (s *ContainerRecipe) SetName(v string) *ContainerRecipe

SetName sets the Name field's value.

func (*ContainerRecipe) SetOwner added in v1.36.11

func (s *ContainerRecipe) SetOwner(v string) *ContainerRecipe

SetOwner sets the Owner field's value.

func (*ContainerRecipe) SetParentImage added in v1.36.11

func (s *ContainerRecipe) SetParentImage(v string) *ContainerRecipe

SetParentImage sets the ParentImage field's value.

func (*ContainerRecipe) SetPlatform added in v1.36.11

func (s *ContainerRecipe) SetPlatform(v string) *ContainerRecipe

SetPlatform sets the Platform field's value.

func (*ContainerRecipe) SetTags added in v1.36.11

func (s *ContainerRecipe) SetTags(v map[string]*string) *ContainerRecipe

SetTags sets the Tags field's value.

func (*ContainerRecipe) SetTargetRepository added in v1.36.11

func (s *ContainerRecipe) SetTargetRepository(v *TargetContainerRepository) *ContainerRecipe

SetTargetRepository sets the TargetRepository field's value.

func (*ContainerRecipe) SetVersion added in v1.36.11

func (s *ContainerRecipe) SetVersion(v string) *ContainerRecipe

SetVersion sets the Version field's value.

func (*ContainerRecipe) SetWorkingDirectory added in v1.36.11

func (s *ContainerRecipe) SetWorkingDirectory(v string) *ContainerRecipe

SetWorkingDirectory sets the WorkingDirectory field's value.

func (ContainerRecipe) String added in v1.36.11

func (s ContainerRecipe) String() string

String returns the string representation

type ContainerRecipeSummary added in v1.36.11

type ContainerRecipeSummary struct {

	// The Amazon Resource Name (ARN) of the container recipe.
	Arn *string `locationName:"arn" type:"string"`

	// Specifies the type of container, such as "Docker".
	ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`

	// The date when this container recipe was created.
	DateCreated *string `locationName:"dateCreated" type:"string"`

	// The name of the container recipe.
	Name *string `locationName:"name" type:"string"`

	// The owner of the container recipe.
	Owner *string `locationName:"owner" min:"1" type:"string"`

	// The source image for the container recipe.
	ParentImage *string `locationName:"parentImage" min:"1" type:"string"`

	// The system platform for the container, such as Windows or Linux.
	Platform *string `locationName:"platform" type:"string" enum:"Platform"`

	// Tags that are attached to the container recipe.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

A summary of a container recipe

func (ContainerRecipeSummary) GoString added in v1.36.11

func (s ContainerRecipeSummary) GoString() string

GoString returns the string representation

func (*ContainerRecipeSummary) SetArn added in v1.36.11

SetArn sets the Arn field's value.

func (*ContainerRecipeSummary) SetContainerType added in v1.36.11

func (s *ContainerRecipeSummary) SetContainerType(v string) *ContainerRecipeSummary

SetContainerType sets the ContainerType field's value.

func (*ContainerRecipeSummary) SetDateCreated added in v1.36.11

SetDateCreated sets the DateCreated field's value.

func (*ContainerRecipeSummary) SetName added in v1.36.11

SetName sets the Name field's value.

func (*ContainerRecipeSummary) SetOwner added in v1.36.11

SetOwner sets the Owner field's value.

func (*ContainerRecipeSummary) SetParentImage added in v1.36.11

SetParentImage sets the ParentImage field's value.

func (*ContainerRecipeSummary) SetPlatform added in v1.36.11

SetPlatform sets the Platform field's value.

func (*ContainerRecipeSummary) SetTags added in v1.36.11

SetTags sets the Tags field's value.

func (ContainerRecipeSummary) String added in v1.36.11

func (s ContainerRecipeSummary) 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 *string `locationName:"clientToken" min:"1" type:"string" 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 *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`

	// 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 operating system (OS) version supported by the component. If the OS information
	// is available, a prefix match is performed against the parent image OS version
	// during image recipe creation.
	SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`

	// 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) GoString

func (s CreateComponentInput) GoString() string

GoString returns the string representation

func (*CreateComponentInput) SetChangeDescription

func (s *CreateComponentInput) SetChangeDescription(v string) *CreateComponentInput

SetChangeDescription sets the ChangeDescription field's value.

func (*CreateComponentInput) SetClientToken

func (s *CreateComponentInput) SetClientToken(v string) *CreateComponentInput

SetClientToken sets the ClientToken field's value.

func (*CreateComponentInput) SetData

SetData sets the Data field's value.

func (*CreateComponentInput) SetDescription

func (s *CreateComponentInput) SetDescription(v string) *CreateComponentInput

SetDescription sets the Description field's value.

func (*CreateComponentInput) SetKmsKeyId

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateComponentInput) SetName

SetName sets the Name field's value.

func (*CreateComponentInput) SetPlatform

SetPlatform sets the Platform field's value.

func (*CreateComponentInput) SetSemanticVersion

func (s *CreateComponentInput) SetSemanticVersion(v string) *CreateComponentInput

SetSemanticVersion sets the SemanticVersion field's value.

func (*CreateComponentInput) SetSupportedOsVersions added in v1.30.28

func (s *CreateComponentInput) SetSupportedOsVersions(v []*string) *CreateComponentInput

SetSupportedOsVersions sets the SupportedOsVersions field's value.

func (*CreateComponentInput) SetTags

SetTags sets the Tags field's value.

func (*CreateComponentInput) SetUri

SetUri sets the Uri field's value.

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) GoString

func (s CreateComponentOutput) GoString() string

GoString returns the string representation

func (*CreateComponentOutput) SetClientToken

func (s *CreateComponentOutput) SetClientToken(v string) *CreateComponentOutput

SetClientToken sets the ClientToken field's value.

func (*CreateComponentOutput) SetComponentBuildVersionArn

func (s *CreateComponentOutput) SetComponentBuildVersionArn(v string) *CreateComponentOutput

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (*CreateComponentOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateComponentOutput) String

func (s CreateComponentOutput) String() string

String returns the string representation

type CreateContainerRecipeInput added in v1.36.11

type CreateContainerRecipeInput struct {

	// The client token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// Components for build and test that are included in the container recipe.
	//
	// Components is a required field
	Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"`

	// The type of container to create.
	//
	// ContainerType is a required field
	ContainerType *string `locationName:"containerType" type:"string" required:"true" enum:"ContainerType"`

	// The description of the container recipe.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The Dockerfile template used to build your image as an inline data blob.
	//
	// DockerfileTemplateData is a required field
	DockerfileTemplateData *string `locationName:"dockerfileTemplateData" min:"1" type:"string" required:"true"`

	// The S3 URI for the Dockerfile that will be used to build your container image.
	DockerfileTemplateUri *string `locationName:"dockerfileTemplateUri" type:"string"`

	// Specifies the operating system version for the source image.
	ImageOsVersionOverride *string `locationName:"imageOsVersionOverride" min:"1" type:"string"`

	// Identifies which KMS key is used to encrypt the container image.
	KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`

	// The name of the container recipe.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The source image for the container recipe.
	//
	// ParentImage is a required field
	ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`

	// Specifies the operating system platform when you use a custom source image.
	PlatformOverride *string `locationName:"platformOverride" type:"string" enum:"Platform"`

	// The semantic version of the container recipe (<major>.<minor>.<patch>).
	//
	// SemanticVersion is a required field
	SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`

	// Tags that are attached to the container recipe.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`

	// The destination repository for the container image.
	//
	// TargetRepository is a required field
	TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`

	// The working directory for use during build and test workflows.
	WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateContainerRecipeInput) GoString added in v1.36.11

func (s CreateContainerRecipeInput) GoString() string

GoString returns the string representation

func (*CreateContainerRecipeInput) SetClientToken added in v1.36.11

SetClientToken sets the ClientToken field's value.

func (*CreateContainerRecipeInput) SetComponents added in v1.36.11

SetComponents sets the Components field's value.

func (*CreateContainerRecipeInput) SetContainerType added in v1.36.11

SetContainerType sets the ContainerType field's value.

func (*CreateContainerRecipeInput) SetDescription added in v1.36.11

SetDescription sets the Description field's value.

func (*CreateContainerRecipeInput) SetDockerfileTemplateData added in v1.36.11

func (s *CreateContainerRecipeInput) SetDockerfileTemplateData(v string) *CreateContainerRecipeInput

SetDockerfileTemplateData sets the DockerfileTemplateData field's value.

func (*CreateContainerRecipeInput) SetDockerfileTemplateUri added in v1.36.11

func (s *CreateContainerRecipeInput) SetDockerfileTemplateUri(v string) *CreateContainerRecipeInput

SetDockerfileTemplateUri sets the DockerfileTemplateUri field's value.

func (*CreateContainerRecipeInput) SetImageOsVersionOverride added in v1.36.11

func (s *CreateContainerRecipeInput) SetImageOsVersionOverride(v string) *CreateContainerRecipeInput

SetImageOsVersionOverride sets the ImageOsVersionOverride field's value.

func (*CreateContainerRecipeInput) SetKmsKeyId added in v1.36.11

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateContainerRecipeInput) SetName added in v1.36.11

SetName sets the Name field's value.

func (*CreateContainerRecipeInput) SetParentImage added in v1.36.11

SetParentImage sets the ParentImage field's value.

func (*CreateContainerRecipeInput) SetPlatformOverride added in v1.36.11

SetPlatformOverride sets the PlatformOverride field's value.

func (*CreateContainerRecipeInput) SetSemanticVersion added in v1.36.11

SetSemanticVersion sets the SemanticVersion field's value.

func (*CreateContainerRecipeInput) SetTags added in v1.36.11

SetTags sets the Tags field's value.

func (*CreateContainerRecipeInput) SetTargetRepository added in v1.36.11

SetTargetRepository sets the TargetRepository field's value.

func (*CreateContainerRecipeInput) SetWorkingDirectory added in v1.36.11

SetWorkingDirectory sets the WorkingDirectory field's value.

func (CreateContainerRecipeInput) String added in v1.36.11

String returns the string representation

func (*CreateContainerRecipeInput) Validate added in v1.36.11

func (s *CreateContainerRecipeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateContainerRecipeOutput added in v1.36.11

type CreateContainerRecipeOutput struct {

	// The client token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string"`

	// Returns the Amazon Resource Name (ARN) of the container recipe that the request
	// created.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`

	// The request ID that uniquely identifies this request.
	RequestId *string `locationName:"requestId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateContainerRecipeOutput) GoString added in v1.36.11

func (s CreateContainerRecipeOutput) GoString() string

GoString returns the string representation

func (*CreateContainerRecipeOutput) SetClientToken added in v1.36.11

SetClientToken sets the ClientToken field's value.

func (*CreateContainerRecipeOutput) SetContainerRecipeArn added in v1.36.11

func (s *CreateContainerRecipeOutput) SetContainerRecipeArn(v string) *CreateContainerRecipeOutput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*CreateContainerRecipeOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (CreateContainerRecipeOutput) String added in v1.36.11

String returns the string representation

type CreateDistributionConfigurationInput

type CreateDistributionConfigurationInput struct {

	// The idempotency token of the distribution configuration.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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) GoString

GoString returns the string representation

func (*CreateDistributionConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateDistributionConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateDistributionConfigurationInput) SetDistributions

SetDistributions sets the Distributions field's value.

func (*CreateDistributionConfigurationInput) SetName

SetName sets the Name field's value.

func (*CreateDistributionConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (CreateDistributionConfigurationInput) String

String returns the string representation

func (*CreateDistributionConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*CreateDistributionConfigurationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateDistributionConfigurationOutput) SetDistributionConfigurationArn

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateDistributionConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateDistributionConfigurationOutput) String

String returns the string representation

type CreateImageInput

type CreateImageInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the container recipe that defines how images
	// are configured and tested.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`

	// The Amazon Resource Name (ARN) of the distribution configuration that defines
	// and configures the outputs of your pipeline.
	DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

	// Collects additional information about the image being created, including
	// the operating system (OS) version and package list. This information is used
	// to enhance the overall experience of using EC2 Image Builder. Enabled by
	// default.
	EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`

	// The Amazon Resource Name (ARN) of the image recipe that defines how images
	// are configured, tested, and assessed.
	ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`

	// 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) GoString

func (s CreateImageInput) GoString() string

GoString returns the string representation

func (*CreateImageInput) SetClientToken

func (s *CreateImageInput) SetClientToken(v string) *CreateImageInput

SetClientToken sets the ClientToken field's value.

func (*CreateImageInput) SetContainerRecipeArn added in v1.36.11

func (s *CreateImageInput) SetContainerRecipeArn(v string) *CreateImageInput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*CreateImageInput) SetDistributionConfigurationArn

func (s *CreateImageInput) SetDistributionConfigurationArn(v string) *CreateImageInput

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateImageInput) SetEnhancedImageMetadataEnabled added in v1.30.8

func (s *CreateImageInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImageInput

SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.

func (*CreateImageInput) SetImageRecipeArn

func (s *CreateImageInput) SetImageRecipeArn(v string) *CreateImageInput

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImageInput) SetImageTestsConfiguration

func (s *CreateImageInput) SetImageTestsConfiguration(v *ImageTestsConfiguration) *CreateImageInput

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*CreateImageInput) SetInfrastructureConfigurationArn

func (s *CreateImageInput) SetInfrastructureConfigurationArn(v string) *CreateImageInput

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateImageInput) SetTags

func (s *CreateImageInput) SetTags(v map[string]*string) *CreateImageInput

SetTags sets the Tags field's value.

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) GoString

func (s CreateImageOutput) GoString() string

GoString returns the string representation

func (*CreateImageOutput) SetClientToken

func (s *CreateImageOutput) SetClientToken(v string) *CreateImageOutput

SetClientToken sets the ClientToken field's value.

func (*CreateImageOutput) SetImageBuildVersionArn

func (s *CreateImageOutput) SetImageBuildVersionArn(v string) *CreateImageOutput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*CreateImageOutput) SetRequestId

func (s *CreateImageOutput) SetRequestId(v string) *CreateImageOutput

SetRequestId sets the RequestId field's value.

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 *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the container recipe that is used to configure
	// images created by this container pipeline.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" 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 that will
	// be used to configure and distribute images created by this image pipeline.
	DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

	// Collects additional information about the image being created, including
	// the operating system (OS) version and package list. This information is used
	// to enhance the overall experience of using EC2 Image Builder. Enabled by
	// default.
	EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`

	// The Amazon Resource Name (ARN) of the image recipe that will be used to configure
	// images created by this image pipeline.
	ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`

	// 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 *string `locationName:"status" type:"string" enum:"PipelineStatus"`

	// The tags of the image pipeline.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateImagePipelineInput) GoString

func (s CreateImagePipelineInput) GoString() string

GoString returns the string representation

func (*CreateImagePipelineInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateImagePipelineInput) SetContainerRecipeArn added in v1.36.11

func (s *CreateImagePipelineInput) SetContainerRecipeArn(v string) *CreateImagePipelineInput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*CreateImagePipelineInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateImagePipelineInput) SetDistributionConfigurationArn

func (s *CreateImagePipelineInput) SetDistributionConfigurationArn(v string) *CreateImagePipelineInput

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateImagePipelineInput) SetEnhancedImageMetadataEnabled added in v1.30.8

func (s *CreateImagePipelineInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImagePipelineInput

SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.

func (*CreateImagePipelineInput) SetImageRecipeArn

func (s *CreateImagePipelineInput) SetImageRecipeArn(v string) *CreateImagePipelineInput

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImagePipelineInput) SetImageTestsConfiguration

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*CreateImagePipelineInput) SetInfrastructureConfigurationArn

func (s *CreateImagePipelineInput) SetInfrastructureConfigurationArn(v string) *CreateImagePipelineInput

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateImagePipelineInput) SetName

SetName sets the Name field's value.

func (*CreateImagePipelineInput) SetSchedule

SetSchedule sets the Schedule field's value.

func (*CreateImagePipelineInput) SetStatus

SetStatus sets the Status field's value.

func (*CreateImagePipelineInput) SetTags

SetTags sets the Tags field's value.

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) GoString

func (s CreateImagePipelineOutput) GoString() string

GoString returns the string representation

func (*CreateImagePipelineOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateImagePipelineOutput) SetImagePipelineArn

func (s *CreateImagePipelineOutput) SetImagePipelineArn(v string) *CreateImagePipelineOutput

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*CreateImagePipelineOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateImagePipelineOutput) String

func (s CreateImagePipelineOutput) String() string

String returns the string representation

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 *string `locationName:"clientToken" min:"1" type:"string" 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. The value of the string can be the
	// ARN of the parent image or an AMI ID. The format for the ARN follows this
	// example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x.
	// You can provide the specific version that you want to use, or you can use
	// a wildcard in all of the fields. If you enter an AMI ID for the string value,
	// you must have access to the AMI, and the AMI must be in the same Region in
	// which you are using Image Builder.
	//
	// 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"`

	// The working directory to be used during build and test workflows.
	WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateImageRecipeInput) GoString

func (s CreateImageRecipeInput) GoString() string

GoString returns the string representation

func (*CreateImageRecipeInput) SetBlockDeviceMappings

SetBlockDeviceMappings sets the BlockDeviceMappings field's value.

func (*CreateImageRecipeInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateImageRecipeInput) SetComponents

SetComponents sets the Components field's value.

func (*CreateImageRecipeInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateImageRecipeInput) SetName

SetName sets the Name field's value.

func (*CreateImageRecipeInput) SetParentImage

SetParentImage sets the ParentImage field's value.

func (*CreateImageRecipeInput) SetSemanticVersion

func (s *CreateImageRecipeInput) SetSemanticVersion(v string) *CreateImageRecipeInput

SetSemanticVersion sets the SemanticVersion field's value.

func (*CreateImageRecipeInput) SetTags

SetTags sets the Tags field's value.

func (*CreateImageRecipeInput) SetWorkingDirectory added in v1.32.0

func (s *CreateImageRecipeInput) SetWorkingDirectory(v string) *CreateImageRecipeInput

SetWorkingDirectory sets the WorkingDirectory field's value.

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) GoString

func (s CreateImageRecipeOutput) GoString() string

GoString returns the string representation

func (*CreateImageRecipeOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateImageRecipeOutput) SetImageRecipeArn

func (s *CreateImageRecipeOutput) SetImageRecipeArn(v string) *CreateImageRecipeOutput

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImageRecipeOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateImageRecipeOutput) String

func (s CreateImageRecipeOutput) String() string

String returns the string representation

type CreateInfrastructureConfigurationInput

type CreateInfrastructureConfigurationInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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 tags attached to the resource created by Image Builder.
	ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`

	// 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) GoString

GoString returns the string representation

func (*CreateInfrastructureConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateInfrastructureConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateInfrastructureConfigurationInput) SetInstanceProfileName

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*CreateInfrastructureConfigurationInput) SetInstanceTypes

SetInstanceTypes sets the InstanceTypes field's value.

func (*CreateInfrastructureConfigurationInput) SetKeyPair

SetKeyPair sets the KeyPair field's value.

func (*CreateInfrastructureConfigurationInput) SetLogging

SetLogging sets the Logging field's value.

func (*CreateInfrastructureConfigurationInput) SetName

SetName sets the Name field's value.

func (*CreateInfrastructureConfigurationInput) SetResourceTags added in v1.32.0

SetResourceTags sets the ResourceTags field's value.

func (*CreateInfrastructureConfigurationInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateInfrastructureConfigurationInput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*CreateInfrastructureConfigurationInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*CreateInfrastructureConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (*CreateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure

SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.

func (CreateInfrastructureConfigurationInput) String

String returns the string representation

func (*CreateInfrastructureConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*CreateInfrastructureConfigurationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateInfrastructureConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateInfrastructureConfigurationOutput) String

String returns the string representation

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) GoString

func (s DeleteComponentInput) GoString() string

GoString returns the string representation

func (*DeleteComponentInput) SetComponentBuildVersionArn

func (s *DeleteComponentInput) SetComponentBuildVersionArn(v string) *DeleteComponentInput

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

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) GoString

func (s DeleteComponentOutput) GoString() string

GoString returns the string representation

func (*DeleteComponentOutput) SetComponentBuildVersionArn

func (s *DeleteComponentOutput) SetComponentBuildVersionArn(v string) *DeleteComponentOutput

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (*DeleteComponentOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteComponentOutput) String

func (s DeleteComponentOutput) String() string

String returns the string representation

type DeleteContainerRecipeInput added in v1.36.11

type DeleteContainerRecipeInput struct {

	// The Amazon Resource Name (ARN) of the container recipe to delete.
	//
	// ContainerRecipeArn is a required field
	ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteContainerRecipeInput) GoString added in v1.36.11

func (s DeleteContainerRecipeInput) GoString() string

GoString returns the string representation

func (*DeleteContainerRecipeInput) SetContainerRecipeArn added in v1.36.11

func (s *DeleteContainerRecipeInput) SetContainerRecipeArn(v string) *DeleteContainerRecipeInput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (DeleteContainerRecipeInput) String added in v1.36.11

String returns the string representation

func (*DeleteContainerRecipeInput) Validate added in v1.36.11

func (s *DeleteContainerRecipeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteContainerRecipeOutput added in v1.36.11

type DeleteContainerRecipeOutput struct {

	// The Amazon Resource Name (ARN) of the container recipe that was deleted.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`

	// The request ID that uniquely identifies this request.
	RequestId *string `locationName:"requestId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteContainerRecipeOutput) GoString added in v1.36.11

func (s DeleteContainerRecipeOutput) GoString() string

GoString returns the string representation

func (*DeleteContainerRecipeOutput) SetContainerRecipeArn added in v1.36.11

func (s *DeleteContainerRecipeOutput) SetContainerRecipeArn(v string) *DeleteContainerRecipeOutput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*DeleteContainerRecipeOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (DeleteContainerRecipeOutput) String added in v1.36.11

String returns the string representation

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) GoString

GoString returns the string representation

func (*DeleteDistributionConfigurationInput) SetDistributionConfigurationArn

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (DeleteDistributionConfigurationInput) String

String returns the string representation

func (*DeleteDistributionConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*DeleteDistributionConfigurationOutput) SetDistributionConfigurationArn

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*DeleteDistributionConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteDistributionConfigurationOutput) String

String returns the string representation

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) GoString

func (s DeleteImageInput) GoString() string

GoString returns the string representation

func (*DeleteImageInput) SetImageBuildVersionArn

func (s *DeleteImageInput) SetImageBuildVersionArn(v string) *DeleteImageInput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

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) GoString

func (s DeleteImageOutput) GoString() string

GoString returns the string representation

func (*DeleteImageOutput) SetImageBuildVersionArn

func (s *DeleteImageOutput) SetImageBuildVersionArn(v string) *DeleteImageOutput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*DeleteImageOutput) SetRequestId

func (s *DeleteImageOutput) SetRequestId(v string) *DeleteImageOutput

SetRequestId sets the RequestId field's value.

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) GoString

func (s DeleteImagePipelineInput) GoString() string

GoString returns the string representation

func (*DeleteImagePipelineInput) SetImagePipelineArn

func (s *DeleteImagePipelineInput) SetImagePipelineArn(v string) *DeleteImagePipelineInput

SetImagePipelineArn sets the ImagePipelineArn field's value.

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) GoString

func (s DeleteImagePipelineOutput) GoString() string

GoString returns the string representation

func (*DeleteImagePipelineOutput) SetImagePipelineArn

func (s *DeleteImagePipelineOutput) SetImagePipelineArn(v string) *DeleteImagePipelineOutput

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*DeleteImagePipelineOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteImagePipelineOutput) String

func (s DeleteImagePipelineOutput) String() string

String returns the string representation

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) GoString

func (s DeleteImageRecipeInput) GoString() string

GoString returns the string representation

func (*DeleteImageRecipeInput) SetImageRecipeArn

func (s *DeleteImageRecipeInput) SetImageRecipeArn(v string) *DeleteImageRecipeInput

SetImageRecipeArn sets the ImageRecipeArn field's value.

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) GoString

func (s DeleteImageRecipeOutput) GoString() string

GoString returns the string representation

func (*DeleteImageRecipeOutput) SetImageRecipeArn

func (s *DeleteImageRecipeOutput) SetImageRecipeArn(v string) *DeleteImageRecipeOutput

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*DeleteImageRecipeOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteImageRecipeOutput) String

func (s DeleteImageRecipeOutput) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*DeleteInfrastructureConfigurationInput) SetInfrastructureConfigurationArn

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (DeleteInfrastructureConfigurationInput) String

String returns the string representation

func (*DeleteInfrastructureConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*DeleteInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*DeleteInfrastructureConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteInfrastructureConfigurationOutput) String

String returns the string representation

type Distribution

type Distribution struct {

	// The specific AMI settings (for example, launch permissions, AMI tags).
	AmiDistributionConfiguration *AmiDistributionConfiguration `locationName:"amiDistributionConfiguration" type:"structure"`

	// Container distribution settings for encryption, licensing, and sharing in
	// a specific Region.
	ContainerDistributionConfiguration *ContainerDistributionConfiguration `locationName:"containerDistributionConfiguration" type:"structure"`

	// The License Manager Configuration to associate with the AMI in the specified
	// Region.
	LicenseConfigurationArns []*string `locationName:"licenseConfigurationArns" min:"1" 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) GoString

func (s Distribution) GoString() string

GoString returns the string representation

func (*Distribution) SetAmiDistributionConfiguration

func (s *Distribution) SetAmiDistributionConfiguration(v *AmiDistributionConfiguration) *Distribution

SetAmiDistributionConfiguration sets the AmiDistributionConfiguration field's value.

func (*Distribution) SetContainerDistributionConfiguration added in v1.36.11

func (s *Distribution) SetContainerDistributionConfiguration(v *ContainerDistributionConfiguration) *Distribution

SetContainerDistributionConfiguration sets the ContainerDistributionConfiguration field's value.

func (*Distribution) SetLicenseConfigurationArns

func (s *Distribution) SetLicenseConfigurationArns(v []*string) *Distribution

SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.

func (*Distribution) SetRegion

func (s *Distribution) SetRegion(v string) *Distribution

SetRegion sets the Region field's value.

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) GoString

func (s DistributionConfiguration) GoString() string

GoString returns the string representation

func (*DistributionConfiguration) SetArn

SetArn sets the Arn field's value.

func (*DistributionConfiguration) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*DistributionConfiguration) SetDateUpdated

SetDateUpdated sets the DateUpdated field's value.

func (*DistributionConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*DistributionConfiguration) SetDistributions

SetDistributions sets the Distributions field's value.

func (*DistributionConfiguration) SetName

SetName sets the Name field's value.

func (*DistributionConfiguration) SetTags

SetTags sets the Tags field's value.

func (*DistributionConfiguration) SetTimeoutMinutes

SetTimeoutMinutes sets the TimeoutMinutes field's value.

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"`

	// A list of Regions where the container image is distributed to.
	Regions []*string `locationName:"regions" type:"list"`

	// 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) GoString

GoString returns the string representation

func (*DistributionConfigurationSummary) SetArn

SetArn sets the Arn field's value.

func (*DistributionConfigurationSummary) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*DistributionConfigurationSummary) SetDateUpdated

SetDateUpdated sets the DateUpdated field's value.

func (*DistributionConfigurationSummary) SetDescription

SetDescription sets the Description field's value.

func (*DistributionConfigurationSummary) SetName

SetName sets the Name field's value.

func (*DistributionConfigurationSummary) SetRegions added in v1.36.11

SetRegions sets the Regions field's value.

func (*DistributionConfigurationSummary) SetTags

SetTags sets the Tags field's value.

func (DistributionConfigurationSummary) 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 *string `locationName:"volumeType" type:"string" enum:"EbsVolumeType"`
	// contains filtered or unexported fields
}

Amazon EBS-specific block device mapping specifications.

func (EbsInstanceBlockDeviceSpecification) GoString

GoString returns the string representation

func (*EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination

SetDeleteOnTermination sets the DeleteOnTermination field's value.

func (*EbsInstanceBlockDeviceSpecification) SetEncrypted

SetEncrypted sets the Encrypted field's value.

func (*EbsInstanceBlockDeviceSpecification) SetIops

SetIops sets the Iops field's value.

func (*EbsInstanceBlockDeviceSpecification) SetKmsKeyId

SetKmsKeyId sets the KmsKeyId field's value.

func (*EbsInstanceBlockDeviceSpecification) SetSnapshotId

SetSnapshotId sets the SnapshotId field's value.

func (*EbsInstanceBlockDeviceSpecification) SetVolumeSize

SetVolumeSize sets the VolumeSize field's value.

func (*EbsInstanceBlockDeviceSpecification) SetVolumeType

SetVolumeType sets the VolumeType field's value.

func (EbsInstanceBlockDeviceSpecification) String

String returns the string representation

func (*EbsInstanceBlockDeviceSpecification) Validate

Validate inspects the fields of the type to determine if they are valid.

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) GoString

func (s Filter) GoString() string

GoString returns the string representation

func (*Filter) SetName

func (s *Filter) SetName(v string) *Filter

SetName sets the Name field's value.

func (*Filter) SetValues

func (s *Filter) SetValues(v []*string) *Filter

SetValues sets the Values field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation

func (*Filter) Validate

func (s *Filter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ForbiddenException added in v1.28.0

type ForbiddenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You are not authorized to perform the requested operation.

func (*ForbiddenException) Code added in v1.28.0

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error added in v1.28.0

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString added in v1.28.0

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message added in v1.28.0

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr added in v1.28.0

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID added in v1.28.0

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode added in v1.28.0

func (s *ForbiddenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ForbiddenException) String added in v1.28.0

func (s ForbiddenException) String() string

String returns the string representation

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) GoString

func (s GetComponentInput) GoString() string

GoString returns the string representation

func (*GetComponentInput) SetComponentBuildVersionArn

func (s *GetComponentInput) SetComponentBuildVersionArn(v string) *GetComponentInput

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

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) GoString

func (s GetComponentOutput) GoString() string

GoString returns the string representation

func (*GetComponentOutput) SetComponent

func (s *GetComponentOutput) SetComponent(v *Component) *GetComponentOutput

SetComponent sets the Component field's value.

func (*GetComponentOutput) SetRequestId

func (s *GetComponentOutput) SetRequestId(v string) *GetComponentOutput

SetRequestId sets the RequestId field's value.

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) GoString

func (s GetComponentPolicyInput) GoString() string

GoString returns the string representation

func (*GetComponentPolicyInput) SetComponentArn

SetComponentArn sets the ComponentArn field's value.

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) GoString

func (s GetComponentPolicyOutput) GoString() string

GoString returns the string representation

func (*GetComponentPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (*GetComponentPolicyOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (GetComponentPolicyOutput) String

func (s GetComponentPolicyOutput) String() string

String returns the string representation

type GetContainerRecipeInput added in v1.36.11

type GetContainerRecipeInput struct {

	// The Amazon Resource Name (ARN) of the container recipe to retrieve.
	//
	// ContainerRecipeArn is a required field
	ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetContainerRecipeInput) GoString added in v1.36.11

func (s GetContainerRecipeInput) GoString() string

GoString returns the string representation

func (*GetContainerRecipeInput) SetContainerRecipeArn added in v1.36.11

func (s *GetContainerRecipeInput) SetContainerRecipeArn(v string) *GetContainerRecipeInput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (GetContainerRecipeInput) String added in v1.36.11

func (s GetContainerRecipeInput) String() string

String returns the string representation

func (*GetContainerRecipeInput) Validate added in v1.36.11

func (s *GetContainerRecipeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetContainerRecipeOutput added in v1.36.11

type GetContainerRecipeOutput struct {

	// The container recipe object that is returned.
	ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`

	// The request ID that uniquely identifies this request.
	RequestId *string `locationName:"requestId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetContainerRecipeOutput) GoString added in v1.36.11

func (s GetContainerRecipeOutput) GoString() string

GoString returns the string representation

func (*GetContainerRecipeOutput) SetContainerRecipe added in v1.36.11

SetContainerRecipe sets the ContainerRecipe field's value.

func (*GetContainerRecipeOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (GetContainerRecipeOutput) String added in v1.36.11

func (s GetContainerRecipeOutput) String() string

String returns the string representation

type GetContainerRecipePolicyInput added in v1.36.11

type GetContainerRecipePolicyInput struct {

	// The Amazon Resource Name (ARN) of the container recipe for the policy being
	// requested.
	//
	// ContainerRecipeArn is a required field
	ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetContainerRecipePolicyInput) GoString added in v1.36.11

GoString returns the string representation

func (*GetContainerRecipePolicyInput) SetContainerRecipeArn added in v1.36.11

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (GetContainerRecipePolicyInput) String added in v1.36.11

String returns the string representation

func (*GetContainerRecipePolicyInput) Validate added in v1.36.11

func (s *GetContainerRecipePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetContainerRecipePolicyOutput added in v1.36.11

type GetContainerRecipePolicyOutput struct {

	// The container recipe policy object that is returned.
	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 (GetContainerRecipePolicyOutput) GoString added in v1.36.11

GoString returns the string representation

func (*GetContainerRecipePolicyOutput) SetPolicy added in v1.36.11

SetPolicy sets the Policy field's value.

func (*GetContainerRecipePolicyOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (GetContainerRecipePolicyOutput) String added in v1.36.11

String returns the string representation

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) GoString

GoString returns the string representation

func (*GetDistributionConfigurationInput) SetDistributionConfigurationArn

func (s *GetDistributionConfigurationInput) SetDistributionConfigurationArn(v string) *GetDistributionConfigurationInput

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (GetDistributionConfigurationInput) String

String returns the string representation

func (*GetDistributionConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*GetDistributionConfigurationOutput) SetDistributionConfiguration

SetDistributionConfiguration sets the DistributionConfiguration field's value.

func (*GetDistributionConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (GetDistributionConfigurationOutput) String

String returns the string representation

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) GoString

func (s GetImageInput) GoString() string

GoString returns the string representation

func (*GetImageInput) SetImageBuildVersionArn

func (s *GetImageInput) SetImageBuildVersionArn(v string) *GetImageInput

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

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) GoString

func (s GetImageOutput) GoString() string

GoString returns the string representation

func (*GetImageOutput) SetImage

func (s *GetImageOutput) SetImage(v *Image) *GetImageOutput

SetImage sets the Image field's value.

func (*GetImageOutput) SetRequestId

func (s *GetImageOutput) SetRequestId(v string) *GetImageOutput

SetRequestId sets the RequestId field's value.

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) GoString

func (s GetImagePipelineInput) GoString() string

GoString returns the string representation

func (*GetImagePipelineInput) SetImagePipelineArn

func (s *GetImagePipelineInput) SetImagePipelineArn(v string) *GetImagePipelineInput

SetImagePipelineArn sets the ImagePipelineArn field's value.

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) GoString

func (s GetImagePipelineOutput) GoString() string

GoString returns the string representation

func (*GetImagePipelineOutput) SetImagePipeline

SetImagePipeline sets the ImagePipeline field's value.

func (*GetImagePipelineOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (GetImagePipelineOutput) String

func (s GetImagePipelineOutput) String() string

String returns the string representation

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) GoString

func (s GetImagePolicyInput) GoString() string

GoString returns the string representation

func (*GetImagePolicyInput) SetImageArn

func (s *GetImagePolicyInput) SetImageArn(v string) *GetImagePolicyInput

SetImageArn sets the ImageArn field's value.

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) GoString

func (s GetImagePolicyOutput) GoString() string

GoString returns the string representation

func (*GetImagePolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (*GetImagePolicyOutput) SetRequestId

func (s *GetImagePolicyOutput) SetRequestId(v string) *GetImagePolicyOutput

SetRequestId sets the RequestId field's value.

func (GetImagePolicyOutput) String

func (s GetImagePolicyOutput) String() string

String returns the string representation

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) GoString

func (s GetImageRecipeInput) GoString() string

GoString returns the string representation

func (*GetImageRecipeInput) SetImageRecipeArn

func (s *GetImageRecipeInput) SetImageRecipeArn(v string) *GetImageRecipeInput

SetImageRecipeArn sets the ImageRecipeArn field's value.

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) GoString

func (s GetImageRecipeOutput) GoString() string

GoString returns the string representation

func (*GetImageRecipeOutput) SetImageRecipe

func (s *GetImageRecipeOutput) SetImageRecipe(v *ImageRecipe) *GetImageRecipeOutput

SetImageRecipe sets the ImageRecipe field's value.

func (*GetImageRecipeOutput) SetRequestId

func (s *GetImageRecipeOutput) SetRequestId(v string) *GetImageRecipeOutput

SetRequestId sets the RequestId field's value.

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) GoString

func (s GetImageRecipePolicyInput) GoString() string

GoString returns the string representation

func (*GetImageRecipePolicyInput) SetImageRecipeArn

SetImageRecipeArn sets the ImageRecipeArn field's value.

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) GoString

func (s GetImageRecipePolicyOutput) GoString() string

GoString returns the string representation

func (*GetImageRecipePolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (*GetImageRecipePolicyOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (GetImageRecipePolicyOutput) String

String returns the string representation

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) GoString

GoString returns the string representation

func (*GetInfrastructureConfigurationInput) SetInfrastructureConfigurationArn

func (s *GetInfrastructureConfigurationInput) SetInfrastructureConfigurationArn(v string) *GetInfrastructureConfigurationInput

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (GetInfrastructureConfigurationInput) String

String returns the string representation

func (*GetInfrastructureConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*GetInfrastructureConfigurationOutput) SetInfrastructureConfiguration

SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.

func (*GetInfrastructureConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (GetInfrastructureConfigurationOutput) String

String returns the string representation

type IdempotentParameterMismatchException added in v1.28.0

type IdempotentParameterMismatchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.

func (*IdempotentParameterMismatchException) Code added in v1.28.0

Code returns the exception type name.

func (*IdempotentParameterMismatchException) Error added in v1.28.0

func (IdempotentParameterMismatchException) GoString added in v1.28.0

GoString returns the string representation

func (*IdempotentParameterMismatchException) Message added in v1.28.0

Message returns the exception's message.

func (*IdempotentParameterMismatchException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IdempotentParameterMismatchException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*IdempotentParameterMismatchException) StatusCode added in v1.28.0

func (s *IdempotentParameterMismatchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IdempotentParameterMismatchException) String added in v1.28.0

String returns the string representation

type Image

type Image struct {

	// The Amazon Resource Name (ARN) of the image.
	Arn *string `locationName:"arn" type:"string"`

	// The container recipe used to create the container image type.
	ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`

	// 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"`

	// Collects additional information about the image being created, including
	// the operating system (OS) version and package list. This information is used
	// to enhance the overall experience of using EC2 Image Builder. Enabled by
	// default.
	EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`

	// 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 operating system version of the instance. For example, Amazon Linux 2,
	// Ubuntu 18, or Microsoft Windows Server 2019.
	OsVersion *string `locationName:"osVersion" min:"1" type:"string"`

	// The output resources produced when creating this image.
	OutputResources *OutputResources `locationName:"outputResources" type:"structure"`

	// The platform of the image.
	Platform *string `locationName:"platform" type:"string" enum:"Platform"`

	// 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"`

	// Specifies whether this is an AMI or container image.
	Type *string `locationName:"type" type:"string" enum:"ImageType"`

	// The semantic version of the image.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

An image build version.

func (Image) GoString

func (s Image) GoString() string

GoString returns the string representation

func (*Image) SetArn

func (s *Image) SetArn(v string) *Image

SetArn sets the Arn field's value.

func (*Image) SetContainerRecipe added in v1.36.11

func (s *Image) SetContainerRecipe(v *ContainerRecipe) *Image

SetContainerRecipe sets the ContainerRecipe field's value.

func (*Image) SetDateCreated

func (s *Image) SetDateCreated(v string) *Image

SetDateCreated sets the DateCreated field's value.

func (*Image) SetDistributionConfiguration

func (s *Image) SetDistributionConfiguration(v *DistributionConfiguration) *Image

SetDistributionConfiguration sets the DistributionConfiguration field's value.

func (*Image) SetEnhancedImageMetadataEnabled added in v1.30.8

func (s *Image) SetEnhancedImageMetadataEnabled(v bool) *Image

SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.

func (*Image) SetImageRecipe

func (s *Image) SetImageRecipe(v *ImageRecipe) *Image

SetImageRecipe sets the ImageRecipe field's value.

func (*Image) SetImageTestsConfiguration

func (s *Image) SetImageTestsConfiguration(v *ImageTestsConfiguration) *Image

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*Image) SetInfrastructureConfiguration

func (s *Image) SetInfrastructureConfiguration(v *InfrastructureConfiguration) *Image

SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.

func (*Image) SetName

func (s *Image) SetName(v string) *Image

SetName sets the Name field's value.

func (*Image) SetOsVersion added in v1.30.8

func (s *Image) SetOsVersion(v string) *Image

SetOsVersion sets the OsVersion field's value.

func (*Image) SetOutputResources

func (s *Image) SetOutputResources(v *OutputResources) *Image

SetOutputResources sets the OutputResources field's value.

func (*Image) SetPlatform

func (s *Image) SetPlatform(v string) *Image

SetPlatform sets the Platform field's value.

func (*Image) SetSourcePipelineArn

func (s *Image) SetSourcePipelineArn(v string) *Image

SetSourcePipelineArn sets the SourcePipelineArn field's value.

func (*Image) SetSourcePipelineName

func (s *Image) SetSourcePipelineName(v string) *Image

SetSourcePipelineName sets the SourcePipelineName field's value.

func (*Image) SetState

func (s *Image) SetState(v *ImageState) *Image

SetState sets the State field's value.

func (*Image) SetTags

func (s *Image) SetTags(v map[string]*string) *Image

SetTags sets the Tags field's value.

func (*Image) SetType added in v1.36.11

func (s *Image) SetType(v string) *Image

SetType sets the Type field's value.

func (*Image) SetVersion

func (s *Image) SetVersion(v string) *Image

SetVersion sets the Version field's value.

func (Image) String

func (s Image) String() string

String returns the string representation

type ImagePipeline

type ImagePipeline struct {

	// The Amazon Resource Name (ARN) of the image pipeline.
	Arn *string `locationName:"arn" type:"string"`

	// The Amazon Resource Name (ARN) of the container recipe that is used for this
	// pipeline.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" 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"`

	// Collects additional information about the image being created, including
	// the operating system (OS) version and package list. This information is used
	// to enhance the overall experience of using EC2 Image Builder. Enabled by
	// default.
	EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`

	// 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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// The schedule of the image pipeline.
	Schedule *Schedule `locationName:"schedule" type:"structure"`

	// The status of the image pipeline.
	Status *string `locationName:"status" type:"string" enum:"PipelineStatus"`

	// 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) GoString

func (s ImagePipeline) GoString() string

GoString returns the string representation

func (*ImagePipeline) SetArn

func (s *ImagePipeline) SetArn(v string) *ImagePipeline

SetArn sets the Arn field's value.

func (*ImagePipeline) SetContainerRecipeArn added in v1.36.11

func (s *ImagePipeline) SetContainerRecipeArn(v string) *ImagePipeline

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*ImagePipeline) SetDateCreated

func (s *ImagePipeline) SetDateCreated(v string) *ImagePipeline

SetDateCreated sets the DateCreated field's value.

func (*ImagePipeline) SetDateLastRun

func (s *ImagePipeline) SetDateLastRun(v string) *ImagePipeline

SetDateLastRun sets the DateLastRun field's value.

func (*ImagePipeline) SetDateNextRun

func (s *ImagePipeline) SetDateNextRun(v string) *ImagePipeline

SetDateNextRun sets the DateNextRun field's value.

func (*ImagePipeline) SetDateUpdated

func (s *ImagePipeline) SetDateUpdated(v string) *ImagePipeline

SetDateUpdated sets the DateUpdated field's value.

func (*ImagePipeline) SetDescription

func (s *ImagePipeline) SetDescription(v string) *ImagePipeline

SetDescription sets the Description field's value.

func (*ImagePipeline) SetDistributionConfigurationArn

func (s *ImagePipeline) SetDistributionConfigurationArn(v string) *ImagePipeline

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*ImagePipeline) SetEnhancedImageMetadataEnabled added in v1.30.8

func (s *ImagePipeline) SetEnhancedImageMetadataEnabled(v bool) *ImagePipeline

SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.

func (*ImagePipeline) SetImageRecipeArn

func (s *ImagePipeline) SetImageRecipeArn(v string) *ImagePipeline

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*ImagePipeline) SetImageTestsConfiguration

func (s *ImagePipeline) SetImageTestsConfiguration(v *ImageTestsConfiguration) *ImagePipeline

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*ImagePipeline) SetInfrastructureConfigurationArn

func (s *ImagePipeline) SetInfrastructureConfigurationArn(v string) *ImagePipeline

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*ImagePipeline) SetName

func (s *ImagePipeline) SetName(v string) *ImagePipeline

SetName sets the Name field's value.

func (*ImagePipeline) SetPlatform

func (s *ImagePipeline) SetPlatform(v string) *ImagePipeline

SetPlatform sets the Platform field's value.

func (*ImagePipeline) SetSchedule

func (s *ImagePipeline) SetSchedule(v *Schedule) *ImagePipeline

SetSchedule sets the Schedule field's value.

func (*ImagePipeline) SetStatus

func (s *ImagePipeline) SetStatus(v string) *ImagePipeline

SetStatus sets the Status field's value.

func (*ImagePipeline) SetTags

func (s *ImagePipeline) SetTags(v map[string]*string) *ImagePipeline

SetTags sets the Tags field's value.

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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// The tags of the image recipe.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`

	// Specifies which type of image is created by the recipe - an AMI or a container
	// image.
	Type *string `locationName:"type" type:"string" enum:"ImageType"`

	// The version of the image recipe.
	Version *string `locationName:"version" type:"string"`

	// The working directory to be used during build and test workflows.
	WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An image recipe.

func (ImageRecipe) GoString

func (s ImageRecipe) GoString() string

GoString returns the string representation

func (*ImageRecipe) SetArn

func (s *ImageRecipe) SetArn(v string) *ImageRecipe

SetArn sets the Arn field's value.

func (*ImageRecipe) SetBlockDeviceMappings

func (s *ImageRecipe) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *ImageRecipe

SetBlockDeviceMappings sets the BlockDeviceMappings field's value.

func (*ImageRecipe) SetComponents

func (s *ImageRecipe) SetComponents(v []*ComponentConfiguration) *ImageRecipe

SetComponents sets the Components field's value.

func (*ImageRecipe) SetDateCreated

func (s *ImageRecipe) SetDateCreated(v string) *ImageRecipe

SetDateCreated sets the DateCreated field's value.

func (*ImageRecipe) SetDescription

func (s *ImageRecipe) SetDescription(v string) *ImageRecipe

SetDescription sets the Description field's value.

func (*ImageRecipe) SetName

func (s *ImageRecipe) SetName(v string) *ImageRecipe

SetName sets the Name field's value.

func (*ImageRecipe) SetOwner

func (s *ImageRecipe) SetOwner(v string) *ImageRecipe

SetOwner sets the Owner field's value.

func (*ImageRecipe) SetParentImage

func (s *ImageRecipe) SetParentImage(v string) *ImageRecipe

SetParentImage sets the ParentImage field's value.

func (*ImageRecipe) SetPlatform

func (s *ImageRecipe) SetPlatform(v string) *ImageRecipe

SetPlatform sets the Platform field's value.

func (*ImageRecipe) SetTags

func (s *ImageRecipe) SetTags(v map[string]*string) *ImageRecipe

SetTags sets the Tags field's value.

func (*ImageRecipe) SetType added in v1.36.11

func (s *ImageRecipe) SetType(v string) *ImageRecipe

SetType sets the Type field's value.

func (*ImageRecipe) SetVersion

func (s *ImageRecipe) SetVersion(v string) *ImageRecipe

SetVersion sets the Version field's value.

func (*ImageRecipe) SetWorkingDirectory added in v1.32.0

func (s *ImageRecipe) SetWorkingDirectory(v string) *ImageRecipe

SetWorkingDirectory sets the WorkingDirectory field's value.

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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// 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) GoString

func (s ImageRecipeSummary) GoString() string

GoString returns the string representation

func (*ImageRecipeSummary) SetArn

SetArn sets the Arn field's value.

func (*ImageRecipeSummary) SetDateCreated

func (s *ImageRecipeSummary) SetDateCreated(v string) *ImageRecipeSummary

SetDateCreated sets the DateCreated field's value.

func (*ImageRecipeSummary) SetName

SetName sets the Name field's value.

func (*ImageRecipeSummary) SetOwner

SetOwner sets the Owner field's value.

func (*ImageRecipeSummary) SetParentImage

func (s *ImageRecipeSummary) SetParentImage(v string) *ImageRecipeSummary

SetParentImage sets the ParentImage field's value.

func (*ImageRecipeSummary) SetPlatform

func (s *ImageRecipeSummary) SetPlatform(v string) *ImageRecipeSummary

SetPlatform sets the Platform field's value.

func (*ImageRecipeSummary) SetTags

func (s *ImageRecipeSummary) SetTags(v map[string]*string) *ImageRecipeSummary

SetTags sets the Tags field's value.

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 *string `locationName:"status" type:"string" enum:"ImageStatus"`
	// contains filtered or unexported fields
}

Image state shows the image status and the reason for that status.

func (ImageState) GoString

func (s ImageState) GoString() string

GoString returns the string representation

func (*ImageState) SetReason

func (s *ImageState) SetReason(v string) *ImageState

SetReason sets the Reason field's value.

func (*ImageState) SetStatus

func (s *ImageState) SetStatus(v string) *ImageState

SetStatus sets the Status field's value.

func (ImageState) String

func (s ImageState) String() string

String returns the string representation

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 operating system version of the instance. For example, Amazon Linux 2,
	// Ubuntu 18, or Microsoft Windows Server 2019.
	OsVersion *string `locationName:"osVersion" min:"1" 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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// 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"`

	// Specifies whether this is an AMI or container image.
	Type *string `locationName:"type" type:"string" enum:"ImageType"`

	// The version of the image.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

An image summary.

func (ImageSummary) GoString

func (s ImageSummary) GoString() string

GoString returns the string representation

func (*ImageSummary) SetArn

func (s *ImageSummary) SetArn(v string) *ImageSummary

SetArn sets the Arn field's value.

func (*ImageSummary) SetDateCreated

func (s *ImageSummary) SetDateCreated(v string) *ImageSummary

SetDateCreated sets the DateCreated field's value.

func (*ImageSummary) SetName

func (s *ImageSummary) SetName(v string) *ImageSummary

SetName sets the Name field's value.

func (*ImageSummary) SetOsVersion added in v1.30.8

func (s *ImageSummary) SetOsVersion(v string) *ImageSummary

SetOsVersion sets the OsVersion field's value.

func (*ImageSummary) SetOutputResources

func (s *ImageSummary) SetOutputResources(v *OutputResources) *ImageSummary

SetOutputResources sets the OutputResources field's value.

func (*ImageSummary) SetOwner

func (s *ImageSummary) SetOwner(v string) *ImageSummary

SetOwner sets the Owner field's value.

func (*ImageSummary) SetPlatform

func (s *ImageSummary) SetPlatform(v string) *ImageSummary

SetPlatform sets the Platform field's value.

func (*ImageSummary) SetState

func (s *ImageSummary) SetState(v *ImageState) *ImageSummary

SetState sets the State field's value.

func (*ImageSummary) SetTags

func (s *ImageSummary) SetTags(v map[string]*string) *ImageSummary

SetTags sets the Tags field's value.

func (*ImageSummary) SetType added in v1.36.11

func (s *ImageSummary) SetType(v string) *ImageSummary

SetType sets the Type field's value.

func (*ImageSummary) SetVersion

func (s *ImageSummary) SetVersion(v string) *ImageSummary

SetVersion sets the Version field's value.

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) GoString

func (s ImageTestsConfiguration) GoString() string

GoString returns the string representation

func (*ImageTestsConfiguration) SetImageTestsEnabled

func (s *ImageTestsConfiguration) SetImageTestsEnabled(v bool) *ImageTestsConfiguration

SetImageTestsEnabled sets the ImageTestsEnabled field's value.

func (*ImageTestsConfiguration) SetTimeoutMinutes

func (s *ImageTestsConfiguration) SetTimeoutMinutes(v int64) *ImageTestsConfiguration

SetTimeoutMinutes sets the TimeoutMinutes field's value.

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 operating system version of the instance. For example, Amazon Linux 2,
	// Ubuntu 18, or Microsoft Windows Server 2019.
	OsVersion *string `locationName:"osVersion" min:"1" 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 *string `locationName:"platform" type:"string" enum:"Platform"`

	// Specifies whether this is an AMI or container image.
	Type *string `locationName:"type" type:"string" enum:"ImageType"`

	// 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) GoString

func (s ImageVersion) GoString() string

GoString returns the string representation

func (*ImageVersion) SetArn

func (s *ImageVersion) SetArn(v string) *ImageVersion

SetArn sets the Arn field's value.

func (*ImageVersion) SetDateCreated

func (s *ImageVersion) SetDateCreated(v string) *ImageVersion

SetDateCreated sets the DateCreated field's value.

func (*ImageVersion) SetName

func (s *ImageVersion) SetName(v string) *ImageVersion

SetName sets the Name field's value.

func (*ImageVersion) SetOsVersion added in v1.30.8

func (s *ImageVersion) SetOsVersion(v string) *ImageVersion

SetOsVersion sets the OsVersion field's value.

func (*ImageVersion) SetOwner

func (s *ImageVersion) SetOwner(v string) *ImageVersion

SetOwner sets the Owner field's value.

func (*ImageVersion) SetPlatform

func (s *ImageVersion) SetPlatform(v string) *ImageVersion

SetPlatform sets the Platform field's value.

func (*ImageVersion) SetType added in v1.36.11

func (s *ImageVersion) SetType(v string) *ImageVersion

SetType sets the Type field's value.

func (*ImageVersion) SetVersion

func (s *ImageVersion) SetVersion(v string) *ImageVersion

SetVersion sets the Version field's value.

func (ImageVersion) String

func (s ImageVersion) String() string

String returns the string representation

type Imagebuilder

type Imagebuilder struct {
	*client.Client
}

Imagebuilder provides the API operation methods for making requests to EC2 Image Builder. See this package's package overview docs for details on the service.

Imagebuilder methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Imagebuilder

New creates a new instance of the Imagebuilder client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Imagebuilder client from just a session.
svc := imagebuilder.New(mySession)

// Create a Imagebuilder client with additional configuration
svc := imagebuilder.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Imagebuilder) CancelImageCreation

func (c *Imagebuilder) CancelImageCreation(input *CancelImageCreationInput) (*CancelImageCreationOutput, error)

CancelImageCreation 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CancelImageCreation for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreation

func (*Imagebuilder) CancelImageCreationRequest

func (c *Imagebuilder) CancelImageCreationRequest(input *CancelImageCreationInput) (req *request.Request, output *CancelImageCreationOutput)

CancelImageCreationRequest generates a "aws/request.Request" representing the client's request for the CancelImageCreation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelImageCreation for more information on using the CancelImageCreation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelImageCreationRequest method.
req, resp := client.CancelImageCreationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreation

func (*Imagebuilder) CancelImageCreationWithContext

func (c *Imagebuilder) CancelImageCreationWithContext(ctx aws.Context, input *CancelImageCreationInput, opts ...request.Option) (*CancelImageCreationOutput, error)

CancelImageCreationWithContext is the same as CancelImageCreation with the addition of the ability to pass a context and additional request options.

See CancelImageCreation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateComponent

func (c *Imagebuilder) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error)

CreateComponent API operation for EC2 Image Builder.

Creates a new component that can be used to build, validate, test, and assess your image.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateComponent for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent

func (*Imagebuilder) CreateComponentRequest

func (c *Imagebuilder) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput)

CreateComponentRequest generates a "aws/request.Request" representing the client's request for the CreateComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateComponent for more information on using the CreateComponent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateComponentRequest method.
req, resp := client.CreateComponentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent

func (*Imagebuilder) CreateComponentWithContext

func (c *Imagebuilder) CreateComponentWithContext(ctx aws.Context, input *CreateComponentInput, opts ...request.Option) (*CreateComponentOutput, error)

CreateComponentWithContext is the same as CreateComponent with the addition of the ability to pass a context and additional request options.

See CreateComponent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateContainerRecipe added in v1.36.11

func (c *Imagebuilder) CreateContainerRecipe(input *CreateContainerRecipeInput) (*CreateContainerRecipeOutput, error)

CreateContainerRecipe API operation for EC2 Image Builder.

Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateContainerRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ResourceAlreadyExistsException The resource that you are trying to create already exists.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe

func (*Imagebuilder) CreateContainerRecipeRequest added in v1.36.11

func (c *Imagebuilder) CreateContainerRecipeRequest(input *CreateContainerRecipeInput) (req *request.Request, output *CreateContainerRecipeOutput)

CreateContainerRecipeRequest generates a "aws/request.Request" representing the client's request for the CreateContainerRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateContainerRecipe for more information on using the CreateContainerRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateContainerRecipeRequest method.
req, resp := client.CreateContainerRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe

func (*Imagebuilder) CreateContainerRecipeWithContext added in v1.36.11

func (c *Imagebuilder) CreateContainerRecipeWithContext(ctx aws.Context, input *CreateContainerRecipeInput, opts ...request.Option) (*CreateContainerRecipeOutput, error)

CreateContainerRecipeWithContext is the same as CreateContainerRecipe with the addition of the ability to pass a context and additional request options.

See CreateContainerRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateDistributionConfiguration

CreateDistributionConfiguration API operation for EC2 Image Builder.

Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateDistributionConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ResourceAlreadyExistsException The resource that you are trying to create already exists.

  • InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfiguration

func (*Imagebuilder) CreateDistributionConfigurationRequest

func (c *Imagebuilder) CreateDistributionConfigurationRequest(input *CreateDistributionConfigurationInput) (req *request.Request, output *CreateDistributionConfigurationOutput)

CreateDistributionConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateDistributionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDistributionConfiguration for more information on using the CreateDistributionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDistributionConfigurationRequest method.
req, resp := client.CreateDistributionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfiguration

func (*Imagebuilder) CreateDistributionConfigurationWithContext

func (c *Imagebuilder) CreateDistributionConfigurationWithContext(ctx aws.Context, input *CreateDistributionConfigurationInput, opts ...request.Option) (*CreateDistributionConfigurationOutput, error)

CreateDistributionConfigurationWithContext is the same as CreateDistributionConfiguration with the addition of the ability to pass a context and additional request options.

See CreateDistributionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateImage

func (c *Imagebuilder) CreateImage(input *CreateImageInput) (*CreateImageOutput, error)

CreateImage 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateImage for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage

func (*Imagebuilder) CreateImagePipeline

func (c *Imagebuilder) CreateImagePipeline(input *CreateImagePipelineInput) (*CreateImagePipelineOutput, error)

CreateImagePipeline API operation for EC2 Image Builder.

Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateImagePipeline for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ResourceAlreadyExistsException The resource that you are trying to create already exists.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipeline

func (*Imagebuilder) CreateImagePipelineRequest

func (c *Imagebuilder) CreateImagePipelineRequest(input *CreateImagePipelineInput) (req *request.Request, output *CreateImagePipelineOutput)

CreateImagePipelineRequest generates a "aws/request.Request" representing the client's request for the CreateImagePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImagePipeline for more information on using the CreateImagePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImagePipelineRequest method.
req, resp := client.CreateImagePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipeline

func (*Imagebuilder) CreateImagePipelineWithContext

func (c *Imagebuilder) CreateImagePipelineWithContext(ctx aws.Context, input *CreateImagePipelineInput, opts ...request.Option) (*CreateImagePipelineOutput, error)

CreateImagePipelineWithContext is the same as CreateImagePipeline with the addition of the ability to pass a context and additional request options.

See CreateImagePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateImageRecipe

func (c *Imagebuilder) CreateImageRecipe(input *CreateImageRecipeInput) (*CreateImageRecipeOutput, error)

CreateImageRecipe API operation for EC2 Image Builder.

Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateImageRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ResourceAlreadyExistsException The resource that you are trying to create already exists.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe

func (*Imagebuilder) CreateImageRecipeRequest

func (c *Imagebuilder) CreateImageRecipeRequest(input *CreateImageRecipeInput) (req *request.Request, output *CreateImageRecipeOutput)

CreateImageRecipeRequest generates a "aws/request.Request" representing the client's request for the CreateImageRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImageRecipe for more information on using the CreateImageRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImageRecipeRequest method.
req, resp := client.CreateImageRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe

func (*Imagebuilder) CreateImageRecipeWithContext

func (c *Imagebuilder) CreateImageRecipeWithContext(ctx aws.Context, input *CreateImageRecipeInput, opts ...request.Option) (*CreateImageRecipeOutput, error)

CreateImageRecipeWithContext is the same as CreateImageRecipe with the addition of the ability to pass a context and additional request options.

See CreateImageRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateImageRequest

func (c *Imagebuilder) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput)

CreateImageRequest generates a "aws/request.Request" representing the client's request for the CreateImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImage for more information on using the CreateImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImageRequest method.
req, resp := client.CreateImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage

func (*Imagebuilder) CreateImageWithContext

func (c *Imagebuilder) CreateImageWithContext(ctx aws.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error)

CreateImageWithContext is the same as CreateImage with the addition of the ability to pass a context and additional request options.

See CreateImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) CreateInfrastructureConfiguration

CreateInfrastructureConfiguration 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation CreateInfrastructureConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • ResourceAlreadyExistsException The resource that you are trying to create already exists.

  • ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfiguration

func (*Imagebuilder) CreateInfrastructureConfigurationRequest

func (c *Imagebuilder) CreateInfrastructureConfigurationRequest(input *CreateInfrastructureConfigurationInput) (req *request.Request, output *CreateInfrastructureConfigurationOutput)

CreateInfrastructureConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateInfrastructureConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateInfrastructureConfiguration for more information on using the CreateInfrastructureConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateInfrastructureConfigurationRequest method.
req, resp := client.CreateInfrastructureConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfiguration

func (*Imagebuilder) CreateInfrastructureConfigurationWithContext

func (c *Imagebuilder) CreateInfrastructureConfigurationWithContext(ctx aws.Context, input *CreateInfrastructureConfigurationInput, opts ...request.Option) (*CreateInfrastructureConfigurationOutput, error)

CreateInfrastructureConfigurationWithContext is the same as CreateInfrastructureConfiguration with the addition of the ability to pass a context and additional request options.

See CreateInfrastructureConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteComponent

func (c *Imagebuilder) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error)

DeleteComponent API operation for EC2 Image Builder.

Deletes a component build version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteComponent for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent

func (*Imagebuilder) DeleteComponentRequest

func (c *Imagebuilder) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput)

DeleteComponentRequest generates a "aws/request.Request" representing the client's request for the DeleteComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteComponent for more information on using the DeleteComponent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteComponentRequest method.
req, resp := client.DeleteComponentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent

func (*Imagebuilder) DeleteComponentWithContext

func (c *Imagebuilder) DeleteComponentWithContext(ctx aws.Context, input *DeleteComponentInput, opts ...request.Option) (*DeleteComponentOutput, error)

DeleteComponentWithContext is the same as DeleteComponent with the addition of the ability to pass a context and additional request options.

See DeleteComponent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteContainerRecipe added in v1.36.11

func (c *Imagebuilder) DeleteContainerRecipe(input *DeleteContainerRecipeInput) (*DeleteContainerRecipeOutput, error)

DeleteContainerRecipe API operation for EC2 Image Builder.

Deletes a container recipe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteContainerRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe

func (*Imagebuilder) DeleteContainerRecipeRequest added in v1.36.11

func (c *Imagebuilder) DeleteContainerRecipeRequest(input *DeleteContainerRecipeInput) (req *request.Request, output *DeleteContainerRecipeOutput)

DeleteContainerRecipeRequest generates a "aws/request.Request" representing the client's request for the DeleteContainerRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteContainerRecipe for more information on using the DeleteContainerRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteContainerRecipeRequest method.
req, resp := client.DeleteContainerRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe

func (*Imagebuilder) DeleteContainerRecipeWithContext added in v1.36.11

func (c *Imagebuilder) DeleteContainerRecipeWithContext(ctx aws.Context, input *DeleteContainerRecipeInput, opts ...request.Option) (*DeleteContainerRecipeOutput, error)

DeleteContainerRecipeWithContext is the same as DeleteContainerRecipe with the addition of the ability to pass a context and additional request options.

See DeleteContainerRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteDistributionConfiguration

DeleteDistributionConfiguration API operation for EC2 Image Builder.

Deletes a distribution configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteDistributionConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteDistributionConfiguration

func (*Imagebuilder) DeleteDistributionConfigurationRequest

func (c *Imagebuilder) DeleteDistributionConfigurationRequest(input *DeleteDistributionConfigurationInput) (req *request.Request, output *DeleteDistributionConfigurationOutput)

DeleteDistributionConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteDistributionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDistributionConfiguration for more information on using the DeleteDistributionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDistributionConfigurationRequest method.
req, resp := client.DeleteDistributionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteDistributionConfiguration

func (*Imagebuilder) DeleteDistributionConfigurationWithContext

func (c *Imagebuilder) DeleteDistributionConfigurationWithContext(ctx aws.Context, input *DeleteDistributionConfigurationInput, opts ...request.Option) (*DeleteDistributionConfigurationOutput, error)

DeleteDistributionConfigurationWithContext is the same as DeleteDistributionConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteDistributionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteImage

func (c *Imagebuilder) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error)

DeleteImage API operation for EC2 Image Builder.

Deletes an image.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteImage for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImage

func (*Imagebuilder) DeleteImagePipeline

func (c *Imagebuilder) DeleteImagePipeline(input *DeleteImagePipelineInput) (*DeleteImagePipelineOutput, error)

DeleteImagePipeline API operation for EC2 Image Builder.

Deletes an image pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteImagePipeline for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImagePipeline

func (*Imagebuilder) DeleteImagePipelineRequest

func (c *Imagebuilder) DeleteImagePipelineRequest(input *DeleteImagePipelineInput) (req *request.Request, output *DeleteImagePipelineOutput)

DeleteImagePipelineRequest generates a "aws/request.Request" representing the client's request for the DeleteImagePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImagePipeline for more information on using the DeleteImagePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImagePipelineRequest method.
req, resp := client.DeleteImagePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImagePipeline

func (*Imagebuilder) DeleteImagePipelineWithContext

func (c *Imagebuilder) DeleteImagePipelineWithContext(ctx aws.Context, input *DeleteImagePipelineInput, opts ...request.Option) (*DeleteImagePipelineOutput, error)

DeleteImagePipelineWithContext is the same as DeleteImagePipeline with the addition of the ability to pass a context and additional request options.

See DeleteImagePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteImageRecipe

func (c *Imagebuilder) DeleteImageRecipe(input *DeleteImageRecipeInput) (*DeleteImageRecipeOutput, error)

DeleteImageRecipe API operation for EC2 Image Builder.

Deletes an image recipe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteImageRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRecipe

func (*Imagebuilder) DeleteImageRecipeRequest

func (c *Imagebuilder) DeleteImageRecipeRequest(input *DeleteImageRecipeInput) (req *request.Request, output *DeleteImageRecipeOutput)

DeleteImageRecipeRequest generates a "aws/request.Request" representing the client's request for the DeleteImageRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImageRecipe for more information on using the DeleteImageRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImageRecipeRequest method.
req, resp := client.DeleteImageRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRecipe

func (*Imagebuilder) DeleteImageRecipeWithContext

func (c *Imagebuilder) DeleteImageRecipeWithContext(ctx aws.Context, input *DeleteImageRecipeInput, opts ...request.Option) (*DeleteImageRecipeOutput, error)

DeleteImageRecipeWithContext is the same as DeleteImageRecipe with the addition of the ability to pass a context and additional request options.

See DeleteImageRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteImageRequest

func (c *Imagebuilder) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput)

DeleteImageRequest generates a "aws/request.Request" representing the client's request for the DeleteImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImage for more information on using the DeleteImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImageRequest method.
req, resp := client.DeleteImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImage

func (*Imagebuilder) DeleteImageWithContext

func (c *Imagebuilder) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error)

DeleteImageWithContext is the same as DeleteImage with the addition of the ability to pass a context and additional request options.

See DeleteImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) DeleteInfrastructureConfiguration

DeleteInfrastructureConfiguration API operation for EC2 Image Builder.

Deletes an infrastructure configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation DeleteInfrastructureConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteInfrastructureConfiguration

func (*Imagebuilder) DeleteInfrastructureConfigurationRequest

func (c *Imagebuilder) DeleteInfrastructureConfigurationRequest(input *DeleteInfrastructureConfigurationInput) (req *request.Request, output *DeleteInfrastructureConfigurationOutput)

DeleteInfrastructureConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteInfrastructureConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInfrastructureConfiguration for more information on using the DeleteInfrastructureConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInfrastructureConfigurationRequest method.
req, resp := client.DeleteInfrastructureConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteInfrastructureConfiguration

func (*Imagebuilder) DeleteInfrastructureConfigurationWithContext

func (c *Imagebuilder) DeleteInfrastructureConfigurationWithContext(ctx aws.Context, input *DeleteInfrastructureConfigurationInput, opts ...request.Option) (*DeleteInfrastructureConfigurationOutput, error)

DeleteInfrastructureConfigurationWithContext is the same as DeleteInfrastructureConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteInfrastructureConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetComponent

func (c *Imagebuilder) GetComponent(input *GetComponentInput) (*GetComponentOutput, error)

GetComponent API operation for EC2 Image Builder.

Gets a component object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetComponent for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent

func (*Imagebuilder) GetComponentPolicy

func (c *Imagebuilder) GetComponentPolicy(input *GetComponentPolicyInput) (*GetComponentPolicyOutput, error)

GetComponentPolicy API operation for EC2 Image Builder.

Gets a component policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetComponentPolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentPolicy

func (*Imagebuilder) GetComponentPolicyRequest

func (c *Imagebuilder) GetComponentPolicyRequest(input *GetComponentPolicyInput) (req *request.Request, output *GetComponentPolicyOutput)

GetComponentPolicyRequest generates a "aws/request.Request" representing the client's request for the GetComponentPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComponentPolicy for more information on using the GetComponentPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComponentPolicyRequest method.
req, resp := client.GetComponentPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentPolicy

func (*Imagebuilder) GetComponentPolicyWithContext

func (c *Imagebuilder) GetComponentPolicyWithContext(ctx aws.Context, input *GetComponentPolicyInput, opts ...request.Option) (*GetComponentPolicyOutput, error)

GetComponentPolicyWithContext is the same as GetComponentPolicy with the addition of the ability to pass a context and additional request options.

See GetComponentPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetComponentRequest

func (c *Imagebuilder) GetComponentRequest(input *GetComponentInput) (req *request.Request, output *GetComponentOutput)

GetComponentRequest generates a "aws/request.Request" representing the client's request for the GetComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComponent for more information on using the GetComponent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetComponentRequest method.
req, resp := client.GetComponentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent

func (*Imagebuilder) GetComponentWithContext

func (c *Imagebuilder) GetComponentWithContext(ctx aws.Context, input *GetComponentInput, opts ...request.Option) (*GetComponentOutput, error)

GetComponentWithContext is the same as GetComponent with the addition of the ability to pass a context and additional request options.

See GetComponent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetContainerRecipe added in v1.36.11

func (c *Imagebuilder) GetContainerRecipe(input *GetContainerRecipeInput) (*GetContainerRecipeOutput, error)

GetContainerRecipe API operation for EC2 Image Builder.

Retrieves a container recipe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetContainerRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe

func (*Imagebuilder) GetContainerRecipePolicy added in v1.36.11

func (c *Imagebuilder) GetContainerRecipePolicy(input *GetContainerRecipePolicyInput) (*GetContainerRecipePolicyOutput, error)

GetContainerRecipePolicy API operation for EC2 Image Builder.

Retrieves the policy for a container recipe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetContainerRecipePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy

func (*Imagebuilder) GetContainerRecipePolicyRequest added in v1.36.11

func (c *Imagebuilder) GetContainerRecipePolicyRequest(input *GetContainerRecipePolicyInput) (req *request.Request, output *GetContainerRecipePolicyOutput)

GetContainerRecipePolicyRequest generates a "aws/request.Request" representing the client's request for the GetContainerRecipePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetContainerRecipePolicy for more information on using the GetContainerRecipePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetContainerRecipePolicyRequest method.
req, resp := client.GetContainerRecipePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy

func (*Imagebuilder) GetContainerRecipePolicyWithContext added in v1.36.11

func (c *Imagebuilder) GetContainerRecipePolicyWithContext(ctx aws.Context, input *GetContainerRecipePolicyInput, opts ...request.Option) (*GetContainerRecipePolicyOutput, error)

GetContainerRecipePolicyWithContext is the same as GetContainerRecipePolicy with the addition of the ability to pass a context and additional request options.

See GetContainerRecipePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetContainerRecipeRequest added in v1.36.11

func (c *Imagebuilder) GetContainerRecipeRequest(input *GetContainerRecipeInput) (req *request.Request, output *GetContainerRecipeOutput)

GetContainerRecipeRequest generates a "aws/request.Request" representing the client's request for the GetContainerRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetContainerRecipe for more information on using the GetContainerRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetContainerRecipeRequest method.
req, resp := client.GetContainerRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe

func (*Imagebuilder) GetContainerRecipeWithContext added in v1.36.11

func (c *Imagebuilder) GetContainerRecipeWithContext(ctx aws.Context, input *GetContainerRecipeInput, opts ...request.Option) (*GetContainerRecipeOutput, error)

GetContainerRecipeWithContext is the same as GetContainerRecipe with the addition of the ability to pass a context and additional request options.

See GetContainerRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetDistributionConfiguration

func (c *Imagebuilder) GetDistributionConfiguration(input *GetDistributionConfigurationInput) (*GetDistributionConfigurationOutput, error)

GetDistributionConfiguration API operation for EC2 Image Builder.

Gets a distribution configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetDistributionConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetDistributionConfiguration

func (*Imagebuilder) GetDistributionConfigurationRequest

func (c *Imagebuilder) GetDistributionConfigurationRequest(input *GetDistributionConfigurationInput) (req *request.Request, output *GetDistributionConfigurationOutput)

GetDistributionConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetDistributionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDistributionConfiguration for more information on using the GetDistributionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDistributionConfigurationRequest method.
req, resp := client.GetDistributionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetDistributionConfiguration

func (*Imagebuilder) GetDistributionConfigurationWithContext

func (c *Imagebuilder) GetDistributionConfigurationWithContext(ctx aws.Context, input *GetDistributionConfigurationInput, opts ...request.Option) (*GetDistributionConfigurationOutput, error)

GetDistributionConfigurationWithContext is the same as GetDistributionConfiguration with the addition of the ability to pass a context and additional request options.

See GetDistributionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetImage

func (c *Imagebuilder) GetImage(input *GetImageInput) (*GetImageOutput, error)

GetImage API operation for EC2 Image Builder.

Gets an image.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetImage for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage

func (*Imagebuilder) GetImagePipeline

func (c *Imagebuilder) GetImagePipeline(input *GetImagePipelineInput) (*GetImagePipelineOutput, error)

GetImagePipeline API operation for EC2 Image Builder.

Gets an image pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetImagePipeline for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline

func (*Imagebuilder) GetImagePipelineRequest

func (c *Imagebuilder) GetImagePipelineRequest(input *GetImagePipelineInput) (req *request.Request, output *GetImagePipelineOutput)

GetImagePipelineRequest generates a "aws/request.Request" representing the client's request for the GetImagePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImagePipeline for more information on using the GetImagePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImagePipelineRequest method.
req, resp := client.GetImagePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline

func (*Imagebuilder) GetImagePipelineWithContext

func (c *Imagebuilder) GetImagePipelineWithContext(ctx aws.Context, input *GetImagePipelineInput, opts ...request.Option) (*GetImagePipelineOutput, error)

GetImagePipelineWithContext is the same as GetImagePipeline with the addition of the ability to pass a context and additional request options.

See GetImagePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetImagePolicy

func (c *Imagebuilder) GetImagePolicy(input *GetImagePolicyInput) (*GetImagePolicyOutput, error)

GetImagePolicy API operation for EC2 Image Builder.

Gets an image policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetImagePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePolicy

func (*Imagebuilder) GetImagePolicyRequest

func (c *Imagebuilder) GetImagePolicyRequest(input *GetImagePolicyInput) (req *request.Request, output *GetImagePolicyOutput)

GetImagePolicyRequest generates a "aws/request.Request" representing the client's request for the GetImagePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImagePolicy for more information on using the GetImagePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImagePolicyRequest method.
req, resp := client.GetImagePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePolicy

func (*Imagebuilder) GetImagePolicyWithContext

func (c *Imagebuilder) GetImagePolicyWithContext(ctx aws.Context, input *GetImagePolicyInput, opts ...request.Option) (*GetImagePolicyOutput, error)

GetImagePolicyWithContext is the same as GetImagePolicy with the addition of the ability to pass a context and additional request options.

See GetImagePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetImageRecipe

func (c *Imagebuilder) GetImageRecipe(input *GetImageRecipeInput) (*GetImageRecipeOutput, error)

GetImageRecipe API operation for EC2 Image Builder.

Gets an image recipe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetImageRecipe for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe

func (*Imagebuilder) GetImageRecipePolicy

func (c *Imagebuilder) GetImageRecipePolicy(input *GetImageRecipePolicyInput) (*GetImageRecipePolicyOutput, error)

GetImageRecipePolicy API operation for EC2 Image Builder.

Gets an image recipe policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetImageRecipePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipePolicy

func (*Imagebuilder) GetImageRecipePolicyRequest

func (c *Imagebuilder) GetImageRecipePolicyRequest(input *GetImageRecipePolicyInput) (req *request.Request, output *GetImageRecipePolicyOutput)

GetImageRecipePolicyRequest generates a "aws/request.Request" representing the client's request for the GetImageRecipePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImageRecipePolicy for more information on using the GetImageRecipePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImageRecipePolicyRequest method.
req, resp := client.GetImageRecipePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipePolicy

func (*Imagebuilder) GetImageRecipePolicyWithContext

func (c *Imagebuilder) GetImageRecipePolicyWithContext(ctx aws.Context, input *GetImageRecipePolicyInput, opts ...request.Option) (*GetImageRecipePolicyOutput, error)

GetImageRecipePolicyWithContext is the same as GetImageRecipePolicy with the addition of the ability to pass a context and additional request options.

See GetImageRecipePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetImageRecipeRequest

func (c *Imagebuilder) GetImageRecipeRequest(input *GetImageRecipeInput) (req *request.Request, output *GetImageRecipeOutput)

GetImageRecipeRequest generates a "aws/request.Request" representing the client's request for the GetImageRecipe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImageRecipe for more information on using the GetImageRecipe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImageRecipeRequest method.
req, resp := client.GetImageRecipeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe

func (*Imagebuilder) GetImageRecipeWithContext

func (c *Imagebuilder) GetImageRecipeWithContext(ctx aws.Context, input *GetImageRecipeInput, opts ...request.Option) (*GetImageRecipeOutput, error)

GetImageRecipeWithContext is the same as GetImageRecipe with the addition of the ability to pass a context and additional request options.

See GetImageRecipe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetImageRequest

func (c *Imagebuilder) GetImageRequest(input *GetImageInput) (req *request.Request, output *GetImageOutput)

GetImageRequest generates a "aws/request.Request" representing the client's request for the GetImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetImage for more information on using the GetImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetImageRequest method.
req, resp := client.GetImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage

func (*Imagebuilder) GetImageWithContext

func (c *Imagebuilder) GetImageWithContext(ctx aws.Context, input *GetImageInput, opts ...request.Option) (*GetImageOutput, error)

GetImageWithContext is the same as GetImage with the addition of the ability to pass a context and additional request options.

See GetImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) GetInfrastructureConfiguration

GetInfrastructureConfiguration API operation for EC2 Image Builder.

Gets an infrastructure configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation GetInfrastructureConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration

func (*Imagebuilder) GetInfrastructureConfigurationRequest

func (c *Imagebuilder) GetInfrastructureConfigurationRequest(input *GetInfrastructureConfigurationInput) (req *request.Request, output *GetInfrastructureConfigurationOutput)

GetInfrastructureConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetInfrastructureConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInfrastructureConfiguration for more information on using the GetInfrastructureConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInfrastructureConfigurationRequest method.
req, resp := client.GetInfrastructureConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration

func (*Imagebuilder) GetInfrastructureConfigurationWithContext

func (c *Imagebuilder) GetInfrastructureConfigurationWithContext(ctx aws.Context, input *GetInfrastructureConfigurationInput, opts ...request.Option) (*GetInfrastructureConfigurationOutput, error)

GetInfrastructureConfigurationWithContext is the same as GetInfrastructureConfiguration with the addition of the ability to pass a context and additional request options.

See GetInfrastructureConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ImportComponent

func (c *Imagebuilder) ImportComponent(input *ImportComponentInput) (*ImportComponentOutput, error)

ImportComponent API operation for EC2 Image Builder.

Imports a component and transforms its data into a component document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ImportComponent for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponent

func (*Imagebuilder) ImportComponentRequest

func (c *Imagebuilder) ImportComponentRequest(input *ImportComponentInput) (req *request.Request, output *ImportComponentOutput)

ImportComponentRequest generates a "aws/request.Request" representing the client's request for the ImportComponent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportComponent for more information on using the ImportComponent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportComponentRequest method.
req, resp := client.ImportComponentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponent

func (*Imagebuilder) ImportComponentWithContext

func (c *Imagebuilder) ImportComponentWithContext(ctx aws.Context, input *ImportComponentInput, opts ...request.Option) (*ImportComponentOutput, error)

ImportComponentWithContext is the same as ImportComponent with the addition of the ability to pass a context and additional request options.

See ImportComponent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListComponentBuildVersions

func (c *Imagebuilder) ListComponentBuildVersions(input *ListComponentBuildVersionsInput) (*ListComponentBuildVersionsOutput, error)

ListComponentBuildVersions API operation for EC2 Image Builder.

Returns the list of component build versions for the specified semantic version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListComponentBuildVersions for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersions

func (*Imagebuilder) ListComponentBuildVersionsPages

func (c *Imagebuilder) ListComponentBuildVersionsPages(input *ListComponentBuildVersionsInput, fn func(*ListComponentBuildVersionsOutput, bool) bool) error

ListComponentBuildVersionsPages iterates over the pages of a ListComponentBuildVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListComponentBuildVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListComponentBuildVersions operation.
pageNum := 0
err := client.ListComponentBuildVersionsPages(params,
    func(page *imagebuilder.ListComponentBuildVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListComponentBuildVersionsPagesWithContext

func (c *Imagebuilder) ListComponentBuildVersionsPagesWithContext(ctx aws.Context, input *ListComponentBuildVersionsInput, fn func(*ListComponentBuildVersionsOutput, bool) bool, opts ...request.Option) error

ListComponentBuildVersionsPagesWithContext same as ListComponentBuildVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListComponentBuildVersionsRequest

func (c *Imagebuilder) ListComponentBuildVersionsRequest(input *ListComponentBuildVersionsInput) (req *request.Request, output *ListComponentBuildVersionsOutput)

ListComponentBuildVersionsRequest generates a "aws/request.Request" representing the client's request for the ListComponentBuildVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListComponentBuildVersions for more information on using the ListComponentBuildVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListComponentBuildVersionsRequest method.
req, resp := client.ListComponentBuildVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersions

func (*Imagebuilder) ListComponentBuildVersionsWithContext

func (c *Imagebuilder) ListComponentBuildVersionsWithContext(ctx aws.Context, input *ListComponentBuildVersionsInput, opts ...request.Option) (*ListComponentBuildVersionsOutput, error)

ListComponentBuildVersionsWithContext is the same as ListComponentBuildVersions with the addition of the ability to pass a context and additional request options.

See ListComponentBuildVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListComponents

func (c *Imagebuilder) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error)

ListComponents API operation for EC2 Image Builder.

Returns the list of component build versions for the specified semantic version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListComponents for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents

func (*Imagebuilder) ListComponentsPages

func (c *Imagebuilder) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error

ListComponentsPages iterates over the pages of a ListComponents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListComponents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListComponents operation.
pageNum := 0
err := client.ListComponentsPages(params,
    func(page *imagebuilder.ListComponentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListComponentsPagesWithContext

func (c *Imagebuilder) ListComponentsPagesWithContext(ctx aws.Context, input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool, opts ...request.Option) error

ListComponentsPagesWithContext same as ListComponentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListComponentsRequest

func (c *Imagebuilder) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput)

ListComponentsRequest generates a "aws/request.Request" representing the client's request for the ListComponents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListComponents for more information on using the ListComponents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListComponentsRequest method.
req, resp := client.ListComponentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents

func (*Imagebuilder) ListComponentsWithContext

func (c *Imagebuilder) ListComponentsWithContext(ctx aws.Context, input *ListComponentsInput, opts ...request.Option) (*ListComponentsOutput, error)

ListComponentsWithContext is the same as ListComponents with the addition of the ability to pass a context and additional request options.

See ListComponents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListContainerRecipes added in v1.36.11

func (c *Imagebuilder) ListContainerRecipes(input *ListContainerRecipesInput) (*ListContainerRecipesOutput, error)

ListContainerRecipes API operation for EC2 Image Builder.

Returns a list of container recipes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListContainerRecipes for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes

func (*Imagebuilder) ListContainerRecipesPages added in v1.36.11

func (c *Imagebuilder) ListContainerRecipesPages(input *ListContainerRecipesInput, fn func(*ListContainerRecipesOutput, bool) bool) error

ListContainerRecipesPages iterates over the pages of a ListContainerRecipes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListContainerRecipes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListContainerRecipes operation.
pageNum := 0
err := client.ListContainerRecipesPages(params,
    func(page *imagebuilder.ListContainerRecipesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListContainerRecipesPagesWithContext added in v1.36.11

func (c *Imagebuilder) ListContainerRecipesPagesWithContext(ctx aws.Context, input *ListContainerRecipesInput, fn func(*ListContainerRecipesOutput, bool) bool, opts ...request.Option) error

ListContainerRecipesPagesWithContext same as ListContainerRecipesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListContainerRecipesRequest added in v1.36.11

func (c *Imagebuilder) ListContainerRecipesRequest(input *ListContainerRecipesInput) (req *request.Request, output *ListContainerRecipesOutput)

ListContainerRecipesRequest generates a "aws/request.Request" representing the client's request for the ListContainerRecipes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListContainerRecipes for more information on using the ListContainerRecipes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListContainerRecipesRequest method.
req, resp := client.ListContainerRecipesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes

func (*Imagebuilder) ListContainerRecipesWithContext added in v1.36.11

func (c *Imagebuilder) ListContainerRecipesWithContext(ctx aws.Context, input *ListContainerRecipesInput, opts ...request.Option) (*ListContainerRecipesOutput, error)

ListContainerRecipesWithContext is the same as ListContainerRecipes with the addition of the ability to pass a context and additional request options.

See ListContainerRecipes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListDistributionConfigurations

ListDistributionConfigurations API operation for EC2 Image Builder.

Returns a list of distribution configurations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListDistributionConfigurations for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations

func (*Imagebuilder) ListDistributionConfigurationsPages

func (c *Imagebuilder) ListDistributionConfigurationsPages(input *ListDistributionConfigurationsInput, fn func(*ListDistributionConfigurationsOutput, bool) bool) error

ListDistributionConfigurationsPages iterates over the pages of a ListDistributionConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDistributionConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDistributionConfigurations operation.
pageNum := 0
err := client.ListDistributionConfigurationsPages(params,
    func(page *imagebuilder.ListDistributionConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListDistributionConfigurationsPagesWithContext

func (c *Imagebuilder) ListDistributionConfigurationsPagesWithContext(ctx aws.Context, input *ListDistributionConfigurationsInput, fn func(*ListDistributionConfigurationsOutput, bool) bool, opts ...request.Option) error

ListDistributionConfigurationsPagesWithContext same as ListDistributionConfigurationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListDistributionConfigurationsRequest

func (c *Imagebuilder) ListDistributionConfigurationsRequest(input *ListDistributionConfigurationsInput) (req *request.Request, output *ListDistributionConfigurationsOutput)

ListDistributionConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListDistributionConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDistributionConfigurations for more information on using the ListDistributionConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDistributionConfigurationsRequest method.
req, resp := client.ListDistributionConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations

func (*Imagebuilder) ListDistributionConfigurationsWithContext

func (c *Imagebuilder) ListDistributionConfigurationsWithContext(ctx aws.Context, input *ListDistributionConfigurationsInput, opts ...request.Option) (*ListDistributionConfigurationsOutput, error)

ListDistributionConfigurationsWithContext is the same as ListDistributionConfigurations with the addition of the ability to pass a context and additional request options.

See ListDistributionConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImageBuildVersions

func (c *Imagebuilder) ListImageBuildVersions(input *ListImageBuildVersionsInput) (*ListImageBuildVersionsOutput, error)

ListImageBuildVersions API operation for EC2 Image Builder.

Returns a list of image build versions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListImageBuildVersions for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions

func (*Imagebuilder) ListImageBuildVersionsPages

func (c *Imagebuilder) ListImageBuildVersionsPages(input *ListImageBuildVersionsInput, fn func(*ListImageBuildVersionsOutput, bool) bool) error

ListImageBuildVersionsPages iterates over the pages of a ListImageBuildVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImageBuildVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImageBuildVersions operation.
pageNum := 0
err := client.ListImageBuildVersionsPages(params,
    func(page *imagebuilder.ListImageBuildVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListImageBuildVersionsPagesWithContext

func (c *Imagebuilder) ListImageBuildVersionsPagesWithContext(ctx aws.Context, input *ListImageBuildVersionsInput, fn func(*ListImageBuildVersionsOutput, bool) bool, opts ...request.Option) error

ListImageBuildVersionsPagesWithContext same as ListImageBuildVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImageBuildVersionsRequest

func (c *Imagebuilder) ListImageBuildVersionsRequest(input *ListImageBuildVersionsInput) (req *request.Request, output *ListImageBuildVersionsOutput)

ListImageBuildVersionsRequest generates a "aws/request.Request" representing the client's request for the ListImageBuildVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImageBuildVersions for more information on using the ListImageBuildVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImageBuildVersionsRequest method.
req, resp := client.ListImageBuildVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions

func (*Imagebuilder) ListImageBuildVersionsWithContext

func (c *Imagebuilder) ListImageBuildVersionsWithContext(ctx aws.Context, input *ListImageBuildVersionsInput, opts ...request.Option) (*ListImageBuildVersionsOutput, error)

ListImageBuildVersionsWithContext is the same as ListImageBuildVersions with the addition of the ability to pass a context and additional request options.

See ListImageBuildVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImagePipelineImages

func (c *Imagebuilder) ListImagePipelineImages(input *ListImagePipelineImagesInput) (*ListImagePipelineImagesOutput, error)

ListImagePipelineImages API operation for EC2 Image Builder.

Returns a list of images created by the specified pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListImagePipelineImages for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages

func (*Imagebuilder) ListImagePipelineImagesPages

func (c *Imagebuilder) ListImagePipelineImagesPages(input *ListImagePipelineImagesInput, fn func(*ListImagePipelineImagesOutput, bool) bool) error

ListImagePipelineImagesPages iterates over the pages of a ListImagePipelineImages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImagePipelineImages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImagePipelineImages operation.
pageNum := 0
err := client.ListImagePipelineImagesPages(params,
    func(page *imagebuilder.ListImagePipelineImagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListImagePipelineImagesPagesWithContext

func (c *Imagebuilder) ListImagePipelineImagesPagesWithContext(ctx aws.Context, input *ListImagePipelineImagesInput, fn func(*ListImagePipelineImagesOutput, bool) bool, opts ...request.Option) error

ListImagePipelineImagesPagesWithContext same as ListImagePipelineImagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImagePipelineImagesRequest

func (c *Imagebuilder) ListImagePipelineImagesRequest(input *ListImagePipelineImagesInput) (req *request.Request, output *ListImagePipelineImagesOutput)

ListImagePipelineImagesRequest generates a "aws/request.Request" representing the client's request for the ListImagePipelineImages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImagePipelineImages for more information on using the ListImagePipelineImages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImagePipelineImagesRequest method.
req, resp := client.ListImagePipelineImagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages

func (*Imagebuilder) ListImagePipelineImagesWithContext

func (c *Imagebuilder) ListImagePipelineImagesWithContext(ctx aws.Context, input *ListImagePipelineImagesInput, opts ...request.Option) (*ListImagePipelineImagesOutput, error)

ListImagePipelineImagesWithContext is the same as ListImagePipelineImages with the addition of the ability to pass a context and additional request options.

See ListImagePipelineImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImagePipelines

func (c *Imagebuilder) ListImagePipelines(input *ListImagePipelinesInput) (*ListImagePipelinesOutput, error)

ListImagePipelines API operation for EC2 Image Builder.

Returns a list of image pipelines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListImagePipelines for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines

func (*Imagebuilder) ListImagePipelinesPages

func (c *Imagebuilder) ListImagePipelinesPages(input *ListImagePipelinesInput, fn func(*ListImagePipelinesOutput, bool) bool) error

ListImagePipelinesPages iterates over the pages of a ListImagePipelines operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImagePipelines method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImagePipelines operation.
pageNum := 0
err := client.ListImagePipelinesPages(params,
    func(page *imagebuilder.ListImagePipelinesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListImagePipelinesPagesWithContext

func (c *Imagebuilder) ListImagePipelinesPagesWithContext(ctx aws.Context, input *ListImagePipelinesInput, fn func(*ListImagePipelinesOutput, bool) bool, opts ...request.Option) error

ListImagePipelinesPagesWithContext same as ListImagePipelinesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImagePipelinesRequest

func (c *Imagebuilder) ListImagePipelinesRequest(input *ListImagePipelinesInput) (req *request.Request, output *ListImagePipelinesOutput)

ListImagePipelinesRequest generates a "aws/request.Request" representing the client's request for the ListImagePipelines operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImagePipelines for more information on using the ListImagePipelines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImagePipelinesRequest method.
req, resp := client.ListImagePipelinesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines

func (*Imagebuilder) ListImagePipelinesWithContext

func (c *Imagebuilder) ListImagePipelinesWithContext(ctx aws.Context, input *ListImagePipelinesInput, opts ...request.Option) (*ListImagePipelinesOutput, error)

ListImagePipelinesWithContext is the same as ListImagePipelines with the addition of the ability to pass a context and additional request options.

See ListImagePipelines for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImageRecipes

func (c *Imagebuilder) ListImageRecipes(input *ListImageRecipesInput) (*ListImageRecipesOutput, error)

ListImageRecipes API operation for EC2 Image Builder.

Returns a list of image recipes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListImageRecipes for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipes

func (*Imagebuilder) ListImageRecipesPages

func (c *Imagebuilder) ListImageRecipesPages(input *ListImageRecipesInput, fn func(*ListImageRecipesOutput, bool) bool) error

ListImageRecipesPages iterates over the pages of a ListImageRecipes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImageRecipes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImageRecipes operation.
pageNum := 0
err := client.ListImageRecipesPages(params,
    func(page *imagebuilder.ListImageRecipesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListImageRecipesPagesWithContext

func (c *Imagebuilder) ListImageRecipesPagesWithContext(ctx aws.Context, input *ListImageRecipesInput, fn func(*ListImageRecipesOutput, bool) bool, opts ...request.Option) error

ListImageRecipesPagesWithContext same as ListImageRecipesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImageRecipesRequest

func (c *Imagebuilder) ListImageRecipesRequest(input *ListImageRecipesInput) (req *request.Request, output *ListImageRecipesOutput)

ListImageRecipesRequest generates a "aws/request.Request" representing the client's request for the ListImageRecipes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImageRecipes for more information on using the ListImageRecipes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImageRecipesRequest method.
req, resp := client.ListImageRecipesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipes

func (*Imagebuilder) ListImageRecipesWithContext

func (c *Imagebuilder) ListImageRecipesWithContext(ctx aws.Context, input *ListImageRecipesInput, opts ...request.Option) (*ListImageRecipesOutput, error)

ListImageRecipesWithContext is the same as ListImageRecipes with the addition of the ability to pass a context and additional request options.

See ListImageRecipes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImages

func (c *Imagebuilder) ListImages(input *ListImagesInput) (*ListImagesOutput, error)

ListImages API operation for EC2 Image Builder.

Returns the list of images that you have access to.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListImages for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages

func (*Imagebuilder) ListImagesPages

func (c *Imagebuilder) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error

ListImagesPages iterates over the pages of a ListImages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImages operation.
pageNum := 0
err := client.ListImagesPages(params,
    func(page *imagebuilder.ListImagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListImagesPagesWithContext

func (c *Imagebuilder) ListImagesPagesWithContext(ctx aws.Context, input *ListImagesInput, fn func(*ListImagesOutput, bool) bool, opts ...request.Option) error

ListImagesPagesWithContext same as ListImagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListImagesRequest

func (c *Imagebuilder) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput)

ListImagesRequest generates a "aws/request.Request" representing the client's request for the ListImages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImages for more information on using the ListImages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImagesRequest method.
req, resp := client.ListImagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages

func (*Imagebuilder) ListImagesWithContext

func (c *Imagebuilder) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opts ...request.Option) (*ListImagesOutput, error)

ListImagesWithContext is the same as ListImages with the addition of the ability to pass a context and additional request options.

See ListImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListInfrastructureConfigurations

ListInfrastructureConfigurations API operation for EC2 Image Builder.

Returns a list of infrastructure configurations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListInfrastructureConfigurations for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidPaginationTokenException You have provided an invalid pagination token in your request.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations

func (*Imagebuilder) ListInfrastructureConfigurationsPages

func (c *Imagebuilder) ListInfrastructureConfigurationsPages(input *ListInfrastructureConfigurationsInput, fn func(*ListInfrastructureConfigurationsOutput, bool) bool) error

ListInfrastructureConfigurationsPages iterates over the pages of a ListInfrastructureConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInfrastructureConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListInfrastructureConfigurations operation.
pageNum := 0
err := client.ListInfrastructureConfigurationsPages(params,
    func(page *imagebuilder.ListInfrastructureConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Imagebuilder) ListInfrastructureConfigurationsPagesWithContext

func (c *Imagebuilder) ListInfrastructureConfigurationsPagesWithContext(ctx aws.Context, input *ListInfrastructureConfigurationsInput, fn func(*ListInfrastructureConfigurationsOutput, bool) bool, opts ...request.Option) error

ListInfrastructureConfigurationsPagesWithContext same as ListInfrastructureConfigurationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListInfrastructureConfigurationsRequest

func (c *Imagebuilder) ListInfrastructureConfigurationsRequest(input *ListInfrastructureConfigurationsInput) (req *request.Request, output *ListInfrastructureConfigurationsOutput)

ListInfrastructureConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListInfrastructureConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInfrastructureConfigurations for more information on using the ListInfrastructureConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInfrastructureConfigurationsRequest method.
req, resp := client.ListInfrastructureConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations

func (*Imagebuilder) ListInfrastructureConfigurationsWithContext

func (c *Imagebuilder) ListInfrastructureConfigurationsWithContext(ctx aws.Context, input *ListInfrastructureConfigurationsInput, opts ...request.Option) (*ListInfrastructureConfigurationsOutput, error)

ListInfrastructureConfigurationsWithContext is the same as ListInfrastructureConfigurations with the addition of the ability to pass a context and additional request options.

See ListInfrastructureConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) ListTagsForResource

func (c *Imagebuilder) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for EC2 Image Builder.

Returns the list of tags for the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource

func (*Imagebuilder) ListTagsForResourceRequest

func (c *Imagebuilder) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource

func (*Imagebuilder) ListTagsForResourceWithContext

func (c *Imagebuilder) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) PutComponentPolicy

func (c *Imagebuilder) PutComponentPolicy(input *PutComponentPolicyInput) (*PutComponentPolicyOutput, error)

PutComponentPolicy API operation for EC2 Image Builder.

Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation PutComponentPolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidParameterValueException The value that you provided for the specified parameter is invalid.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy

func (*Imagebuilder) PutComponentPolicyRequest

func (c *Imagebuilder) PutComponentPolicyRequest(input *PutComponentPolicyInput) (req *request.Request, output *PutComponentPolicyOutput)

PutComponentPolicyRequest generates a "aws/request.Request" representing the client's request for the PutComponentPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutComponentPolicy for more information on using the PutComponentPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutComponentPolicyRequest method.
req, resp := client.PutComponentPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy

func (*Imagebuilder) PutComponentPolicyWithContext

func (c *Imagebuilder) PutComponentPolicyWithContext(ctx aws.Context, input *PutComponentPolicyInput, opts ...request.Option) (*PutComponentPolicyOutput, error)

PutComponentPolicyWithContext is the same as PutComponentPolicy with the addition of the ability to pass a context and additional request options.

See PutComponentPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) PutContainerRecipePolicy added in v1.36.11

func (c *Imagebuilder) PutContainerRecipePolicy(input *PutContainerRecipePolicyInput) (*PutContainerRecipePolicyOutput, error)

PutContainerRecipePolicy API operation for EC2 Image Builder.

Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation PutContainerRecipePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidParameterValueException The value that you provided for the specified parameter is invalid.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy

func (*Imagebuilder) PutContainerRecipePolicyRequest added in v1.36.11

func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipePolicyInput) (req *request.Request, output *PutContainerRecipePolicyOutput)

PutContainerRecipePolicyRequest generates a "aws/request.Request" representing the client's request for the PutContainerRecipePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutContainerRecipePolicy for more information on using the PutContainerRecipePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutContainerRecipePolicyRequest method.
req, resp := client.PutContainerRecipePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy

func (*Imagebuilder) PutContainerRecipePolicyWithContext added in v1.36.11

func (c *Imagebuilder) PutContainerRecipePolicyWithContext(ctx aws.Context, input *PutContainerRecipePolicyInput, opts ...request.Option) (*PutContainerRecipePolicyOutput, error)

PutContainerRecipePolicyWithContext is the same as PutContainerRecipePolicy with the addition of the ability to pass a context and additional request options.

See PutContainerRecipePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) PutImagePolicy

func (c *Imagebuilder) PutImagePolicy(input *PutImagePolicyInput) (*PutImagePolicyOutput, error)

PutImagePolicy API operation for EC2 Image Builder.

Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation PutImagePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidParameterValueException The value that you provided for the specified parameter is invalid.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy

func (*Imagebuilder) PutImagePolicyRequest

func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *request.Request, output *PutImagePolicyOutput)

PutImagePolicyRequest generates a "aws/request.Request" representing the client's request for the PutImagePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutImagePolicy for more information on using the PutImagePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutImagePolicyRequest method.
req, resp := client.PutImagePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy

func (*Imagebuilder) PutImagePolicyWithContext

func (c *Imagebuilder) PutImagePolicyWithContext(ctx aws.Context, input *PutImagePolicyInput, opts ...request.Option) (*PutImagePolicyOutput, error)

PutImagePolicyWithContext is the same as PutImagePolicy with the addition of the ability to pass a context and additional request options.

See PutImagePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) PutImageRecipePolicy

func (c *Imagebuilder) PutImageRecipePolicy(input *PutImageRecipePolicyInput) (*PutImageRecipePolicyOutput, error)

PutImageRecipePolicy API operation for EC2 Image Builder.

Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation PutImageRecipePolicy for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • InvalidParameterValueException The value that you provided for the specified parameter is invalid.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy

func (*Imagebuilder) PutImageRecipePolicyRequest

func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) (req *request.Request, output *PutImageRecipePolicyOutput)

PutImageRecipePolicyRequest generates a "aws/request.Request" representing the client's request for the PutImageRecipePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutImageRecipePolicy for more information on using the PutImageRecipePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutImageRecipePolicyRequest method.
req, resp := client.PutImageRecipePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy

func (*Imagebuilder) PutImageRecipePolicyWithContext

func (c *Imagebuilder) PutImageRecipePolicyWithContext(ctx aws.Context, input *PutImageRecipePolicyInput, opts ...request.Option) (*PutImageRecipePolicyOutput, error)

PutImageRecipePolicyWithContext is the same as PutImageRecipePolicy with the addition of the ability to pass a context and additional request options.

See PutImageRecipePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) StartImagePipelineExecution

func (c *Imagebuilder) StartImagePipelineExecution(input *StartImagePipelineExecutionInput) (*StartImagePipelineExecutionOutput, error)

StartImagePipelineExecution API operation for EC2 Image Builder.

Manually triggers a pipeline to create an image.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation StartImagePipelineExecution for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution

func (*Imagebuilder) StartImagePipelineExecutionRequest

func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) (req *request.Request, output *StartImagePipelineExecutionOutput)

StartImagePipelineExecutionRequest generates a "aws/request.Request" representing the client's request for the StartImagePipelineExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartImagePipelineExecution for more information on using the StartImagePipelineExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartImagePipelineExecutionRequest method.
req, resp := client.StartImagePipelineExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution

func (*Imagebuilder) StartImagePipelineExecutionWithContext

func (c *Imagebuilder) StartImagePipelineExecutionWithContext(ctx aws.Context, input *StartImagePipelineExecutionInput, opts ...request.Option) (*StartImagePipelineExecutionOutput, error)

StartImagePipelineExecutionWithContext is the same as StartImagePipelineExecution with the addition of the ability to pass a context and additional request options.

See StartImagePipelineExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) TagResource

func (c *Imagebuilder) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for EC2 Image Builder.

Adds a tag to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation TagResource for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource

func (*Imagebuilder) TagResourceRequest

func (c *Imagebuilder) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource

func (*Imagebuilder) TagResourceWithContext

func (c *Imagebuilder) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) UntagResource

func (c *Imagebuilder) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for EC2 Image Builder.

Removes a tag from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation UntagResource for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.

  • ResourceNotFoundException At least one of the resources referenced by your request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource

func (*Imagebuilder) UntagResourceRequest

func (c *Imagebuilder) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource

func (*Imagebuilder) UntagResourceWithContext

func (c *Imagebuilder) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) UpdateDistributionConfiguration

UpdateDistributionConfiguration API operation for EC2 Image Builder.

Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation UpdateDistributionConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

  • InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration

func (*Imagebuilder) UpdateDistributionConfigurationRequest

func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) (req *request.Request, output *UpdateDistributionConfigurationOutput)

UpdateDistributionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateDistributionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDistributionConfiguration for more information on using the UpdateDistributionConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDistributionConfigurationRequest method.
req, resp := client.UpdateDistributionConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration

func (*Imagebuilder) UpdateDistributionConfigurationWithContext

func (c *Imagebuilder) UpdateDistributionConfigurationWithContext(ctx aws.Context, input *UpdateDistributionConfigurationInput, opts ...request.Option) (*UpdateDistributionConfigurationOutput, error)

UpdateDistributionConfigurationWithContext is the same as UpdateDistributionConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateDistributionConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) UpdateImagePipeline

func (c *Imagebuilder) UpdateImagePipeline(input *UpdateImagePipelineInput) (*UpdateImagePipelineOutput, error)

UpdateImagePipeline API operation for EC2 Image Builder.

Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation UpdateImagePipeline for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline

func (*Imagebuilder) UpdateImagePipelineRequest

func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) (req *request.Request, output *UpdateImagePipelineOutput)

UpdateImagePipelineRequest generates a "aws/request.Request" representing the client's request for the UpdateImagePipeline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateImagePipeline for more information on using the UpdateImagePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateImagePipelineRequest method.
req, resp := client.UpdateImagePipelineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline

func (*Imagebuilder) UpdateImagePipelineWithContext

func (c *Imagebuilder) UpdateImagePipelineWithContext(ctx aws.Context, input *UpdateImagePipelineInput, opts ...request.Option) (*UpdateImagePipelineOutput, error)

UpdateImagePipelineWithContext is the same as UpdateImagePipeline with the addition of the ability to pass a context and additional request options.

See UpdateImagePipeline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Imagebuilder) UpdateInfrastructureConfiguration

UpdateInfrastructureConfiguration 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for EC2 Image Builder's API operation UpdateInfrastructureConfiguration for usage and error information.

Returned Error Types:

  • ServiceException This exception is thrown when the service encounters an unrecoverable exception.

  • ClientException 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.

  • ServiceUnavailableException The service is unable to process your request at this time.

  • InvalidRequestException You have made a request for an action that is not supported by the service.

  • 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.

  • ForbiddenException You are not authorized to perform the requested operation.

  • CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.

  • ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration

func (*Imagebuilder) UpdateInfrastructureConfigurationRequest

func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) (req *request.Request, output *UpdateInfrastructureConfigurationOutput)

UpdateInfrastructureConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateInfrastructureConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateInfrastructureConfiguration for more information on using the UpdateInfrastructureConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateInfrastructureConfigurationRequest method.
req, resp := client.UpdateInfrastructureConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration

func (*Imagebuilder) UpdateInfrastructureConfigurationWithContext

func (c *Imagebuilder) UpdateInfrastructureConfigurationWithContext(ctx aws.Context, input *UpdateInfrastructureConfigurationInput, opts ...request.Option) (*UpdateInfrastructureConfigurationOutput, error)

UpdateInfrastructureConfigurationWithContext is the same as UpdateInfrastructureConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateInfrastructureConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

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 *string `locationName:"clientToken" min:"1" type:"string" 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 *string `locationName:"format" type:"string" required:"true" enum:"ComponentFormat"`

	// 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 *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`

	// 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 *string `locationName:"type" type:"string" required:"true" enum:"ComponentType"`

	// 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) GoString

func (s ImportComponentInput) GoString() string

GoString returns the string representation

func (*ImportComponentInput) SetChangeDescription

func (s *ImportComponentInput) SetChangeDescription(v string) *ImportComponentInput

SetChangeDescription sets the ChangeDescription field's value.

func (*ImportComponentInput) SetClientToken

func (s *ImportComponentInput) SetClientToken(v string) *ImportComponentInput

SetClientToken sets the ClientToken field's value.

func (*ImportComponentInput) SetData

SetData sets the Data field's value.

func (*ImportComponentInput) SetDescription

func (s *ImportComponentInput) SetDescription(v string) *ImportComponentInput

SetDescription sets the Description field's value.

func (*ImportComponentInput) SetFormat

SetFormat sets the Format field's value.

func (*ImportComponentInput) SetKmsKeyId

SetKmsKeyId sets the KmsKeyId field's value.

func (*ImportComponentInput) SetName

SetName sets the Name field's value.

func (*ImportComponentInput) SetPlatform

SetPlatform sets the Platform field's value.

func (*ImportComponentInput) SetSemanticVersion

func (s *ImportComponentInput) SetSemanticVersion(v string) *ImportComponentInput

SetSemanticVersion sets the SemanticVersion field's value.

func (*ImportComponentInput) SetTags

SetTags sets the Tags field's value.

func (*ImportComponentInput) SetType

SetType sets the Type field's value.

func (*ImportComponentInput) SetUri

SetUri sets the Uri field's value.

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) GoString

func (s ImportComponentOutput) GoString() string

GoString returns the string representation

func (*ImportComponentOutput) SetClientToken

func (s *ImportComponentOutput) SetClientToken(v string) *ImportComponentOutput

SetClientToken sets the ClientToken field's value.

func (*ImportComponentOutput) SetComponentBuildVersionArn

func (s *ImportComponentOutput) SetComponentBuildVersionArn(v string) *ImportComponentOutput

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (*ImportComponentOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ImportComponentOutput) String

func (s ImportComponentOutput) String() string

String returns the string representation

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 tags attached to the resource created by Image Builder.
	ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`

	// 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) GoString

func (s InfrastructureConfiguration) GoString() string

GoString returns the string representation

func (*InfrastructureConfiguration) SetArn

SetArn sets the Arn field's value.

func (*InfrastructureConfiguration) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*InfrastructureConfiguration) SetDateUpdated

SetDateUpdated sets the DateUpdated field's value.

func (*InfrastructureConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*InfrastructureConfiguration) SetInstanceProfileName

func (s *InfrastructureConfiguration) SetInstanceProfileName(v string) *InfrastructureConfiguration

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*InfrastructureConfiguration) SetInstanceTypes

SetInstanceTypes sets the InstanceTypes field's value.

func (*InfrastructureConfiguration) SetKeyPair

SetKeyPair sets the KeyPair field's value.

func (*InfrastructureConfiguration) SetLogging

SetLogging sets the Logging field's value.

func (*InfrastructureConfiguration) SetName

SetName sets the Name field's value.

func (*InfrastructureConfiguration) SetResourceTags added in v1.32.0

SetResourceTags sets the ResourceTags field's value.

func (*InfrastructureConfiguration) SetSecurityGroupIds

func (s *InfrastructureConfiguration) SetSecurityGroupIds(v []*string) *InfrastructureConfiguration

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*InfrastructureConfiguration) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*InfrastructureConfiguration) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*InfrastructureConfiguration) SetTags

SetTags sets the Tags field's value.

func (*InfrastructureConfiguration) SetTerminateInstanceOnFailure

func (s *InfrastructureConfiguration) SetTerminateInstanceOnFailure(v bool) *InfrastructureConfiguration

SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.

func (InfrastructureConfiguration) 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 attached to the image created by Image Builder.
	ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`

	// 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) GoString

GoString returns the string representation

func (*InfrastructureConfigurationSummary) SetArn

SetArn sets the Arn field's value.

func (*InfrastructureConfigurationSummary) SetDateCreated

SetDateCreated sets the DateCreated field's value.

func (*InfrastructureConfigurationSummary) SetDateUpdated

SetDateUpdated sets the DateUpdated field's value.

func (*InfrastructureConfigurationSummary) SetDescription

SetDescription sets the Description field's value.

func (*InfrastructureConfigurationSummary) SetName

SetName sets the Name field's value.

func (*InfrastructureConfigurationSummary) SetResourceTags added in v1.32.0

SetResourceTags sets the ResourceTags field's value.

func (*InfrastructureConfigurationSummary) SetTags

SetTags sets the Tags field's value.

func (InfrastructureConfigurationSummary) 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) GoString

func (s InstanceBlockDeviceMapping) GoString() string

GoString returns the string representation

func (*InstanceBlockDeviceMapping) SetDeviceName

SetDeviceName sets the DeviceName field's value.

func (*InstanceBlockDeviceMapping) SetEbs

SetEbs sets the Ebs field's value.

func (*InstanceBlockDeviceMapping) SetNoDevice

SetNoDevice sets the NoDevice field's value.

func (*InstanceBlockDeviceMapping) SetVirtualName

SetVirtualName sets the VirtualName field's value.

func (InstanceBlockDeviceMapping) 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 InvalidPaginationTokenException added in v1.28.0

type InvalidPaginationTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have provided an invalid pagination token in your request.

func (*InvalidPaginationTokenException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidPaginationTokenException) Error added in v1.28.0

func (InvalidPaginationTokenException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidPaginationTokenException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidPaginationTokenException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPaginationTokenException) RequestID added in v1.28.0

func (s *InvalidPaginationTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPaginationTokenException) StatusCode added in v1.28.0

func (s *InvalidPaginationTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPaginationTokenException) String added in v1.28.0

String returns the string representation

type InvalidParameterCombinationException added in v1.28.0

type InvalidParameterCombinationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have specified two or more mutually exclusive parameters. Review the error message for details.

func (*InvalidParameterCombinationException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidParameterCombinationException) Error added in v1.28.0

func (InvalidParameterCombinationException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidParameterCombinationException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidParameterCombinationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterCombinationException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*InvalidParameterCombinationException) StatusCode added in v1.28.0

func (s *InvalidParameterCombinationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterCombinationException) String added in v1.28.0

String returns the string representation

type InvalidParameterException added in v1.28.0

type InvalidParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified parameter is invalid. Review the available parameters for the API request.

func (*InvalidParameterException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidParameterException) Error added in v1.28.0

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString added in v1.28.0

func (s InvalidParameterException) GoString() string

GoString returns the string representation

func (*InvalidParameterException) Message added in v1.28.0

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr added in v1.28.0

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID added in v1.28.0

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode added in v1.28.0

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String added in v1.28.0

func (s InvalidParameterException) String() string

String returns the string representation

type InvalidParameterValueException added in v1.28.0

type InvalidParameterValueException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The value that you provided for the specified parameter is invalid.

func (*InvalidParameterValueException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidParameterValueException) Error added in v1.28.0

func (InvalidParameterValueException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidParameterValueException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidParameterValueException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterValueException) RequestID added in v1.28.0

func (s *InvalidParameterValueException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterValueException) StatusCode added in v1.28.0

func (s *InvalidParameterValueException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterValueException) String added in v1.28.0

String returns the string representation

type InvalidRequestException added in v1.28.0

type InvalidRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have made a request for an action that is not supported by the service.

func (*InvalidRequestException) Code added in v1.28.0

func (s *InvalidRequestException) Code() string

Code returns the exception type name.

func (*InvalidRequestException) Error added in v1.28.0

func (s *InvalidRequestException) Error() string

func (InvalidRequestException) GoString added in v1.28.0

func (s InvalidRequestException) GoString() string

GoString returns the string representation

func (*InvalidRequestException) Message added in v1.28.0

func (s *InvalidRequestException) Message() string

Message returns the exception's message.

func (*InvalidRequestException) OrigErr added in v1.28.0

func (s *InvalidRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRequestException) RequestID added in v1.28.0

func (s *InvalidRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRequestException) StatusCode added in v1.28.0

func (s *InvalidRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRequestException) String added in v1.28.0

func (s InvalidRequestException) String() string

String returns the string representation

type InvalidVersionNumberException added in v1.28.0

type InvalidVersionNumberException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your version number is out of bounds or does not follow the required syntax.

func (*InvalidVersionNumberException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidVersionNumberException) Error added in v1.28.0

func (InvalidVersionNumberException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidVersionNumberException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidVersionNumberException) OrigErr added in v1.28.0

func (s *InvalidVersionNumberException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidVersionNumberException) RequestID added in v1.28.0

func (s *InvalidVersionNumberException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidVersionNumberException) StatusCode added in v1.28.0

func (s *InvalidVersionNumberException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidVersionNumberException) String added in v1.28.0

String returns the string representation

type LaunchPermissionConfiguration

type LaunchPermissionConfiguration struct {

	// The name of the group.
	UserGroups []*string `locationName:"userGroups" type:"list"`

	// The AWS account ID.
	UserIds []*string `locationName:"userIds" min:"1" 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. To make an AMI public, set the launch permission authorized accounts to all. See the examples for making an AMI public at EC2 ModifyImageAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html).

func (LaunchPermissionConfiguration) GoString

GoString returns the string representation

func (*LaunchPermissionConfiguration) SetUserGroups

SetUserGroups sets the UserGroups field's value.

func (*LaunchPermissionConfiguration) SetUserIds

SetUserIds sets the UserIds field's value.

func (LaunchPermissionConfiguration) String

String returns the string representation

func (*LaunchPermissionConfiguration) Validate added in v1.35.0

func (s *LaunchPermissionConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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) GoString

GoString returns the string representation

func (*ListComponentBuildVersionsInput) SetComponentVersionArn

SetComponentVersionArn sets the ComponentVersionArn field's value.

func (*ListComponentBuildVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListComponentBuildVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListComponentBuildVersionsInput) 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) GoString

GoString returns the string representation

func (*ListComponentBuildVersionsOutput) SetComponentSummaryList

SetComponentSummaryList sets the ComponentSummaryList field's value.

func (*ListComponentBuildVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListComponentBuildVersionsOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListComponentBuildVersionsOutput) String

String returns the string representation

type ListComponentsInput

type ListComponentsInput struct {

	// Returns the list of component build versions for the specified semantic version.
	ByName *bool `locationName:"byName" type:"boolean"`

	// 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 *string `locationName:"owner" type:"string" enum:"Ownership"`
	// contains filtered or unexported fields
}

func (ListComponentsInput) GoString

func (s ListComponentsInput) GoString() string

GoString returns the string representation

func (*ListComponentsInput) SetByName added in v1.36.11

func (s *ListComponentsInput) SetByName(v bool) *ListComponentsInput

SetByName sets the ByName field's value.

func (*ListComponentsInput) SetFilters

func (s *ListComponentsInput) SetFilters(v []*Filter) *ListComponentsInput

SetFilters sets the Filters field's value.

func (*ListComponentsInput) SetMaxResults

func (s *ListComponentsInput) SetMaxResults(v int64) *ListComponentsInput

SetMaxResults sets the MaxResults field's value.

func (*ListComponentsInput) SetNextToken

func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput

SetNextToken sets the NextToken field's value.

func (*ListComponentsInput) SetOwner

SetOwner sets the Owner field's value.

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) GoString

func (s ListComponentsOutput) GoString() string

GoString returns the string representation

func (*ListComponentsOutput) SetComponentVersionList

func (s *ListComponentsOutput) SetComponentVersionList(v []*ComponentVersion) *ListComponentsOutput

SetComponentVersionList sets the ComponentVersionList field's value.

func (*ListComponentsOutput) SetNextToken

func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput

SetNextToken sets the NextToken field's value.

func (*ListComponentsOutput) SetRequestId

func (s *ListComponentsOutput) SetRequestId(v string) *ListComponentsOutput

SetRequestId sets the RequestId field's value.

func (ListComponentsOutput) String

func (s ListComponentsOutput) String() string

String returns the string representation

type ListContainerRecipesInput added in v1.36.11

type ListContainerRecipesInput struct {

	// Request filters that are used to narrow the list of container images that
	// are returned.
	Filters []*Filter `locationName:"filters" min:"1" type:"list"`

	// The maximum number of results to return in the list.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Provides a token for pagination, which determines where to begin the next
	// set of results when the current set reaches the maximum for one request.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// Returns container recipes belonging to the specified owner, that have been
	// shared with you. You can omit this field to return container recipes belonging
	// to your account.
	Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
	// contains filtered or unexported fields
}

func (ListContainerRecipesInput) GoString added in v1.36.11

func (s ListContainerRecipesInput) GoString() string

GoString returns the string representation

func (*ListContainerRecipesInput) SetFilters added in v1.36.11

SetFilters sets the Filters field's value.

func (*ListContainerRecipesInput) SetMaxResults added in v1.36.11

SetMaxResults sets the MaxResults field's value.

func (*ListContainerRecipesInput) SetNextToken added in v1.36.11

SetNextToken sets the NextToken field's value.

func (*ListContainerRecipesInput) SetOwner added in v1.36.11

SetOwner sets the Owner field's value.

func (ListContainerRecipesInput) String added in v1.36.11

func (s ListContainerRecipesInput) String() string

String returns the string representation

func (*ListContainerRecipesInput) Validate added in v1.36.11

func (s *ListContainerRecipesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListContainerRecipesOutput added in v1.36.11

type ListContainerRecipesOutput struct {

	// The list of container recipes returned for the request.
	ContainerRecipeSummaryList []*ContainerRecipeSummary `locationName:"containerRecipeSummaryList" type:"list"`

	// The next token field is used for paginated responses. When this is not empty,
	// there are additional container recipes that the service has not included
	// in this response. Use this token with the next request to retrieve additional
	// list items.
	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 (ListContainerRecipesOutput) GoString added in v1.36.11

func (s ListContainerRecipesOutput) GoString() string

GoString returns the string representation

func (*ListContainerRecipesOutput) SetContainerRecipeSummaryList added in v1.36.11

func (s *ListContainerRecipesOutput) SetContainerRecipeSummaryList(v []*ContainerRecipeSummary) *ListContainerRecipesOutput

SetContainerRecipeSummaryList sets the ContainerRecipeSummaryList field's value.

func (*ListContainerRecipesOutput) SetNextToken added in v1.36.11

SetNextToken sets the NextToken field's value.

func (*ListContainerRecipesOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (ListContainerRecipesOutput) String added in v1.36.11

String returns the string representation

type ListDistributionConfigurationsInput

type ListDistributionConfigurationsInput struct {

	// The filters.
	//
	//    * name - The name of this distribution configuration.
	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) GoString

GoString returns the string representation

func (*ListDistributionConfigurationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListDistributionConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDistributionConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDistributionConfigurationsInput) String

String returns the string representation

func (*ListDistributionConfigurationsInput) Validate

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) GoString

GoString returns the string representation

func (*ListDistributionConfigurationsOutput) SetDistributionConfigurationSummaryList

SetDistributionConfigurationSummaryList sets the DistributionConfigurationSummaryList field's value.

func (*ListDistributionConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDistributionConfigurationsOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListDistributionConfigurationsOutput) String

String returns the string representation

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) GoString

func (s ListImageBuildVersionsInput) GoString() string

GoString returns the string representation

func (*ListImageBuildVersionsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListImageBuildVersionsInput) SetImageVersionArn

SetImageVersionArn sets the ImageVersionArn field's value.

func (*ListImageBuildVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListImageBuildVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListImageBuildVersionsInput) 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) GoString

func (s ListImageBuildVersionsOutput) GoString() string

GoString returns the string representation

func (*ListImageBuildVersionsOutput) SetImageSummaryList

SetImageSummaryList sets the ImageSummaryList field's value.

func (*ListImageBuildVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImageBuildVersionsOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListImageBuildVersionsOutput) String

String returns the string representation

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) GoString

func (s ListImagePipelineImagesInput) GoString() string

GoString returns the string representation

func (*ListImagePipelineImagesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListImagePipelineImagesInput) SetImagePipelineArn

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*ListImagePipelineImagesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListImagePipelineImagesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListImagePipelineImagesInput) 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) GoString

GoString returns the string representation

func (*ListImagePipelineImagesOutput) SetImageSummaryList

SetImageSummaryList sets the ImageSummaryList field's value.

func (*ListImagePipelineImagesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImagePipelineImagesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListImagePipelineImagesOutput) String

String returns the string representation

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) GoString

func (s ListImagePipelinesInput) GoString() string

GoString returns the string representation

func (*ListImagePipelinesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListImagePipelinesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListImagePipelinesInput) SetNextToken

SetNextToken sets the NextToken field's value.

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) GoString

func (s ListImagePipelinesOutput) GoString() string

GoString returns the string representation

func (*ListImagePipelinesOutput) SetImagePipelineList

func (s *ListImagePipelinesOutput) SetImagePipelineList(v []*ImagePipeline) *ListImagePipelinesOutput

SetImagePipelineList sets the ImagePipelineList field's value.

func (*ListImagePipelinesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImagePipelinesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListImagePipelinesOutput) String

func (s ListImagePipelinesOutput) String() string

String returns the string representation

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 *string `locationName:"owner" type:"string" enum:"Ownership"`
	// contains filtered or unexported fields
}

func (ListImageRecipesInput) GoString

func (s ListImageRecipesInput) GoString() string

GoString returns the string representation

func (*ListImageRecipesInput) SetFilters

func (s *ListImageRecipesInput) SetFilters(v []*Filter) *ListImageRecipesInput

SetFilters sets the Filters field's value.

func (*ListImageRecipesInput) SetMaxResults

func (s *ListImageRecipesInput) SetMaxResults(v int64) *ListImageRecipesInput

SetMaxResults sets the MaxResults field's value.

func (*ListImageRecipesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImageRecipesInput) SetOwner

SetOwner sets the Owner field's value.

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) GoString

func (s ListImageRecipesOutput) GoString() string

GoString returns the string representation

func (*ListImageRecipesOutput) SetImageRecipeSummaryList

func (s *ListImageRecipesOutput) SetImageRecipeSummaryList(v []*ImageRecipeSummary) *ListImageRecipesOutput

SetImageRecipeSummaryList sets the ImageRecipeSummaryList field's value.

func (*ListImageRecipesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListImageRecipesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListImageRecipesOutput) String

func (s ListImageRecipesOutput) String() string

String returns the string representation

type ListImagesInput

type ListImagesInput struct {

	// Requests a list of images with a specific recipe name.
	ByName *bool `locationName:"byName" type:"boolean"`

	// The filters.
	Filters []*Filter `locationName:"filters" min:"1" type:"list"`

	// Includes deprecated images in the response list.
	IncludeDeprecated *bool `locationName:"includeDeprecated" type:"boolean"`

	// 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 *string `locationName:"owner" type:"string" enum:"Ownership"`
	// contains filtered or unexported fields
}

func (ListImagesInput) GoString

func (s ListImagesInput) GoString() string

GoString returns the string representation

func (*ListImagesInput) SetByName added in v1.36.11

func (s *ListImagesInput) SetByName(v bool) *ListImagesInput

SetByName sets the ByName field's value.

func (*ListImagesInput) SetFilters

func (s *ListImagesInput) SetFilters(v []*Filter) *ListImagesInput

SetFilters sets the Filters field's value.

func (*ListImagesInput) SetIncludeDeprecated added in v1.36.11

func (s *ListImagesInput) SetIncludeDeprecated(v bool) *ListImagesInput

SetIncludeDeprecated sets the IncludeDeprecated field's value.

func (*ListImagesInput) SetMaxResults

func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput

SetMaxResults sets the MaxResults field's value.

func (*ListImagesInput) SetNextToken

func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput

SetNextToken sets the NextToken field's value.

func (*ListImagesInput) SetOwner

func (s *ListImagesInput) SetOwner(v string) *ListImagesInput

SetOwner sets the Owner field's value.

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) GoString

func (s ListImagesOutput) GoString() string

GoString returns the string representation

func (*ListImagesOutput) SetImageVersionList

func (s *ListImagesOutput) SetImageVersionList(v []*ImageVersion) *ListImagesOutput

SetImageVersionList sets the ImageVersionList field's value.

func (*ListImagesOutput) SetNextToken

func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput

SetNextToken sets the NextToken field's value.

func (*ListImagesOutput) SetRequestId

func (s *ListImagesOutput) SetRequestId(v string) *ListImagesOutput

SetRequestId sets the RequestId field's value.

func (ListImagesOutput) String

func (s ListImagesOutput) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*ListInfrastructureConfigurationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListInfrastructureConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListInfrastructureConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListInfrastructureConfigurationsInput) String

String returns the string representation

func (*ListInfrastructureConfigurationsInput) Validate

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) GoString

GoString returns the string representation

func (*ListInfrastructureConfigurationsOutput) SetInfrastructureConfigurationSummaryList

SetInfrastructureConfigurationSummaryList sets the InfrastructureConfigurationSummaryList field's value.

func (*ListInfrastructureConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListInfrastructureConfigurationsOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ListInfrastructureConfigurationsOutput) String

String returns the string representation

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) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

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) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

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) GoString

func (s Logging) GoString() string

GoString returns the string representation

func (*Logging) SetS3Logs

func (s *Logging) SetS3Logs(v *S3Logs) *Logging

SetS3Logs sets the S3Logs field's value.

func (Logging) String

func (s Logging) String() string

String returns the string representation

func (*Logging) Validate

func (s *Logging) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OutputResources

type OutputResources struct {

	// The EC2 AMIs created by this image.
	Amis []*Ami `locationName:"amis" type:"list"`

	// Container images that the pipeline has generated and stored in the output
	// repository.
	Containers []*Container `locationName:"containers" type:"list"`
	// contains filtered or unexported fields
}

The resources produced by this image.

func (OutputResources) GoString

func (s OutputResources) GoString() string

GoString returns the string representation

func (*OutputResources) SetAmis

func (s *OutputResources) SetAmis(v []*Ami) *OutputResources

SetAmis sets the Amis field's value.

func (*OutputResources) SetContainers added in v1.36.11

func (s *OutputResources) SetContainers(v []*Container) *OutputResources

SetContainers sets the Containers field's value.

func (OutputResources) String

func (s OutputResources) String() string

String returns the string representation

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) GoString

func (s PutComponentPolicyInput) GoString() string

GoString returns the string representation

func (*PutComponentPolicyInput) SetComponentArn

SetComponentArn sets the ComponentArn field's value.

func (*PutComponentPolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

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) GoString

func (s PutComponentPolicyOutput) GoString() string

GoString returns the string representation

func (*PutComponentPolicyOutput) SetComponentArn

SetComponentArn sets the ComponentArn field's value.

func (*PutComponentPolicyOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (PutComponentPolicyOutput) String

func (s PutComponentPolicyOutput) String() string

String returns the string representation

type PutContainerRecipePolicyInput added in v1.36.11

type PutContainerRecipePolicyInput struct {

	// The Amazon Resource Name (ARN) of the container recipe that this policy should
	// be applied to.
	//
	// ContainerRecipeArn is a required field
	ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string" required:"true"`

	// The policy to apply to the container recipe.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutContainerRecipePolicyInput) GoString added in v1.36.11

GoString returns the string representation

func (*PutContainerRecipePolicyInput) SetContainerRecipeArn added in v1.36.11

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*PutContainerRecipePolicyInput) SetPolicy added in v1.36.11

SetPolicy sets the Policy field's value.

func (PutContainerRecipePolicyInput) String added in v1.36.11

String returns the string representation

func (*PutContainerRecipePolicyInput) Validate added in v1.36.11

func (s *PutContainerRecipePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutContainerRecipePolicyOutput added in v1.36.11

type PutContainerRecipePolicyOutput struct {

	// The Amazon Resource Name (ARN) of the container recipe that this policy was
	// applied to.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`

	// The request ID that uniquely identifies this request.
	RequestId *string `locationName:"requestId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutContainerRecipePolicyOutput) GoString added in v1.36.11

GoString returns the string representation

func (*PutContainerRecipePolicyOutput) SetContainerRecipeArn added in v1.36.11

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*PutContainerRecipePolicyOutput) SetRequestId added in v1.36.11

SetRequestId sets the RequestId field's value.

func (PutContainerRecipePolicyOutput) String added in v1.36.11

String returns the string representation

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) GoString

func (s PutImagePolicyInput) GoString() string

GoString returns the string representation

func (*PutImagePolicyInput) SetImageArn

func (s *PutImagePolicyInput) SetImageArn(v string) *PutImagePolicyInput

SetImageArn sets the ImageArn field's value.

func (*PutImagePolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

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) GoString

func (s PutImagePolicyOutput) GoString() string

GoString returns the string representation

func (*PutImagePolicyOutput) SetImageArn

SetImageArn sets the ImageArn field's value.

func (*PutImagePolicyOutput) SetRequestId

func (s *PutImagePolicyOutput) SetRequestId(v string) *PutImagePolicyOutput

SetRequestId sets the RequestId field's value.

func (PutImagePolicyOutput) String

func (s PutImagePolicyOutput) String() string

String returns the string representation

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) GoString

func (s PutImageRecipePolicyInput) GoString() string

GoString returns the string representation

func (*PutImageRecipePolicyInput) SetImageRecipeArn

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*PutImageRecipePolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

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) GoString

func (s PutImageRecipePolicyOutput) GoString() string

GoString returns the string representation

func (*PutImageRecipePolicyOutput) SetImageRecipeArn

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*PutImageRecipePolicyOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (PutImageRecipePolicyOutput) String

String returns the string representation

type ResourceAlreadyExistsException added in v1.28.0

type ResourceAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource that you are trying to create already exists.

func (*ResourceAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error added in v1.28.0

func (ResourceAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation

func (*ResourceAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID added in v1.28.0

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode added in v1.28.0

func (s *ResourceAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceAlreadyExistsException) String added in v1.28.0

String returns the string representation

type ResourceDependencyException added in v1.28.0

type ResourceDependencyException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

func (*ResourceDependencyException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceDependencyException) Error added in v1.28.0

func (ResourceDependencyException) GoString added in v1.28.0

func (s ResourceDependencyException) GoString() string

GoString returns the string representation

func (*ResourceDependencyException) Message added in v1.28.0

func (s *ResourceDependencyException) Message() string

Message returns the exception's message.

func (*ResourceDependencyException) OrigErr added in v1.28.0

func (s *ResourceDependencyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceDependencyException) RequestID added in v1.28.0

func (s *ResourceDependencyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceDependencyException) StatusCode added in v1.28.0

func (s *ResourceDependencyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceDependencyException) String added in v1.28.0

String returns the string representation

type ResourceInUseException added in v1.28.0

type ResourceInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource that you are trying to operate on is currently in use. Review the message details and retry later.

func (*ResourceInUseException) Code added in v1.28.0

func (s *ResourceInUseException) Code() string

Code returns the exception type name.

func (*ResourceInUseException) Error added in v1.28.0

func (s *ResourceInUseException) Error() string

func (ResourceInUseException) GoString added in v1.28.0

func (s ResourceInUseException) GoString() string

GoString returns the string representation

func (*ResourceInUseException) Message added in v1.28.0

func (s *ResourceInUseException) Message() string

Message returns the exception's message.

func (*ResourceInUseException) OrigErr added in v1.28.0

func (s *ResourceInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceInUseException) RequestID added in v1.28.0

func (s *ResourceInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceInUseException) StatusCode added in v1.28.0

func (s *ResourceInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceInUseException) String added in v1.28.0

func (s ResourceInUseException) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

At least one of the resources referenced by your request does not exist.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

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) GoString

func (s S3Logs) GoString() string

GoString returns the string representation

func (*S3Logs) SetS3BucketName

func (s *S3Logs) SetS3BucketName(v string) *S3Logs

SetS3BucketName sets the S3BucketName field's value.

func (*S3Logs) SetS3KeyPrefix

func (s *S3Logs) SetS3KeyPrefix(v string) *S3Logs

SetS3KeyPrefix sets the S3KeyPrefix field's value.

func (S3Logs) String

func (s S3Logs) String() string

String returns the string representation

func (*S3Logs) Validate

func (s *S3Logs) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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,
	// and you use semantic version filters on the source image or components in
	// your image recipe, EC2 Image Builder will build a new image only when there
	// are new versions of the image or components in your recipe that match the
	// semantic version filter. When it is set to EXPRESSION_MATCH_ONLY, it will
	// build a new image every time the CRON expression matches the current time.
	// For semantic version syntax, see CreateComponent (https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html)
	// in the EC2 Image Builder API Reference.
	PipelineExecutionStartCondition *string `locationName:"pipelineExecutionStartCondition" type:"string" enum:"PipelineExecutionStartCondition"`

	// The cron expression determines how often EC2 Image Builder evaluates your
	// pipelineExecutionStartCondition.
	//
	// For information on how to format a cron expression in Image Builder, see
	// Use cron expressions in EC2 Image Builder (https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html).
	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) GoString

func (s Schedule) GoString() string

GoString returns the string representation

func (*Schedule) SetPipelineExecutionStartCondition

func (s *Schedule) SetPipelineExecutionStartCondition(v string) *Schedule

SetPipelineExecutionStartCondition sets the PipelineExecutionStartCondition field's value.

func (*Schedule) SetScheduleExpression

func (s *Schedule) SetScheduleExpression(v string) *Schedule

SetScheduleExpression sets the ScheduleExpression field's value.

func (Schedule) String

func (s Schedule) String() string

String returns the string representation

func (*Schedule) Validate

func (s *Schedule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ServiceException added in v1.28.0

type ServiceException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

This exception is thrown when the service encounters an unrecoverable exception.

func (*ServiceException) Code added in v1.28.0

func (s *ServiceException) Code() string

Code returns the exception type name.

func (*ServiceException) Error added in v1.28.0

func (s *ServiceException) Error() string

func (ServiceException) GoString added in v1.28.0

func (s ServiceException) GoString() string

GoString returns the string representation

func (*ServiceException) Message added in v1.28.0

func (s *ServiceException) Message() string

Message returns the exception's message.

func (*ServiceException) OrigErr added in v1.28.0

func (s *ServiceException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceException) RequestID added in v1.28.0

func (s *ServiceException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceException) StatusCode added in v1.28.0

func (s *ServiceException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceException) String added in v1.28.0

func (s ServiceException) String() string

String returns the string representation

type ServiceQuotaExceededException added in v1.32.0

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).

func (*ServiceQuotaExceededException) Code added in v1.32.0

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error added in v1.32.0

func (ServiceQuotaExceededException) GoString added in v1.32.0

GoString returns the string representation

func (*ServiceQuotaExceededException) Message added in v1.32.0

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr added in v1.32.0

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID added in v1.32.0

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode added in v1.32.0

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String added in v1.32.0

String returns the string representation

type ServiceUnavailableException added in v1.28.0

type ServiceUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The service is unable to process your request at this time.

func (*ServiceUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceUnavailableException) Error added in v1.28.0

func (ServiceUnavailableException) GoString added in v1.28.0

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message added in v1.28.0

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr added in v1.28.0

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID added in v1.28.0

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode added in v1.28.0

func (s *ServiceUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceUnavailableException) String added in v1.28.0

String returns the string representation

type StartImagePipelineExecutionInput

type StartImagePipelineExecutionInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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) GoString

GoString returns the string representation

func (*StartImagePipelineExecutionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*StartImagePipelineExecutionInput) SetImagePipelineArn

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (StartImagePipelineExecutionInput) String

String returns the string representation

func (*StartImagePipelineExecutionInput) Validate

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) GoString

GoString returns the string representation

func (*StartImagePipelineExecutionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*StartImagePipelineExecutionOutput) SetImageBuildVersionArn

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*StartImagePipelineExecutionOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (StartImagePipelineExecutionOutput) String

String returns the string representation

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) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

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) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TargetContainerRepository added in v1.36.11

type TargetContainerRepository struct {

	// The name of the container repository where the output container image is
	// stored. This name is prefixed by the repository location.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// Specifies the service in which this image was registered.
	//
	// Service is a required field
	Service *string `locationName:"service" type:"string" required:"true" enum:"ContainerRepositoryService"`
	// contains filtered or unexported fields
}

The container repository where the output container image is stored.

func (TargetContainerRepository) GoString added in v1.36.11

func (s TargetContainerRepository) GoString() string

GoString returns the string representation

func (*TargetContainerRepository) SetRepositoryName added in v1.36.11

SetRepositoryName sets the RepositoryName field's value.

func (*TargetContainerRepository) SetService added in v1.36.11

SetService sets the Service field's value.

func (TargetContainerRepository) String added in v1.36.11

func (s TargetContainerRepository) String() string

String returns the string representation

func (*TargetContainerRepository) Validate added in v1.36.11

func (s *TargetContainerRepository) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

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) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateDistributionConfigurationInput

type UpdateDistributionConfigurationInput struct {

	// The idempotency token of the distribution configuration.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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) GoString

GoString returns the string representation

func (*UpdateDistributionConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateDistributionConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDistributionConfigurationInput) SetDistributionConfigurationArn

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*UpdateDistributionConfigurationInput) SetDistributions

SetDistributions sets the Distributions field's value.

func (UpdateDistributionConfigurationInput) String

String returns the string representation

func (*UpdateDistributionConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*UpdateDistributionConfigurationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateDistributionConfigurationOutput) SetDistributionConfigurationArn

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*UpdateDistributionConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (UpdateDistributionConfigurationOutput) String

String returns the string representation

type UpdateImagePipelineInput

type UpdateImagePipelineInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the container pipeline to update.
	ContainerRecipeArn *string `locationName:"containerRecipeArn" 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 that will
	// be used to configure and distribute images updated by this image pipeline.
	DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

	// Collects additional information about the image being created, including
	// the operating system (OS) version and package list. This information is used
	// to enhance the overall experience of using EC2 Image Builder. Enabled by
	// default.
	EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`

	// 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 *string `locationName:"imageRecipeArn" type:"string"`

	// 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 *string `locationName:"status" type:"string" enum:"PipelineStatus"`
	// contains filtered or unexported fields
}

func (UpdateImagePipelineInput) GoString

func (s UpdateImagePipelineInput) GoString() string

GoString returns the string representation

func (*UpdateImagePipelineInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateImagePipelineInput) SetContainerRecipeArn added in v1.36.11

func (s *UpdateImagePipelineInput) SetContainerRecipeArn(v string) *UpdateImagePipelineInput

SetContainerRecipeArn sets the ContainerRecipeArn field's value.

func (*UpdateImagePipelineInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateImagePipelineInput) SetDistributionConfigurationArn

func (s *UpdateImagePipelineInput) SetDistributionConfigurationArn(v string) *UpdateImagePipelineInput

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*UpdateImagePipelineInput) SetEnhancedImageMetadataEnabled added in v1.30.8

func (s *UpdateImagePipelineInput) SetEnhancedImageMetadataEnabled(v bool) *UpdateImagePipelineInput

SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.

func (*UpdateImagePipelineInput) SetImagePipelineArn

func (s *UpdateImagePipelineInput) SetImagePipelineArn(v string) *UpdateImagePipelineInput

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*UpdateImagePipelineInput) SetImageRecipeArn

func (s *UpdateImagePipelineInput) SetImageRecipeArn(v string) *UpdateImagePipelineInput

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*UpdateImagePipelineInput) SetImageTestsConfiguration

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*UpdateImagePipelineInput) SetInfrastructureConfigurationArn

func (s *UpdateImagePipelineInput) SetInfrastructureConfigurationArn(v string) *UpdateImagePipelineInput

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*UpdateImagePipelineInput) SetSchedule

SetSchedule sets the Schedule field's value.

func (*UpdateImagePipelineInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s UpdateImagePipelineOutput) GoString() string

GoString returns the string representation

func (*UpdateImagePipelineOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateImagePipelineOutput) SetImagePipelineArn

func (s *UpdateImagePipelineOutput) SetImagePipelineArn(v string) *UpdateImagePipelineOutput

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*UpdateImagePipelineOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (UpdateImagePipelineOutput) String

func (s UpdateImagePipelineOutput) String() string

String returns the string representation

type UpdateInfrastructureConfigurationInput

type UpdateInfrastructureConfigurationInput struct {

	// The idempotency token used to make this request idempotent.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" 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 tags attached to the resource created by Image Builder.
	ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`

	// 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) GoString

GoString returns the string representation

func (*UpdateInfrastructureConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateInfrastructureConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateInfrastructureConfigurationInput) SetInfrastructureConfigurationArn

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*UpdateInfrastructureConfigurationInput) SetInstanceProfileName

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*UpdateInfrastructureConfigurationInput) SetInstanceTypes

SetInstanceTypes sets the InstanceTypes field's value.

func (*UpdateInfrastructureConfigurationInput) SetKeyPair

SetKeyPair sets the KeyPair field's value.

func (*UpdateInfrastructureConfigurationInput) SetLogging

SetLogging sets the Logging field's value.

func (*UpdateInfrastructureConfigurationInput) SetResourceTags added in v1.32.0

SetResourceTags sets the ResourceTags field's value.

func (*UpdateInfrastructureConfigurationInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*UpdateInfrastructureConfigurationInput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*UpdateInfrastructureConfigurationInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*UpdateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure

SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.

func (UpdateInfrastructureConfigurationInput) String

String returns the string representation

func (*UpdateInfrastructureConfigurationInput) Validate

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) GoString

GoString returns the string representation

func (*UpdateInfrastructureConfigurationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*UpdateInfrastructureConfigurationOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (UpdateInfrastructureConfigurationOutput) String

String returns the string representation

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL