ecs-agent/acs/model/ecsacs/api.go (1,419 lines of code) (raw):
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.
//
// Code generated by [agent/gogenerate/awssdk.go] DO NOT EDIT.
package ecsacs
import (
"fmt"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
)
type ASMAuthData struct {
_ struct{} `type:"structure"`
CredentialsParameter *string `locationName:"credentialsParameter" type:"string"`
Region *string `locationName:"region" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ASMAuthData) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ASMAuthData) GoString() string {
return s.String()
}
type AccessDeniedException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AccessDeniedException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AccessDeniedException) GoString() string {
return s.String()
}
func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
return &AccessDeniedException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *AccessDeniedException) Code() string {
return "AccessDeniedException"
}
// Message returns the exception's message.
func (s *AccessDeniedException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) OrigErr() error {
return nil
}
func (s *AccessDeniedException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *AccessDeniedException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) RequestID() string {
return s.RespMetadata.RequestID
}
type AckRequest struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AckRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AckRequest) GoString() string {
return s.String()
}
type Association struct {
_ struct{} `type:"structure"`
Containers []*string `locationName:"containers" type:"list"`
Content *EncodedString `locationName:"content" type:"structure"`
Name *string `locationName:"name" type:"string"`
Type *string `locationName:"type" type:"string" enum:"AssociationType"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Association) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Association) GoString() string {
return s.String()
}
type AttachInstanceNetworkInterfacesInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
ElasticNetworkInterfaces []*ElasticNetworkInterface `locationName:"elasticNetworkInterfaces" type:"list"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesInput) GoString() string {
return s.String()
}
type AttachInstanceNetworkInterfacesMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
ElasticNetworkInterfaces []*ElasticNetworkInterface `locationName:"elasticNetworkInterfaces" type:"list"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesMessage) GoString() string {
return s.String()
}
type AttachInstanceNetworkInterfacesOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachInstanceNetworkInterfacesOutput) GoString() string {
return s.String()
}
type AttachTaskNetworkInterfacesInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
ElasticNetworkInterfaces []*ElasticNetworkInterface `locationName:"elasticNetworkInterfaces" type:"list"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesInput) GoString() string {
return s.String()
}
type AttachTaskNetworkInterfacesMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
ElasticNetworkInterfaces []*ElasticNetworkInterface `locationName:"elasticNetworkInterfaces" type:"list"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesMessage) GoString() string {
return s.String()
}
type AttachTaskNetworkInterfacesOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachTaskNetworkInterfacesOutput) GoString() string {
return s.String()
}
type Attachment struct {
_ struct{} `type:"structure"`
AttachmentArn *string `locationName:"attachmentArn" type:"string"`
AttachmentProperties []*AttachmentProperty `locationName:"attachmentProperties" type:"list"`
AttachmentType *string `locationName:"attachmentType" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Attachment) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Attachment) GoString() string {
return s.String()
}
type AttachmentProperty struct {
_ struct{} `type:"structure"`
Name *string `locationName:"name" type:"string"`
Value *string `locationName:"value" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachmentProperty) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AttachmentProperty) GoString() string {
return s.String()
}
type BadRequestException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s BadRequestException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s BadRequestException) GoString() string {
return s.String()
}
func newErrorBadRequestException(v protocol.ResponseMetadata) error {
return &BadRequestException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *BadRequestException) Code() string {
return "BadRequestException"
}
// Message returns the exception's message.
func (s *BadRequestException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) OrigErr() error {
return nil
}
func (s *BadRequestException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *BadRequestException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *BadRequestException) RequestID() string {
return s.RespMetadata.RequestID
}
type CloseMessage struct {
_ struct{} `type:"structure"`
Message *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CloseMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CloseMessage) GoString() string {
return s.String()
}
type ConfirmAttachmentInput struct {
_ struct{} `type:"structure"`
Attachment *Attachment `locationName:"attachment" type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentInput) GoString() string {
return s.String()
}
type ConfirmAttachmentMessage struct {
_ struct{} `type:"structure"`
Attachment *Attachment `locationName:"attachment" type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
WaitTimeoutMs *int64 `locationName:"waitTimeoutMs" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentMessage) GoString() string {
return s.String()
}
type ConfirmAttachmentOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ConfirmAttachmentOutput) GoString() string {
return s.String()
}
type Container struct {
_ struct{} `type:"structure"`
Command []*string `locationName:"command" type:"list"`
ContainerArn *string `locationName:"containerArn" type:"string"`
Cpu *int64 `locationName:"cpu" type:"integer"`
CredentialSpecs []*string `locationName:"credentialSpecs" type:"list"`
DependsOn []*ContainerDependency `locationName:"dependsOn" type:"list"`
DockerConfig *DockerConfig `locationName:"dockerConfig" type:"structure"`
EntryPoint []*string `locationName:"entryPoint" type:"list"`
// Environment is a sensitive parameter and its value will be
// replaced with "sensitive" in string returned by Container's
// String and GoString methods.
Environment map[string]*string `locationName:"environment" type:"map" sensitive:"true"`
EnvironmentFiles []*EnvironmentFile `locationName:"environmentFiles" type:"list"`
Essential *bool `locationName:"essential" type:"boolean"`
FirelensConfiguration *FirelensConfiguration `locationName:"firelensConfiguration" type:"structure"`
HealthCheckType *string `locationName:"healthCheckType" type:"string" enum:"HealthCheckType"`
Image *string `locationName:"image" type:"string"`
Links []*string `locationName:"links" type:"list"`
LinuxParameters *LinuxParameters `locationName:"linuxParameters" type:"structure"`
LogsAuthStrategy *string `locationName:"logsAuthStrategy" type:"string" enum:"AuthStrategy"`
ManagedAgents []*ManagedAgent `locationName:"managedAgents" type:"list"`
Memory *int64 `locationName:"memory" type:"integer"`
MountPoints []*MountPoint `locationName:"mountPoints" type:"list"`
Name *string `locationName:"name" type:"string"`
NetworkInterfaceNames []*string `locationName:"networkInterfaceNames" type:"list"`
Overrides *string `locationName:"overrides" type:"string"`
PortMappings []*PortMapping `locationName:"portMappings" type:"list"`
Privileged *bool `locationName:"privileged" type:"boolean"`
RegistryAuthentication *RegistryAuthenticationData `locationName:"registryAuthentication" type:"structure"`
RestartPolicy *RestartPolicy `locationName:"restartPolicy" type:"structure"`
Secrets []*Secret `locationName:"secrets" type:"list"`
StartTimeout *int64 `locationName:"startTimeout" type:"integer"`
StopTimeout *int64 `locationName:"stopTimeout" type:"integer"`
VolumesFrom []*VolumeFrom `locationName:"volumesFrom" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Container) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Container) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Container) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Container"}
if s.LinuxParameters != nil {
if err := s.LinuxParameters.Validate(); err != nil {
invalidParams.AddNested("LinuxParameters", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type ContainerDependency struct {
_ struct{} `type:"structure"`
Condition *string `locationName:"condition" type:"string" enum:"ContainerCondition"`
ContainerName *string `locationName:"containerName" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ContainerDependency) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ContainerDependency) GoString() string {
return s.String()
}
type Device struct {
_ struct{} `type:"structure"`
ContainerPath *string `locationName:"containerPath" type:"string"`
// HostPath is a required field
HostPath *string `locationName:"hostPath" type:"string" required:"true"`
Permissions []*string `locationName:"permissions" type:"list" enum:"DeviceCgroupPermission"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Device) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Device) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Device) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Device"}
if s.HostPath == nil {
invalidParams.Add(request.NewErrParamRequired("HostPath"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type DockerConfig struct {
_ struct{} `type:"structure"`
Config *string `locationName:"config" type:"string"`
HostConfig *string `locationName:"hostConfig" type:"string"`
Version *string `locationName:"version" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DockerConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DockerConfig) GoString() string {
return s.String()
}
type DockerVolumeConfiguration struct {
_ struct{} `type:"structure"`
Autoprovision *bool `locationName:"autoprovision" type:"boolean"`
Driver *string `locationName:"driver" type:"string"`
DriverOpts map[string]*string `locationName:"driverOpts" type:"map"`
Labels map[string]*string `locationName:"labels" type:"map"`
Scope *string `locationName:"scope" type:"string" enum:"Scope"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DockerVolumeConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DockerVolumeConfiguration) GoString() string {
return s.String()
}
type EBSVolumeConfiguration struct {
_ struct{} `type:"structure"`
DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"`
DeviceName *string `locationName:"deviceName" type:"string"`
FilesystemType *string `locationName:"filesystemType" type:"string"`
VolumeId *string `locationName:"volumeId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EBSVolumeConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EBSVolumeConfiguration) GoString() string {
return s.String()
}
type ECRAuthData struct {
_ struct{} `type:"structure"`
EndpointOverride *string `locationName:"endpointOverride" type:"string"`
Region *string `locationName:"region" type:"string"`
RegistryId *string `locationName:"registryId" type:"string"`
UseExecutionRole *bool `locationName:"useExecutionRole" type:"boolean"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ECRAuthData) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ECRAuthData) GoString() string {
return s.String()
}
type EFSAuthorizationConfig struct {
_ struct{} `type:"structure"`
AccessPointId *string `locationName:"accessPointId" type:"string"`
Iam *string `locationName:"iam" type:"string" enum:"EFSAuthorizationConfigIAM"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EFSAuthorizationConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EFSAuthorizationConfig) GoString() string {
return s.String()
}
type EFSVolumeConfiguration struct {
_ struct{} `type:"structure"`
AuthorizationConfig *EFSAuthorizationConfig `locationName:"authorizationConfig" type:"structure"`
FileSystemId *string `locationName:"fileSystemId" type:"string"`
RootDirectory *string `locationName:"rootDirectory" type:"string"`
TransitEncryption *string `locationName:"transitEncryption" type:"string" enum:"EFSTransitEncryption"`
TransitEncryptionPort *int64 `locationName:"transitEncryptionPort" type:"integer"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EFSVolumeConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EFSVolumeConfiguration) GoString() string {
return s.String()
}
type ElasticNetworkInterface struct {
_ struct{} `type:"structure"`
AttachmentArn *string `locationName:"attachmentArn" type:"string"`
DomainName []*string `locationName:"domainName" type:"list"`
DomainNameServers []*string `locationName:"domainNameServers" type:"list"`
Ec2Id *string `locationName:"ec2Id" type:"string"`
Index *int64 `locationName:"index" type:"integer"`
InterfaceAssociationProtocol *string `locationName:"interfaceAssociationProtocol" type:"string" enum:"NetworkInterfaceAssociationProtocol"`
InterfaceTunnelProperties *NetworkInterfaceTunnelProperties `locationName:"interfaceTunnelProperties" type:"structure"`
InterfaceVethProperties *NetworkInterfaceVethProperties `locationName:"interfaceVethProperties" type:"structure"`
InterfaceVlanProperties *NetworkInterfaceVlanProperties `locationName:"interfaceVlanProperties" type:"structure"`
Ipv4Addresses []*IPv4AddressAssignment `locationName:"ipv4Addresses" type:"list"`
Ipv6Addresses []*IPv6AddressAssignment `locationName:"ipv6Addresses" type:"list"`
MacAddress *string `locationName:"macAddress" type:"string"`
Name *string `locationName:"name" type:"string"`
PrivateDnsName *string `locationName:"privateDnsName" type:"string"`
SubnetGatewayIpv4Address *string `locationName:"subnetGatewayIpv4Address" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ElasticNetworkInterface) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ElasticNetworkInterface) GoString() string {
return s.String()
}
type EncodedString struct {
_ struct{} `type:"structure"`
Encoding *string `locationName:"encoding" type:"string" enum:"Encoding"`
Value *string `locationName:"value" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EncodedString) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EncodedString) GoString() string {
return s.String()
}
type EnvironmentFile struct {
_ struct{} `type:"structure"`
Type *string `locationName:"type" type:"string" enum:"EnvironmentFileType"`
Value *string `locationName:"value" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnvironmentFile) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnvironmentFile) GoString() string {
return s.String()
}
type ErrorInput struct {
_ struct{} `type:"structure"`
Message *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorInput) GoString() string {
return s.String()
}
type ErrorMessage struct {
_ struct{} `type:"structure"`
Message *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorMessage) GoString() string {
return s.String()
}
type ErrorOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ErrorOutput) GoString() string {
return s.String()
}
type FSxWindowsFileServerAuthorizationConfig struct {
_ struct{} `type:"structure"`
CredentialsParameter *string `locationName:"credentialsParameter" type:"string"`
Domain *string `locationName:"domain" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FSxWindowsFileServerAuthorizationConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FSxWindowsFileServerAuthorizationConfig) GoString() string {
return s.String()
}
type FSxWindowsFileServerVolumeConfiguration struct {
_ struct{} `type:"structure"`
AuthorizationConfig *FSxWindowsFileServerAuthorizationConfig `locationName:"authorizationConfig" type:"structure"`
FileSystemId *string `locationName:"fileSystemId" type:"string"`
RootDirectory *string `locationName:"rootDirectory" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FSxWindowsFileServerVolumeConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FSxWindowsFileServerVolumeConfiguration) GoString() string {
return s.String()
}
type FirelensConfiguration struct {
_ struct{} `type:"structure"`
Options map[string]*string `locationName:"options" type:"map"`
Type *string `locationName:"type" type:"string" enum:"FirelensConfigurationType"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FirelensConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s FirelensConfiguration) GoString() string {
return s.String()
}
type HeartbeatAckRequest struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatAckRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatAckRequest) GoString() string {
return s.String()
}
type HeartbeatInput struct {
_ struct{} `type:"structure"`
Healthy *bool `locationName:"healthy" type:"boolean"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatInput) GoString() string {
return s.String()
}
type HeartbeatMessage struct {
_ struct{} `type:"structure"`
Healthy *bool `locationName:"healthy" type:"boolean"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatMessage) GoString() string {
return s.String()
}
type HeartbeatOutput struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HeartbeatOutput) GoString() string {
return s.String()
}
type HostVolumeProperties struct {
_ struct{} `type:"structure"`
SourcePath *string `locationName:"sourcePath" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HostVolumeProperties) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s HostVolumeProperties) GoString() string {
return s.String()
}
type IAMRoleCredentials struct {
_ struct{} `type:"structure"`
AccessKeyId *string `locationName:"accessKeyId" type:"string"`
CredentialScope *string `locationName:"credentialScope" type:"string"`
CredentialsId *string `locationName:"credentialsId" type:"string"`
Expiration *string `locationName:"expiration" type:"string"`
RoleArn *string `locationName:"roleArn" type:"string"`
// SecretAccessKey is a sensitive parameter and its value will be
// replaced with "sensitive" in string returned by IAMRoleCredentials's
// String and GoString methods.
SecretAccessKey *string `locationName:"secretAccessKey" type:"string" sensitive:"true"`
SessionToken *string `locationName:"sessionToken" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentials) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentials) GoString() string {
return s.String()
}
type IAMRoleCredentialsAckRequest struct {
_ struct{} `type:"structure"`
CredentialsId *string `locationName:"credentialsId" type:"string"`
Expiration *string `locationName:"expiration" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentialsAckRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentialsAckRequest) GoString() string {
return s.String()
}
type IAMRoleCredentialsMessage struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
RoleCredentials *IAMRoleCredentials `locationName:"roleCredentials" type:"structure"`
RoleType *string `locationName:"roleType" type:"string" enum:"RoleType"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentialsMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IAMRoleCredentialsMessage) GoString() string {
return s.String()
}
type IPv4AddressAssignment struct {
_ struct{} `type:"structure"`
Primary *bool `locationName:"primary" type:"boolean"`
PrivateAddress *string `locationName:"privateAddress" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IPv4AddressAssignment) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IPv4AddressAssignment) GoString() string {
return s.String()
}
type IPv6AddressAssignment struct {
_ struct{} `type:"structure"`
Address *string `locationName:"address" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IPv6AddressAssignment) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s IPv6AddressAssignment) GoString() string {
return s.String()
}
type InactiveInstanceException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InactiveInstanceException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InactiveInstanceException) GoString() string {
return s.String()
}
func newErrorInactiveInstanceException(v protocol.ResponseMetadata) error {
return &InactiveInstanceException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *InactiveInstanceException) Code() string {
return "InactiveInstanceException"
}
// Message returns the exception's message.
func (s *InactiveInstanceException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InactiveInstanceException) OrigErr() error {
return nil
}
func (s *InactiveInstanceException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *InactiveInstanceException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *InactiveInstanceException) RequestID() string {
return s.RespMetadata.RequestID
}
type InvalidClusterException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InvalidClusterException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InvalidClusterException) GoString() string {
return s.String()
}
func newErrorInvalidClusterException(v protocol.ResponseMetadata) error {
return &InvalidClusterException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *InvalidClusterException) Code() string {
return "InvalidClusterException"
}
// Message returns the exception's message.
func (s *InvalidClusterException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidClusterException) OrigErr() error {
return nil
}
func (s *InvalidClusterException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *InvalidClusterException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *InvalidClusterException) RequestID() string {
return s.RespMetadata.RequestID
}
type InvalidInstanceException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InvalidInstanceException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s InvalidInstanceException) GoString() string {
return s.String()
}
func newErrorInvalidInstanceException(v protocol.ResponseMetadata) error {
return &InvalidInstanceException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *InvalidInstanceException) Code() string {
return "InvalidInstanceException"
}
// Message returns the exception's message.
func (s *InvalidInstanceException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidInstanceException) OrigErr() error {
return nil
}
func (s *InvalidInstanceException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *InvalidInstanceException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *InvalidInstanceException) RequestID() string {
return s.RespMetadata.RequestID
}
type KernelCapabilities struct {
_ struct{} `type:"structure"`
Add []*string `locationName:"add" type:"list"`
Drop []*string `locationName:"drop" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s KernelCapabilities) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s KernelCapabilities) GoString() string {
return s.String()
}
type LinuxParameters struct {
_ struct{} `type:"structure"`
Capabilities *KernelCapabilities `locationName:"capabilities" type:"structure"`
Devices []*Device `locationName:"devices" type:"list"`
InitProcessEnabled *bool `locationName:"initProcessEnabled" type:"boolean"`
SharedMemorySize *int64 `locationName:"sharedMemorySize" type:"integer"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s LinuxParameters) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s LinuxParameters) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *LinuxParameters) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "LinuxParameters"}
if s.Devices != nil {
for i, v := range s.Devices {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type ManagedAgent struct {
_ struct{} `type:"structure"`
Name *string `locationName:"name" type:"string" enum:"ManagedAgentName"`
Properties map[string]*string `locationName:"properties" type:"map"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ManagedAgent) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ManagedAgent) GoString() string {
return s.String()
}
type MountPoint struct {
_ struct{} `type:"structure"`
ContainerPath *string `locationName:"containerPath" type:"string"`
ReadOnly *bool `locationName:"readOnly" type:"boolean"`
SourceVolume *string `locationName:"sourceVolume" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s MountPoint) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s MountPoint) GoString() string {
return s.String()
}
type NackRequest struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
Reason *string `locationName:"reason" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NackRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NackRequest) GoString() string {
return s.String()
}
type NetworkInterfaceTunnelProperties struct {
_ struct{} `type:"structure"`
InterfaceIpAddress *string `locationName:"interfaceIpAddress" type:"string"`
TunnelId *string `locationName:"tunnelId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceTunnelProperties) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceTunnelProperties) GoString() string {
return s.String()
}
type NetworkInterfaceVethProperties struct {
_ struct{} `type:"structure"`
PeerInterface *string `locationName:"peerInterface" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceVethProperties) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceVethProperties) GoString() string {
return s.String()
}
type NetworkInterfaceVlanProperties struct {
_ struct{} `type:"structure"`
TrunkInterfaceMacAddress *string `locationName:"trunkInterfaceMacAddress" type:"string"`
VlanId *string `locationName:"vlanId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceVlanProperties) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkInterfaceVlanProperties) GoString() string {
return s.String()
}
type PayloadInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
SeqNum *int64 `locationName:"seqNum" type:"integer"`
Tasks []*Task `locationName:"tasks" type:"list"`
Timeline *int64 `locationName:"timeline" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *PayloadInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "PayloadInput"}
if s.Tasks != nil {
for i, v := range s.Tasks {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tasks", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type PayloadMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
SeqNum *int64 `locationName:"seqNum" type:"integer"`
Tasks []*Task `locationName:"tasks" type:"list"`
Timeline *int64 `locationName:"timeline" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadMessage) GoString() string {
return s.String()
}
type PayloadOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PayloadOutput) GoString() string {
return s.String()
}
type PerformUpdateInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
UpdateInfo *UpdateInfo `locationName:"updateInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateInput) GoString() string {
return s.String()
}
type PerformUpdateMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
UpdateInfo *UpdateInfo `locationName:"updateInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateMessage) GoString() string {
return s.String()
}
type PerformUpdateOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PerformUpdateOutput) GoString() string {
return s.String()
}
type PollInput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
ProtocolVersion *int64 `locationName:"protocolVersion" type:"integer"`
SendCredentials *bool `locationName:"sendCredentials" type:"boolean"`
SeqNum *int64 `locationName:"seqNum" type:"integer"`
Timeline *int64 `locationName:"timeline" type:"long"`
VersionInfo *VersionInfo `locationName:"versionInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollInput) GoString() string {
return s.String()
}
type PollOutput struct {
_ struct{} `type:"structure"`
Message *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollOutput) GoString() string {
return s.String()
}
type PollRequest struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
ProtocolVersion *int64 `locationName:"protocolVersion" type:"integer"`
SendCredentials *bool `locationName:"sendCredentials" type:"boolean"`
SeqNum *int64 `locationName:"seqNum" type:"integer"`
Timeline *int64 `locationName:"timeline" type:"long"`
VersionInfo *VersionInfo `locationName:"versionInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PollRequest) GoString() string {
return s.String()
}
type PortMapping struct {
_ struct{} `type:"structure"`
ContainerPort *int64 `locationName:"containerPort" type:"integer"`
ContainerPortRange *string `locationName:"containerPortRange" type:"string"`
HostPort *int64 `locationName:"hostPort" type:"integer"`
Protocol *string `locationName:"protocol" type:"string" enum:"TransportProtocol"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PortMapping) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s PortMapping) GoString() string {
return s.String()
}
type ProxyConfiguration struct {
_ struct{} `type:"structure"`
ContainerName *string `locationName:"containerName" type:"string"`
Properties map[string]*string `locationName:"properties" type:"map"`
Type *string `locationName:"type" type:"string" enum:"ProxyConfigurationType"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ProxyConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ProxyConfiguration) GoString() string {
return s.String()
}
type RefreshTaskIAMRoleCredentialsInput struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
RoleCredentials *IAMRoleCredentials `locationName:"roleCredentials" type:"structure"`
RoleType *string `locationName:"roleType" type:"string" enum:"RoleType"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RefreshTaskIAMRoleCredentialsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RefreshTaskIAMRoleCredentialsInput) GoString() string {
return s.String()
}
type RefreshTaskIAMRoleCredentialsOutput struct {
_ struct{} `type:"structure"`
CredentialsId *string `locationName:"credentialsId" type:"string"`
Expiration *string `locationName:"expiration" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RefreshTaskIAMRoleCredentialsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RefreshTaskIAMRoleCredentialsOutput) GoString() string {
return s.String()
}
type RegistryAuthenticationData struct {
_ struct{} `type:"structure"`
AsmAuthData *ASMAuthData `locationName:"asmAuthData" type:"structure"`
EcrAuthData *ECRAuthData `locationName:"ecrAuthData" type:"structure"`
Type *string `locationName:"type" type:"string" enum:"AuthenticationType"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RegistryAuthenticationData) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RegistryAuthenticationData) GoString() string {
return s.String()
}
type RestartPolicy struct {
_ struct{} `type:"structure"`
Enabled *bool `locationName:"enabled" type:"boolean"`
IgnoredExitCodes []*int64 `locationName:"ignoredExitCodes" type:"list"`
RestartAttemptPeriod *int64 `locationName:"restartAttemptPeriod" type:"integer"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RestartPolicy) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s RestartPolicy) GoString() string {
return s.String()
}
type Secret struct {
_ struct{} `type:"structure"`
ContainerPath *string `locationName:"containerPath" type:"string"`
Name *string `locationName:"name" type:"string"`
Provider *string `locationName:"provider" type:"string" enum:"SecretProvider"`
Region *string `locationName:"region" type:"string"`
Target *string `locationName:"target" type:"string" enum:"SecretTarget"`
Type *string `locationName:"type" type:"string" enum:"SecretType"`
ValueFrom *string `locationName:"valueFrom" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Secret) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Secret) GoString() string {
return s.String()
}
type ServerException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ServerException) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s ServerException) GoString() string {
return s.String()
}
func newErrorServerException(v protocol.ResponseMetadata) error {
return &ServerException{
RespMetadata: v,
}
}
// Code returns the exception type name.
func (s *ServerException) Code() string {
return "ServerException"
}
// Message returns the exception's message.
func (s *ServerException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
return ""
}
// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServerException) OrigErr() error {
return nil
}
func (s *ServerException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
func (s *ServerException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
func (s *ServerException) RequestID() string {
return s.RespMetadata.RequestID
}
type StageUpdateInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
UpdateInfo *UpdateInfo `locationName:"updateInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateInput) GoString() string {
return s.String()
}
type StageUpdateMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
UpdateInfo *UpdateInfo `locationName:"updateInfo" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateMessage) GoString() string {
return s.String()
}
type StageUpdateOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StageUpdateOutput) GoString() string {
return s.String()
}
type Task struct {
_ struct{} `type:"structure"`
AgentConfiguration *string `locationName:"agentConfiguration" type:"string"`
Arn *string `locationName:"arn" type:"string"`
Associations []*Association `locationName:"associations" type:"list"`
Attachments []*Attachment `locationName:"attachments" type:"list"`
Containers []*Container `locationName:"containers" type:"list"`
Cpu *float64 `locationName:"cpu" type:"double"`
DesiredStatus *string `locationName:"desiredStatus" type:"string"`
ElasticNetworkInterfaces []*ElasticNetworkInterface `locationName:"elasticNetworkInterfaces" type:"list"`
EnableFaultInjection *bool `locationName:"enableFaultInjection" type:"boolean"`
ExecutionRoleCredentials *IAMRoleCredentials `locationName:"executionRoleCredentials" type:"structure"`
Family *string `locationName:"family" type:"string"`
IpcMode *string `locationName:"ipcMode" type:"string"`
LaunchType *string `locationName:"launchType" type:"string"`
Memory *int64 `locationName:"memory" type:"integer"`
NetworkMode *string `locationName:"networkMode" type:"string"`
Overrides *string `locationName:"overrides" type:"string"`
PidMode *string `locationName:"pidMode" type:"string"`
ProxyConfiguration *ProxyConfiguration `locationName:"proxyConfiguration" type:"structure"`
RoleCredentials *IAMRoleCredentials `locationName:"roleCredentials" type:"structure"`
ServiceName *string `locationName:"serviceName" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
TaskDefinitionAccountId *string `locationName:"taskDefinitionAccountId" type:"string"`
Version *string `locationName:"version" type:"string"`
Volumes []*Volume `locationName:"volumes" type:"list"`
Zone *string `locationName:"zone" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Task) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Task) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Task) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Task"}
if s.Containers != nil {
for i, v := range s.Containers {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type TaskIdentifier struct {
_ struct{} `type:"structure"`
DesiredStatus *string `locationName:"desiredStatus" type:"string"`
TaskArn *string `locationName:"taskArn" type:"string"`
TaskClusterArn *string `locationName:"taskClusterArn" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskIdentifier) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskIdentifier) GoString() string {
return s.String()
}
type TaskManifestInput struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
Tasks []*TaskIdentifier `locationName:"tasks" type:"list"`
Timeline *int64 `locationName:"timeline" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestInput) GoString() string {
return s.String()
}
type TaskManifestMessage struct {
_ struct{} `type:"structure"`
ClusterArn *string `locationName:"clusterArn" type:"string"`
ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
Tasks []*TaskIdentifier `locationName:"tasks" type:"list"`
Timeline *int64 `locationName:"timeline" type:"long"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestMessage) GoString() string {
return s.String()
}
type TaskManifestOutput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskManifestOutput) GoString() string {
return s.String()
}
type TaskStopVerificationAck struct {
_ struct{} `type:"structure"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
StopTasks []*TaskIdentifier `locationName:"stopTasks" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationAck) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationAck) GoString() string {
return s.String()
}
type TaskStopVerificationInput struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
StopCandidates []*TaskIdentifier `locationName:"stopCandidates" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationInput) GoString() string {
return s.String()
}
type TaskStopVerificationMessage struct {
_ struct{} `type:"structure"`
MessageId *string `locationName:"messageId" type:"string"`
StopCandidates []*TaskIdentifier `locationName:"stopCandidates" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationMessage) GoString() string {
return s.String()
}
type TaskStopVerificationOutput struct {
_ struct{} `type:"structure"`
GeneratedAt *int64 `locationName:"generatedAt" type:"long"`
MessageId *string `locationName:"messageId" type:"string"`
StopTasks []*TaskIdentifier `locationName:"stopTasks" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s TaskStopVerificationOutput) GoString() string {
return s.String()
}
type UpdateFailureInput struct {
_ struct{} `type:"structure"`
Cluster *string `locationName:"cluster" type:"string"`
ContainerInstance *string `locationName:"containerInstance" type:"string"`
MessageId *string `locationName:"messageId" type:"string"`
Reason *string `locationName:"reason" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateFailureInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateFailureInput) GoString() string {
return s.String()
}
type UpdateFailureOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateFailureOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateFailureOutput) GoString() string {
return s.String()
}
type UpdateInfo struct {
_ struct{} `type:"structure"`
Location *string `locationName:"location" type:"string"`
Signature *string `locationName:"signature" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateInfo) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s UpdateInfo) GoString() string {
return s.String()
}
type VersionInfo struct {
_ struct{} `type:"structure"`
AgentHash *string `locationName:"agentHash" type:"string"`
AgentVersion *string `locationName:"agentVersion" type:"string"`
DockerVersion *string `locationName:"dockerVersion" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s VersionInfo) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s VersionInfo) GoString() string {
return s.String()
}
type Volume struct {
_ struct{} `type:"structure"`
DockerVolumeConfiguration *DockerVolumeConfiguration `locationName:"dockerVolumeConfiguration" type:"structure"`
EbsVolumeConfiguration *EBSVolumeConfiguration `locationName:"ebsVolumeConfiguration" type:"structure"`
EfsVolumeConfiguration *EFSVolumeConfiguration `locationName:"efsVolumeConfiguration" type:"structure"`
FsxWindowsFileServerVolumeConfiguration *FSxWindowsFileServerVolumeConfiguration `locationName:"fsxWindowsFileServerVolumeConfiguration" type:"structure"`
Host *HostVolumeProperties `locationName:"host" type:"structure"`
Name *string `locationName:"name" type:"string"`
Type *string `locationName:"type" type:"string" enum:"VolumeType"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Volume) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s Volume) GoString() string {
return s.String()
}
type VolumeFrom struct {
_ struct{} `type:"structure"`
ReadOnly *bool `locationName:"readOnly" type:"boolean"`
SourceContainer *string `locationName:"sourceContainer" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s VolumeFrom) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s VolumeFrom) GoString() string {
return s.String()
}