aws-sdk-go: github.com/aws/aws-sdk-go/service/imagebuilder Index | Files | Directories

package imagebuilder

import "github.com/aws/aws-sdk-go/service/imagebuilder"

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

Package Files

api.go doc.go errors.go service.go

Constants

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

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

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

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

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

    // EbsVolumeTypeSt1 is a EbsVolumeType enum value
    EbsVolumeTypeSt1 = "st1"
)
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"
)
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"
)
const (
    // PipelineExecutionStartConditionExpressionMatchOnly is a PipelineExecutionStartCondition enum value
    PipelineExecutionStartConditionExpressionMatchOnly = "EXPRESSION_MATCH_ONLY"

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

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

    // PlatformLinux is a Platform enum value
    PlatformLinux = "Linux"
)
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"

    // ErrCodeServiceUnavailableException for service response error code
    // "ServiceUnavailableException".
    //
    // The service is unable to process your request at this time.
    ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)
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

const (
    // ComponentFormatShell is a ComponentFormat enum value
    ComponentFormatShell = "SHELL"
)

type Ami Uses

type Ami struct {

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

    // The AMI ID of the EC2 AMI.
    Image *string `locationName:"image" min:"1" type:"string"`

    // The name of the EC2 AMI.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The AWS Region of the EC2 AMI.
    Region *string `locationName:"region" min:"1" type:"string"`

    // Image state shows the image status and the reason for that status.
    State *ImageState `locationName:"state" type:"structure"`
    // contains filtered or unexported fields
}

Details of an EC2 AMI.

func (Ami) GoString Uses

func (s Ami) GoString() string

GoString returns the string representation

func (*Ami) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Ami) SetImage Uses

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

SetImage sets the Image field's value.

func (*Ami) SetName Uses

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

SetName sets the Name field's value.

func (*Ami) SetRegion Uses

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

SetRegion sets the Region field's value.

func (*Ami) SetState Uses

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

SetState sets the State field's value.

func (Ami) String Uses

func (s Ami) String() string

String returns the string representation

type AmiDistributionConfiguration Uses

