Update aws-sdk-go to v1.36.0

This commit is contained in:
Ciprian Hacman 2020-12-02 15:32:15 +02:00
parent c86e509dbc
commit ec2e3f3f7b
11 changed files with 1916 additions and 932 deletions

2
go.mod
View File

@ -56,7 +56,7 @@ require (
github.com/Masterminds/sprig/v3 v3.1.0
github.com/aliyun/alibaba-cloud-sdk-go v1.61.264
github.com/aws/amazon-ec2-instance-selector/v2 v2.0.1
github.com/aws/aws-sdk-go v1.35.24
github.com/aws/aws-sdk-go v1.36.0
github.com/bazelbuild/bazel-gazelle v0.19.1
github.com/blang/semver/v4 v4.0.0
github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 // indirect

2
go.sum
View File

@ -126,6 +126,8 @@ github.com/aws/aws-sdk-go v1.28.2/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN
github.com/aws/aws-sdk-go v1.31.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.35.24 h1:U3GNTg8+7xSM6OAJ8zksiSM4bRqxBWmVwwehvOSNG3A=
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
github.com/aws/aws-sdk-go v1.36.0 h1:CscTrS+szX5iu34zk2bZrChnGO/GMtUYgMK1Xzs2hYo=
github.com/aws/aws-sdk-go v1.36.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/bazelbuild/bazel-gazelle v0.19.1 h1:TSCGVqpHStCj1MTszuDfZt6Z2Ca8ekq2oWiqcHKVEAE=
github.com/bazelbuild/bazel-gazelle v0.19.1/go.mod h1:rPwzNHUqEzngx1iVBfO/2X2npKaT3tqPqqHW6rVsn/A=
github.com/bazelbuild/buildtools v0.0.0-20190731111112-f720930ceb60 h1:OfyUN/Msd8yqJww6deQ9vayJWw+Jrbe6Qp9giv51QQI=

View File

@ -344,6 +344,20 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
"airflow": service{
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"ap-southeast-1": endpoint{},
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
"eu-west-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
},
},
"api.detective": service{
Defaults: endpoint{
Protocols: []string{"https"},
@ -664,6 +678,18 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
"app-integrations": service{
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"ap-southeast-1": endpoint{},
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-2": endpoint{},
"us-east-1": endpoint{},
"us-west-2": endpoint{},
},
},
"appflow": service{
Endpoints: endpoints{
@ -763,6 +789,7 @@ var awsPartition = partition{
"appsync": service{
Endpoints: endpoints{
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"ap-south-1": endpoint{},
@ -775,6 +802,7 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
"me-south-1": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
@ -785,6 +813,7 @@ var awsPartition = partition{
"athena": service{
Endpoints: endpoints{
"af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@ -963,12 +992,11 @@ var awsPartition = partition{
PartitionEndpoint: "aws-global",
IsRegionalized: boxedFalse,
Defaults: endpoint{
SSLCommonName: "service.chime.aws.amazon.com",
Protocols: []string{"https"},
Protocols: []string{"https"},
},
Endpoints: endpoints{
"aws-global": endpoint{
Hostname: "service.chime.aws.amazon.com",
Hostname: "chime.us-east-1.amazonaws.com",
Protocols: []string{"https"},
CredentialScope: credentialScope{
Region: "us-east-1",
@ -1427,8 +1455,10 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
"fips-us-east-1": endpoint{
Hostname: "cognito-identity-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@ -1447,8 +1477,10 @@ var awsPartition = partition{
Region: "us-west-2",
},
},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
"us-west-2": endpoint{},
},
},
@ -1462,8 +1494,10 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
"fips-us-east-1": endpoint{
Hostname: "cognito-idp-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@ -1482,8 +1516,10 @@ var awsPartition = partition{
Region: "us-west-2",
},
},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
"us-west-2": endpoint{},
},
},
@ -1573,6 +1609,7 @@ var awsPartition = partition{
"config": service{
Endpoints: endpoints{
"af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@ -1582,15 +1619,40 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
"eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
"me-south-1": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
"us-west-2": endpoint{},
"fips-us-east-1": endpoint{
Hostname: "config-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-east-1",
},
},
"fips-us-east-2": endpoint{
Hostname: "config-fips.us-east-2.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-east-2",
},
},
"fips-us-west-1": endpoint{
Hostname: "config-fips.us-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-west-1",
},
},
"fips-us-west-2": endpoint{
Hostname: "config-fips.us-west-2.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-west-2",
},
},
"me-south-1": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
"us-west-2": endpoint{},
},
},
"connect": service{
@ -1605,6 +1667,14 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
"contact-lens": service{
Endpoints: endpoints{
"ap-southeast-2": endpoint{},
"us-east-1": endpoint{},
"us-west-2": endpoint{},
},
},
"cur": service{
Endpoints: endpoints{
@ -1885,6 +1955,12 @@ var awsPartition = partition{
Region: "eu-west-3",
},
},
"sa-east-1": endpoint{
Hostname: "rds.sa-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "sa-east-1",
},
},
"us-east-1": endpoint{
Hostname: "rds.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@ -2996,6 +3072,7 @@ var awsPartition = partition{
"glue": service{
Endpoints: endpoints{
"af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@ -3756,6 +3833,18 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
"lookoutvision": service{
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
},
},
"machinelearning": service{
Endpoints: endpoints{
@ -5636,6 +5725,7 @@ var awsPartition = partition{
"snowball": service{
Endpoints: endpoints{
"af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@ -6249,11 +6339,14 @@ var awsPartition = partition{
"transcribestreaming": service{
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
@ -6790,7 +6883,8 @@ var awscnPartition = partition{
"appsync": service{
Endpoints: endpoints{
"cn-north-1": endpoint{},
"cn-north-1": endpoint{},
"cn-northwest-1": endpoint{},
},
},
"athena": service{
@ -6946,6 +7040,17 @@ var awscnPartition = partition{
"cn-northwest-1": endpoint{},
},
},
"docdb": service{
Endpoints: endpoints{
"cn-northwest-1": endpoint{
Hostname: "rds.cn-northwest-1.amazonaws.com.cn",
CredentialScope: credentialScope{
Region: "cn-northwest-1",
},
},
},
},
"ds": service{
Endpoints: endpoints{
@ -7273,12 +7378,6 @@ var awscnPartition = partition{
Region: "cn-northwest-1",
},
},
"fips-aws-cn-global": endpoint{
Hostname: "organizations.cn-northwest-1.amazonaws.com.cn",
CredentialScope: credentialScope{
Region: "cn-northwest-1",
},
},
},
},
"polly": service{
@ -7287,6 +7386,13 @@ var awscnPartition = partition{
"cn-northwest-1": endpoint{},
},
},
"ram": service{
Endpoints: endpoints{
"cn-north-1": endpoint{},
"cn-northwest-1": endpoint{},
},
},
"rds": service{
Endpoints: endpoints{
@ -7972,6 +8078,18 @@ var awsusgovPartition = partition{
"config": service{
Endpoints: endpoints{
"fips-us-gov-east-1": endpoint{
Hostname: "config.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
},
"fips-us-gov-west-1": endpoint{
Hostname: "config.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
},
"us-gov-east-1": endpoint{},
"us-gov-west-1": endpoint{},
},
@ -8344,12 +8462,25 @@ var awsusgovPartition = partition{
Protocols: []string{"https"},
},
Endpoints: endpoints{
"dataplane-us-gov-east-1": endpoint{
Hostname: "greengrass-ats.iot.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
},
"dataplane-us-gov-west-1": endpoint{
Hostname: "greengrass-ats.iot.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
},
"fips-us-gov-east-1": endpoint{
Hostname: "greengrass-fips.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
},
"us-gov-east-1": endpoint{},
"us-gov-west-1": endpoint{
Hostname: "greengrass.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
@ -8365,6 +8496,12 @@ var awsusgovPartition = partition{
},
Endpoints: endpoints{
"us-gov-east-1": endpoint{},
"us-gov-east-1-fips": endpoint{
Hostname: "guardduty.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
},
"us-gov-west-1": endpoint{},
"us-gov-west-1-fips": endpoint{
Hostname: "guardduty.us-gov-west-1.amazonaws.com",
@ -8485,6 +8622,18 @@ var awsusgovPartition = partition{
"us-gov-west-1": endpoint{},
},
},
"lakeformation": service{
Endpoints: endpoints{
"fips-us-gov-west-1": endpoint{
Hostname: "lakeformation-fips.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
},
"us-gov-west-1": endpoint{},
},
},
"lambda": service{
Endpoints: endpoints{
@ -9593,6 +9742,14 @@ var awsisoPartition = partition{
"us-iso-east-1": endpoint{},
},
},
"translate": service{
Defaults: endpoint{
Protocols: []string{"https"},
},
Endpoints: endpoints{
"us-iso-east-1": endpoint{},
},
},
"workspaces": service{
Endpoints: endpoints{
@ -9667,6 +9824,12 @@ var awsisobPartition = partition{
"us-isob-east-1": endpoint{},
},
},
"codedeploy": service{
Endpoints: endpoints{
"us-isob-east-1": endpoint{},
},
},
"config": service{
Endpoints: endpoints{
@ -9744,6 +9907,12 @@ var awsisobPartition = partition{
"us-isob-east-1": endpoint{},
},
},
"es": service{
Endpoints: endpoints{
"us-isob-east-1": endpoint{},
},
},
"events": service{
Endpoints: endpoints{

View File

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
const SDKVersion = "1.35.24"
const SDKVersion = "1.36.0"

File diff suppressed because it is too large Load Diff

View File

@ -255,6 +255,9 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re
// the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't
// make changes until you execute the change set.
//
// To create a change set for the entire stack hierachy, set IncludeNestedStacks
// to True.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -633,6 +636,11 @@ func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (re
// If the call successfully completes, AWS CloudFormation successfully deleted
// the change set.
//
// If IncludeNestedStacks specifies True during the creation of the nested change
// set, then DeleteChangeSet will delete all change sets that belong to the
// stacks hierarchy and will also delete all change sets for nested stacks with
// the status of REVIEW_IN_PROGRESS.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -2768,6 +2776,9 @@ func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (
// the policy during the update. You can't specify a temporary stack policy
// that overrides the current policy.
//
// To create a change set for the entire stack hierachy, IncludeNestedStacks
// must have been set to True.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -5966,6 +5977,15 @@ type ChangeSetSummary struct {
// updated.
ExecutionStatus *string `type:"string" enum:"ExecutionStatus"`
// Specifies the current setting of IncludeNestedStacks for the change set.
IncludeNestedStacks *bool `type:"boolean"`
// The parent change set ID.
ParentChangeSetId *string `min:"1" type:"string"`
// The root change set ID.
RootChangeSetId *string `min:"1" type:"string"`
// The ID of the stack with which the change set is associated.
StackId *string `type:"string"`
@ -6021,6 +6041,24 @@ func (s *ChangeSetSummary) SetExecutionStatus(v string) *ChangeSetSummary {
return s
}
// SetIncludeNestedStacks sets the IncludeNestedStacks field's value.
func (s *ChangeSetSummary) SetIncludeNestedStacks(v bool) *ChangeSetSummary {
s.IncludeNestedStacks = &v
return s
}
// SetParentChangeSetId sets the ParentChangeSetId field's value.
func (s *ChangeSetSummary) SetParentChangeSetId(v string) *ChangeSetSummary {
s.ParentChangeSetId = &v
return s
}
// SetRootChangeSetId sets the RootChangeSetId field's value.
func (s *ChangeSetSummary) SetRootChangeSetId(v string) *ChangeSetSummary {
s.RootChangeSetId = &v
return s
}
// SetStackId sets the StackId field's value.
func (s *ChangeSetSummary) SetStackId(v string) *ChangeSetSummary {
s.StackId = &v
@ -6226,12 +6264,12 @@ type CreateChangeSetInput struct {
// and AWS::Serverless (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html)
// transforms, which are macros hosted by AWS CloudFormation. This capacity
// does not apply to creating change sets, and specifying it when creating
// change sets has no effect. Also, change sets do not currently support
// nested stacks. If you want to create a stack from a stack template that
// contains macros and nested stacks, you must create or update the stack
// directly from the template using the CreateStack or UpdateStack action,
// and specifying this capability. For more information on macros, see Using
// AWS CloudFormation Macros to Perform Custom Processing on Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
// change sets has no effect. If you want to create a stack from a stack
// template that contains macros and nested stacks, you must create or update
// the stack directly from the template using the CreateStack or UpdateStack
// action, and specifying this capability. For more information on macros,
// see Using AWS CloudFormation Macros to Perform Custom Processing on Templates
// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
Capabilities []*string `type:"list"`
// The name of the change set. The name must be unique among all change sets
@ -6268,6 +6306,11 @@ type CreateChangeSetInput struct {
// A description to help you identify this change set.
Description *string `min:"1" type:"string"`
// Creates a change set for the all nested stacks specified in the template.
// The default behavior of this action is set to False. To include nested sets
// in a change set, specify True.
IncludeNestedStacks *bool `type:"boolean"`
// The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon
// SNS) topics that AWS CloudFormation associates with the stack. To remove
// all associated notification topics, specify an empty list.
@ -6444,6 +6487,12 @@ func (s *CreateChangeSetInput) SetDescription(v string) *CreateChangeSetInput {
return s
}
// SetIncludeNestedStacks sets the IncludeNestedStacks field's value.
func (s *CreateChangeSetInput) SetIncludeNestedStacks(v bool) *CreateChangeSetInput {
s.IncludeNestedStacks = &v
return s
}
// SetNotificationARNs sets the NotificationARNs field's value.
func (s *CreateChangeSetInput) SetNotificationARNs(v []*string) *CreateChangeSetInput {
s.NotificationARNs = v
@ -6581,16 +6630,16 @@ type CreateStackInput struct {
// template, without first reviewing the resulting changes in a change set,
// you must acknowledge this capability. This includes the AWS::Include (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html)
// and AWS::Serverless (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html)
// transforms, which are macros hosted by AWS CloudFormation. Change sets
// do not currently support nested stacks. If you want to create a stack
// from a stack template that contains macros and nested stacks, you must
// create the stack directly from the template using this capability. You
// should only create stacks directly from a stack template that contains
// macros if you know what processing the macro performs. Each macro relies
// on an underlying Lambda service function for processing stack templates.
// Be aware that the Lambda function owner can update the function operation
// without AWS CloudFormation being notified. For more information, see Using
// AWS CloudFormation Macros to Perform Custom Processing on Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
// transforms, which are macros hosted by AWS CloudFormation. If you want
// to create a stack from a stack template that contains macros and nested
// stacks, you must create the stack directly from the template using this
// capability. You should only create stacks directly from a stack template
// that contains macros if you know what processing the macro performs. Each
// macro relies on an underlying Lambda service function for processing stack
// templates. Be aware that the Lambda function owner can update the function
// operation without AWS CloudFormation being notified. For more information,
// see Using AWS CloudFormation Macros to Perform Custom Processing on Templates
// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
Capabilities []*string `type:"list"`
// A unique identifier for this CreateStack request. Specify this token if you
@ -7756,9 +7805,9 @@ func (s DeleteStackSetOutput) GoString() string {
}
// [Service-managed permissions] The AWS Organizations accounts to which StackSets
// deploys. StackSets does not deploy stack instances to the organization master
// account, even if the master account is in your organization or in an OU in
// your organization.
// deploys. StackSets does not deploy stack instances to the organization management
// account, even if the organization management account is in your organization
// or in an OU in your organization.
//
// For update operations, you can specify either Accounts or OrganizationalUnitIds.
// For create and delete operations, specify OrganizationalUnitIds.
@ -8058,6 +8107,9 @@ type DescribeChangeSetOutput struct {
// updated.
ExecutionStatus *string `type:"string" enum:"ExecutionStatus"`
// Verifies if IncludeNestedStacks is set to True.
IncludeNestedStacks *bool `type:"boolean"`
// If the output exceeds 1 MB, a string that identifies the next page of changes.
// If there is no additional page, this value is null.
NextToken *string `min:"1" type:"string"`
@ -8072,10 +8124,18 @@ type DescribeChangeSetOutput struct {
// data type.
Parameters []*Parameter `type:"list"`
// Specifies the change set ID of the parent change set in the current nested
// change set hierarchy.
ParentChangeSetId *string `min:"1" type:"string"`
// The rollback triggers for AWS CloudFormation to monitor during stack creation
// and updating operations, and for the specified monitoring period afterwards.
RollbackConfiguration *RollbackConfiguration `type:"structure"`
// Specifies the change set ID of the root change set in the current nested
// change set hierarchy.
RootChangeSetId *string `min:"1" type:"string"`
// The ARN of the stack that is associated with the change set.
StackId *string `type:"string"`
@ -8147,6 +8207,12 @@ func (s *DescribeChangeSetOutput) SetExecutionStatus(v string) *DescribeChangeSe
return s
}
// SetIncludeNestedStacks sets the IncludeNestedStacks field's value.
func (s *DescribeChangeSetOutput) SetIncludeNestedStacks(v bool) *DescribeChangeSetOutput {
s.IncludeNestedStacks = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *DescribeChangeSetOutput) SetNextToken(v string) *DescribeChangeSetOutput {
s.NextToken = &v
@ -8165,12 +8231,24 @@ func (s *DescribeChangeSetOutput) SetParameters(v []*Parameter) *DescribeChangeS
return s
}
// SetParentChangeSetId sets the ParentChangeSetId field's value.
func (s *DescribeChangeSetOutput) SetParentChangeSetId(v string) *DescribeChangeSetOutput {
s.ParentChangeSetId = &v
return s
}
// SetRollbackConfiguration sets the RollbackConfiguration field's value.
func (s *DescribeChangeSetOutput) SetRollbackConfiguration(v *RollbackConfiguration) *DescribeChangeSetOutput {
s.RollbackConfiguration = v
return s
}
// SetRootChangeSetId sets the RootChangeSetId field's value.
func (s *DescribeChangeSetOutput) SetRootChangeSetId(v string) *DescribeChangeSetOutput {
s.RootChangeSetId = &v
return s
}
// SetStackId sets the StackId field's value.
func (s *DescribeChangeSetOutput) SetStackId(v string) *DescribeChangeSetOutput {
s.StackId = &v
@ -11559,6 +11637,9 @@ type ListTypesInput struct {
// handlers, and therefore cannot actually be provisioned.
ProvisioningType *string `type:"string" enum:"ProvisioningType"`
// The type of extension.
Type *string `type:"string" enum:"RegistryType"`
// The scope at which the type is visible and usable in CloudFormation operations.
//
// Valid values include:
@ -11624,6 +11705,12 @@ func (s *ListTypesInput) SetProvisioningType(v string) *ListTypesInput {
return s
}
// SetType sets the Type field's value.
func (s *ListTypesInput) SetType(v string) *ListTypesInput {
s.Type = &v
return s
}
// SetVisibility sets the Visibility field's value.
func (s *ListTypesInput) SetVisibility(v string) *ListTypesInput {
s.Visibility = &v
@ -11727,6 +11814,62 @@ func (s *LoggingConfig) SetLogRoleArn(v string) *LoggingConfig {
return s
}
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
//
// For more information on modules, see Using modules to encapsulate and reuse
// resource configurations (AWSCloudFormation/latest/UserGuide/modules.html)
// in the CloudFormation User Guide.
type ModuleInfo struct {
_ struct{} `type:"structure"`
// A concantenated list of the logical IDs of the module or modules containing
// the resource. Modules are listed starting with the inner-most nested module,
// and separated by /.
//
// In the following example, the resource was created from a module, moduleA,
// that is nested inside a parent module, moduleB.
//
// moduleA/moduleB
//
// For more information, see Referencing resources in a module (AWSCloudFormation/latest/UserGuide/modules.html#module-ref-resources)
// in the CloudFormation User Guide.
LogicalIdHierarchy *string `type:"string"`
// A concantenated list of the the module type or types containing the resource.
// Module types are listed starting with the inner-most nested module, and separated
// by /.
//
// In the following example, the resource was created from a module of type
// AWS::First::Example::MODULE, that is nested inside a parent module of type
// AWS::Second::Example::MODULE.
//
// AWS::First::Example::MODULE/AWS::Second::Example::MODULE
TypeHierarchy *string `type:"string"`
}
// String returns the string representation
func (s ModuleInfo) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ModuleInfo) GoString() string {
return s.String()
}
// SetLogicalIdHierarchy sets the LogicalIdHierarchy field's value.
func (s *ModuleInfo) SetLogicalIdHierarchy(v string) *ModuleInfo {
s.LogicalIdHierarchy = &v
return s
}
// SetTypeHierarchy sets the TypeHierarchy field's value.
func (s *ModuleInfo) SetTypeHierarchy(v string) *ModuleInfo {
s.TypeHierarchy = &v
return s
}
// The Output data type.
type Output struct {
_ struct{} `type:"structure"`
@ -12196,11 +12339,12 @@ type RegisterTypeInput struct {
// to register, see submit (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html)
// in the CloudFormation CLI User Guide.
//
// As part of registering a resource provider type, CloudFormation must be able
// to access the S3 bucket which contains the schema handler package for that
// resource provider. For more information, see IAM Permissions for Registering
// a Resource Provider (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-register-permissions)
// in the AWS CloudFormation User Guide.
// The user registering the resource provider type must be able to access the
// the schema handler package in the S3 bucket. That is, the user needs to have
// GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
// permissions for the schema handler package. For more information, see Actions,
// Resources, and Condition Keys for Amazon S3 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html)
// in the AWS Identity and Access Management User Guide.
//
// SchemaHandlerPackage is a required field
SchemaHandlerPackage *string `min:"1" type:"string" required:"true"`
@ -12344,9 +12488,14 @@ type ResourceChange struct {
_ struct{} `type:"structure"`
// The action that AWS CloudFormation takes on the resource, such as Add (adds
// a new resource), Modify (changes a resource), or Remove (deletes a resource).
// a new resource), Modify (changes a resource), Remove (deletes a resource),
// Import (imports a resource), or Dynamic (exact action for the resource cannot
// be determined).
Action *string `type:"string" enum:"ChangeAction"`
// The change set ID of the nested change set.
ChangeSetId *string `min:"1" type:"string"`
// For the Modify action, a list of ResourceChangeDetail structures that describes
// the changes that AWS CloudFormation will make to the resource.
Details []*ResourceChangeDetail `type:"list"`
@ -12354,6 +12503,10 @@ type ResourceChange struct {
// The resource's logical ID, which is defined in the stack's template.
LogicalResourceId *string `type:"string"`
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
ModuleInfo *ModuleInfo `type:"structure"`
// The resource's physical ID (resource name). Resources that you are adding
// don't have physical IDs because they haven't been created.
PhysicalResourceId *string `type:"string"`
@ -12396,6 +12549,12 @@ func (s *ResourceChange) SetAction(v string) *ResourceChange {
return s
}
// SetChangeSetId sets the ChangeSetId field's value.
func (s *ResourceChange) SetChangeSetId(v string) *ResourceChange {
s.ChangeSetId = &v
return s
}
// SetDetails sets the Details field's value.
func (s *ResourceChange) SetDetails(v []*ResourceChangeDetail) *ResourceChange {
s.Details = v
@ -12408,6 +12567,12 @@ func (s *ResourceChange) SetLogicalResourceId(v string) *ResourceChange {
return s
}
// SetModuleInfo sets the ModuleInfo field's value.
func (s *ResourceChange) SetModuleInfo(v *ModuleInfo) *ResourceChange {
s.ModuleInfo = v
return s
}
// SetPhysicalResourceId sets the PhysicalResourceId field's value.
func (s *ResourceChange) SetPhysicalResourceId(v string) *ResourceChange {
s.PhysicalResourceId = &v
@ -14024,6 +14189,10 @@ type StackResource struct {
// LogicalResourceId is a required field
LogicalResourceId *string `type:"string" required:"true"`
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
ModuleInfo *ModuleInfo `type:"structure"`
// The name or unique identifier that corresponds to a physical instance ID
// of a resource supported by AWS CloudFormation.
PhysicalResourceId *string `type:"string"`
@ -14083,6 +14252,12 @@ func (s *StackResource) SetLogicalResourceId(v string) *StackResource {
return s
}
// SetModuleInfo sets the ModuleInfo field's value.
func (s *StackResource) SetModuleInfo(v *ModuleInfo) *StackResource {
s.ModuleInfo = v
return s
}
// SetPhysicalResourceId sets the PhysicalResourceId field's value.
func (s *StackResource) SetPhysicalResourceId(v string) *StackResource {
s.PhysicalResourceId = &v
@ -14153,6 +14328,10 @@ type StackResourceDetail struct {
// in the AWS CloudFormation User Guide.
Metadata *string `type:"string"`
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
ModuleInfo *ModuleInfo `type:"structure"`
// The name or unique identifier that corresponds to a physical instance ID
// of a resource supported by AWS CloudFormation.
PhysicalResourceId *string `type:"string"`
@ -14219,6 +14398,12 @@ func (s *StackResourceDetail) SetMetadata(v string) *StackResourceDetail {
return s
}
// SetModuleInfo sets the ModuleInfo field's value.
func (s *StackResourceDetail) SetModuleInfo(v *ModuleInfo) *StackResourceDetail {
s.ModuleInfo = v
return s
}
// SetPhysicalResourceId sets the PhysicalResourceId field's value.
func (s *StackResourceDetail) SetPhysicalResourceId(v string) *StackResourceDetail {
s.PhysicalResourceId = &v
@ -14289,6 +14474,10 @@ type StackResourceDrift struct {
// LogicalResourceId is a required field
LogicalResourceId *string `type:"string" required:"true"`
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
ModuleInfo *ModuleInfo `type:"structure"`
// The name or unique identifier that corresponds to a physical instance ID
// of a resource supported by AWS CloudFormation.
PhysicalResourceId *string `type:"string"`
@ -14366,6 +14555,12 @@ func (s *StackResourceDrift) SetLogicalResourceId(v string) *StackResourceDrift
return s
}
// SetModuleInfo sets the ModuleInfo field's value.
func (s *StackResourceDrift) SetModuleInfo(v *ModuleInfo) *StackResourceDrift {
s.ModuleInfo = v
return s
}
// SetPhysicalResourceId sets the PhysicalResourceId field's value.
func (s *StackResourceDrift) SetPhysicalResourceId(v string) *StackResourceDrift {
s.PhysicalResourceId = &v
@ -14531,6 +14726,10 @@ type StackResourceSummary struct {
// LogicalResourceId is a required field
LogicalResourceId *string `type:"string" required:"true"`
// Contains information about the module from which the resource was created,
// if the resource was created from a module included in the stack template.
ModuleInfo *ModuleInfo `type:"structure"`
// The name or unique identifier that corresponds to a physical instance ID
// of the resource.
PhysicalResourceId *string `type:"string"`
@ -14579,6 +14778,12 @@ func (s *StackResourceSummary) SetLogicalResourceId(v string) *StackResourceSumm
return s
}
// SetModuleInfo sets the ModuleInfo field's value.
func (s *StackResourceSummary) SetModuleInfo(v *ModuleInfo) *StackResourceSummary {
s.ModuleInfo = v
return s
}
// SetPhysicalResourceId sets the PhysicalResourceId field's value.
func (s *StackResourceSummary) SetPhysicalResourceId(v string) *StackResourceSummary {
s.PhysicalResourceId = &v
@ -16027,16 +16232,16 @@ type UpdateStackInput struct {
// template, without first reviewing the resulting changes in a change set,
// you must acknowledge this capability. This includes the AWS::Include (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html)
// and AWS::Serverless (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html)
// transforms, which are macros hosted by AWS CloudFormation. Change sets
// do not currently support nested stacks. If you want to update a stack
// from a stack template that contains macros and nested stacks, you must
// update the stack directly from the template using this capability. You
// should only update stacks directly from a stack template that contains
// macros if you know what processing the macro performs. Each macro relies
// on an underlying Lambda service function for processing stack templates.
// Be aware that the Lambda function owner can update the function operation
// without AWS CloudFormation being notified. For more information, see Using
// AWS CloudFormation Macros to Perform Custom Processing on Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
// transforms, which are macros hosted by AWS CloudFormation. If you want
// to update a stack from a stack template that contains macros and nested
// stacks, you must update the stack directly from the template using this
// capability. You should only update stacks directly from a stack template
// that contains macros if you know what processing the macro performs. Each
// macro relies on an underlying Lambda service function for processing stack
// templates. Be aware that the Lambda function owner can update the function
// operation without AWS CloudFormation being notified. For more information,
// see Using AWS CloudFormation Macros to Perform Custom Processing on Templates
// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html).
Capabilities []*string `type:"list"`
// A unique identifier for this UpdateStack request. Specify this token if you
@ -17195,6 +17400,9 @@ const (
// ChangeActionImport is a ChangeAction enum value
ChangeActionImport = "Import"
// ChangeActionDynamic is a ChangeAction enum value
ChangeActionDynamic = "Dynamic"
)
// ChangeAction_Values returns all elements of the ChangeAction enum
@ -17204,6 +17412,7 @@ func ChangeAction_Values() []string {
ChangeActionModify,
ChangeActionRemove,
ChangeActionImport,
ChangeActionDynamic,
}
}
@ -17217,9 +17426,18 @@ const (
// ChangeSetStatusCreateComplete is a ChangeSetStatus enum value
ChangeSetStatusCreateComplete = "CREATE_COMPLETE"
// ChangeSetStatusDeletePending is a ChangeSetStatus enum value
ChangeSetStatusDeletePending = "DELETE_PENDING"
// ChangeSetStatusDeleteInProgress is a ChangeSetStatus enum value
ChangeSetStatusDeleteInProgress = "DELETE_IN_PROGRESS"
// ChangeSetStatusDeleteComplete is a ChangeSetStatus enum value
ChangeSetStatusDeleteComplete = "DELETE_COMPLETE"
// ChangeSetStatusDeleteFailed is a ChangeSetStatus enum value
ChangeSetStatusDeleteFailed = "DELETE_FAILED"
// ChangeSetStatusFailed is a ChangeSetStatus enum value
ChangeSetStatusFailed = "FAILED"
)
@ -17230,7 +17448,10 @@ func ChangeSetStatus_Values() []string {
ChangeSetStatusCreatePending,
ChangeSetStatusCreateInProgress,
ChangeSetStatusCreateComplete,
ChangeSetStatusDeletePending,
ChangeSetStatusDeleteInProgress,
ChangeSetStatusDeleteComplete,
ChangeSetStatusDeleteFailed,
ChangeSetStatusFailed,
}
}
@ -17546,12 +17767,16 @@ func RegistrationStatus_Values() []string {
const (
// RegistryTypeResource is a RegistryType enum value
RegistryTypeResource = "RESOURCE"
// RegistryTypeModule is a RegistryType enum value
RegistryTypeModule = "MODULE"
)
// RegistryType_Values returns all elements of the RegistryType enum
func RegistryType_Values() []string {
return []string{
RegistryTypeResource,
RegistryTypeModule,
}
}

File diff suppressed because it is too large Load Diff

View File

@ -63,12 +63,9 @@ func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInp
// If the certificate in already in the certificate list, the call is successful
// but the certificate is not added again.
//
// To get the certificate list for a listener, use DescribeListenerCertificates.
// To remove certificates from the certificate list for a listener, use RemoveListenerCertificates.
// To replace the default certificate for a listener, use ModifyListener.
//
// For more information, see SSL Certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates)
// in the Application Load Balancers Guide.
// For more information, see HTTPS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html)
// in the Application Load Balancers Guide or TLS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -155,15 +152,12 @@ func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, outpu
// AddTags API operation for Elastic Load Balancing.
//
// Adds the specified tags to the specified Elastic Load Balancing resource.
// You can tag your Application Load Balancers, Network Load Balancers, target
// groups, listeners, and rules.
// You can tag your Application Load Balancers, Network Load Balancers, Gateway
// Load Balancers, target groups, listeners, and rules.
//
// Each tag consists of a key and an optional value. If a resource already has
// a tag with the same key, AddTags updates its value.
//
// To list the current tags for your resources, use DescribeTags. To remove
// tags from your resources, use RemoveTags.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -250,22 +244,21 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.
// CreateListener API operation for Elastic Load Balancing.
//
// Creates a listener for the specified Application Load Balancer or Network
// Load Balancer.
// Creates a listener for the specified Application Load Balancer, Network Load
// Balancer. or Gateway Load Balancer.
//
// To update a listener, use ModifyListener. When you are finished with a listener,
// you can delete it using DeleteListener. If you are finished with both the
// listener and the load balancer, you can delete them both using DeleteLoadBalancer.
// For more information, see the following:
//
// * Listeners for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html)
//
// * Listeners for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html)
//
// * Listeners for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html)
//
// This operation is idempotent, which means that it completes at most one time.
// If you attempt to create multiple listeners with the same settings, each
// call succeeds.
//
// For more information, see Listeners for Your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html)
// in the Application Load Balancers Guide and Listeners for Your Network Load
// Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -397,29 +390,21 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *
// CreateLoadBalancer API operation for Elastic Load Balancing.
//
// Creates an Application Load Balancer or a Network Load Balancer.
// Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
// Balancer.
//
// When you create a load balancer, you can specify security groups, public
// subnets, IP address type, and tags. Otherwise, you could do so later using
// SetSecurityGroups, SetSubnets, SetIpAddressType, and AddTags.
// For more information, see the following:
//
// To create listeners for your load balancer, use CreateListener. To describe
// your current load balancers, see DescribeLoadBalancers. When you are finished
// with a load balancer, you can delete it using DeleteLoadBalancer.
// * Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html)
//
// For limit information, see Limits for Your Application Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html)
// in the Application Load Balancers Guide and Limits for Your Network Load
// Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html)
// in the Network Load Balancers Guide.
// * Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html)
//
// * Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html)
//
// This operation is idempotent, which means that it completes at most one time.
// If you attempt to create multiple load balancers with the same settings,
// each call succeeds.
//
// For more information, see Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html)
// in the Application Load Balancers Guide and Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -540,13 +525,9 @@ func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request,
// Rules are evaluated in priority order, from the lowest value to the highest
// value. When the conditions for a rule are met, its actions are performed.
// If the conditions for no rules are met, the actions for the default rule
// are performed. For more information, see Listener Rules (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules)
// are performed. For more information, see Listener rules (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules)
// in the Application Load Balancers Guide.
//
// To view your current rules, use DescribeRules. To update a rule, use ModifyRule.
// To set the priorities of your rules, use SetRulePriorities. To delete a rule,
// use DeleteRule.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -671,25 +652,18 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re
//
// Creates a target group.
//
// To register targets with the target group, use RegisterTargets. To update
// the health check settings for the target group, use ModifyTargetGroup. To
// monitor the health of targets in the target group, use DescribeTargetHealth.
// For more information, see the following:
//
// To route traffic to the targets in a target group, specify the target group
// in an action using CreateListener or CreateRule.
// * Target groups for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html)
//
// To delete a target group, use DeleteTargetGroup.
// * Target groups for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html)
//
// * Target groups for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html)
//
// This operation is idempotent, which means that it completes at most one time.
// If you attempt to create multiple target groups with the same settings, each
// call succeeds.
//
// For more information, see Target Groups for Your Application Load Balancers
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html)
// in the Application Load Balancers Guide or Target Groups for Your Network
// Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -780,7 +754,7 @@ func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.
// Deletes the specified listener.
//
// Alternatively, your listener is deleted when you delete the load balancer
// to which it is attached, using DeleteLoadBalancer.
// to which it is attached.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -860,8 +834,8 @@ func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *
// DeleteLoadBalancer API operation for Elastic Load Balancing.
//
// Deletes the specified Application Load Balancer or Network Load Balancer
// and its attached listeners.
// Deletes the specified Application Load Balancer, Network Load Balancer, or
// Gateway Load Balancer. Deleting a load balancer also deletes its listeners.
//
// You can't delete a load balancer if deletion protection is enabled. If the
// load balancer does not exist or has already been deleted, the call succeeds.
@ -1043,7 +1017,9 @@ func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *re
// Deletes the specified target group.
//
// You can delete a target group if it is not referenced by any actions. Deleting
// a target group also deletes any associated health checks.
// a target group also deletes any associated health checks. Deleting a target
// group does not affect its registered targets. For example, any EC2 instances
// continue to run until you stop or terminate them.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1211,10 +1187,13 @@ func (c *ELBV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput)
// Describes the current Elastic Load Balancing resource limits for your AWS
// account.
//
// For more information, see Limits for Your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html)
// in the Application Load Balancer Guide or Limits for Your Network Load Balancers
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html)
// in the Network Load Balancers Guide.
// For more information, see the following:
//
// * Quotas for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html)
//
// * Quotas for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html)
//
// * Quotas for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html)
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1295,8 +1274,9 @@ func (c *ELBV2) DescribeListenerCertificatesRequest(input *DescribeListenerCerti
// in the results (once with IsDefault set to true and once with IsDefault set
// to false).
//
// For more information, see SSL Certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates)
// in the Application Load Balancers Guide.
// For more information, see SSL certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates)
// in the Application Load Balancers Guide or Server certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1382,12 +1362,8 @@ func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *re
// DescribeListeners API operation for Elastic Load Balancing.
//
// Describes the specified listeners or the listeners for the specified Application
// Load Balancer or Network Load Balancer. You must specify either a load balancer
// or one or more listeners.
//
// For an HTTPS or TLS listener, the output includes the default certificate
// for the listener. To describe the certificate list for the listener, use
// DescribeListenerCertificates.
// Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must
// specify either a load balancer or one or more listeners.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1524,12 +1500,19 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance
// DescribeLoadBalancerAttributes API operation for Elastic Load Balancing.
//
// Describes the attributes for the specified Application Load Balancer or Network
// Load Balancer.
// Describes the attributes for the specified Application Load Balancer, Network
// Load Balancer, or Gateway Load Balancer.
//
// For more information, see Load Balancer Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes)
// in the Application Load Balancers Guide or Load Balancer Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes)
// in the Network Load Balancers Guide.
// For more information, see the following:
//
// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes)
// in the Application Load Balancers Guide
//
// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes)
// in the Network Load Balancers Guide
//
// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes)
// in the Gateway Load Balancers Guide
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1616,9 +1599,6 @@ func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput)
//
// Describes the specified load balancers or all of your load balancers.
//
// To describe the listeners for a load balancer, use DescribeListeners. To
// describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -1836,8 +1816,9 @@ func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req
//
// Describes the specified policies or all policies used for SSL negotiation.
//
// For more information, see Security Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide.
// For more information, see Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide or Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
// in the Network Load Balancers Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -1918,7 +1899,7 @@ func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Requ
//
// Describes the tags for the specified Elastic Load Balancing resources. You
// can describe the tags for one or more Application Load Balancers, Network
// Load Balancers, target groups, listeners, or rules.
// Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -2008,9 +1989,16 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA
//
// Describes the attributes for the specified target group.
//
// For more information, see Target Group Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes)
// in the Application Load Balancers Guide or Target Group Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes)
// in the Network Load Balancers Guide.
// For more information, see the following:
//
// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes)
// in the Application Load Balancers Guide
//
// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes)
// in the Network Load Balancers Guide
//
// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes)
// in the Gateway Load Balancers Guide
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -2100,9 +2088,6 @@ func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (r
// following to filter the results: the ARN of the load balancer, the names
// of one or more target groups, or the ARNs of one or more target groups.
//
// To describe the targets for a target group, use DescribeTargetHealth. To
// describe the attributes of a target group, use DescribeTargetGroupAttributes.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -2462,8 +2447,8 @@ func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAtt
// ModifyLoadBalancerAttributes API operation for Elastic Load Balancing.
//
// Modifies the specified attributes of the specified Application Load Balancer
// or Network Load Balancer.
// Modifies the specified attributes of the specified Application Load Balancer,
// Network Load Balancer, or Gateway Load Balancer.
//
// If any of the specified attributes can't be modified as requested, the call
// fails. Any existing attributes that you do not modify retain their current
@ -2556,8 +2541,6 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request,
// a list, you must provide the entire list. For example, to add an action,
// specify a list with the current actions plus the new action.
//
// To modify the actions for the default rule, use ModifyListener.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -2671,8 +2654,6 @@ func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *re
// Modifies the health checks used when evaluating the health state of the targets
// in the specified target group.
//
// To monitor the health of the targets, use DescribeTargetHealth.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -2851,8 +2832,6 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques
// G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these
// types by IP address.
//
// To remove a target from a target group, use DeregisterTargets.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -2945,11 +2924,6 @@ func (c *ELBV2) RemoveListenerCertificatesRequest(input *RemoveListenerCertifica
// Removes the specified certificate from the certificate list for the specified
// HTTPS or TLS listener.
//
// You can't remove the default certificate for a listener. To replace the default
// certificate, call ModifyListener.
//
// To list the certificates for your listener, use DescribeListenerCertificates.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@ -3033,9 +3007,7 @@ func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request,
//
// Removes the specified tags from the specified Elastic Load Balancing resources.
// You can remove the tags for one or more Application Load Balancers, Network
// Load Balancers, target groups, listeners, or rules.
//
// To list the current tags for your resources, use DescribeTags.
// Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -3305,7 +3277,8 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re
// Balancer. The specified security groups override the previously associated
// security groups.
//
// You can't specify a security group for a Network Load Balancer.
// You can't specify a security group for a Network Load Balancer or Gateway
// Load Balancer.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -3391,7 +3364,8 @@ func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request,
// SetSubnets API operation for Elastic Load Balancing.
//
// Enables the Availability Zones for the specified public subnets for the specified
// load balancer. The specified subnets replace the previously enabled subnets.
// Application Load Balancer or Network Load Balancer. The specified subnets
// replace the previously enabled subnets.
//
// When you specify subnets for a Network Load Balancer, you must include all
// subnets that were enabled previously, with their existing configurations,
@ -4186,15 +4160,13 @@ type CreateListenerInput struct {
//
// * None
//
// For more information, see ALPN Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies)
// For more information, see ALPN policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies)
// in the Network Load Balancers Guide.
AlpnPolicy []*string `type:"list"`
// [HTTPS and TLS listeners] The default certificate for the listener. You must
// provide exactly one certificate. Set CertificateArn to the certificate ARN
// but do not set IsDefault.
//
// To create a certificate list for the listener, use AddListenerCertificates.
Certificates []*Certificate `type:"list"`
// The actions for the default rule.
@ -4207,41 +4179,22 @@ type CreateListenerInput struct {
// LoadBalancerArn is a required field
LoadBalancerArn *string `type:"string" required:"true"`
// The port on which the load balancer is listening.
//
// Port is a required field
Port *int64 `min:"1" type:"integer" required:"true"`
// The port on which the load balancer is listening. You cannot specify a port
// for a Gateway Load Balancer.
Port *int64 `min:"1" type:"integer"`
// The protocol for connections from clients to the load balancer. For Application
// Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load
// Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP.
//
// Protocol is a required field
Protocol *string `type:"string" required:"true" enum:"ProtocolEnum"`
// Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You cant
// specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot
// specify a protocol for a Gateway Load Balancer.
Protocol *string `type:"string" enum:"ProtocolEnum"`
// [HTTPS and TLS listeners] The security policy that defines which protocols
// and ciphers are supported. The following are the possible values:
// and ciphers are supported.
//
// * ELBSecurityPolicy-2016-08
//
// * ELBSecurityPolicy-TLS-1-0-2015-04
//
// * ELBSecurityPolicy-TLS-1-1-2017-01
//
// * ELBSecurityPolicy-TLS-1-2-2017-01
//
// * ELBSecurityPolicy-TLS-1-2-Ext-2018-06
//
// * ELBSecurityPolicy-FS-2018-06
//
// * ELBSecurityPolicy-FS-1-1-2019-08
//
// * ELBSecurityPolicy-FS-1-2-2019-08
//
// * ELBSecurityPolicy-FS-1-2-Res-2019-08
//
// For more information, see Security Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide and Security Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
// For more information, see Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide and Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
// in the Network Load Balancers Guide.
SslPolicy *string `type:"string"`
@ -4268,15 +4221,9 @@ func (s *CreateListenerInput) Validate() error {
if s.LoadBalancerArn == nil {
invalidParams.Add(request.NewErrParamRequired("LoadBalancerArn"))
}
if s.Port == nil {
invalidParams.Add(request.NewErrParamRequired("Port"))
}
if s.Port != nil && *s.Port < 1 {
invalidParams.Add(request.NewErrParamMinValue("Port", 1))
}
if s.Protocol == nil {
invalidParams.Add(request.NewErrParamRequired("Protocol"))
}
if s.Tags != nil && len(s.Tags) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
}
@ -4385,10 +4332,9 @@ type CreateLoadBalancerInput struct {
// pool (CoIP pool).
CustomerOwnedIpv4Pool *string `type:"string"`
// [Application Load Balancers] The type of IP addresses used by the subnets
// for your load balancer. The possible values are ipv4 (for IPv4 addresses)
// and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must
// use ipv4.
// The type of IP addresses used by the subnets for your load balancer. The
// possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and
// IPv6 addresses). Internal load balancers must use ipv4.
IpAddressType *string `type:"string" enum:"IpAddressType"`
// The name of the load balancer.
@ -4411,6 +4357,8 @@ type CreateLoadBalancerInput struct {
// only from clients with access to the VPC for the load balancer.
//
// The default is an Internet-facing load balancer.
//
// You cannot specify a scheme for a Gateway Load Balancer.
Scheme *string `type:"string" enum:"LoadBalancerSchemeEnum"`
// [Application Load Balancers] The IDs of the security groups for the load
@ -4432,7 +4380,11 @@ type CreateLoadBalancerInput struct {
// Zones. You can specify one Elastic IP address per subnet if you need static
// IP addresses for your internet-facing load balancer. For internal load balancers,
// you can specify one private IP address per subnet from the IPv4 range of
// the subnet.
// the subnet. For internet-facing load balancer, you can specify one IPv6 address
// per subnet.
//
// [Gateway Load Balancers] You can specify subnets from one or more Availability
// Zones. You cannot specify Elastic IP addresses for your subnets.
SubnetMappings []*SubnetMapping `type:"list"`
// The IDs of the public subnets. You can specify only one subnet per Availability
@ -4448,6 +4400,9 @@ type CreateLoadBalancerInput struct {
//
// [Network Load Balancers] You can specify subnets from one or more Availability
// Zones.
//
// [Gateway Load Balancers] You can specify subnets from one or more Availability
// Zones.
Subnets []*string `type:"list"`
// The tags to assign to the load balancer.
@ -4717,9 +4672,9 @@ type CreateTargetGroupInput struct {
HealthCheckEnabled *bool `type:"boolean"`
// The approximate amount of time, in seconds, between health checks of an individual
// target. For HTTP and HTTPS health checks, the range is 5300 seconds. For
// TCP health checks, the supported values are 10 and 30 seconds. If the target
// type is instance or ip, the default is 30 seconds. If the target type is
// target. For TCP health checks, the supported values are 10 and 30 seconds.
// If the target type is instance or ip, the default is 30 seconds. If the target
// group protocol is GENEVE, the default is 10 seconds. If the target type is
// lambda, the default is 35 seconds.
HealthCheckIntervalSeconds *int64 `min:"5" type:"integer"`
@ -4732,29 +4687,30 @@ type CreateTargetGroupInput struct {
HealthCheckPath *string `min:"1" type:"string"`
// The port the load balancer uses when performing health checks on targets.
// The default is traffic-port, which is the port on which each target receives
// traffic from the load balancer.
// If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is
// traffic-port, which is the port on which each target receives traffic from
// the load balancer. If the protocol is GENEVE, the default is port 80.
HealthCheckPort *string `type:"string"`
// The protocol the load balancer uses when performing health checks on targets.
// For Application Load Balancers, the default is HTTP. For Network Load Balancers,
// the default is TCP. The TCP protocol is supported for health checks only
// if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS,
// UDP, and TCP_UDP protocols are not supported for health checks.
// For Application Load Balancers, the default is HTTP. For Network Load Balancers
// and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported
// for health checks if the protocol of the target group is HTTP or HTTPS. The
// GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
HealthCheckProtocol *string `type:"string" enum:"ProtocolEnum"`
// The amount of time, in seconds, during which no response from a target means
// a failed health check. For target groups with a protocol of HTTP or HTTPS,
// the default is 5 seconds. For target groups with a protocol of TCP or TLS,
// this value must be 6 seconds for HTTP health checks and 10 seconds for TCP
// and HTTPS health checks. If the target type is lambda, the default is 30
// seconds.
// a failed health check. For target groups with a protocol of HTTP, HTTPS,
// or GENEVE, the default is 5 seconds. For target groups with a protocol of
// TCP or TLS, this value must be 6 seconds for HTTP health checks and 10 seconds
// for TCP and HTTPS health checks. If the target type is lambda, the default
// is 30 seconds.
HealthCheckTimeoutSeconds *int64 `min:"2" type:"integer"`
// The number of consecutive health checks successes required before considering
// an unhealthy target healthy. For target groups with a protocol of HTTP or
// HTTPS, the default is 5. For target groups with a protocol of TCP or TLS,
// the default is 3. If the target type is lambda, the default is 5.
// HTTPS, the default is 5. For target groups with a protocol of TCP, TLS, or
// GENEVE, the default is 3. If the target type is lambda, the default is 5.
HealthyThresholdCount *int64 `min:"2" type:"integer"`
// [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for
@ -4772,14 +4728,16 @@ type CreateTargetGroupInput struct {
// The port on which the targets receive traffic. This port is used unless you
// specify a port override when registering the target. If the target is a Lambda
// function, this parameter does not apply.
// function, this parameter does not apply. If the protocol is GENEVE, the supported
// port is 6081.
Port *int64 `min:"1" type:"integer"`
// The protocol to use for routing traffic to the targets. For Application Load
// Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers,
// the supported protocols are TCP, TLS, UDP, or TCP_UDP. A TCP_UDP listener
// must be associated with a TCP_UDP target group. If the target is a Lambda
// function, this parameter does not apply.
// the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers,
// the supported protocol is GENEVE. A TCP_UDP listener must be associated with
// a TCP_UDP target group. If the target is a Lambda function, this parameter
// does not apply.
Protocol *string `type:"string" enum:"ProtocolEnum"`
// [HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests
@ -4794,23 +4752,22 @@ type CreateTargetGroupInput struct {
// target group. You can't specify targets for a target group using more than
// one target type.
//
// * instance - Targets are specified by instance ID. This is the default
// value.
// * instance - Register targets by instance ID. This is the default value.
//
// * ip - Targets are specified by IP address. You can specify IP addresses
// from the subnets of the virtual private cloud (VPC) for the target group,
// the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and
// the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable
// IP addresses.
// * ip - Register targets by IP address. You can specify IP addresses from
// the subnets of the virtual private cloud (VPC) for the target group, the
// RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the
// RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP
// addresses.
//
// * lambda - The target groups contains a single Lambda function.
// * lambda - Register a single Lambda function as a target.
TargetType *string `type:"string" enum:"TargetTypeEnum"`
// The number of consecutive health check failures required before considering
// a target unhealthy. For target groups with a protocol of HTTP or HTTPS, the
// default is 2. For target groups with a protocol of TCP or TLS, this value
// must be the same as the healthy threshold count. If the target type is lambda,
// the default is 2.
// a target unhealthy. If the target group protocol is HTTP or HTTPS, the default
// is 2. If the target group protocol is TCP or TLS, this value must be the
// same as the healthy threshold count. If the target group protocol is GENEVE,
// the default is 3. If the target type is lambda, the default is 2.
UnhealthyThresholdCount *int64 `min:"2" type:"integer"`
// The identifier of the virtual private cloud (VPC). If the target is a Lambda
@ -6419,6 +6376,16 @@ type Limit struct {
//
// * application-load-balancers
//
// * condition-values-per-alb-rule
//
// * condition-wildcards-per-alb-rule
//
// * gateway-load-balancers
//
// * gateway-load-balancers-per-vpc
//
// * geneve-target-groups
//
// * listeners-per-application-load-balancer
//
// * listeners-per-network-load-balancer
@ -6437,6 +6404,8 @@ type Limit struct {
//
// * targets-per-application-load-balancer
//
// * targets-per-availability-zone-per-gateway-load-balancer
//
// * targets-per-availability-zone-per-network-load-balancer
//
// * targets-per-network-load-balancer
@ -6705,6 +6674,9 @@ type LoadBalancerAddress struct {
// an internal-facing load balancer.
AllocationId *string `type:"string"`
// [Network Load Balancers] The IPv6 address.
IPv6Address *string `type:"string"`
// The static IP address.
IpAddress *string `type:"string"`
@ -6728,6 +6700,12 @@ func (s *LoadBalancerAddress) SetAllocationId(v string) *LoadBalancerAddress {
return s
}
// SetIPv6Address sets the IPv6Address field's value.
func (s *LoadBalancerAddress) SetIPv6Address(v string) *LoadBalancerAddress {
s.IPv6Address = &v
return s
}
// SetIpAddress sets the IpAddress field's value.
func (s *LoadBalancerAddress) SetIpAddress(v string) *LoadBalancerAddress {
s.IpAddress = &v
@ -6746,6 +6724,11 @@ type LoadBalancerAttribute struct {
// The name of the attribute.
//
// The following attribute is supported by all load balancers:
//
// * deletion_protection.enabled - Indicates whether deletion protection
// is enabled. The value is true or false. The default is false.
//
// The following attributes are supported by both Application Load Balancers
// and Network Load Balancers:
//
@ -6760,9 +6743,6 @@ type LoadBalancerAttribute struct {
// * access_logs.s3.prefix - The prefix for the location in the S3 bucket
// for the access logs.
//
// * deletion_protection.enabled - Indicates whether deletion protection
// is enabled. The value is true or false. The default is false.
//
// The following attributes are supported by only Application Load Balancers:
//
// * idle_timeout.timeout_seconds - The idle timeout value, in seconds. The
@ -6781,7 +6761,12 @@ type LoadBalancerAttribute struct {
// is true or false. The default is true. Elastic Load Balancing requires
// that message header names contain only alphanumeric characters and hyphens.
//
// The following attributes are supported by only Network Load Balancers:
// * waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load
// balancer to route requests to targets if it is unable to forward the request
// to AWS WAF. The value is true or false. The default is false.
//
// The following attribute is supported by Network Load Balancers and Gateway
// Load Balancers:
//
// * load_balancing.cross_zone.enabled - Indicates whether cross-zone load
// balancing is enabled. The value is true or false. The default is false.
@ -6863,7 +6848,7 @@ type Matcher struct {
// and the default value is 200. You can specify multiple values (for example,
// "200,202") or a range of values (for example, "200-299").
//
// For Network Load Balancers, this is "200399".
// For Network Load Balancers and Gateway Load Balancers, this must be "200399".
HttpCode *string `type:"string"`
}
@ -6905,15 +6890,13 @@ type ModifyListenerInput struct {
//
// * None
//
// For more information, see ALPN Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies)
// For more information, see ALPN policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies)
// in the Network Load Balancers Guide.
AlpnPolicy []*string `type:"list"`
// [HTTPS and TLS listeners] The default certificate for the listener. You must
// provide exactly one certificate. Set CertificateArn to the certificate ARN
// but do not set IsDefault.
//
// To create a certificate list, use AddListenerCertificates.
Certificates []*Certificate `type:"list"`
// The actions for the default rule.
@ -6924,37 +6907,22 @@ type ModifyListenerInput struct {
// ListenerArn is a required field
ListenerArn *string `type:"string" required:"true"`
// The port for connections from clients to the load balancer.
// The port for connections from clients to the load balancer. You cannot specify
// a port for a Gateway Load Balancer.
Port *int64 `min:"1" type:"integer"`
// The protocol for connections from clients to the load balancer. Application
// Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers
// support the TCP, TLS, UDP, and TCP_UDP protocols.
// support the TCP, TLS, UDP, and TCP_UDP protocols. You cant change the
// protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify
// a protocol for a Gateway Load Balancer.
Protocol *string `type:"string" enum:"ProtocolEnum"`
// [HTTPS and TLS listeners] The security policy that defines which protocols
// and ciphers are supported. The following are the possible values:
// and ciphers are supported.
//
// * ELBSecurityPolicy-2016-08
//
// * ELBSecurityPolicy-TLS-1-0-2015-04
//
// * ELBSecurityPolicy-TLS-1-1-2017-01
//
// * ELBSecurityPolicy-TLS-1-2-2017-01
//
// * ELBSecurityPolicy-TLS-1-2-Ext-2018-06
//
// * ELBSecurityPolicy-FS-2018-06
//
// * ELBSecurityPolicy-FS-1-1-2019-08
//
// * ELBSecurityPolicy-FS-1-2-2019-08
//
// * ELBSecurityPolicy-FS-1-2-Res-2019-08
//
// For more information, see Security Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide and Security Policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
// For more information, see Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
// in the Application Load Balancers Guide or Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
// in the Network Load Balancers Guide.
SslPolicy *string `type:"string"`
}
@ -7306,8 +7274,7 @@ type ModifyTargetGroupInput struct {
HealthCheckEnabled *bool `type:"boolean"`
// The approximate amount of time, in seconds, between health checks of an individual
// target. For HTTP and HTTPS health checks, the range is 5 to 300 seconds.
// For TPC health checks, the supported values are 10 or 30 seconds.
// target. For TCP health checks, the supported values are 10 or 30 seconds.
//
// With Network Load Balancers, you can't modify this setting.
HealthCheckIntervalSeconds *int64 `min:"5" type:"integer"`
@ -7325,8 +7292,8 @@ type ModifyTargetGroupInput struct {
// The protocol the load balancer uses when performing health checks on targets.
// The TCP protocol is supported for health checks only if the protocol of the
// target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols
// are not supported for health checks.
// target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP
// protocols are not supported for health checks.
//
// With Network Load Balancers, you can't modify this setting.
HealthCheckProtocol *string `type:"string" enum:"ProtocolEnum"`
@ -8156,7 +8123,8 @@ type SetIpAddressTypeInput struct {
// The IP address type. The possible values are ipv4 (for IPv4 addresses) and
// dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use
// ipv4. Network Load Balancers must use ipv4.
// ipv4. You cant specify dualstack for a load balancer with a UDP or TCP_UDP
// listener.
//
// IpAddressType is a required field
IpAddressType *string `type:"string" required:"true" enum:"IpAddressType"`
@ -8377,6 +8345,13 @@ func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityG
type SetSubnetsInput struct {
_ struct{} `type:"structure"`
// [Network Load Balancers] The type of IP addresses used by the subnets for
// your load balancer. The possible values are ipv4 (for IPv4 addresses) and
// dualstack (for IPv4 and IPv6 addresses). You cant specify dualstack for
// a load balancer with a UDP or TCP_UDP listener. Internal load balancers must
// use ipv4.
IpAddressType *string `type:"string" enum:"IpAddressType"`
// The Amazon Resource Name (ARN) of the load balancer.
//
// LoadBalancerArn is a required field
@ -8388,16 +8363,32 @@ type SetSubnetsInput struct {
// [Application Load Balancers] You must specify subnets from at least two Availability
// Zones. You cannot specify Elastic IP addresses for your subnets.
//
// [Application Load Balancers on Outposts] You must specify one Outpost subnet.
//
// [Application Load Balancers on Local Zones] You can specify subnets from
// one or more Local Zones.
//
// [Network Load Balancers] You can specify subnets from one or more Availability
// Zones. If you need static IP addresses for your internet-facing load balancer,
// you can specify one Elastic IP address per subnet. For internal load balancers,
// Zones. You can specify one Elastic IP address per subnet if you need static
// IP addresses for your internet-facing load balancer. For internal load balancers,
// you can specify one private IP address per subnet from the IPv4 range of
// the subnet.
// the subnet. For internet-facing load balancer, you can specify one IPv6 address
// per subnet.
SubnetMappings []*SubnetMapping `type:"list"`
// The IDs of the public subnets. You must specify subnets from at least two
// Availability Zones. You can specify only one subnet per Availability Zone.
// You must specify either subnets or subnet mappings.
// The IDs of the public subnets. You can specify only one subnet per Availability
// Zone. You must specify either subnets or subnet mappings.
//
// [Application Load Balancers] You must specify subnets from at least two Availability
// Zones.
//
// [Application Load Balancers on Outposts] You must specify one Outpost subnet.
//
// [Application Load Balancers on Local Zones] You can specify subnets from
// one or more Local Zones.
//
// [Network Load Balancers] You can specify subnets from one or more Availability
// Zones.
Subnets []*string `type:"list"`
}
@ -8424,6 +8415,12 @@ func (s *SetSubnetsInput) Validate() error {
return nil
}
// SetIpAddressType sets the IpAddressType field's value.
func (s *SetSubnetsInput) SetIpAddressType(v string) *SetSubnetsInput {
s.IpAddressType = &v
return s
}
// SetLoadBalancerArn sets the LoadBalancerArn field's value.
func (s *SetSubnetsInput) SetLoadBalancerArn(v string) *SetSubnetsInput {
s.LoadBalancerArn = &v
@ -8447,6 +8444,9 @@ type SetSubnetsOutput struct {
// Information about the subnets.
AvailabilityZones []*AvailabilityZone `type:"list"`
// [Network Load Balancers] The IP address type.
IpAddressType *string `type:"string" enum:"IpAddressType"`
}
// String returns the string representation
@ -8465,6 +8465,12 @@ func (s *SetSubnetsOutput) SetAvailabilityZones(v []*AvailabilityZone) *SetSubne
return s
}
// SetIpAddressType sets the IpAddressType field's value.
func (s *SetSubnetsOutput) SetIpAddressType(v string) *SetSubnetsOutput {
s.IpAddressType = &v
return s
}
// Information about a source IP condition.
//
// You can use this condition to route based on the IP address of the source
@ -8549,6 +8555,9 @@ type SubnetMapping struct {
// an internet-facing load balancer.
AllocationId *string `type:"string"`
// [Network Load Balancers] The IPv6 address.
IPv6Address *string `type:"string"`
// [Network Load Balancers] The private IPv4 address for an internal load balancer.
PrivateIPv4Address *string `type:"string"`
@ -8572,6 +8581,12 @@ func (s *SubnetMapping) SetAllocationId(v string) *SubnetMapping {
return s
}
// SetIPv6Address sets the IPv6Address field's value.
func (s *SubnetMapping) SetIPv6Address(v string) *SubnetMapping {
s.IPv6Address = &v
return s
}
// SetPrivateIPv4Address sets the PrivateIPv4Address field's value.
func (s *SubnetMapping) SetPrivateIPv4Address(v string) *SubnetMapping {
s.PrivateIPv4Address = &v
@ -8698,8 +8713,8 @@ type TargetDescription struct {
// Id is a required field
Id *string `type:"string" required:"true"`
// The port on which the target is listening. Not used if the target is a Lambda
// function.
// The port on which the target is listening. If the target group protocol is
// GENEVE, the supported port is 6081. Not used if the target is a Lambda function.
Port *int64 `min:"1" type:"integer"`
}
@ -8764,7 +8779,8 @@ type TargetGroup struct {
// The port to use to connect with the target.
HealthCheckPort *string `type:"string"`
// The protocol to use to connect with the target.
// The protocol to use to connect with the target. The GENEVE, TLS, UDP, and
// TCP_UDP protocols are not supported for health checks.
HealthCheckProtocol *string `type:"string" enum:"ProtocolEnum"`
// The amount of time, in seconds, during which no response means a failed health
@ -8801,8 +8817,9 @@ type TargetGroup struct {
TargetGroupName *string `type:"string"`
// The type of target that you must specify when registering targets with this
// target group. The possible values are instance (targets are specified by
// instance ID) or ip (targets are specified by IP address).
// target group. The possible values are instance (register targets by instance
// ID), ip (register targets by IP address), or lambda (register a single Lambda
// function as a target).
TargetType *string `type:"string" enum:"TargetTypeEnum"`
// The number of consecutive health check failures required before considering
@ -8931,8 +8948,7 @@ type TargetGroupAttribute struct {
// The name of the attribute.
//
// The following attributes are supported by both Application Load Balancers
// and Network Load Balancers:
// The following attribute is supported by all load balancers:
//
// * deregistration_delay.timeout_seconds - The amount of time, in seconds,
// for Elastic Load Balancing to wait before changing the state of a deregistering
@ -8940,6 +8956,9 @@ type TargetGroupAttribute struct {
// value is 300 seconds. If the target is a Lambda function, this attribute
// is not supported.
//
// The following attributes are supported by both Application Load Balancers
// and Network Load Balancers:
//
// * stickiness.enabled - Indicates whether sticky sessions are enabled.
// The value is true or false. The default is false.
//
@ -8976,7 +8995,11 @@ type TargetGroupAttribute struct {
// contains a duplicate header field name or query parameter key, the load
// balancer uses the last value sent by the client.
//
// The following attribute is supported only by Network Load Balancers:
// The following attributes are supported only by Network Load Balancers:
//
// * deregistration_delay.connection_termination.enabled - Indicates whether
// the load balancer terminates connections at the end of the deregistration
// timeout. The value is true or false. The default is false.
//
// * proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version
// 2 is enabled. The value is true or false. The default is false.
@ -9101,10 +9124,11 @@ type TargetHealth struct {
// values:
//
// * Target.ResponseCodeMismatch - The health checks did not return an expected
// HTTP code. Applies only to Application Load Balancers.
// HTTP code. Applies only to Application Load Balancers and Gateway Load
// Balancers.
//
// * Target.Timeout - The health check requests timed out. Applies only to
// Application Load Balancers.
// Application Load Balancers and Gateway Load Balancers.
//
// * Target.FailedHealthChecks - The load balancer received an error while
// establishing a connection to the target or the target response was malformed.
@ -9346,6 +9370,9 @@ const (
// LoadBalancerTypeEnumNetwork is a LoadBalancerTypeEnum enum value
LoadBalancerTypeEnumNetwork = "network"
// LoadBalancerTypeEnumGateway is a LoadBalancerTypeEnum enum value
LoadBalancerTypeEnumGateway = "gateway"
)
// LoadBalancerTypeEnum_Values returns all elements of the LoadBalancerTypeEnum enum
@ -9353,6 +9380,7 @@ func LoadBalancerTypeEnum_Values() []string {
return []string{
LoadBalancerTypeEnumApplication,
LoadBalancerTypeEnumNetwork,
LoadBalancerTypeEnumGateway,
}
}
@ -9374,6 +9402,9 @@ const (
// ProtocolEnumTcpUdp is a ProtocolEnum enum value
ProtocolEnumTcpUdp = "TCP_UDP"
// ProtocolEnumGeneve is a ProtocolEnum enum value
ProtocolEnumGeneve = "GENEVE"
)
// ProtocolEnum_Values returns all elements of the ProtocolEnum enum
@ -9385,6 +9416,7 @@ func ProtocolEnum_Values() []string {
ProtocolEnumTls,
ProtocolEnumUdp,
ProtocolEnumTcpUdp,
ProtocolEnumGeneve,
}
}

View File

@ -15,16 +15,18 @@
// the targets.
//
// Elastic Load Balancing supports the following types of load balancers: Application
// Load Balancers, Network Load Balancers, and Classic Load Balancers. This
// reference covers Application Load Balancers and Network Load Balancers.
// Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic
// Load Balancers. This reference covers the following load balancer types:
//
// An Application Load Balancer makes routing and load balancing decisions at
// the application layer (HTTP/HTTPS). A Network Load Balancer makes routing
// and load balancing decisions at the transport layer (TCP/TLS). Both Application
// Load Balancers and Network Load Balancers can route requests to one or more
// ports on each EC2 instance or container instance in your virtual private
// cloud (VPC). For more information, see the Elastic Load Balancing User Guide
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).
// * Application Load Balancer - Operates at the application layer (layer
// 7) and supports HTTP and HTTPS.
//
// * Network Load Balancer - Operates at the transport layer (layer 4) and
// supports TCP, TLS, and UDP.
//
// * Gateway Load Balancer - Operates at the network layer (layer 3).
//
// For more information, see the Elastic Load Balancing User Guide (https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).
//
// All Elastic Load Balancing operations are idempotent, which means that they
// complete at most one time. If you repeat an operation, it succeeds.

View File

@ -392,21 +392,19 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou
// All headers with the x-amz- prefix, including x-amz-copy-source, must be
// signed.
//
// Encryption
// Server-side encryption
//
// The source object that you are copying can be encrypted or unencrypted. The
// source object can be encrypted with server-side encryption using AWS managed
// encryption keys (SSE-S3 or SSE-KMS) or by using a customer-provided encryption
// key. With server-side encryption, Amazon S3 encrypts your data as it writes
// it to disks in its data centers and decrypts the data when you access it.
// When you perform a CopyObject operation, you can optionally use the appropriate
// encryption-related headers to encrypt the object using server-side encryption
// with AWS managed encryption keys (SSE-S3 or SSE-KMS) or a customer-provided
// encryption key. With server-side encryption, Amazon S3 encrypts your data
// as it writes it to disks in its data centers and decrypts the data when you
// access it. For more information about server-side encryption, see Using Server-Side
// Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html).
//
// You can optionally use the appropriate encryption-related headers to request
// server-side encryption for the target object. You have the option to provide
// your own encryption key or use SSE-S3 or SSE-KMS, regardless of the form
// of server-side encryption that was used to encrypt the source object. You
// can even request encryption if the source object was not encrypted. For more
// information about server-side encryption, see Using Server-Side Encryption
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html).
// If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the
// object. For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
// in the Amazon Simple Storage Service Developer Guide.
//
// Access Control List (ACL)-Specific Request Headers
//
@ -4513,10 +4511,10 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp
// For more information about returning the ACL of an object, see GetObjectAcl
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html).
//
// If the object you are retrieving is stored in the S3 Glacier, S3 Glacier
// Deep Archive, S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep
// Archive storage classes, before you can retrieve the object you must first
// restore a copy using RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html).
// If the object you are retrieving is stored in the S3 Glacier or S3 Glacier
// Deep Archive storage class, or S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering
// Deep Archive tiers, before you can retrieve the object you must first restore
// a copy using RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html).
// Otherwise, this operation returns an InvalidObjectStateError error. For information
// about restoring archived objects, see Restoring Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html).
//
@ -7316,13 +7314,17 @@ func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *r
// PutBucketEncryption API operation for Amazon Simple Storage Service.
//
// This implementation of the PUT operation uses the encryption subresource
// to set the default encryption state of an existing bucket.
// This operation uses the encryption subresource to configure default encryption
// and Amazon S3 Bucket Key for an existing bucket.
//
// This implementation of the PUT operation sets default encryption for a bucket
// using server-side encryption with Amazon S3-managed keys SSE-S3 or AWS KMS
// customer master keys (CMKs) (SSE-KMS). For information about the Amazon S3
// default encryption feature, see Amazon S3 Default Bucket Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html).
// Default encryption for a bucket can use server-side encryption with Amazon
// S3-managed keys (SSE-S3) or AWS KMS customer master keys (SSE-KMS). If you
// specify default encryption using SSE-KMS, you can also configure Amazon S3
// Bucket Key. For information about default encryption, see Amazon S3 default
// bucket encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html)
// in the Amazon Simple Storage Service Developer Guide. For more information
// about S3 Bucket Keys, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
// in the Amazon Simple Storage Service Developer Guide.
//
// This operation requires AWS Signature Version 4. For more information, see
// Authenticating Requests (AWS Signature Version 4) (sig-v4-authenticating-requests.html).
@ -8346,6 +8348,10 @@ func (c *S3) PutBucketOwnershipControlsRequest(input *PutBucketOwnershipControls
output = &PutBucketOwnershipControlsOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restxml.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
req.Handlers.Build.PushBackNamed(request.NamedHandler{
Name: "contentMd5Handler",
Fn: checksum.AddBodyContentMD5Handler,
})
return
}
@ -8551,15 +8557,14 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req
// permission.
//
// Specify the replication configuration in the request body. In the replication
// configuration, you provide the name of the destination bucket where you want
// Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to
// replicate objects on your behalf, and other relevant information.
// configuration, you provide the name of the destination bucket or buckets
// where you want Amazon S3 to replicate objects, the IAM role that Amazon S3
// can assume to replicate objects on your behalf, and other relevant information.
//
// A replication configuration must include at least one rule, and can contain
// a maximum of 1,000. Each rule identifies a subset of objects to replicate
// by filtering the objects in the source bucket. To choose additional subsets
// of objects to replicate, add a rule for each subset. All rules must specify
// the same destination bucket.
// of objects to replicate, add a rule for each subset.
//
// To specify a subset of the objects in the source bucket to apply a replication
// rule to, add the Filter element as a child of the Rule element. You can filter
@ -8567,12 +8572,9 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req
// When you add the Filter element in the configuration, you must also add the
// following elements: DeleteMarkerReplication, Status, and Priority.
//
// The latest version of the replication configuration XML is V2. XML V2 replication
// configurations are those that contain the Filter element for rules, and rules
// that specify S3 Replication Time Control (S3 RTC). In XML V2 replication
// configurations, Amazon S3 doesn't replicate delete markers. Therefore, you
// must set the DeleteMarkerReplication element to Disabled. For backward compatibility,
// Amazon S3 continues to support the XML V1 replication configuration.
// If you are using an earlier version of the replication configuration, Amazon
// S3 handles replication of delete markers differently. For more information,
// see Backward Compatibility (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations).
//
// For information about enabling versioning on a bucket, see Using Versioning
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html).
@ -9166,8 +9168,13 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp
// You can optionally request server-side encryption. With server-side encryption,
// Amazon S3 encrypts your data as it writes it to disks in its data centers
// and decrypts the data when you access it. You have the option to provide
// your own encryption key or use AWS managed encryption keys. For more information,
// see Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html).
// your own encryption key or use AWS managed encryption keys (SSE-S3 or SSE-KMS).
// For more information, see Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html).
//
// If you request server-side encryption using AWS Key Management Service (SSE-KMS),
// you can enable an S3 Bucket Key at the object-level. For more information,
// see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
// in the Amazon Simple Storage Service Developer Guide.
//
// Access Control List (ACL)-Specific Request Headers
//
@ -9999,16 +10006,17 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque
// * Amazon S3 accepts a select request even if the object has already been
// restored. A select request doesnt return error response 409.
//
// Restoring Archives
// Restoring objects
//
// Objects that you archive to the S3 Glacier, S3 Glacier Deep Archive, S3 Intelligent-Tiering
// Archive, or S3 Intelligent-Tiering Deep Archive storage classes are not accessible
// in real time. For objects in Archive Access tier or Deep Archive Access tier
// you must first initiate a restore request, and then wait until the object
// is moved into the Frequent Access tier. For objects in S3 Glacier or S3 Glacier
// Deep Archive you must first initiate a restore request, and then wait until
// a temporary copy of the object is available. To access an archived object,
// you must restore the object for the duration (number of days) that you specify.
// Objects that you archive to the S3 Glacier or S3 Glacier Deep Archive storage
// class, and S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering Deep
// Archive tiers are not accessible in real time. For objects in Archive Access
// or Deep Archive Access tiers you must first initiate a restore request, and
// then wait until the object is moved into the Frequent Access tier. For objects
// in S3 Glacier or S3 Glacier Deep Archive storage classes you must first initiate
// a restore request, and then wait until a temporary copy of the object is
// available. To access an archived object, you must restore the object for
// the duration (number of days) that you specify.
//
// To restore a specific object version, you can provide a version ID. If you
// don't provide a version ID, Amazon S3 restores the current version.
@ -10018,31 +10026,31 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque
// request body:
//
// * Expedited - Expedited retrievals allow you to quickly access your data
// stored in the S3 Glacier or S3 Intelligent-Tiering Archive storage class
// when occasional urgent requests for a subset of archives are required.
// stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
// tier when occasional urgent requests for a subset of archives are required.
// For all but the largest archived objects (250 MB+), data accessed using
// Expedited retrievals is typically made available within 15 minutes.
// Provisioned capacity ensures that retrieval capacity for Expedited retrievals
// is available when you need it. Expedited retrievals and provisioned capacity
// are not available for objects stored in the S3 Glacier Deep Archive or
// S3 Intelligent-Tiering Deep Archive storage class.
// are not available for objects stored in the S3 Glacier Deep Archive storage
// class or S3 Intelligent-Tiering Deep Archive tier.
//
// * Standard - Standard retrievals allow you to access any of your archived
// objects within several hours. This is the default option for retrieval
// requests that do not specify the retrieval option. Standard retrievals
// typically finish within 35 hours for objects stored in the S3 Glacier
// or S3 Intelligent-Tiering Archive storage class. They typically finish
// within 12 hours for objects stored in the S3 Glacier Deep Archive or S3
// Intelligent-Tiering Deep Archive storage class. Standard retrievals are
// free for objects stored in S3 Intelligent-Tiering.
// storage class or S3 Intelligent-Tiering Archive tier. They typically finish
// within 12 hours for objects stored in the S3 Glacier Deep Archive storage
// class or S3 Intelligent-Tiering Deep Archive tier. Standard retrievals
// are free for objects stored in S3 Intelligent-Tiering.
//
// * Bulk - Bulk retrievals are the lowest-cost retrieval option in S3 Glacier,
// enabling you to retrieve large amounts, even petabytes, of data inexpensively.
// Bulk retrievals typically finish within 512 hours for objects stored
// in the S3 Glacier or S3 Intelligent-Tiering Archive storage class. They
// typically finish within 48 hours for objects stored in the S3 Glacier
// Deep Archive or S3 Intelligent-Tiering Deep Archive storage class. Bulk
// retrievals are free for objects stored in S3 Intelligent-Tiering.
// in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier.
// They typically finish within 48 hours for objects stored in the S3 Glacier
// Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
// Bulk retrievals are free for objects stored in S3 Intelligent-Tiering.
//
// For more information about archive retrieval options and provisioned capacity
// for Expedited data access, see Restoring Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html)
@ -11446,7 +11454,8 @@ func (s *AnalyticsS3BucketDestination) SetPrefix(v string) *AnalyticsS3BucketDes
type Bucket struct {
_ struct{} `type:"structure"`
// Date the bucket was created.
// Date the bucket was created. This date can change when making changes to
// your bucket, such as editing its bucket policy.
CreationDate *time.Time `type:"timestamp"`
// The name of the bucket.
@ -12134,6 +12143,10 @@ type CompleteMultipartUploadOutput struct {
// in the Amazon Simple Storage Service Developer Guide.
Bucket *string `type:"string"`
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Entity tag that identifies the newly created object's data. Objects with
// different object data will have different entity tags. The entity tag is
// an opaque string. The entity tag may or may not be an MD5 digest of the object
@ -12195,6 +12208,12 @@ func (s *CompleteMultipartUploadOutput) getBucket() (v string) {
return *s.Bucket
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *CompleteMultipartUploadOutput) SetBucketKeyEnabled(v bool) *CompleteMultipartUploadOutput {
s.BucketKeyEnabled = &v
return s
}
// SetETag sets the ETag field's value.
func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput {
s.ETag = &v
@ -12408,6 +12427,15 @@ type CopyObjectInput struct {
// Bucket is a required field
Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
// with server-side encryption using AWS KMS (SSE-KMS). Setting this header
// to true causes Amazon S3 to use an S3 Bucket Key for object encryption with
// SSE-KMS.
//
// Specifying this header with a COPY operation doesnt affect bucket-level
// settings for S3 Bucket Key.
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Specifies caching behavior along the request/reply chain.
CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`
@ -12656,6 +12684,12 @@ func (s *CopyObjectInput) getBucket() (v string) {
return *s.Bucket
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *CopyObjectInput) SetBucketKeyEnabled(v bool) *CopyObjectInput {
s.BucketKeyEnabled = &v
return s
}
// SetCacheControl sets the CacheControl field's value.
func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput {
s.CacheControl = &v
@ -12922,6 +12956,10 @@ func (s CopyObjectInput) updateArnableField(v string) (interface{}, error) {
type CopyObjectOutput struct {
_ struct{} `type:"structure" payload:"CopyObjectResult"`
// Indicates whether the copied object uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Container for all response elements.
CopyObjectResult *CopyObjectResult `type:"structure"`
@ -12973,6 +13011,12 @@ func (s CopyObjectOutput) GoString() string {
return s.String()
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *CopyObjectOutput) SetBucketKeyEnabled(v bool) *CopyObjectOutput {
s.BucketKeyEnabled = &v
return s
}
// SetCopyObjectResult sets the CopyObjectResult field's value.
func (s *CopyObjectOutput) SetCopyObjectResult(v *CopyObjectResult) *CopyObjectOutput {
s.CopyObjectResult = v
@ -13300,6 +13344,15 @@ type CreateMultipartUploadInput struct {
// Bucket is a required field
Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
// with server-side encryption using AWS KMS (SSE-KMS). Setting this header
// to true causes Amazon S3 to use an S3 Bucket Key for object encryption with
// SSE-KMS.
//
// Specifying this header with an object operation doesnt affect bucket-level
// settings for S3 Bucket Key.
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Specifies caching behavior along the request/reply chain.
CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`
@ -13470,6 +13523,12 @@ func (s *CreateMultipartUploadInput) getBucket() (v string) {
return *s.Bucket
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *CreateMultipartUploadInput) SetBucketKeyEnabled(v bool) *CreateMultipartUploadInput {
s.BucketKeyEnabled = &v
return s
}
// SetCacheControl sets the CacheControl field's value.
func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput {
s.CacheControl = &v
@ -13697,6 +13756,10 @@ type CreateMultipartUploadOutput struct {
// in the Amazon Simple Storage Service Developer Guide.
Bucket *string `locationName:"Bucket" type:"string"`
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Object key for which the multipart upload was initiated.
Key *string `min:"1" type:"string"`
@ -13767,6 +13830,12 @@ func (s *CreateMultipartUploadOutput) getBucket() (v string) {
return *s.Bucket
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *CreateMultipartUploadOutput) SetBucketKeyEnabled(v bool) *CreateMultipartUploadOutput {
s.BucketKeyEnabled = &v
return s
}
// SetKey sets the Key field's value.
func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput {
s.Key = &v
@ -19990,6 +20059,10 @@ type GetObjectOutput struct {
// Object data.
Body io.ReadCloser `type:"blob"`
// Indicates whether the object uses an S3 Bucket Key for server-side encryption
// with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Specifies caching behavior along the request/reply chain.
CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`
@ -20128,6 +20201,12 @@ func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput {
return s
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *GetObjectOutput) SetBucketKeyEnabled(v bool) *GetObjectOutput {
s.BucketKeyEnabled = &v
return s
}
// SetCacheControl sets the CacheControl field's value.
func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput {
s.CacheControl = &v
@ -21435,6 +21514,10 @@ type HeadObjectOutput struct {
// The archive state of the head object.
ArchiveStatus *string `location:"header" locationName:"x-amz-archive-status" type:"string" enum:"ArchiveStatus"`
// Indicates whether the object uses an S3 Bucket Key for server-side encryption
// with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Specifies caching behavior along the request/reply chain.
CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"`
@ -21508,13 +21591,13 @@ type HeadObjectOutput struct {
PartsCount *int64 `location:"header" locationName:"x-amz-mp-parts-count" type:"integer"`
// Amazon S3 can return this header if your request involves a bucket that is
// either a source or destination in a replication rule.
// either a source or a destination in a replication rule.
//
// In replication, you have a source bucket on which you configure replication
// and destination bucket where Amazon S3 stores object replicas. When you request
// an object (GetObject) or object metadata (HeadObject) from these buckets,
// Amazon S3 will return the x-amz-replication-status header in the response
// as follows:
// and destination bucket or buckets where Amazon S3 stores object replicas.
// When you request an object (GetObject) or object metadata (HeadObject) from
// these buckets, Amazon S3 will return the x-amz-replication-status header
// in the response as follows:
//
// * If requesting an object from the source bucket — Amazon S3 will return
// the x-amz-replication-status header if the object in your request is eligible
@ -21526,9 +21609,17 @@ type HeadObjectOutput struct {
// header with value PENDING, COMPLETED or FAILED indicating object replication
// status.
//
// * If requesting an object from the destination bucket — Amazon S3 will
// * If requesting an object from a destination bucket — Amazon S3 will
// return the x-amz-replication-status header with value REPLICA if the object
// in your request is a replica that Amazon S3 created.
// in your request is a replica that Amazon S3 created and there is no replica
// modification replication in progress.
//
// * When replicating objects to multiple destination buckets the x-amz-replication-status
// header acts differently. The header of the source object will only return
// a value of COMPLETED when replication is successful to all destinations.
// The header will remain at value PENDING until replication has completed
// for all destinations. If one or more destinations fails replication the
// header will return FAILED.
//
// For more information, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html).
ReplicationStatus *string `location:"header" locationName:"x-amz-replication-status" type:"string" enum:"ReplicationStatus"`
@ -21612,6 +21703,12 @@ func (s *HeadObjectOutput) SetArchiveStatus(v string) *HeadObjectOutput {
return s
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *HeadObjectOutput) SetBucketKeyEnabled(v bool) *HeadObjectOutput {
s.BucketKeyEnabled = &v
return s
}
// SetCacheControl sets the CacheControl field's value.
func (s *HeadObjectOutput) SetCacheControl(v string) *HeadObjectOutput {
s.CacheControl = &v
@ -29645,6 +29742,15 @@ type PutObjectInput struct {
// Bucket is a required field
Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
// with server-side encryption using AWS KMS (SSE-KMS). Setting this header
// to true causes Amazon S3 to use an S3 Bucket Key for object encryption with
// SSE-KMS.
//
// Specifying this header with a PUT operation doesnt affect bucket-level
// settings for S3 Bucket Key.
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Can be used to specify caching behavior along the request/reply chain. For
// more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
// (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9).
@ -29861,6 +29967,12 @@ func (s *PutObjectInput) getBucket() (v string) {
return *s.Bucket
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *PutObjectInput) SetBucketKeyEnabled(v bool) *PutObjectInput {
s.BucketKeyEnabled = &v
return s
}
// SetCacheControl sets the CacheControl field's value.
func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput {
s.CacheControl = &v
@ -30374,6 +30486,10 @@ func (s *PutObjectLockConfigurationOutput) SetRequestCharged(v string) *PutObjec
type PutObjectOutput struct {
_ struct{} `type:"structure"`
// Indicates whether the uploaded object uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Entity tag for the uploaded object.
ETag *string `location:"header" locationName:"ETag" type:"string"`
@ -30429,6 +30545,12 @@ func (s PutObjectOutput) GoString() string {
return s.String()
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *PutObjectOutput) SetBucketKeyEnabled(v bool) *PutObjectOutput {
s.BucketKeyEnabled = &v
return s
}
// SetETag sets the ETag field's value.
func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput {
s.ETag = &v
@ -31251,6 +31373,53 @@ func (s *RedirectAllRequestsTo) SetProtocol(v string) *RedirectAllRequestsTo {
return s
}
// A filter that you can specify for selection for modifications on replicas.
// Amazon S3 doesn't replicate replica modifications by default. In the latest
// version of replication configuration (when Filter is specified), you can
// specify this element and set the status to Enabled to replicate modifications
// on replicas.
//
// If you don't specify the Filter element, Amazon S3 assumes that the replication
// configuration is the earlier version, V1. In the earlier version, this element
// is not allowed.
type ReplicaModifications struct {
_ struct{} `type:"structure"`
// Specifies whether Amazon S3 replicates modifications on replicas.
//
// Status is a required field
Status *string `type:"string" required:"true" enum:"ReplicaModificationsStatus"`
}
// String returns the string representation
func (s ReplicaModifications) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ReplicaModifications) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ReplicaModifications) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ReplicaModifications"}
if s.Status == nil {
invalidParams.Add(request.NewErrParamRequired("Status"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetStatus sets the Status field's value.
func (s *ReplicaModifications) SetStatus(v string) *ReplicaModifications {
s.Status = &v
return s
}
// A container for replication rules. You can add up to 1,000 rules. The maximum
// size of a replication configuration is 2 MB.
type ReplicationConfiguration struct {
@ -31363,16 +31532,11 @@ type ReplicationRule struct {
// Deprecated: Prefix has been deprecated
Prefix *string `deprecated:"true" type:"string"`
// The priority associated with the rule. If you specify multiple rules in a
// replication configuration, Amazon S3 prioritizes the rules to prevent conflicts
// when filtering. If two or more rules identify the same object based on a
// specified filter, the rule with higher priority takes precedence. For example:
//
// * Same object quality prefix-based filter criteria if prefixes you specified
// in multiple rules overlap
//
// * Same object qualify tag-based filter criteria specified in multiple
// rules
// The priority indicates which rule has precedence whenever two or more replication
// rules conflict. Amazon S3 will attempt to replicate objects according to
// all replication rules. However, if there are two or more rules with the same
// destination bucket, then objects will be replicated according to the rule
// with the highest priority. The higher the number, the higher the priority.
//
// For more information, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html)
// in the Amazon Simple Storage Service Developer Guide.
@ -32997,6 +33161,15 @@ type ServerSideEncryptionRule struct {
// bucket. If a PUT Object request doesn't specify any server-side encryption,
// this default encryption will be applied.
ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault `type:"structure"`
// Specifies whether Amazon S3 should use an S3 Bucket Key with server-side
// encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects
// are not affected. Setting the BucketKeyEnabled element to true causes Amazon
// S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
//
// For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
// in the Amazon Simple Storage Service Developer Guide.
BucketKeyEnabled *bool `type:"boolean"`
}
// String returns the string representation
@ -33030,6 +33203,12 @@ func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *Serv
return s
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *ServerSideEncryptionRule) SetBucketKeyEnabled(v bool) *ServerSideEncryptionRule {
s.BucketKeyEnabled = &v
return s
}
// A container that describes additional filters for identifying the source
// objects that you want to replicate. You can choose to enable or disable the
// replication of these objects. Currently, Amazon S3 supports only the filter
@ -33038,6 +33217,17 @@ func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *Serv
type SourceSelectionCriteria struct {
_ struct{} `type:"structure"`
// A filter that you can specify for selections for modifications on replicas.
// Amazon S3 doesn't replicate replica modifications by default. In the latest
// version of replication configuration (when Filter is specified), you can
// specify this element and set the status to Enabled to replicate modifications
// on replicas.
//
// If you don't specify the Filter element, Amazon S3 assumes that the replication
// configuration is the earlier version, V1. In the earlier version, this element
// is not allowed
ReplicaModifications *ReplicaModifications `type:"structure"`
// A container for filter information for the selection of Amazon S3 objects
// encrypted with AWS KMS. If you include SourceSelectionCriteria in the replication
// configuration, this element is required.
@ -33057,6 +33247,11 @@ func (s SourceSelectionCriteria) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *SourceSelectionCriteria) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "SourceSelectionCriteria"}
if s.ReplicaModifications != nil {
if err := s.ReplicaModifications.Validate(); err != nil {
invalidParams.AddNested("ReplicaModifications", err.(request.ErrInvalidParams))
}
}
if s.SseKmsEncryptedObjects != nil {
if err := s.SseKmsEncryptedObjects.Validate(); err != nil {
invalidParams.AddNested("SseKmsEncryptedObjects", err.(request.ErrInvalidParams))
@ -33069,6 +33264,12 @@ func (s *SourceSelectionCriteria) Validate() error {
return nil
}
// SetReplicaModifications sets the ReplicaModifications field's value.
func (s *SourceSelectionCriteria) SetReplicaModifications(v *ReplicaModifications) *SourceSelectionCriteria {
s.ReplicaModifications = v
return s
}
// SetSseKmsEncryptedObjects sets the SseKmsEncryptedObjects field's value.
func (s *SourceSelectionCriteria) SetSseKmsEncryptedObjects(v *SseKmsEncryptedObjects) *SourceSelectionCriteria {
s.SseKmsEncryptedObjects = v
@ -33478,9 +33679,11 @@ type Tiering struct {
// AccessTier is a required field
AccessTier *string `type:"string" required:"true" enum:"IntelligentTieringAccessTier"`
// The number of days that you want your archived data to be accessible. The
// minimum number of days specified in the restore request must be at least
// 90 days. If a smaller value is specifed it will be ignored.
// The number of consecutive days of no access after which an object will be
// eligible to be transitioned to the corresponding tier. The minimum number
// of days specified for Archive Access tier must be at least 90 days and Deep
// Archive Access tier must be at least 180 days. The maximum can be up to 2
// years (730 days).
//
// Days is a required field
Days *int64 `type:"integer" required:"true"`
@ -34055,6 +34258,10 @@ func (s UploadPartCopyInput) updateArnableField(v string) (interface{}, error) {
type UploadPartCopyOutput struct {
_ struct{} `type:"structure" payload:"CopyPartResult"`
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Container for all response elements.
CopyPartResult *CopyPartResult `type:"structure"`
@ -34096,6 +34303,12 @@ func (s UploadPartCopyOutput) GoString() string {
return s.String()
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *UploadPartCopyOutput) SetBucketKeyEnabled(v bool) *UploadPartCopyOutput {
s.BucketKeyEnabled = &v
return s
}
// SetCopyPartResult sets the CopyPartResult field's value.
func (s *UploadPartCopyOutput) SetCopyPartResult(v *CopyPartResult) *UploadPartCopyOutput {
s.CopyPartResult = v
@ -34373,6 +34586,10 @@ func (s UploadPartInput) updateArnableField(v string) (interface{}, error) {
type UploadPartOutput struct {
_ struct{} `type:"structure"`
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
// encryption with AWS KMS (SSE-KMS).
BucketKeyEnabled *bool `location:"header" locationName:"x-amz-server-side-encryption-bucket-key-enabled" type:"boolean"`
// Entity tag for the uploaded object.
ETag *string `location:"header" locationName:"ETag" type:"string"`
@ -34409,6 +34626,12 @@ func (s UploadPartOutput) GoString() string {
return s.String()
}
// SetBucketKeyEnabled sets the BucketKeyEnabled field's value.
func (s *UploadPartOutput) SetBucketKeyEnabled(v bool) *UploadPartOutput {
s.BucketKeyEnabled = &v
return s
}
// SetETag sets the ETag field's value.
func (s *UploadPartOutput) SetETag(v string) *UploadPartOutput {
s.ETag = &v
@ -35469,6 +35692,22 @@ func QuoteFields_Values() []string {
}
}
const (
// ReplicaModificationsStatusEnabled is a ReplicaModificationsStatus enum value
ReplicaModificationsStatusEnabled = "Enabled"
// ReplicaModificationsStatusDisabled is a ReplicaModificationsStatus enum value
ReplicaModificationsStatusDisabled = "Disabled"
)
// ReplicaModificationsStatus_Values returns all elements of the ReplicaModificationsStatus enum
func ReplicaModificationsStatus_Values() []string {
return []string{
ReplicaModificationsStatusEnabled,
ReplicaModificationsStatusDisabled,
}
}
const (
// ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value
ReplicationRuleStatusEnabled = "Enabled"

2
vendor/modules.txt vendored
View File

@ -74,7 +74,7 @@ github.com/aws/amazon-ec2-instance-selector/v2/pkg/bytequantity
github.com/aws/amazon-ec2-instance-selector/v2/pkg/cli
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector/outputs
# github.com/aws/aws-sdk-go v1.35.24
# github.com/aws/aws-sdk-go v1.36.0
## explicit
github.com/aws/aws-sdk-go/aws
github.com/aws/aws-sdk-go/aws/arn