type AmiDistributionConfiguration struct {

    // The tags to apply to AMIs distributed to this Region.
    AmiTags map[string]*string `locationName:"amiTags" min:"1" type:"map"`

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

    // Launch permissions can be used to configure which AWS accounts can use the
    // AMI to launch instances.
    LaunchPermission *LaunchPermissionConfiguration `locationName:"launchPermission" type:"structure"`

    // The name of the distribution configuration.
    Name *string `locationName:"name" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Define and configure the output AMIs of the pipeline.

func (AmiDistributionConfiguration) GoString Uses

func (s AmiDistributionConfiguration) GoString() string

GoString returns the string representation

func (*AmiDistributionConfiguration) SetAmiTags Uses

func (s *AmiDistributionConfiguration) SetAmiTags(v map[string]*string) *AmiDistributionConfiguration

SetAmiTags sets the AmiTags field's value.

func (*AmiDistributionConfiguration) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*AmiDistributionConfiguration) SetLaunchPermission Uses

func (s *AmiDistributionConfiguration) SetLaunchPermission(v *LaunchPermissionConfiguration) *AmiDistributionConfiguration

SetLaunchPermission sets the LaunchPermission field's value.

func (*AmiDistributionConfiguration) SetName Uses

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

SetName sets the Name field's value.

func (AmiDistributionConfiguration) String Uses

func (s AmiDistributionConfiguration) String() string

String returns the string representation

func (*AmiDistributionConfiguration) Validate Uses

func (s *AmiDistributionConfiguration) Validate() error

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

type CallRateLimitExceededException Uses

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 Uses

func (s *CallRateLimitExceededException) Code() string

Code returns the exception type name.

func (*CallRateLimitExceededException) Error Uses

func (s *CallRateLimitExceededException) Error() string

func (CallRateLimitExceededException) GoString Uses

func (s CallRateLimitExceededException) GoString() string

GoString returns the string representation

func (*CallRateLimitExceededException) Message Uses

func (s *CallRateLimitExceededException) Message() string

Message returns the exception's message.

func (*CallRateLimitExceededException) OrigErr Uses

func (s *CallRateLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CallRateLimitExceededException) RequestID Uses

func (s *CallRateLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CallRateLimitExceededException) StatusCode Uses

func (s *CallRateLimitExceededException) StatusCode() int

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

func (CallRateLimitExceededException) String Uses

func (s CallRateLimitExceededException) String() string

String returns the string representation

type CancelImageCreationInput Uses

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 Uses

func (s CancelImageCreationInput) GoString() string

GoString returns the string representation

func (*CancelImageCreationInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CancelImageCreationInput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (CancelImageCreationInput) String Uses

func (s CancelImageCreationInput) String() string

String returns the string representation

func (*CancelImageCreationInput) Validate Uses

func (s *CancelImageCreationInput) Validate() error

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

type CancelImageCreationOutput Uses

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 Uses

func (s CancelImageCreationOutput) GoString() string

GoString returns the string representation

func (*CancelImageCreationOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CancelImageCreationOutput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*CancelImageCreationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CancelImageCreationOutput) String Uses

func (s CancelImageCreationOutput) String() string

String returns the string representation

type ClientException Uses

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 Uses

func (s *ClientException) Code() string

Code returns the exception type name.

func (*ClientException) Error Uses

func (s *ClientException) Error() string

func (ClientException) GoString Uses

func (s ClientException) GoString() string

GoString returns the string representation

func (*ClientException) Message Uses

func (s *ClientException) Message() string

Message returns the exception's message.

func (*ClientException) OrigErr Uses

func (s *ClientException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ClientException) RequestID Uses

func (s *ClientException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ClientException) StatusCode Uses

func (s *ClientException) StatusCode() int

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

func (ClientException) String Uses

func (s ClientException) String() string

String returns the string representation

type Component Uses

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 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 Uses

func (s Component) GoString() string

GoString returns the string representation

func (*Component) SetArn Uses

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

SetArn sets the Arn field's value.

func (*Component) SetChangeDescription Uses

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

SetChangeDescription sets the ChangeDescription field's value.

func (*Component) SetData Uses

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

SetData sets the Data field's value.

func (*Component) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*Component) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Component) SetEncrypted Uses

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

SetEncrypted sets the Encrypted field's value.

func (*Component) SetKmsKeyId Uses

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*Component) SetName Uses

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

SetName sets the Name field's value.

func (*Component) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*Component) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*Component) SetTags Uses

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

SetTags sets the Tags field's value.

func (*Component) SetType Uses

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

SetType sets the Type field's value.

func (*Component) SetVersion Uses

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

SetVersion sets the Version field's value.

func (Component) String Uses

func (s Component) String() string

String returns the string representation

type ComponentConfiguration Uses

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 Uses

func (s ComponentConfiguration) GoString() string

GoString returns the string representation

func (*ComponentConfiguration) SetComponentArn Uses

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

SetComponentArn sets the ComponentArn field's value.

func (ComponentConfiguration) String Uses

func (s ComponentConfiguration) String() string

String returns the string representation

func (*ComponentConfiguration) Validate Uses

func (s *ComponentConfiguration) Validate() error

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

type ComponentSummary Uses

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 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 Uses

func (s ComponentSummary) GoString() string

GoString returns the string representation

func (*ComponentSummary) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ComponentSummary) SetChangeDescription Uses

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

SetChangeDescription sets the ChangeDescription field's value.

func (*ComponentSummary) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ComponentSummary) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ComponentSummary) SetName Uses

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

SetName sets the Name field's value.

func (*ComponentSummary) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ComponentSummary) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ComponentSummary) SetTags Uses

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

SetTags sets the Tags field's value.

func (*ComponentSummary) SetType Uses

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

SetType sets the Type field's value.

func (*ComponentSummary) SetVersion Uses

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

SetVersion sets the Version field's value.

func (ComponentSummary) String Uses

func (s ComponentSummary) String() string

String returns the string representation

type ComponentVersion Uses

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 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 Uses

func (s ComponentVersion) GoString() string

GoString returns the string representation

func (*ComponentVersion) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ComponentVersion) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ComponentVersion) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ComponentVersion) SetName Uses

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

SetName sets the Name field's value.

func (*ComponentVersion) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ComponentVersion) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ComponentVersion) SetType Uses

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

SetType sets the Type field's value.

func (*ComponentVersion) SetVersion Uses

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

SetVersion sets the Version field's value.

func (ComponentVersion) String Uses

func (s ComponentVersion) String() string

String returns the string representation

type CreateComponentInput Uses

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 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 Uses

func (s CreateComponentInput) GoString() string

GoString returns the string representation

func (*CreateComponentInput) SetChangeDescription Uses

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

SetChangeDescription sets the ChangeDescription field's value.

func (*CreateComponentInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateComponentInput) SetData Uses

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

SetData sets the Data field's value.

func (*CreateComponentInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateComponentInput) SetKmsKeyId Uses

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateComponentInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateComponentInput) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*CreateComponentInput) SetSemanticVersion Uses

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

SetSemanticVersion sets the SemanticVersion field's value.

func (*CreateComponentInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (*CreateComponentInput) SetUri Uses

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

SetUri sets the Uri field's value.

func (CreateComponentInput) String Uses

func (s CreateComponentInput) String() string

String returns the string representation

func (*CreateComponentInput) Validate Uses

func (s *CreateComponentInput) Validate() error

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

type CreateComponentOutput Uses

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 Uses

func (s CreateComponentOutput) GoString() string

GoString returns the string representation

func (*CreateComponentOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateComponentOutput) SetComponentBuildVersionArn Uses

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

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (*CreateComponentOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateComponentOutput) String Uses

func (s CreateComponentOutput) String() string

String returns the string representation

type CreateDistributionConfigurationInput Uses

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 Uses

func (s CreateDistributionConfigurationInput) GoString() string

GoString returns the string representation

func (*CreateDistributionConfigurationInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateDistributionConfigurationInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateDistributionConfigurationInput) SetDistributions Uses

func (s *CreateDistributionConfigurationInput) SetDistributions(v []*Distribution) *CreateDistributionConfigurationInput

SetDistributions sets the Distributions field's value.

func (*CreateDistributionConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateDistributionConfigurationInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateDistributionConfigurationInput) String Uses

func (s CreateDistributionConfigurationInput) String() string

String returns the string representation

func (*CreateDistributionConfigurationInput) Validate Uses

func (s *CreateDistributionConfigurationInput) Validate() error

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

type CreateDistributionConfigurationOutput Uses

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 Uses

func (s CreateDistributionConfigurationOutput) GoString() string

GoString returns the string representation

func (*CreateDistributionConfigurationOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateDistributionConfigurationOutput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateDistributionConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateDistributionConfigurationOutput) String Uses

func (s CreateDistributionConfigurationOutput) String() string

String returns the string representation

type CreateImageInput Uses

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 distribution configuration that defines
    // and configures the outputs of your pipeline.
    DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

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

    // The image tests configuration of the image.
    ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`

    // The Amazon Resource Name (ARN) of the infrastructure configuration that defines
    // the environment in which your image will be built and tested.
    //
    // InfrastructureConfigurationArn is a required field
    InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`

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

func (CreateImageInput) GoString Uses

func (s CreateImageInput) GoString() string

GoString returns the string representation

func (*CreateImageInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImageInput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateImageInput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImageInput) SetImageTestsConfiguration Uses

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

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*CreateImageInput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateImageInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateImageInput) String Uses

func (s CreateImageInput) String() string

String returns the string representation

func (*CreateImageInput) Validate Uses

func (s *CreateImageInput) Validate() error

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

type CreateImageOutput Uses

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 Uses

func (s CreateImageOutput) GoString() string

GoString returns the string representation

func (*CreateImageOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImageOutput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*CreateImageOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateImageOutput) String Uses

func (s CreateImageOutput) String() string

String returns the string representation

type CreateImagePipelineInput Uses

type CreateImagePipelineInput struct {

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

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

    // The Amazon Resource Name (ARN) of the distribution configuration that will
    // be used to configure and distribute images created by this image pipeline.
    DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

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

    // The image test configuration of the image pipeline.
    ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`

    // The Amazon Resource Name (ARN) of the infrastructure configuration that will
    // be used to build images created by this image pipeline.
    //
    // InfrastructureConfigurationArn is a required field
    InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`

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

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

    // The status of the image pipeline.
    Status *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 Uses

func (s CreateImagePipelineInput) GoString() string

GoString returns the string representation

func (*CreateImagePipelineInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImagePipelineInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateImagePipelineInput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*CreateImagePipelineInput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImagePipelineInput) SetImageTestsConfiguration Uses

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

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*CreateImagePipelineInput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateImagePipelineInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateImagePipelineInput) SetSchedule Uses

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

SetSchedule sets the Schedule field's value.

func (*CreateImagePipelineInput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CreateImagePipelineInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateImagePipelineInput) String Uses

func (s CreateImagePipelineInput) String() string

String returns the string representation

func (*CreateImagePipelineInput) Validate Uses

func (s *CreateImagePipelineInput) Validate() error

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

type CreateImagePipelineOutput Uses

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 Uses

func (s CreateImagePipelineOutput) GoString() string

GoString returns the string representation

func (*CreateImagePipelineOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImagePipelineOutput) SetImagePipelineArn Uses

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

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*CreateImagePipelineOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateImagePipelineOutput) String Uses

func (s CreateImagePipelineOutput) String() string

String returns the string representation

type CreateImageRecipeInput Uses

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.
    //
    // ParentImage is a required field
    ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`

    // The semantic version of the image recipe.
    //
    // SemanticVersion is a required field
    SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`

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

func (CreateImageRecipeInput) GoString Uses

func (s CreateImageRecipeInput) GoString() string

GoString returns the string representation

func (*CreateImageRecipeInput) SetBlockDeviceMappings Uses

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

SetBlockDeviceMappings sets the BlockDeviceMappings field's value.

func (*CreateImageRecipeInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImageRecipeInput) SetComponents Uses

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

SetComponents sets the Components field's value.

func (*CreateImageRecipeInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateImageRecipeInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateImageRecipeInput) SetParentImage Uses

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

SetParentImage sets the ParentImage field's value.

func (*CreateImageRecipeInput) SetSemanticVersion Uses

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

SetSemanticVersion sets the SemanticVersion field's value.

func (*CreateImageRecipeInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (CreateImageRecipeInput) String Uses

func (s CreateImageRecipeInput) String() string

String returns the string representation

func (*CreateImageRecipeInput) Validate Uses

func (s *CreateImageRecipeInput) Validate() error

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

type CreateImageRecipeOutput Uses

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 Uses

func (s CreateImageRecipeOutput) GoString() string

GoString returns the string representation

func (*CreateImageRecipeOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateImageRecipeOutput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*CreateImageRecipeOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateImageRecipeOutput) String Uses

func (s CreateImageRecipeOutput) String() string

String returns the string representation

type CreateInfrastructureConfigurationInput Uses

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 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 Uses

func (s CreateInfrastructureConfigurationInput) GoString() string

GoString returns the string representation

func (*CreateInfrastructureConfigurationInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateInfrastructureConfigurationInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateInfrastructureConfigurationInput) SetInstanceProfileName Uses

func (s *CreateInfrastructureConfigurationInput) SetInstanceProfileName(v string) *CreateInfrastructureConfigurationInput

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*CreateInfrastructureConfigurationInput) SetInstanceTypes Uses

func (s *CreateInfrastructureConfigurationInput) SetInstanceTypes(v []*string) *CreateInfrastructureConfigurationInput

SetInstanceTypes sets the InstanceTypes field's value.

func (*CreateInfrastructureConfigurationInput) SetKeyPair Uses

func (s *CreateInfrastructureConfigurationInput) SetKeyPair(v string) *CreateInfrastructureConfigurationInput

SetKeyPair sets the KeyPair field's value.

func (*CreateInfrastructureConfigurationInput) SetLogging Uses

func (s *CreateInfrastructureConfigurationInput) SetLogging(v *Logging) *CreateInfrastructureConfigurationInput

SetLogging sets the Logging field's value.

func (*CreateInfrastructureConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateInfrastructureConfigurationInput) SetSecurityGroupIds Uses

func (s *CreateInfrastructureConfigurationInput) SetSecurityGroupIds(v []*string) *CreateInfrastructureConfigurationInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateInfrastructureConfigurationInput) SetSnsTopicArn Uses

func (s *CreateInfrastructureConfigurationInput) SetSnsTopicArn(v string) *CreateInfrastructureConfigurationInput

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*CreateInfrastructureConfigurationInput) SetSubnetId Uses

func (s *CreateInfrastructureConfigurationInput) SetSubnetId(v string) *CreateInfrastructureConfigurationInput

SetSubnetId sets the SubnetId field's value.

func (*CreateInfrastructureConfigurationInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (*CreateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure Uses

func (s *CreateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure(v bool) *CreateInfrastructureConfigurationInput

SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.

func (CreateInfrastructureConfigurationInput) String Uses

func (s CreateInfrastructureConfigurationInput) String() string

String returns the string representation

func (*CreateInfrastructureConfigurationInput) Validate Uses

func (s *CreateInfrastructureConfigurationInput) Validate() error

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

type CreateInfrastructureConfigurationOutput Uses

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 Uses

func (s CreateInfrastructureConfigurationOutput) GoString() string

GoString returns the string representation

func (*CreateInfrastructureConfigurationOutput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*CreateInfrastructureConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (CreateInfrastructureConfigurationOutput) String Uses

func (s CreateInfrastructureConfigurationOutput) String() string

String returns the string representation

type DeleteComponentInput Uses

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 Uses

func (s DeleteComponentInput) GoString() string

GoString returns the string representation

func (*DeleteComponentInput) SetComponentBuildVersionArn Uses

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

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (DeleteComponentInput) String Uses

func (s DeleteComponentInput) String() string

String returns the string representation

func (*DeleteComponentInput) Validate Uses

func (s *DeleteComponentInput) Validate() error

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

type DeleteComponentOutput Uses

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 Uses

func (s DeleteComponentOutput) GoString() string

GoString returns the string representation

func (*DeleteComponentOutput) SetComponentBuildVersionArn Uses

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

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (*DeleteComponentOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteComponentOutput) String Uses

func (s DeleteComponentOutput) String() string

String returns the string representation

type DeleteDistributionConfigurationInput Uses

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 Uses

func (s DeleteDistributionConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteDistributionConfigurationInput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (DeleteDistributionConfigurationInput) String Uses

func (s DeleteDistributionConfigurationInput) String() string

String returns the string representation

func (*DeleteDistributionConfigurationInput) Validate Uses

func (s *DeleteDistributionConfigurationInput) Validate() error

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

type DeleteDistributionConfigurationOutput Uses

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 Uses

func (s DeleteDistributionConfigurationOutput) GoString() string

GoString returns the string representation

func (*DeleteDistributionConfigurationOutput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*DeleteDistributionConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteDistributionConfigurationOutput) String Uses

func (s DeleteDistributionConfigurationOutput) String() string

String returns the string representation

type DeleteImageInput Uses

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 Uses

func (s DeleteImageInput) GoString() string

GoString returns the string representation

func (*DeleteImageInput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (DeleteImageInput) String Uses

func (s DeleteImageInput) String() string

String returns the string representation

func (*DeleteImageInput) Validate Uses

func (s *DeleteImageInput) Validate() error

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

type DeleteImageOutput Uses

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 Uses

func (s DeleteImageOutput) GoString() string

GoString returns the string representation

func (*DeleteImageOutput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (*DeleteImageOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteImageOutput) String Uses

func (s DeleteImageOutput) String() string

String returns the string representation

type DeleteImagePipelineInput Uses

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 Uses

func (s DeleteImagePipelineInput) GoString() string

GoString returns the string representation

func (*DeleteImagePipelineInput) SetImagePipelineArn Uses

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

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (DeleteImagePipelineInput) String Uses

func (s DeleteImagePipelineInput) String() string

String returns the string representation

func (*DeleteImagePipelineInput) Validate Uses

func (s *DeleteImagePipelineInput) Validate() error

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

type DeleteImagePipelineOutput Uses

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 Uses

func (s DeleteImagePipelineOutput) GoString() string

GoString returns the string representation

func (*DeleteImagePipelineOutput) SetImagePipelineArn Uses

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

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (*DeleteImagePipelineOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteImagePipelineOutput) String Uses

func (s DeleteImagePipelineOutput) String() string

String returns the string representation

type DeleteImageRecipeInput Uses

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 Uses

func (s DeleteImageRecipeInput) GoString() string

GoString returns the string representation

func (*DeleteImageRecipeInput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (DeleteImageRecipeInput) String Uses

func (s DeleteImageRecipeInput) String() string

String returns the string representation

func (*DeleteImageRecipeInput) Validate Uses

func (s *DeleteImageRecipeInput) Validate() error

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

type DeleteImageRecipeOutput Uses

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 Uses

func (s DeleteImageRecipeOutput) GoString() string

GoString returns the string representation

func (*DeleteImageRecipeOutput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*DeleteImageRecipeOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteImageRecipeOutput) String Uses

func (s DeleteImageRecipeOutput) String() string

String returns the string representation

type DeleteInfrastructureConfigurationInput Uses

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 Uses

func (s DeleteInfrastructureConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteInfrastructureConfigurationInput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (DeleteInfrastructureConfigurationInput) String Uses

func (s DeleteInfrastructureConfigurationInput) String() string

String returns the string representation

func (*DeleteInfrastructureConfigurationInput) Validate Uses

func (s *DeleteInfrastructureConfigurationInput) Validate() error

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

type DeleteInfrastructureConfigurationOutput Uses

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 Uses

func (s DeleteInfrastructureConfigurationOutput) GoString() string

GoString returns the string representation

func (*DeleteInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*DeleteInfrastructureConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (DeleteInfrastructureConfigurationOutput) String Uses

func (s DeleteInfrastructureConfigurationOutput) String() string

String returns the string representation

type Distribution Uses

type Distribution struct {

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

    // The License Manager Configuration to associate with the AMI in the specified
    // Region.
    LicenseConfigurationArns []*string `locationName:"licenseConfigurationArns" type:"list"`

    // The target Region.
    //
    // Region is a required field
    Region *string `locationName:"region" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Defines the settings for a specific Region.

func (Distribution) GoString Uses

func (s Distribution) GoString() string

GoString returns the string representation

func (*Distribution) SetAmiDistributionConfiguration Uses

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

SetAmiDistributionConfiguration sets the AmiDistributionConfiguration field's value.

func (*Distribution) SetLicenseConfigurationArns Uses

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

SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.

func (*Distribution) SetRegion Uses

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

SetRegion sets the Region field's value.

func (Distribution) String Uses

func (s Distribution) String() string

String returns the string representation

func (*Distribution) Validate Uses

func (s *Distribution) Validate() error

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

type DistributionConfiguration Uses

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 Uses

func (s DistributionConfiguration) GoString() string

GoString returns the string representation

func (*DistributionConfiguration) SetArn Uses

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

SetArn sets the Arn field's value.

func (*DistributionConfiguration) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*DistributionConfiguration) SetDateUpdated Uses

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

SetDateUpdated sets the DateUpdated field's value.

func (*DistributionConfiguration) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*DistributionConfiguration) SetDistributions Uses

func (s *DistributionConfiguration) SetDistributions(v []*Distribution) *DistributionConfiguration

SetDistributions sets the Distributions field's value.

func (*DistributionConfiguration) SetName Uses

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

SetName sets the Name field's value.

func (*DistributionConfiguration) SetTags Uses

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

SetTags sets the Tags field's value.

func (*DistributionConfiguration) SetTimeoutMinutes Uses

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

SetTimeoutMinutes sets the TimeoutMinutes field's value.

func (DistributionConfiguration) String Uses

func (s DistributionConfiguration) String() string

String returns the string representation

type DistributionConfigurationSummary Uses

type DistributionConfigurationSummary struct {

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

    // The date on which the distribution configuration was created.
    DateCreated *string `locationName:"dateCreated" type:"string"`

    // The date on which the distribution configuration was updated.
    DateUpdated *string `locationName:"dateUpdated" type:"string"`

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

    // The name of the distribution configuration.
    Name *string `locationName:"name" type:"string"`

    // The tags associated with the distribution configuration.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

A high-level overview of a distribution configuration.

func (DistributionConfigurationSummary) GoString Uses

func (s DistributionConfigurationSummary) GoString() string

GoString returns the string representation

func (*DistributionConfigurationSummary) SetArn Uses

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

SetArn sets the Arn field's value.

func (*DistributionConfigurationSummary) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*DistributionConfigurationSummary) SetDateUpdated Uses

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

SetDateUpdated sets the DateUpdated field's value.

func (*DistributionConfigurationSummary) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*DistributionConfigurationSummary) SetName Uses

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

SetName sets the Name field's value.

func (*DistributionConfigurationSummary) SetTags Uses

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

SetTags sets the Tags field's value.

func (DistributionConfigurationSummary) String Uses

func (s DistributionConfigurationSummary) String() string

String returns the string representation

type EbsInstanceBlockDeviceSpecification Uses

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 Uses

func (s EbsInstanceBlockDeviceSpecification) GoString() string

GoString returns the string representation

func (*EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination Uses

func (s *EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination(v bool) *EbsInstanceBlockDeviceSpecification

SetDeleteOnTermination sets the DeleteOnTermination field's value.

func (*EbsInstanceBlockDeviceSpecification) SetEncrypted Uses

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

SetEncrypted sets the Encrypted field's value.

func (*EbsInstanceBlockDeviceSpecification) SetIops Uses

func (s *EbsInstanceBlockDeviceSpecification) SetIops(v int64) *EbsInstanceBlockDeviceSpecification

SetIops sets the Iops field's value.

func (*EbsInstanceBlockDeviceSpecification) SetKmsKeyId Uses

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*EbsInstanceBlockDeviceSpecification) SetSnapshotId Uses

func (s *EbsInstanceBlockDeviceSpecification) SetSnapshotId(v string) *EbsInstanceBlockDeviceSpecification

SetSnapshotId sets the SnapshotId field's value.

func (*EbsInstanceBlockDeviceSpecification) SetVolumeSize Uses

func (s *EbsInstanceBlockDeviceSpecification) SetVolumeSize(v int64) *EbsInstanceBlockDeviceSpecification

SetVolumeSize sets the VolumeSize field's value.

func (*EbsInstanceBlockDeviceSpecification) SetVolumeType Uses

func (s *EbsInstanceBlockDeviceSpecification) SetVolumeType(v string) *EbsInstanceBlockDeviceSpecification

SetVolumeType sets the VolumeType field's value.

func (EbsInstanceBlockDeviceSpecification) String Uses

func (s EbsInstanceBlockDeviceSpecification) String() string

String returns the string representation

func (*EbsInstanceBlockDeviceSpecification) Validate Uses

func (s *EbsInstanceBlockDeviceSpecification) Validate() error

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

type Filter Uses

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 Uses

func (s Filter) GoString() string

GoString returns the string representation

func (*Filter) SetName Uses

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

SetName sets the Name field's value.

func (*Filter) SetValues Uses

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

SetValues sets the Values field's value.

func (Filter) String Uses

func (s Filter) String() string

String returns the string representation

func (*Filter) Validate Uses

func (s *Filter) Validate() error

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

type ForbiddenException Uses

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 Uses

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error Uses

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString Uses

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message Uses

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr Uses

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID Uses

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode Uses

func (s *ForbiddenException) StatusCode() int

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

func (ForbiddenException) String Uses

func (s ForbiddenException) String() string

String returns the string representation

type GetComponentInput Uses

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 Uses

func (s GetComponentInput) GoString() string

GoString returns the string representation

func (*GetComponentInput) SetComponentBuildVersionArn Uses

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

SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.

func (GetComponentInput) String Uses

func (s GetComponentInput) String() string

String returns the string representation

func (*GetComponentInput) Validate Uses

func (s *GetComponentInput) Validate() error

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

type GetComponentOutput Uses

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 Uses

func (s GetComponentOutput) GoString() string

GoString returns the string representation

func (*GetComponentOutput) SetComponent Uses

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

SetComponent sets the Component field's value.

func (*GetComponentOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetComponentOutput) String Uses

func (s GetComponentOutput) String() string

String returns the string representation

type GetComponentPolicyInput Uses

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 Uses

func (s GetComponentPolicyInput) GoString() string

GoString returns the string representation

func (*GetComponentPolicyInput) SetComponentArn Uses

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

SetComponentArn sets the ComponentArn field's value.

func (GetComponentPolicyInput) String Uses

func (s GetComponentPolicyInput) String() string

String returns the string representation

func (*GetComponentPolicyInput) Validate Uses

func (s *GetComponentPolicyInput) Validate() error

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

type GetComponentPolicyOutput Uses

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 Uses

func (s GetComponentPolicyOutput) GoString() string

GoString returns the string representation

func (*GetComponentPolicyOutput) SetPolicy Uses

func (s *GetComponentPolicyOutput) SetPolicy(v string) *GetComponentPolicyOutput

SetPolicy sets the Policy field's value.

func (*GetComponentPolicyOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetComponentPolicyOutput) String Uses

func (s GetComponentPolicyOutput) String() string

String returns the string representation

type GetDistributionConfigurationInput Uses

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 Uses

func (s GetDistributionConfigurationInput) GoString() string

GoString returns the string representation

func (*GetDistributionConfigurationInput) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (GetDistributionConfigurationInput) String Uses

func (s GetDistributionConfigurationInput) String() string

String returns the string representation

func (*GetDistributionConfigurationInput) Validate Uses

func (s *GetDistributionConfigurationInput) Validate() error

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

type GetDistributionConfigurationOutput Uses

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 Uses

func (s GetDistributionConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetDistributionConfigurationOutput) SetDistributionConfiguration Uses

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

SetDistributionConfiguration sets the DistributionConfiguration field's value.

func (*GetDistributionConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetDistributionConfigurationOutput) String Uses

func (s GetDistributionConfigurationOutput) String() string

String returns the string representation

type GetImageInput Uses

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 Uses

func (s GetImageInput) GoString() string

GoString returns the string representation

func (*GetImageInput) SetImageBuildVersionArn Uses

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

SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.

func (GetImageInput) String Uses

func (s GetImageInput) String() string

String returns the string representation

func (*GetImageInput) Validate Uses

func (s *GetImageInput) Validate() error

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

type GetImageOutput Uses

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 Uses

func (s GetImageOutput) GoString() string

GoString returns the string representation

func (*GetImageOutput) SetImage Uses

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

SetImage sets the Image field's value.

func (*GetImageOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetImageOutput) String Uses

func (s GetImageOutput) String() string

String returns the string representation

type GetImagePipelineInput Uses

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 Uses

func (s GetImagePipelineInput) GoString() string

GoString returns the string representation

func (*GetImagePipelineInput) SetImagePipelineArn Uses

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

SetImagePipelineArn sets the ImagePipelineArn field's value.

func (GetImagePipelineInput) String Uses

func (s GetImagePipelineInput) String() string

String returns the string representation

func (*GetImagePipelineInput) Validate Uses

func (s *GetImagePipelineInput) Validate() error

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

type GetImagePipelineOutput Uses

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 Uses

func (s GetImagePipelineOutput) GoString() string

GoString returns the string representation

func (*GetImagePipelineOutput) SetImagePipeline Uses

func (s *GetImagePipelineOutput) SetImagePipeline(v *ImagePipeline) *GetImagePipelineOutput

SetImagePipeline sets the ImagePipeline field's value.

func (*GetImagePipelineOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetImagePipelineOutput) String Uses

func (s GetImagePipelineOutput) String() string

String returns the string representation

type GetImagePolicyInput Uses

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 Uses

func (s GetImagePolicyInput) GoString() string

GoString returns the string representation

func (*GetImagePolicyInput) SetImageArn Uses

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

SetImageArn sets the ImageArn field's value.

func (GetImagePolicyInput) String Uses

func (s GetImagePolicyInput) String() string

String returns the string representation

func (*GetImagePolicyInput) Validate Uses

func (s *GetImagePolicyInput) Validate() error

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

type GetImagePolicyOutput Uses

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 Uses

func (s GetImagePolicyOutput) GoString() string

GoString returns the string representation

func (*GetImagePolicyOutput) SetPolicy Uses

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

SetPolicy sets the Policy field's value.

func (*GetImagePolicyOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetImagePolicyOutput) String Uses

func (s GetImagePolicyOutput) String() string

String returns the string representation

type GetImageRecipeInput Uses

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 Uses

func (s GetImageRecipeInput) GoString() string

GoString returns the string representation

func (*GetImageRecipeInput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (GetImageRecipeInput) String Uses

func (s GetImageRecipeInput) String() string

String returns the string representation

func (*GetImageRecipeInput) Validate Uses

func (s *GetImageRecipeInput) Validate() error

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

type GetImageRecipeOutput Uses

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 Uses

func (s GetImageRecipeOutput) GoString() string

GoString returns the string representation

func (*GetImageRecipeOutput) SetImageRecipe Uses

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

SetImageRecipe sets the ImageRecipe field's value.

func (*GetImageRecipeOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetImageRecipeOutput) String Uses

func (s GetImageRecipeOutput) String() string

String returns the string representation

type GetImageRecipePolicyInput Uses

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 Uses

func (s GetImageRecipePolicyInput) GoString() string

GoString returns the string representation

func (*GetImageRecipePolicyInput) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (GetImageRecipePolicyInput) String Uses

func (s GetImageRecipePolicyInput) String() string

String returns the string representation

func (*GetImageRecipePolicyInput) Validate Uses

func (s *GetImageRecipePolicyInput) Validate() error

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

type GetImageRecipePolicyOutput Uses

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 Uses

func (s GetImageRecipePolicyOutput) GoString() string

GoString returns the string representation

func (*GetImageRecipePolicyOutput) SetPolicy Uses

func (s *GetImageRecipePolicyOutput) SetPolicy(v string) *GetImageRecipePolicyOutput

SetPolicy sets the Policy field's value.

func (*GetImageRecipePolicyOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetImageRecipePolicyOutput) String Uses

func (s GetImageRecipePolicyOutput) String() string

String returns the string representation

type GetInfrastructureConfigurationInput Uses

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 Uses

func (s GetInfrastructureConfigurationInput) GoString() string

GoString returns the string representation

func (*GetInfrastructureConfigurationInput) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (GetInfrastructureConfigurationInput) String Uses

func (s GetInfrastructureConfigurationInput) String() string

String returns the string representation

func (*GetInfrastructureConfigurationInput) Validate Uses

func (s *GetInfrastructureConfigurationInput) Validate() error

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

type GetInfrastructureConfigurationOutput Uses

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 Uses

func (s GetInfrastructureConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetInfrastructureConfigurationOutput) SetInfrastructureConfiguration Uses

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

SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.

func (*GetInfrastructureConfigurationOutput) SetRequestId Uses

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

SetRequestId sets the RequestId field's value.

func (GetInfrastructureConfigurationOutput) String Uses

func (s GetInfrastructureConfigurationOutput) String() string

String returns the string representation

type IdempotentParameterMismatchException Uses

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 Uses

func (s *IdempotentParameterMismatchException) Code() string

Code returns the exception type name.

func (*IdempotentParameterMismatchException) Error Uses

func (s *IdempotentParameterMismatchException) Error() string

func (IdempotentParameterMismatchException) GoString Uses

func (s IdempotentParameterMismatchException) GoString() string

GoString returns the string representation

func (*IdempotentParameterMismatchException) Message Uses

func (s *IdempotentParameterMismatchException) Message() string

Message returns the exception's message.

func (*IdempotentParameterMismatchException) OrigErr Uses

func (s *IdempotentParameterMismatchException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IdempotentParameterMismatchException) RequestID Uses

func (s *IdempotentParameterMismatchException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*IdempotentParameterMismatchException) StatusCode Uses

func (s *IdempotentParameterMismatchException) StatusCode() int

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

func (IdempotentParameterMismatchException) String Uses

func (s IdempotentParameterMismatchException) String() string

String returns the string representation

type Image Uses

type Image struct {

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

    // The date on which this image was created.
    DateCreated *string `locationName:"dateCreated" type:"string"`

    // The distribution configuration used when creating this image.
    DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"`

    // The image recipe used when creating the image.
    ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"`

    // The image tests configuration used when creating this image.
    ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`

    // The infrastructure used when creating this image.
    InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"`

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

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

    // The platform of the image.
    Platform *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"`

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

An image build version.

func (Image) GoString Uses

func (s Image) GoString() string

GoString returns the string representation

func (*Image) SetArn Uses

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

SetArn sets the Arn field's value.

func (*Image) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*Image) SetDistributionConfiguration Uses

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

SetDistributionConfiguration sets the DistributionConfiguration field's value.

func (*Image) SetImageRecipe Uses

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

SetImageRecipe sets the ImageRecipe field's value.

func (*Image) SetImageTestsConfiguration Uses

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

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*Image) SetInfrastructureConfiguration Uses

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

SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.

func (*Image) SetName Uses

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

SetName sets the Name field's value.

func (*Image) SetOutputResources Uses

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

SetOutputResources sets the OutputResources field's value.

func (*Image) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*Image) SetSourcePipelineArn Uses

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

SetSourcePipelineArn sets the SourcePipelineArn field's value.

func (*Image) SetSourcePipelineName Uses

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

SetSourcePipelineName sets the SourcePipelineName field's value.

func (*Image) SetState Uses

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

SetState sets the State field's value.

func (*Image) SetTags Uses

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

SetTags sets the Tags field's value.

func (*Image) SetVersion Uses

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

SetVersion sets the Version field's value.

func (Image) String Uses

func (s Image) String() string

String returns the string representation

type ImagePipeline Uses

type ImagePipeline struct {

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

    // The date on which this image pipeline was created.
    DateCreated *string `locationName:"dateCreated" type:"string"`

    // The date on which this image pipeline was last run.
    DateLastRun *string `locationName:"dateLastRun" type:"string"`

    // The date on which this image pipeline will next be run.
    DateNextRun *string `locationName:"dateNextRun" type:"string"`

    // The date on which this image pipeline was last updated.
    DateUpdated *string `locationName:"dateUpdated" type:"string"`

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

    // The Amazon Resource Name (ARN) of the distribution configuration associated
    // with this image pipeline.
    DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`

    // The Amazon Resource Name (ARN) of the image recipe associated with this image
    // pipeline.
    ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`

    // The image tests configuration of the image pipeline.
    ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`

    // The Amazon Resource Name (ARN) of the infrastructure configuration associated
    // with this image pipeline.
    InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`

    // The name of the image pipeline.
    Name *string `locationName:"name" type:"string"`

    // The platform of the image pipeline.
    Platform *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 Uses

func (s ImagePipeline) GoString() string

GoString returns the string representation

func (*ImagePipeline) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ImagePipeline) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ImagePipeline) SetDateLastRun Uses

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

SetDateLastRun sets the DateLastRun field's value.

func (*ImagePipeline) SetDateNextRun Uses

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

SetDateNextRun sets the DateNextRun field's value.

func (*ImagePipeline) SetDateUpdated Uses

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

SetDateUpdated sets the DateUpdated field's value.

func (*ImagePipeline) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ImagePipeline) SetDistributionConfigurationArn Uses

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

SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.

func (*ImagePipeline) SetImageRecipeArn Uses

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

SetImageRecipeArn sets the ImageRecipeArn field's value.

func (*ImagePipeline) SetImageTestsConfiguration Uses

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

SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.

func (*ImagePipeline) SetInfrastructureConfigurationArn Uses

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

SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.

func (*ImagePipeline) SetName Uses

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

SetName sets the Name field's value.

func (*ImagePipeline) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ImagePipeline) SetSchedule Uses

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

SetSchedule sets the Schedule field's value.

func (*ImagePipeline) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*ImagePipeline) SetTags Uses

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

SetTags sets the Tags field's value.

func (ImagePipeline) String Uses

func (s ImagePipeline) String() string

String returns the string representation

type ImageRecipe Uses

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

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

An image recipe.

func (ImageRecipe) GoString Uses

func (s ImageRecipe) GoString() string

GoString returns the string representation

func (*ImageRecipe) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ImageRecipe) SetBlockDeviceMappings Uses

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

SetBlockDeviceMappings sets the BlockDeviceMappings field's value.

func (*ImageRecipe) SetComponents Uses

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

SetComponents sets the Components field's value.

func (*ImageRecipe) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ImageRecipe) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ImageRecipe) SetName Uses

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

SetName sets the Name field's value.

func (*ImageRecipe) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ImageRecipe) SetParentImage Uses

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

SetParentImage sets the ParentImage field's value.

func (*ImageRecipe) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ImageRecipe) SetTags Uses

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

SetTags sets the Tags field's value.

func (*ImageRecipe) SetVersion Uses

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

SetVersion sets the Version field's value.

func (ImageRecipe) String Uses

func (s ImageRecipe) String() string

String returns the string representation

type ImageRecipeSummary Uses

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 Uses

func (s ImageRecipeSummary) GoString() string

GoString returns the string representation

func (*ImageRecipeSummary) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ImageRecipeSummary) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ImageRecipeSummary) SetName Uses

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

SetName sets the Name field's value.

func (*ImageRecipeSummary) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ImageRecipeSummary) SetParentImage Uses

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

SetParentImage sets the ParentImage field's value.

func (*ImageRecipeSummary) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ImageRecipeSummary) SetTags Uses

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

SetTags sets the Tags field's value.

func (ImageRecipeSummary) String Uses

func (s ImageRecipeSummary) String() string

String returns the string representation

type ImageState Uses

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 Uses

func (s ImageState) GoString() string

GoString returns the string representation

func (*ImageState) SetReason Uses

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

SetReason sets the Reason field's value.

func (*ImageState) SetStatus Uses

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

SetStatus sets the Status field's value.

func (ImageState) String Uses

func (s ImageState) String() string

String returns the string representation

type ImageSummary Uses

type ImageSummary struct {

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

    // The date on which this image was created.
    DateCreated *string `locationName:"dateCreated" type:"string"`

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

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

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

    // The platform of the image.
    Platform *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"`

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

An image summary.

func (ImageSummary) GoString Uses

func (s ImageSummary) GoString() string

GoString returns the string representation

func (*ImageSummary) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ImageSummary) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ImageSummary) SetName Uses

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

SetName sets the Name field's value.

func (*ImageSummary) SetOutputResources Uses

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

SetOutputResources sets the OutputResources field's value.

func (*ImageSummary) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ImageSummary) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ImageSummary) SetState Uses

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

SetState sets the State field's value.

func (*ImageSummary) SetTags Uses

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

SetTags sets the Tags field's value.

func (*ImageSummary) SetVersion Uses

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

SetVersion sets the Version field's value.

func (ImageSummary) String Uses

func (s ImageSummary) String() string

String returns the string representation

type ImageTestsConfiguration Uses

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 Uses

func (s ImageTestsConfiguration) GoString() string

GoString returns the string representation

func (*ImageTestsConfiguration) SetImageTestsEnabled Uses

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

SetImageTestsEnabled sets the ImageTestsEnabled field's value.

func (*ImageTestsConfiguration) SetTimeoutMinutes Uses

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

SetTimeoutMinutes sets the TimeoutMinutes field's value.

func (ImageTestsConfiguration) String Uses

func (s ImageTestsConfiguration) String() string

String returns the string representation

func (*ImageTestsConfiguration) Validate Uses

func (s *ImageTestsConfiguration) Validate() error

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

type ImageVersion Uses

type ImageVersion struct {

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

    // The date at which this image semantic version was created.
    DateCreated *string `locationName:"dateCreated" type:"string"`

    // The name of the image semantic version.
    Name *string `locationName:"name" type:"string"`

    // The owner of the image semantic version.
    Owner *string `locationName:"owner" min:"1" type:"string"`

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

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

func (s ImageVersion) GoString() string

GoString returns the string representation

func (*ImageVersion) SetArn Uses

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

SetArn sets the Arn field's value.

func (*ImageVersion) SetDateCreated Uses

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

SetDateCreated sets the DateCreated field's value.

func (*ImageVersion) SetName Uses

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

SetName sets the Name field's value.

func (*ImageVersion) SetOwner Uses

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

SetOwner sets the Owner field's value.

func (*ImageVersion) SetPlatform Uses

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

SetPlatform sets the Platform field's value.

func (*ImageVersion) SetVersion Uses

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

SetVersion sets the Version field's value.

func (ImageVersion) String Uses

func (s ImageVersion) String() string

String returns the string representation

type Imagebuilder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

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

func (*Imagebuilder) CreateComponentRequest Uses

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 Uses

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) CreateDistributionConfiguration Uses

func (c *Imagebuilder) CreateDistributionConfiguration(input *CreateDistributionConfigurationInput) (*CreateDistributionConfigurationOutput, error)

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.

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

func (*Imagebuilder) CreateDistributionConfigurationRequest Uses

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 Uses

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 Uses

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.

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

func (*Imagebuilder) CreateImagePipeline Uses

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.

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

func (*Imagebuilder) CreateImagePipelineRequest Uses

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 Uses

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 Uses

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.

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

func (*Imagebuilder) CreateImageRecipeRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) CreateInfrastructureConfiguration(input *CreateInfrastructureConfigurationInput) (*CreateInfrastructureConfigurationOutput, error)

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.

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

func (*Imagebuilder) CreateInfrastructureConfigurationRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) DeleteDistributionConfiguration Uses

func (c *Imagebuilder) DeleteDistributionConfiguration(input *DeleteDistributionConfigurationInput) (*DeleteDistributionConfigurationOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) DeleteInfrastructureConfiguration(input *DeleteInfrastructureConfigurationInput) (*DeleteInfrastructureConfigurationOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) GetDistributionConfiguration Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) GetInfrastructureConfiguration(input *GetInfrastructureConfigurationInput) (*GetInfrastructureConfigurationOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) ListDistributionConfigurations Uses

func (c *Imagebuilder) ListDistributionConfigurations(input *ListDistributionConfigurationsInput) (*ListDistributionConfigurationsOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) ListImageBuildVersions(input *ListImageBuildVersionsInput) (*ListImageBuildVersionsOutput, error)

ListImageBuildVersions 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 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) ListImages(input *ListImagesInput) (*ListImagesOutput, error)

ListImages API operation for EC2 Image Builder.

Returns the list of image 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 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) ListInfrastructureConfigurations(input *ListInfrastructureConfigurationsInput) (*ListInfrastructureConfigurationsOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) PutComponentPolicy(input *PutComponentPolicyInput) (*PutComponentPolicyOutput, error)

PutComponentPolicy API operation for EC2 Image Builder.

Applies a policy to a component.

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 Uses

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 Uses

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) PutImagePolicy Uses

func (c *Imagebuilder) PutImagePolicy(input *PutImagePolicyInput) (*PutImagePolicyOutput, error)

PutImagePolicy API operation for EC2 Image Builder.

Applies a policy to 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 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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) PutImageRecipePolicy(input *PutImageRecipePolicyInput) (*PutImageRecipePolicyOutput, error)

PutImageRecipePolicy API operation for EC2 Image Builder.

Applies a policy to 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 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) UpdateDistributionConfiguration(input *UpdateDistributionConfigurationInput) (*UpdateDistributionConfigurationOutput, error)

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *Imagebuilder) UpdateInfrastructureConfiguration(input *UpdateInfrastructureConfigurationInput) (*UpdateInfrastructureConfigurationOutput, error)

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 Uses

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 Uses

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 Uses

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