From bdba6bf94e9b52de91d980e1e30eaa23c893a5f1 Mon Sep 17 00:00:00 2001 From: Sean McGrail Date: Thu, 17 Dec 2020 11:07:01 -0800 Subject: [PATCH] Regenerated Clients --- feature/dynamodb/expression/go.mod | 2 +- .../awsrestjson/api_op_ConstantQueryString.go | 2 + .../api_op_HttpPayloadTraitsWithMediaType.go | 4 + .../awsrestjson/api_op_HttpPrefixHeaders.go | 1 + .../api_op_HttpPrefixHeadersResponse.go | 2 + .../api_op_HttpPrefixHeadersResponse_test.go | 4 +- .../api_op_HttpPrefixHeaders_test.go | 4 +- ...api_op_HttpRequestWithGreedyLabelInPath.go | 3 + .../api_op_HttpRequestWithLabels.go | 6 ++ ...HttpRequestWithLabelsAndTimestampFormat.go | 8 ++ .../awsrestjson/api_op_MediaTypeHeader.go | 4 + .../api_op_StreamingTraitsWithMediaType.go | 4 + .../protocoltest/awsrestjson/deserializers.go | 4 +- .../awsrestjson/types/types_exported_test.go | 21 +++-- .../jsonrpc/api_op_KitchenSinkOperation.go | 2 + internal/protocoltest/jsonrpc/types/types.go | 1 + .../jsonrpc/types/types_exported_test.go | 21 +++-- .../jsonrpc10/types/types_exported_test.go | 21 +++-- .../restxml/api_op_ConstantQueryString.go | 2 + .../api_op_HttpPayloadTraitsWithMediaType.go | 4 + .../restxml/api_op_HttpPrefixHeaders.go | 1 + .../restxml/api_op_HttpPrefixHeaders_test.go | 4 +- ...api_op_HttpRequestWithGreedyLabelInPath.go | 3 + .../restxml/api_op_HttpRequestWithLabels.go | 6 ++ ...HttpRequestWithLabelsAndTimestampFormat.go | 8 ++ .../protocoltest/restxml/deserializers.go | 2 +- .../api_op_DeleteConnection.go | 2 + .../api_op_GetConnection.go | 2 + .../api_op_DescribeExportConfigurations.go | 2 + .../api_op_ExportConfigurations.go | 2 + service/appmesh/types/types_exported_test.go | 76 ++++++++++++++----- service/appstream/api_op_UpdateFleet.go | 2 + service/appstream/api_op_UpdateStack.go | 2 + .../autoscaling/api_op_PutScalingPolicy.go | 2 + service/autoscaling/types/types.go | 2 + service/braket/api_op_CreateQuantumTask.go | 2 + service/braket/api_op_GetDevice.go | 1 + service/braket/api_op_GetQuantumTask.go | 1 + service/cloudfront/types/types.go | 20 +++++ service/cloudsearch/types/types.go | 3 + service/cloudtrail/api_op_CreateTrail.go | 2 + service/cloudtrail/api_op_UpdateTrail.go | 2 + service/cloudtrail/types/types.go | 2 + .../cloudwatchlogs/api_op_FilterLogEvents.go | 4 + service/cloudwatchlogs/types/types.go | 4 + .../api_op_BatchGetDeploymentInstances.go | 2 + .../api_op_GetDeploymentInstance.go | 4 + .../api_op_ListDeploymentInstances.go | 2 + ...i_op_SkipWaitTimeForInstanceTermination.go | 3 + service/codedeploy/types/types.go | 7 ++ .../api_op_RetrieveTimeSeries.go | 10 +++ service/codeguruprofiler/types/types.go | 4 + .../api_op_DetectEntities.go | 2 + .../databasemigrationservice/types/types.go | 4 + service/dataexchange/types/types.go | 2 + ...api_op_AllocateConnectionOnInterconnect.go | 4 + .../api_op_AllocateHostedConnection.go | 2 + .../api_op_AssociateConnectionWithLag.go | 2 + .../api_op_AssociateHostedConnection.go | 2 + .../directconnect/api_op_CreateConnection.go | 2 + .../api_op_CreateInterconnect.go | 2 + service/directconnect/api_op_CreateLag.go | 2 + .../directconnect/api_op_DeleteConnection.go | 2 + service/directconnect/api_op_DeleteLag.go | 2 + .../api_op_DescribeConnectionLoa.go | 2 + ...pi_op_DescribeConnectionsOnInterconnect.go | 2 + .../api_op_DescribeInterconnectLoa.go | 2 + .../api_op_DisassociateConnectionFromLag.go | 2 + service/directconnect/api_op_UpdateLag.go | 2 + service/directconnect/types/types.go | 8 ++ service/dynamodb/types/types_exported_test.go | 21 +++-- .../types/types_exported_test.go | 21 +++-- service/ec2/types/types.go | 4 + service/efs/api_op_CreateTags.go | 2 + service/efs/api_op_DeleteTags.go | 2 + service/efs/api_op_DescribeTags.go | 2 + .../api_op_ModifyReplicationGroup.go | 2 + service/elastictranscoder/api_op_TestRole.go | 2 + service/elastictranscoder/types/types.go | 8 ++ service/emr/api_op_DescribeJobFlows.go | 2 + .../firehose/api_op_CreateDeliveryStream.go | 2 + service/firehose/api_op_UpdateDestination.go | 2 + service/forecast/types/types.go | 3 + service/glue/api_op_CreateJob.go | 2 + service/glue/api_op_StartJobRun.go | 2 + service/glue/types/types.go | 6 ++ .../types/types_exported_test.go | 19 +++-- service/guardduty/types/types.go | 12 +++ .../api_op_DescribeAssessmentTemplates.go | 2 + service/iot/api_op_AttachPrincipalPolicy.go | 2 + service/iot/api_op_CreateSecurityProfile.go | 2 + service/iot/api_op_DescribeSecurityProfile.go | 2 + service/iot/api_op_DetachPrincipalPolicy.go | 2 + service/iot/api_op_ListPolicyPrincipals.go | 2 + service/iot/api_op_ListPrincipalPolicies.go | 2 + service/iot/api_op_RegisterCertificate.go | 2 + service/iot/api_op_UpdateSecurityProfile.go | 4 + service/iotevents/types/types.go | 4 + service/ivs/api_op_ListTagsForResource.go | 2 + service/kafka/types/types.go | 8 ++ service/kinesis/types/types.go | 4 + service/lambda/api_op_InvokeAsync.go | 2 + .../lexruntimeservice/api_op_PostContent.go | 8 ++ .../lexruntimeservice/api_op_PutSession.go | 3 + service/lightsail/api_op_CreateInstances.go | 2 + .../api_op_GetOperationsForResource.go | 2 + service/lightsail/types/types.go | 6 ++ service/medialive/api_op_CreateChannel.go | 2 + .../api_op_ListTagsForResource.go | 2 + .../api_op_RotateChannelCredentials.go | 3 + service/mediapackage/api_op_TagResource.go | 3 + service/mediapackage/api_op_UntagResource.go | 2 + service/mturk/types/types.go | 2 + service/neptune/api_op_CreateDBInstance.go | 2 + service/neptune/api_op_ModifyDBInstance.go | 2 + service/neptune/types/types.go | 2 + service/opsworkscm/types/types.go | 4 + service/personalizeevents/types/types.go | 3 + service/ram/types/types.go | 2 + service/rdsdata/api_op_ExecuteSql.go | 3 + service/rdsdata/types/types_exported_test.go | 39 ++++++++-- .../redshiftdata/types/types_exported_test.go | 6 ++ service/rekognition/types/types.go | 1 + service/resourcegroups/api_op_DeleteGroup.go | 2 + service/resourcegroups/api_op_GetGroup.go | 2 + .../resourcegroups/api_op_GetGroupQuery.go | 2 + .../api_op_ListGroupResources.go | 2 + service/resourcegroups/api_op_ListGroups.go | 2 + service/resourcegroups/api_op_UpdateGroup.go | 2 + .../resourcegroups/api_op_UpdateGroupQuery.go | 2 + .../api_op_UpdateDomainNameservers.go | 2 + service/s3/api_op_GetObject.go | 2 + service/s3/api_op_HeadObject.go | 2 + service/s3/api_op_PutBucketAcl.go | 3 + service/s3/api_op_PutBucketCors.go | 3 + service/s3/api_op_PutBucketEncryption.go | 3 + service/s3/api_op_PutBucketLogging.go | 3 + service/s3/api_op_PutBucketPolicy.go | 3 + service/s3/api_op_PutBucketReplication.go | 3 + service/s3/api_op_PutBucketRequestPayment.go | 3 + service/s3/api_op_PutBucketTagging.go | 3 + service/s3/api_op_PutBucketVersioning.go | 3 + service/s3/api_op_PutBucketWebsite.go | 3 + service/s3/api_op_PutObjectAcl.go | 3 + service/s3/api_op_PutObjectLegalHold.go | 3 + .../s3/api_op_PutObjectLockConfiguration.go | 3 + service/s3/api_op_PutObjectRetention.go | 3 + service/s3/api_op_PutObjectTagging.go | 3 + service/s3/api_op_PutPublicAccessBlock.go | 3 + service/s3/deserializers.go | 4 +- service/s3/types/types.go | 4 + service/sagemaker/api_op_CreateDomain.go | 2 + service/sagemaker/api_op_DescribeDomain.go | 2 + service/sagemaker/types/types.go | 1 + service/schemas/api_op_ExportSchema.go | 1 + service/schemas/api_op_GetResourcePolicy.go | 1 + service/schemas/api_op_PutResourcePolicy.go | 2 + service/securityhub/types/types.go | 4 + service/servicediscovery/types/types.go | 3 + service/sfn/api_op_ListStateMachines.go | 2 + service/shield/api_op_DeleteSubscription.go | 2 + service/ssooidc/api_op_CreateToken.go | 5 ++ service/ssooidc/api_op_RegisterClient.go | 3 + .../api_op_StartDeviceAuthorization.go | 4 + service/textract/types/types.go | 1 + service/workdocs/api_op_DescribeUsers.go | 2 + 166 files changed, 647 insertions(+), 72 deletions(-) diff --git a/feature/dynamodb/expression/go.mod b/feature/dynamodb/expression/go.mod index a058ec114d3..9e09a90cb70 100644 --- a/feature/dynamodb/expression/go.mod +++ b/feature/dynamodb/expression/go.mod @@ -3,7 +3,7 @@ module github.com/aws/aws-sdk-go-v2/feature/dynamodb/expression go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v0.30.1-0.20201216221327-f18ebfdeb472 + github.com/aws/aws-sdk-go-v2 v0.30.1-0.20201217001905-4acf9c65b2d1 github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v0.0.0-20201217001131-4ae90bb70aa7 github.com/aws/aws-sdk-go-v2/service/dynamodb v0.30.0 ) diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go index 6748d7b9084..47a8effed97 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go @@ -29,6 +29,8 @@ func (c *Client) ConstantQueryString(ctx context.Context, params *ConstantQueryS } type ConstantQueryStringInput struct { + + // This member is required. Hello *string } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go index 931fb14b720..e46898e0868 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go @@ -27,12 +27,16 @@ func (c *Client) HttpPayloadTraitsWithMediaType(ctx context.Context, params *Htt } type HttpPayloadTraitsWithMediaTypeInput struct { + + // This value conforms to the media type: text/plain Blob []byte Foo *string } type HttpPayloadTraitsWithMediaTypeOutput struct { + + // This value conforms to the media type: text/plain Blob []byte Foo *string diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go index 4e4164fe6fa..a3fcbc1180a 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go @@ -34,6 +34,7 @@ type HttpPrefixHeadersInput struct { type HttpPrefixHeadersOutput struct { Foo *string + // Map keys will be normalized to lower-case. FooMap map[string]string // Metadata pertaining to the operation's result. diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go index 85e47388ec7..9e1bd3c30ed 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go @@ -29,6 +29,8 @@ type HttpPrefixHeadersResponseInput struct { } type HttpPrefixHeadersResponseOutput struct { + + // Map keys will be normalized to lower-case. PrefixHeaders map[string]string // Metadata pertaining to the operation's result. diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse_test.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse_test.go index 9adadbbdc8f..12e7800d76d 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse_test.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse_test.go @@ -34,8 +34,8 @@ func TestClient_HttpPrefixHeadersResponse_awsRestjson1Deserialize(t *testing.T) Body: []byte(``), ExpectResult: &HttpPrefixHeadersResponseOutput{ PrefixHeaders: map[string]string{ - "X-Foo": "Foo", - "Hello": "Hello", + "x-foo": "Foo", + "hello": "Hello", }, }, }, diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders_test.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders_test.go index ce793d52f14..357723615e9 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders_test.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders_test.go @@ -159,8 +159,8 @@ func TestClient_HttpPrefixHeaders_awsRestjson1Deserialize(t *testing.T) { ExpectResult: &HttpPrefixHeadersOutput{ Foo: ptr.String("Foo"), FooMap: map[string]string{ - "Abc": "Abc value", - "Def": "Def value", + "abc": "Abc value", + "def": "Def value", }, }, }, diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go index ba11321db47..628c649eb01 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go @@ -25,8 +25,11 @@ func (c *Client) HttpRequestWithGreedyLabelInPath(ctx context.Context, params *H } type HttpRequestWithGreedyLabelInPathInput struct { + + // This member is required. Baz *string + // This member is required. Foo *string } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go index 5cadab40eeb..07ea44cae3b 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go @@ -34,16 +34,22 @@ type HttpRequestWithLabelsInput struct { // This member is required. Boolean *bool + // This member is required. Double *float64 + // This member is required. Float *float32 + // This member is required. Integer *int32 + // This member is required. Long *int64 + // This member is required. Short *int16 + // This member is required. String_ *string // Note that this member has no format, so it's serialized as an RFC 3399 diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go index 88bf602ddef..3a877445dad 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -28,18 +28,26 @@ func (c *Client) HttpRequestWithLabelsAndTimestampFormat(ctx context.Context, pa } type HttpRequestWithLabelsAndTimestampFormatInput struct { + + // This member is required. DefaultFormat *time.Time + // This member is required. MemberDateTime *time.Time + // This member is required. MemberEpochSeconds *time.Time + // This member is required. MemberHttpDate *time.Time + // This member is required. TargetDateTime *time.Time + // This member is required. TargetEpochSeconds *time.Time + // This member is required. TargetHttpDate *time.Time } diff --git a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go index 7e7e6039ad6..68de7ce0e40 100644 --- a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go +++ b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go @@ -26,10 +26,14 @@ func (c *Client) MediaTypeHeader(ctx context.Context, params *MediaTypeHeaderInp } type MediaTypeHeaderInput struct { + + // This value conforms to the media type: application/json Json *string } type MediaTypeHeaderOutput struct { + + // This value conforms to the media type: application/json Json *string // Metadata pertaining to the operation's result. diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go index 065b79c1e07..227a1a35a9f 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go @@ -29,12 +29,16 @@ func (c *Client) StreamingTraitsWithMediaType(ctx context.Context, params *Strea } type StreamingTraitsWithMediaTypeInput struct { + + // This value conforms to the media type: text/plain Blob io.Reader Foo *string } type StreamingTraitsWithMediaTypeOutput struct { + + // This value conforms to the media type: text/plain Blob io.ReadCloser Foo *string diff --git a/internal/protocoltest/awsrestjson/deserializers.go b/internal/protocoltest/awsrestjson/deserializers.go index 2313979313e..9e1aeb873ef 100644 --- a/internal/protocoltest/awsrestjson/deserializers.go +++ b/internal/protocoltest/awsrestjson/deserializers.go @@ -929,7 +929,7 @@ func awsRestjson1_deserializeOpHttpBindingsHttpPrefixHeadersOutput(v *HttpPrefix v.FooMap = map[string]string{} } headerValues[0] = strings.TrimSpace(headerValues[0]) - v.FooMap[headerKey[lenPrefix:]] = headerValues[0] + v.FooMap[strings.ToLower(headerKey[lenPrefix:])] = headerValues[0] } } @@ -1032,7 +1032,7 @@ func awsRestjson1_deserializeOpHttpBindingsHttpPrefixHeadersResponseOutput(v *Ht v.PrefixHeaders = map[string]string{} } headerValues[0] = strings.TrimSpace(headerValues[0]) - v.PrefixHeaders[headerKey[lenPrefix:]] = headerValues[0] + v.PrefixHeaders[strings.ToLower(headerKey[lenPrefix:])] = headerValues[0] } } diff --git a/internal/protocoltest/awsrestjson/types/types_exported_test.go b/internal/protocoltest/awsrestjson/types/types_exported_test.go index bab3f37f60c..e9c7bd25c05 100644 --- a/internal/protocoltest/awsrestjson/types/types_exported_test.go +++ b/internal/protocoltest/awsrestjson/types/types_exported_test.go @@ -5,6 +5,7 @@ package types_test import ( "fmt" "github.com/aws/aws-sdk-go-v2/internal/protocoltest/awsrestjson/types" + "time" ) func ExampleMyUnion_outputUsage() { @@ -18,13 +19,13 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is bool case *types.MyUnionMemberEnumValue: - _ = v.Value // Value is FooEnum + _ = v.Value // Value is types.FooEnum case *types.MyUnionMemberListValue: - _ = v.Value // Value is StringList + _ = v.Value // Value is []string case *types.MyUnionMemberMapValue: - _ = v.Value // Value is StringMap + _ = v.Value // Value is map[string]string case *types.MyUnionMemberNumberValue: _ = v.Value // Value is int32 @@ -33,10 +34,10 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is string case *types.MyUnionMemberStructureValue: - _ = v.Value // Value is GreetingStruct + _ = v.Value // Value is types.GreetingStruct case *types.MyUnionMemberTimestampValue: - _ = v.Value // Value is Time + _ = v.Value // Value is time.Time case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -46,3 +47,13 @@ func ExampleMyUnion_outputUsage() { } } + +var _ map[string]string +var _ []string +var _ *string +var _ *int32 +var _ *bool +var _ types.FooEnum +var _ *types.GreetingStruct +var _ *time.Time +var _ []byte diff --git a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go index d82af2b59a0..93995162ffc 100644 --- a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go @@ -44,6 +44,7 @@ type KitchenSinkOperationInput struct { Iso8601Timestamp *time.Time + // This value conforms to the media type: application/json JsonValue *string ListOfLists [][]string @@ -98,6 +99,7 @@ type KitchenSinkOperationOutput struct { Iso8601Timestamp *time.Time + // This value conforms to the media type: application/json JsonValue *string ListOfLists [][]string diff --git a/internal/protocoltest/jsonrpc/types/types.go b/internal/protocoltest/jsonrpc/types/types.go index ff7dfb73596..fa129fa602a 100644 --- a/internal/protocoltest/jsonrpc/types/types.go +++ b/internal/protocoltest/jsonrpc/types/types.go @@ -30,6 +30,7 @@ type KitchenSink struct { Iso8601Timestamp *time.Time + // This value conforms to the media type: application/json JsonValue *string ListOfLists [][]string diff --git a/internal/protocoltest/jsonrpc/types/types_exported_test.go b/internal/protocoltest/jsonrpc/types/types_exported_test.go index 70cec8d8117..fd0e2e5307e 100644 --- a/internal/protocoltest/jsonrpc/types/types_exported_test.go +++ b/internal/protocoltest/jsonrpc/types/types_exported_test.go @@ -5,6 +5,7 @@ package types_test import ( "fmt" "github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc/types" + "time" ) func ExampleMyUnion_outputUsage() { @@ -18,13 +19,13 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is bool case *types.MyUnionMemberEnumValue: - _ = v.Value // Value is FooEnum + _ = v.Value // Value is types.FooEnum case *types.MyUnionMemberListValue: - _ = v.Value // Value is StringList + _ = v.Value // Value is []string case *types.MyUnionMemberMapValue: - _ = v.Value // Value is StringMap + _ = v.Value // Value is map[string]string case *types.MyUnionMemberNumberValue: _ = v.Value // Value is int32 @@ -33,10 +34,10 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is string case *types.MyUnionMemberStructureValue: - _ = v.Value // Value is GreetingStruct + _ = v.Value // Value is types.GreetingStruct case *types.MyUnionMemberTimestampValue: - _ = v.Value // Value is Time + _ = v.Value // Value is time.Time case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -46,3 +47,13 @@ func ExampleMyUnion_outputUsage() { } } + +var _ map[string]string +var _ *types.GreetingStruct +var _ []string +var _ *string +var _ *int32 +var _ *bool +var _ types.FooEnum +var _ *time.Time +var _ []byte diff --git a/internal/protocoltest/jsonrpc10/types/types_exported_test.go b/internal/protocoltest/jsonrpc10/types/types_exported_test.go index cac38ec9293..c3352cb774d 100644 --- a/internal/protocoltest/jsonrpc10/types/types_exported_test.go +++ b/internal/protocoltest/jsonrpc10/types/types_exported_test.go @@ -5,6 +5,7 @@ package types_test import ( "fmt" "github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc10/types" + "time" ) func ExampleMyUnion_outputUsage() { @@ -18,13 +19,13 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is bool case *types.MyUnionMemberEnumValue: - _ = v.Value // Value is FooEnum + _ = v.Value // Value is types.FooEnum case *types.MyUnionMemberListValue: - _ = v.Value // Value is StringList + _ = v.Value // Value is []string case *types.MyUnionMemberMapValue: - _ = v.Value // Value is StringMap + _ = v.Value // Value is map[string]string case *types.MyUnionMemberNumberValue: _ = v.Value // Value is int32 @@ -33,10 +34,10 @@ func ExampleMyUnion_outputUsage() { _ = v.Value // Value is string case *types.MyUnionMemberStructureValue: - _ = v.Value // Value is GreetingStruct + _ = v.Value // Value is types.GreetingStruct case *types.MyUnionMemberTimestampValue: - _ = v.Value // Value is Time + _ = v.Value // Value is time.Time case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -46,3 +47,13 @@ func ExampleMyUnion_outputUsage() { } } + +var _ map[string]string +var _ types.FooEnum +var _ []string +var _ *string +var _ *types.GreetingStruct +var _ *int32 +var _ *bool +var _ *time.Time +var _ []byte diff --git a/internal/protocoltest/restxml/api_op_ConstantQueryString.go b/internal/protocoltest/restxml/api_op_ConstantQueryString.go index 8cbd244baa1..89dd07e9c42 100644 --- a/internal/protocoltest/restxml/api_op_ConstantQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantQueryString.go @@ -29,6 +29,8 @@ func (c *Client) ConstantQueryString(ctx context.Context, params *ConstantQueryS } type ConstantQueryStringInput struct { + + // This member is required. Hello *string } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go index 180b1c1677e..0e31376dc54 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go @@ -27,12 +27,16 @@ func (c *Client) HttpPayloadTraitsWithMediaType(ctx context.Context, params *Htt } type HttpPayloadTraitsWithMediaTypeInput struct { + + // This value conforms to the media type: text/plain Blob []byte Foo *string } type HttpPayloadTraitsWithMediaTypeOutput struct { + + // This value conforms to the media type: text/plain Blob []byte Foo *string diff --git a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go index d29911e4181..fd945fc805d 100644 --- a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go @@ -34,6 +34,7 @@ type HttpPrefixHeadersInput struct { type HttpPrefixHeadersOutput struct { Foo *string + // Map keys will be normalized to lower-case. FooMap map[string]string // Metadata pertaining to the operation's result. diff --git a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders_test.go b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders_test.go index de439d6d6a0..05386810a89 100644 --- a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders_test.go +++ b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders_test.go @@ -159,8 +159,8 @@ func TestClient_HttpPrefixHeaders_awsRestxmlDeserialize(t *testing.T) { ExpectResult: &HttpPrefixHeadersOutput{ Foo: ptr.String("Foo"), FooMap: map[string]string{ - "Abc": "Abc value", - "Def": "Def value", + "abc": "Abc value", + "def": "Def value", }, }, }, diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go index 2bf9edd45b8..bfe84e66735 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go @@ -25,8 +25,11 @@ func (c *Client) HttpRequestWithGreedyLabelInPath(ctx context.Context, params *H } type HttpRequestWithGreedyLabelInPathInput struct { + + // This member is required. Baz *string + // This member is required. Foo *string } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go index f9bad66ca23..9c7d836dbd1 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go @@ -34,16 +34,22 @@ type HttpRequestWithLabelsInput struct { // This member is required. Boolean *bool + // This member is required. Double *float64 + // This member is required. Float *float32 + // This member is required. Integer *int32 + // This member is required. Long *int64 + // This member is required. Short *int16 + // This member is required. String_ *string // Note that this member has no format, so it's serialized as an RFC 3399 diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go index 550b1157c32..50e9bae8543 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -28,18 +28,26 @@ func (c *Client) HttpRequestWithLabelsAndTimestampFormat(ctx context.Context, pa } type HttpRequestWithLabelsAndTimestampFormatInput struct { + + // This member is required. DefaultFormat *time.Time + // This member is required. MemberDateTime *time.Time + // This member is required. MemberEpochSeconds *time.Time + // This member is required. MemberHttpDate *time.Time + // This member is required. TargetDateTime *time.Time + // This member is required. TargetEpochSeconds *time.Time + // This member is required. TargetHttpDate *time.Time } diff --git a/internal/protocoltest/restxml/deserializers.go b/internal/protocoltest/restxml/deserializers.go index c147dd4fe67..8e96a4473c1 100644 --- a/internal/protocoltest/restxml/deserializers.go +++ b/internal/protocoltest/restxml/deserializers.go @@ -1564,7 +1564,7 @@ func awsRestxml_deserializeOpHttpBindingsHttpPrefixHeadersOutput(v *HttpPrefixHe v.FooMap = map[string]string{} } headerValues[0] = strings.TrimSpace(headerValues[0]) - v.FooMap[headerKey[lenPrefix:]] = headerValues[0] + v.FooMap[strings.ToLower(headerKey[lenPrefix:])] = headerValues[0] } } diff --git a/service/apigatewaymanagementapi/api_op_DeleteConnection.go b/service/apigatewaymanagementapi/api_op_DeleteConnection.go index 7afa9eb3284..a772bda39fa 100644 --- a/service/apigatewaymanagementapi/api_op_DeleteConnection.go +++ b/service/apigatewaymanagementapi/api_op_DeleteConnection.go @@ -27,6 +27,8 @@ func (c *Client) DeleteConnection(ctx context.Context, params *DeleteConnectionI } type DeleteConnectionInput struct { + + // This member is required. ConnectionId *string } diff --git a/service/apigatewaymanagementapi/api_op_GetConnection.go b/service/apigatewaymanagementapi/api_op_GetConnection.go index 487f1394f9b..656f15cee22 100644 --- a/service/apigatewaymanagementapi/api_op_GetConnection.go +++ b/service/apigatewaymanagementapi/api_op_GetConnection.go @@ -29,6 +29,8 @@ func (c *Client) GetConnection(ctx context.Context, params *GetConnectionInput, } type GetConnectionInput struct { + + // This member is required. ConnectionId *string } diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go index fcd674acdbb..050b5aab477 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go @@ -14,6 +14,8 @@ import ( // DescribeExportConfigurations is deprecated. Use DescribeImportTasks // (https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html), // instead. +// +// Deprecated: This operation has been deprecated. func (c *Client) DescribeExportConfigurations(ctx context.Context, params *DescribeExportConfigurationsInput, optFns ...func(*Options)) (*DescribeExportConfigurationsOutput, error) { if params == nil { params = &DescribeExportConfigurationsInput{} diff --git a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go index 5d7577db225..cb8287c0512 100644 --- a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go @@ -16,6 +16,8 @@ import ( // connections, servers, and system performance. This API returns an export ID that // you can query using the DescribeExportConfigurations API. The system imposes a // limit of two configuration exports in six hours. +// +// Deprecated: This operation has been deprecated. func (c *Client) ExportConfigurations(ctx context.Context, params *ExportConfigurationsInput, optFns ...func(*Options)) (*ExportConfigurationsOutput, error) { if params == nil { params = &ExportConfigurationsInput{} diff --git a/service/appmesh/types/types_exported_test.go b/service/appmesh/types/types_exported_test.go index 16a128a2605..8fb955fa8f3 100644 --- a/service/appmesh/types/types_exported_test.go +++ b/service/appmesh/types/types_exported_test.go @@ -12,7 +12,7 @@ func ExampleAccessLog_outputUsage() { // type switches can be used to check the union value switch v := union.(type) { case *types.AccessLogMemberFile: - _ = v.Value // Value is FileAccessLog + _ = v.Value // Value is types.FileAccessLog case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -23,12 +23,14 @@ func ExampleAccessLog_outputUsage() { } } +var _ *types.FileAccessLog + func ExampleBackend_outputUsage() { var union types.Backend // type switches can be used to check the union value switch v := union.(type) { case *types.BackendMemberVirtualService: - _ = v.Value // Value is VirtualServiceBackend + _ = v.Value // Value is types.VirtualServiceBackend case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -39,6 +41,8 @@ func ExampleBackend_outputUsage() { } } +var _ *types.VirtualServiceBackend + func ExampleGrpcRouteMetadataMatchMethod_outputUsage() { var union types.GrpcRouteMetadataMatchMethod // type switches can be used to check the union value @@ -50,7 +54,7 @@ func ExampleGrpcRouteMetadataMatchMethod_outputUsage() { _ = v.Value // Value is string case *types.GrpcRouteMetadataMatchMethodMemberRange: - _ = v.Value // Value is MatchRange + _ = v.Value // Value is types.MatchRange case *types.GrpcRouteMetadataMatchMethodMemberRegex: _ = v.Value // Value is string @@ -67,6 +71,9 @@ func ExampleGrpcRouteMetadataMatchMethod_outputUsage() { } } +var _ *types.MatchRange +var _ *string + func ExampleHeaderMatchMethod_outputUsage() { var union types.HeaderMatchMethod // type switches can be used to check the union value @@ -78,7 +85,7 @@ func ExampleHeaderMatchMethod_outputUsage() { _ = v.Value // Value is string case *types.HeaderMatchMethodMemberRange: - _ = v.Value // Value is MatchRange + _ = v.Value // Value is types.MatchRange case *types.HeaderMatchMethodMemberRegex: _ = v.Value // Value is string @@ -95,21 +102,24 @@ func ExampleHeaderMatchMethod_outputUsage() { } } +var _ *types.MatchRange +var _ *string + func ExampleListenerTimeout_outputUsage() { var union types.ListenerTimeout // type switches can be used to check the union value switch v := union.(type) { case *types.ListenerTimeoutMemberGrpc: - _ = v.Value // Value is GrpcTimeout + _ = v.Value // Value is types.GrpcTimeout case *types.ListenerTimeoutMemberHttp: - _ = v.Value // Value is HttpTimeout + _ = v.Value // Value is types.HttpTimeout case *types.ListenerTimeoutMemberHttp2: - _ = v.Value // Value is HttpTimeout + _ = v.Value // Value is types.HttpTimeout case *types.ListenerTimeoutMemberTcp: - _ = v.Value // Value is TcpTimeout + _ = v.Value // Value is types.TcpTimeout case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -120,15 +130,19 @@ func ExampleListenerTimeout_outputUsage() { } } +var _ *types.TcpTimeout +var _ *types.HttpTimeout +var _ *types.GrpcTimeout + func ExampleListenerTlsCertificate_outputUsage() { var union types.ListenerTlsCertificate // type switches can be used to check the union value switch v := union.(type) { case *types.ListenerTlsCertificateMemberAcm: - _ = v.Value // Value is ListenerTlsAcmCertificate + _ = v.Value // Value is types.ListenerTlsAcmCertificate case *types.ListenerTlsCertificateMemberFile: - _ = v.Value // Value is ListenerTlsFileCertificate + _ = v.Value // Value is types.ListenerTlsFileCertificate case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -139,15 +153,18 @@ func ExampleListenerTlsCertificate_outputUsage() { } } +var _ *types.ListenerTlsAcmCertificate +var _ *types.ListenerTlsFileCertificate + func ExampleServiceDiscovery_outputUsage() { var union types.ServiceDiscovery // type switches can be used to check the union value switch v := union.(type) { case *types.ServiceDiscoveryMemberAwsCloudMap: - _ = v.Value // Value is AwsCloudMapServiceDiscovery + _ = v.Value // Value is types.AwsCloudMapServiceDiscovery case *types.ServiceDiscoveryMemberDns: - _ = v.Value // Value is DnsServiceDiscovery + _ = v.Value // Value is types.DnsServiceDiscovery case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -158,15 +175,18 @@ func ExampleServiceDiscovery_outputUsage() { } } +var _ *types.AwsCloudMapServiceDiscovery +var _ *types.DnsServiceDiscovery + func ExampleTlsValidationContextTrust_outputUsage() { var union types.TlsValidationContextTrust // type switches can be used to check the union value switch v := union.(type) { case *types.TlsValidationContextTrustMemberAcm: - _ = v.Value // Value is TlsValidationContextAcmTrust + _ = v.Value // Value is types.TlsValidationContextAcmTrust case *types.TlsValidationContextTrustMemberFile: - _ = v.Value // Value is TlsValidationContextFileTrust + _ = v.Value // Value is types.TlsValidationContextFileTrust case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -177,12 +197,15 @@ func ExampleTlsValidationContextTrust_outputUsage() { } } +var _ *types.TlsValidationContextAcmTrust +var _ *types.TlsValidationContextFileTrust + func ExampleVirtualGatewayAccessLog_outputUsage() { var union types.VirtualGatewayAccessLog // type switches can be used to check the union value switch v := union.(type) { case *types.VirtualGatewayAccessLogMemberFile: - _ = v.Value // Value is VirtualGatewayFileAccessLog + _ = v.Value // Value is types.VirtualGatewayFileAccessLog case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -193,15 +216,17 @@ func ExampleVirtualGatewayAccessLog_outputUsage() { } } +var _ *types.VirtualGatewayFileAccessLog + func ExampleVirtualGatewayListenerTlsCertificate_outputUsage() { var union types.VirtualGatewayListenerTlsCertificate // type switches can be used to check the union value switch v := union.(type) { case *types.VirtualGatewayListenerTlsCertificateMemberAcm: - _ = v.Value // Value is VirtualGatewayListenerTlsAcmCertificate + _ = v.Value // Value is types.VirtualGatewayListenerTlsAcmCertificate case *types.VirtualGatewayListenerTlsCertificateMemberFile: - _ = v.Value // Value is VirtualGatewayListenerTlsFileCertificate + _ = v.Value // Value is types.VirtualGatewayListenerTlsFileCertificate case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -212,15 +237,18 @@ func ExampleVirtualGatewayListenerTlsCertificate_outputUsage() { } } +var _ *types.VirtualGatewayListenerTlsFileCertificate +var _ *types.VirtualGatewayListenerTlsAcmCertificate + func ExampleVirtualGatewayTlsValidationContextTrust_outputUsage() { var union types.VirtualGatewayTlsValidationContextTrust // type switches can be used to check the union value switch v := union.(type) { case *types.VirtualGatewayTlsValidationContextTrustMemberAcm: - _ = v.Value // Value is VirtualGatewayTlsValidationContextAcmTrust + _ = v.Value // Value is types.VirtualGatewayTlsValidationContextAcmTrust case *types.VirtualGatewayTlsValidationContextTrustMemberFile: - _ = v.Value // Value is VirtualGatewayTlsValidationContextFileTrust + _ = v.Value // Value is types.VirtualGatewayTlsValidationContextFileTrust case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -231,15 +259,18 @@ func ExampleVirtualGatewayTlsValidationContextTrust_outputUsage() { } } +var _ *types.VirtualGatewayTlsValidationContextAcmTrust +var _ *types.VirtualGatewayTlsValidationContextFileTrust + func ExampleVirtualServiceProvider_outputUsage() { var union types.VirtualServiceProvider // type switches can be used to check the union value switch v := union.(type) { case *types.VirtualServiceProviderMemberVirtualNode: - _ = v.Value // Value is VirtualNodeServiceProvider + _ = v.Value // Value is types.VirtualNodeServiceProvider case *types.VirtualServiceProviderMemberVirtualRouter: - _ = v.Value // Value is VirtualRouterServiceProvider + _ = v.Value // Value is types.VirtualRouterServiceProvider case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -249,3 +280,6 @@ func ExampleVirtualServiceProvider_outputUsage() { } } + +var _ *types.VirtualRouterServiceProvider +var _ *types.VirtualNodeServiceProvider diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index 38386f5ce66..cbf43a1770e 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -40,6 +40,8 @@ type UpdateFleetInput struct { ComputeCapacity *types.ComputeCapacity // Deletes the VPC association for the specified fleet. + // + // Deprecated: This member has been deprecated. DeleteVpcConfig bool // The description to display. diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 2127b14aa02..b7c6620ff2b 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -47,6 +47,8 @@ type UpdateStackInput struct { AttributesToDelete []types.StackAttribute // Deletes the storage connectors currently enabled for the stack. + // + // Deprecated: This member has been deprecated. DeleteStorageConnectors bool // The description to display. diff --git a/service/autoscaling/api_op_PutScalingPolicy.go b/service/autoscaling/api_op_PutScalingPolicy.go index 949bf918bc1..b6b22b5f832 100644 --- a/service/autoscaling/api_op_PutScalingPolicy.go +++ b/service/autoscaling/api_op_PutScalingPolicy.go @@ -94,6 +94,8 @@ type PutScalingPolicyInput struct { MinAdjustmentMagnitude *int32 // Available for backward compatibility. Use MinAdjustmentMagnitude instead. + // + // Deprecated: This member has been deprecated. MinAdjustmentStep *int32 // One of the following policy types: diff --git a/service/autoscaling/types/types.go b/service/autoscaling/types/types.go index 5b3c9bc1398..181d6b9e989 100644 --- a/service/autoscaling/types/types.go +++ b/service/autoscaling/types/types.go @@ -1274,6 +1274,8 @@ type ScalingPolicy struct { MinAdjustmentMagnitude *int32 // Available for backward compatibility. Use MinAdjustmentMagnitude instead. + // + // Deprecated: This member has been deprecated. MinAdjustmentStep *int32 // The Amazon Resource Name (ARN) of the policy. diff --git a/service/braket/api_op_CreateQuantumTask.go b/service/braket/api_op_CreateQuantumTask.go index bf7fbe4b34e..abb89c46c12 100644 --- a/service/braket/api_op_CreateQuantumTask.go +++ b/service/braket/api_op_CreateQuantumTask.go @@ -29,6 +29,7 @@ func (c *Client) CreateQuantumTask(ctx context.Context, params *CreateQuantumTas type CreateQuantumTaskInput struct { // The action associated with the task. + // // This value conforms to the media type: application/json // // This member is required. @@ -60,6 +61,7 @@ type CreateQuantumTaskInput struct { Shots *int64 // The parameters for the device to run the task on. + // // This value conforms to the media type: application/json DeviceParameters *string } diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index 092ed840344..cc83fb24579 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -43,6 +43,7 @@ type GetDeviceOutput struct { DeviceArn *string // Details about the capabilities of the device. + // // This value conforms to the media type: application/json // // This member is required. diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index fbd30d0854b..935a32da9ad 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -49,6 +49,7 @@ type GetQuantumTaskOutput struct { DeviceArn *string // The parameters for the device on which the task ran. + // // This value conforms to the media type: application/json // // This member is required. diff --git a/service/cloudfront/types/types.go b/service/cloudfront/types/types.go index dda710632d5..02991fb6e13 100644 --- a/service/cloudfront/types/types.go +++ b/service/cloudfront/types/types.go @@ -270,6 +270,8 @@ type CacheBehavior struct { // (Expiration) // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) // in the Amazon CloudFront Developer Guide. + // + // Deprecated: This member has been deprecated. DefaultTTL *int64 // The value of ID for the field-level encryption configuration that you want @@ -294,6 +296,8 @@ type CacheBehavior struct { // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) // in the Amazon CloudFront Developer Guide. A complex type that specifies how // CloudFront handles query strings, cookies, and HTTP headers. + // + // Deprecated: This member has been deprecated. ForwardedValues *ForwardedValues // A complex type that contains zero or more Lambda function associations for a @@ -313,6 +317,8 @@ type CacheBehavior struct { // information, see Managing How Long Content Stays in an Edge Cache (Expiration) // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) // in the Amazon CloudFront Developer Guide. + // + // Deprecated: This member has been deprecated. MaxTTL *int64 // This field is deprecated. We recommend that you use the MinTTL field in a cache @@ -329,6 +335,8 @@ type CacheBehavior struct { // in the Amazon CloudFront Developer Guide. You must specify 0 for MinTTL if you // configure CloudFront to forward all headers to your origin (under Headers, if // you specify 1 for Quantity and * for Name). + // + // Deprecated: This member has been deprecated. MinTTL *int64 // The unique identifier of the origin request policy that is attached to this @@ -1140,6 +1148,8 @@ type DefaultCacheBehavior struct { // (Expiration) // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) // in the Amazon CloudFront Developer Guide. + // + // Deprecated: This member has been deprecated. DefaultTTL *int64 // The value of ID for the field-level encryption configuration that you want @@ -1164,6 +1174,8 @@ type DefaultCacheBehavior struct { // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) // in the Amazon CloudFront Developer Guide. A complex type that specifies how // CloudFront handles query strings, cookies, and HTTP headers. + // + // Deprecated: This member has been deprecated. ForwardedValues *ForwardedValues // A complex type that contains zero or more Lambda function associations for a @@ -1183,6 +1195,8 @@ type DefaultCacheBehavior struct { // information, see Managing How Long Content Stays in an Edge Cache (Expiration) // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) // in the Amazon CloudFront Developer Guide. + // + // Deprecated: This member has been deprecated. MaxTTL *int64 // This field is deprecated. We recommend that you use the MinTTL field in a cache @@ -1199,6 +1213,8 @@ type DefaultCacheBehavior struct { // in the Amazon CloudFront Developer Guide. You must specify 0 for MinTTL if you // configure CloudFront to forward all headers to your origin (under Headers, if // you specify 1 for Quantity and * for Name). + // + // Deprecated: This member has been deprecated. MinTTL *int64 // The unique identifier of the origin request policy that is attached to the @@ -3745,6 +3761,8 @@ type ViewerCertificate struct { // * IAMCertificateId // // * CloudFrontDefaultCertificate + // + // Deprecated: This member has been deprecated. Certificate *string // This field is deprecated. Use one of the following fields instead: @@ -3755,6 +3773,8 @@ type ViewerCertificate struct { // * IAMCertificateId // // * CloudFrontDefaultCertificate + // + // Deprecated: This member has been deprecated. CertificateSource CertificateSource // If the distribution uses the CloudFront domain name such as diff --git a/service/cloudsearch/types/types.go b/service/cloudsearch/types/types.go index 8b0d3711868..e64b886f0c9 100644 --- a/service/cloudsearch/types/types.go +++ b/service/cloudsearch/types/types.go @@ -545,8 +545,11 @@ type LatLonOptions struct { } type Limits struct { + + // This member is required. MaximumPartitionCount int32 + // This member is required. MaximumReplicationCount int32 } diff --git a/service/cloudtrail/api_op_CreateTrail.go b/service/cloudtrail/api_op_CreateTrail.go index 46e970ec1e7..8df8354ada6 100644 --- a/service/cloudtrail/api_op_CreateTrail.go +++ b/service/cloudtrail/api_op_CreateTrail.go @@ -174,6 +174,8 @@ type CreateTrailOutput struct { SnsTopicARN *string // This field is no longer in use. Use SnsTopicARN. + // + // Deprecated: This member has been deprecated. SnsTopicName *string // Specifies the ARN of the trail that was created. The format of a trail ARN is: diff --git a/service/cloudtrail/api_op_UpdateTrail.go b/service/cloudtrail/api_op_UpdateTrail.go index bdb0edab9d3..debfa8252be 100644 --- a/service/cloudtrail/api_op_UpdateTrail.go +++ b/service/cloudtrail/api_op_UpdateTrail.go @@ -183,6 +183,8 @@ type UpdateTrailOutput struct { SnsTopicARN *string // This field is no longer in use. Use SnsTopicARN. + // + // Deprecated: This member has been deprecated. SnsTopicName *string // Specifies the ARN of the trail that was updated. The format of a trail ARN is: diff --git a/service/cloudtrail/types/types.go b/service/cloudtrail/types/types.go index b41cb3761cb..7e017978a62 100644 --- a/service/cloudtrail/types/types.go +++ b/service/cloudtrail/types/types.go @@ -306,6 +306,8 @@ type Trail struct { SnsTopicARN *string // This field is no longer in use. Use SnsTopicARN. + // + // Deprecated: This member has been deprecated. SnsTopicName *string // Specifies the ARN of the trail. The format of a trail ARN is: diff --git a/service/cloudwatchlogs/api_op_FilterLogEvents.go b/service/cloudwatchlogs/api_op_FilterLogEvents.go index f2329f47195..2bd6c055f86 100644 --- a/service/cloudwatchlogs/api_op_FilterLogEvents.go +++ b/service/cloudwatchlogs/api_op_FilterLogEvents.go @@ -61,6 +61,10 @@ type FilterLogEventsInput struct { // on. The default is false. Important: Starting on June 17, 2019, this parameter // is ignored and the value is assumed to be true. The response from this operation // always interleaves events from multiple log streams within a log group. + // + // Deprecated: Starting on June 17, 2019, this parameter will be ignored and the + // value will be assumed to be true. The response from this operation will always + // interleave events from multiple log streams within a log group. Interleaved *bool // The maximum number of events to return. The default is 10,000 events. diff --git a/service/cloudwatchlogs/types/types.go b/service/cloudwatchlogs/types/types.go index 99a4143bdde..c36551de2d4 100644 --- a/service/cloudwatchlogs/types/types.go +++ b/service/cloudwatchlogs/types/types.go @@ -192,6 +192,10 @@ type LogStream struct { // The number of bytes stored. Important: On June 17, 2019, this parameter was // deprecated for log streams, and is always reported as zero. This change applies // only to log streams. The storedBytes parameter for log groups is not affected. + // + // Deprecated: Starting on June 17, 2019, this parameter will be deprecated for log + // streams, and will be reported as zero. This change applies only to log streams. + // The storedBytes parameter for log groups is not affected. StoredBytes *int64 // The sequence token. diff --git a/service/codedeploy/api_op_BatchGetDeploymentInstances.go b/service/codedeploy/api_op_BatchGetDeploymentInstances.go index c77c5e9034e..142ff8a7dba 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentInstances.go +++ b/service/codedeploy/api_op_BatchGetDeploymentInstances.go @@ -16,6 +16,8 @@ import ( // method works with EC2/On-premises and AWS Lambda compute platforms. The newer // BatchGetDeploymentTargets works with all compute platforms. The maximum number // of instances that can be returned is 25. +// +// Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead. func (c *Client) BatchGetDeploymentInstances(ctx context.Context, params *BatchGetDeploymentInstancesInput, optFns ...func(*Options)) (*BatchGetDeploymentInstancesOutput, error) { if params == nil { params = &BatchGetDeploymentInstancesInput{} diff --git a/service/codedeploy/api_op_GetDeploymentInstance.go b/service/codedeploy/api_op_GetDeploymentInstance.go index f53e9a805a2..43622b723d5 100644 --- a/service/codedeploy/api_op_GetDeploymentInstance.go +++ b/service/codedeploy/api_op_GetDeploymentInstance.go @@ -12,6 +12,8 @@ import ( ) // Gets information about an instance as part of a deployment. +// +// Deprecated: This operation is deprecated, use GetDeploymentTarget instead. func (c *Client) GetDeploymentInstance(ctx context.Context, params *GetDeploymentInstanceInput, optFns ...func(*Options)) (*GetDeploymentInstanceOutput, error) { if params == nil { params = &GetDeploymentInstanceInput{} @@ -45,6 +47,8 @@ type GetDeploymentInstanceInput struct { type GetDeploymentInstanceOutput struct { // Information about the instance. + // + // Deprecated: InstanceSummary is deprecated, use DeploymentTarget instead. InstanceSummary *types.InstanceSummary // Metadata pertaining to the operation's result. diff --git a/service/codedeploy/api_op_ListDeploymentInstances.go b/service/codedeploy/api_op_ListDeploymentInstances.go index f78f81c46ad..62eed5385f2 100644 --- a/service/codedeploy/api_op_ListDeploymentInstances.go +++ b/service/codedeploy/api_op_ListDeploymentInstances.go @@ -16,6 +16,8 @@ import ( // all compute types. ListDeploymentInstances throws an exception if it is used // with a compute platform other than EC2/On-premises or AWS Lambda. Lists the // instance for a deployment associated with the IAM user or AWS account. +// +// Deprecated: This operation is deprecated, use ListDeploymentTargets instead. func (c *Client) ListDeploymentInstances(ctx context.Context, params *ListDeploymentInstancesInput, optFns ...func(*Options)) (*ListDeploymentInstancesOutput, error) { if params == nil { params = &ListDeploymentInstancesInput{} diff --git a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go index 0ac90fe5741..6bb210e269b 100644 --- a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go +++ b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go @@ -12,6 +12,9 @@ import ( // In a blue/green deployment, overrides any specified wait time and starts // terminating instances immediately after the traffic routing is complete. +// +// Deprecated: This operation is deprecated, use ContinueDeployment with +// DeploymentWaitType instead. func (c *Client) SkipWaitTimeForInstanceTermination(ctx context.Context, params *SkipWaitTimeForInstanceTerminationInput, optFns ...func(*Options)) (*SkipWaitTimeForInstanceTerminationOutput, error) { if params == nil { params = &SkipWaitTimeForInstanceTerminationInput{} diff --git a/service/codedeploy/types/types.go b/service/codedeploy/types/types.go index 979631743d3..a5fb65aadaf 100644 --- a/service/codedeploy/types/types.go +++ b/service/codedeploy/types/types.go @@ -286,6 +286,8 @@ type DeploymentInfo struct { // Provides information about the results of a deployment, such as whether // instances in the original environment in a blue/green deployment were not // terminated. + // + // Deprecated: This member has been deprecated. AdditionalDeploymentStatusInfo *string // The application name. @@ -841,6 +843,8 @@ type InstanceSummary struct { // // * Unknown: The deployment status is unknown // for this instance. + // + // Deprecated: InstanceStatus is deprecated, use TargetStatus instead. Status InstanceStatus } @@ -1097,6 +1101,9 @@ type RevisionLocation struct { // Information about the location of an AWS Lambda deployment revision stored as a // RawString. + // + // Deprecated: RawString and String revision type are deprecated, use + // AppSpecContent type instead. String_ *RawString } diff --git a/service/codeguruprofiler/api_op_RetrieveTimeSeries.go b/service/codeguruprofiler/api_op_RetrieveTimeSeries.go index 6f4496b8a7d..eaff9e7dcb4 100644 --- a/service/codeguruprofiler/api_op_RetrieveTimeSeries.go +++ b/service/codeguruprofiler/api_op_RetrieveTimeSeries.go @@ -28,6 +28,8 @@ func (c *Client) RetrieveTimeSeries(ctx context.Context, params *RetrieveTimeSer } type RetrieveTimeSeriesInput struct { + + // This member is required. ProfilingGroupName *string EndTime *time.Time @@ -42,18 +44,26 @@ type RetrieveTimeSeriesInput struct { } type RetrieveTimeSeriesOutput struct { + + // This member is required. Data [][]float64 + // This member is required. EndTime *time.Time + // This member is required. EndTimes []time.Time + // This member is required. FrameMetrics []types.FrameMetric + // This member is required. Resolution types.AggregationPeriod + // This member is required. StartTime *time.Time + // This member is required. UnprocessedEndTimes map[string][]time.Time // Metadata pertaining to the operation's result. diff --git a/service/codeguruprofiler/types/types.go b/service/codeguruprofiler/types/types.go index 229d5d73cb9..402f5b5bae1 100644 --- a/service/codeguruprofiler/types/types.go +++ b/service/codeguruprofiler/types/types.go @@ -88,9 +88,13 @@ type ProfileTime struct { } type FrameMetric struct { + + // This member is required. FrameName *string + // This member is required. ThreadStates []string + // This member is required. Type MetricType } diff --git a/service/comprehendmedical/api_op_DetectEntities.go b/service/comprehendmedical/api_op_DetectEntities.go index 2a7d173343d..7ac1191da91 100644 --- a/service/comprehendmedical/api_op_DetectEntities.go +++ b/service/comprehendmedical/api_op_DetectEntities.go @@ -15,6 +15,8 @@ import ( // operation instead. Inspects the clinical text for a variety of medical entities // and returns specific information about them such as entity category, location, // and confidence score on that information . +// +// Deprecated: This operation is deprecated, use DetectEntitiesV2 instead. func (c *Client) DetectEntities(ctx context.Context, params *DetectEntitiesInput, optFns ...func(*Options)) (*DetectEntitiesOutput, error) { if params == nil { params = &DetectEntitiesInput{} diff --git a/service/databasemigrationservice/types/types.go b/service/databasemigrationservice/types/types.go index 20c406e3b55..5802839c277 100644 --- a/service/databasemigrationservice/types/types.go +++ b/service/databasemigrationservice/types/types.go @@ -1330,12 +1330,16 @@ type ReplicationInstance struct { ReplicationInstanceIdentifier *string // The private IP address of the replication instance. + // + // Deprecated: This member has been deprecated. ReplicationInstancePrivateIpAddress *string // One or more private IP addresses for the replication instance. ReplicationInstancePrivateIpAddresses []string // The public IP address of the replication instance. + // + // Deprecated: This member has been deprecated. ReplicationInstancePublicIpAddress *string // One or more public IP addresses for the replication instance. diff --git a/service/dataexchange/types/types.go b/service/dataexchange/types/types.go index 6c2992255d4..b12dbd32e16 100644 --- a/service/dataexchange/types/types.go +++ b/service/dataexchange/types/types.go @@ -448,6 +448,8 @@ type JobError struct { } type OriginDetails struct { + + // This member is required. ProductId *string } diff --git a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go index 0523d020f04..39739e34ea8 100644 --- a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go +++ b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go @@ -16,6 +16,8 @@ import ( // an interconnect. Allocates a VLAN number and a specified amount of bandwidth for // use by a hosted connection on the specified interconnect. Intended for use by // AWS Direct Connect Partners only. +// +// Deprecated: This operation has been deprecated. func (c *Client) AllocateConnectionOnInterconnect(ctx context.Context, params *AllocateConnectionOnInterconnectInput, optFns ...func(*Options)) (*AllocateConnectionOnInterconnectOutput, error) { if params == nil { params = &AllocateConnectionOnInterconnectInput{} @@ -67,6 +69,8 @@ type AllocateConnectionOnInterconnectInput struct { type AllocateConnectionOnInterconnectOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_AllocateHostedConnection.go b/service/directconnect/api_op_AllocateHostedConnection.go index f5828c17d46..d17360c9f3e 100644 --- a/service/directconnect/api_op_AllocateHostedConnection.go +++ b/service/directconnect/api_op_AllocateHostedConnection.go @@ -72,6 +72,8 @@ type AllocateHostedConnectionInput struct { type AllocateHostedConnectionOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_AssociateConnectionWithLag.go b/service/directconnect/api_op_AssociateConnectionWithLag.go index 232154ee5bc..2ececf6cb2e 100644 --- a/service/directconnect/api_op_AssociateConnectionWithLag.go +++ b/service/directconnect/api_op_AssociateConnectionWithLag.go @@ -58,6 +58,8 @@ type AssociateConnectionWithLagInput struct { type AssociateConnectionWithLagOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_AssociateHostedConnection.go b/service/directconnect/api_op_AssociateHostedConnection.go index cb7e8bd4181..d2908b433dc 100644 --- a/service/directconnect/api_op_AssociateHostedConnection.go +++ b/service/directconnect/api_op_AssociateHostedConnection.go @@ -50,6 +50,8 @@ type AssociateHostedConnectionInput struct { type AssociateHostedConnectionOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_CreateConnection.go b/service/directconnect/api_op_CreateConnection.go index ab8120dc28f..4ac57faf8f0 100644 --- a/service/directconnect/api_op_CreateConnection.go +++ b/service/directconnect/api_op_CreateConnection.go @@ -67,6 +67,8 @@ type CreateConnectionInput struct { type CreateConnectionOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_CreateInterconnect.go b/service/directconnect/api_op_CreateInterconnect.go index a6bdf76f745..9118e35d9e6 100644 --- a/service/directconnect/api_op_CreateInterconnect.go +++ b/service/directconnect/api_op_CreateInterconnect.go @@ -75,6 +75,8 @@ type CreateInterconnectInput struct { type CreateInterconnectOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_CreateLag.go b/service/directconnect/api_op_CreateLag.go index ff8c5088555..3fe004172f9 100644 --- a/service/directconnect/api_op_CreateLag.go +++ b/service/directconnect/api_op_CreateLag.go @@ -89,6 +89,8 @@ type CreateLagOutput struct { AllowsHostedConnections bool // The AWS Direct Connect endpoint that hosts the LAG. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The AWS Direct Connect endpoint that hosts the LAG. diff --git a/service/directconnect/api_op_DeleteConnection.go b/service/directconnect/api_op_DeleteConnection.go index 521d379ebee..417f28d4f07 100644 --- a/service/directconnect/api_op_DeleteConnection.go +++ b/service/directconnect/api_op_DeleteConnection.go @@ -43,6 +43,8 @@ type DeleteConnectionInput struct { type DeleteConnectionOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_DeleteLag.go b/service/directconnect/api_op_DeleteLag.go index a482c1dd2ce..d4cc2fe0ce8 100644 --- a/service/directconnect/api_op_DeleteLag.go +++ b/service/directconnect/api_op_DeleteLag.go @@ -43,6 +43,8 @@ type DeleteLagOutput struct { AllowsHostedConnections bool // The AWS Direct Connect endpoint that hosts the LAG. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The AWS Direct Connect endpoint that hosts the LAG. diff --git a/service/directconnect/api_op_DescribeConnectionLoa.go b/service/directconnect/api_op_DescribeConnectionLoa.go index 44725e81748..b00d7084676 100644 --- a/service/directconnect/api_op_DescribeConnectionLoa.go +++ b/service/directconnect/api_op_DescribeConnectionLoa.go @@ -18,6 +18,8 @@ import ( // Cross Connects at AWS Direct Connect Locations // (https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html) in // the AWS Direct Connect User Guide. +// +// Deprecated: This operation has been deprecated. func (c *Client) DescribeConnectionLoa(ctx context.Context, params *DescribeConnectionLoaInput, optFns ...func(*Options)) (*DescribeConnectionLoaOutput, error) { if params == nil { params = &DescribeConnectionLoaInput{} diff --git a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go index 1a94a70f853..d97c6b4e8a7 100644 --- a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go +++ b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go @@ -14,6 +14,8 @@ import ( // Deprecated. Use DescribeHostedConnections instead. Lists the connections that // have been provisioned on the specified interconnect. Intended for use by AWS // Direct Connect Partners only. +// +// Deprecated: This operation has been deprecated. func (c *Client) DescribeConnectionsOnInterconnect(ctx context.Context, params *DescribeConnectionsOnInterconnectInput, optFns ...func(*Options)) (*DescribeConnectionsOnInterconnectOutput, error) { if params == nil { params = &DescribeConnectionsOnInterconnectInput{} diff --git a/service/directconnect/api_op_DescribeInterconnectLoa.go b/service/directconnect/api_op_DescribeInterconnectLoa.go index a9a1319f9a3..90d880e2f0c 100644 --- a/service/directconnect/api_op_DescribeInterconnectLoa.go +++ b/service/directconnect/api_op_DescribeInterconnectLoa.go @@ -18,6 +18,8 @@ import ( // at AWS Direct Connect Locations // (https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html) in // the AWS Direct Connect User Guide. +// +// Deprecated: This operation has been deprecated. func (c *Client) DescribeInterconnectLoa(ctx context.Context, params *DescribeInterconnectLoaInput, optFns ...func(*Options)) (*DescribeInterconnectLoaOutput, error) { if params == nil { params = &DescribeInterconnectLoaInput{} diff --git a/service/directconnect/api_op_DisassociateConnectionFromLag.go b/service/directconnect/api_op_DisassociateConnectionFromLag.go index 5b05f5e91e4..86ec6eafaa3 100644 --- a/service/directconnect/api_op_DisassociateConnectionFromLag.go +++ b/service/directconnect/api_op_DisassociateConnectionFromLag.go @@ -54,6 +54,8 @@ type DisassociateConnectionFromLagInput struct { type DisassociateConnectionFromLagOutput struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. diff --git a/service/directconnect/api_op_UpdateLag.go b/service/directconnect/api_op_UpdateLag.go index b11011025e7..f7cebf4c5af 100644 --- a/service/directconnect/api_op_UpdateLag.go +++ b/service/directconnect/api_op_UpdateLag.go @@ -63,6 +63,8 @@ type UpdateLagOutput struct { AllowsHostedConnections bool // The AWS Direct Connect endpoint that hosts the LAG. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The AWS Direct Connect endpoint that hosts the LAG. diff --git a/service/directconnect/types/types.go b/service/directconnect/types/types.go index 1770722b798..9e23be5afba 100644 --- a/service/directconnect/types/types.go +++ b/service/directconnect/types/types.go @@ -85,6 +85,8 @@ type BGPPeer struct { type Connection struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. @@ -252,6 +254,8 @@ type DirectConnectGatewayAssociation struct { VirtualGatewayOwnerAccount *string // The AWS Region where the virtual private gateway is located. + // + // Deprecated: This member has been deprecated. VirtualGatewayRegion *string } @@ -336,6 +340,8 @@ type DirectConnectGatewayAttachment struct { type Interconnect struct { // The Direct Connect endpoint on which the physical connection terminates. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The Direct Connect endpoint on which the physical connection terminates. @@ -407,6 +413,8 @@ type Lag struct { AllowsHostedConnections bool // The AWS Direct Connect endpoint that hosts the LAG. + // + // Deprecated: This member has been deprecated. AwsDevice *string // The AWS Direct Connect endpoint that hosts the LAG. diff --git a/service/dynamodb/types/types_exported_test.go b/service/dynamodb/types/types_exported_test.go index 33dfdf39620..381321efd39 100644 --- a/service/dynamodb/types/types_exported_test.go +++ b/service/dynamodb/types/types_exported_test.go @@ -18,19 +18,19 @@ func ExampleAttributeValue_outputUsage() { _ = v.Value // Value is bool case *types.AttributeValueMemberBS: - _ = v.Value // Value is BinarySetAttributeValue + _ = v.Value // Value is [][]byte case *types.AttributeValueMemberL: - _ = v.Value // Value is ListAttributeValue + _ = v.Value // Value is []types.AttributeValue case *types.AttributeValueMemberM: - _ = v.Value // Value is MapAttributeValue + _ = v.Value // Value is map[string]types.AttributeValue case *types.AttributeValueMemberN: _ = v.Value // Value is string case *types.AttributeValueMemberNS: - _ = v.Value // Value is NumberSetAttributeValue + _ = v.Value // Value is []string case *types.AttributeValueMemberNULL: _ = v.Value // Value is bool @@ -39,7 +39,7 @@ func ExampleAttributeValue_outputUsage() { _ = v.Value // Value is string case *types.AttributeValueMemberSS: - _ = v.Value // Value is StringSetAttributeValue + _ = v.Value // Value is []string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -49,3 +49,14 @@ func ExampleAttributeValue_outputUsage() { } } + +var _ [][]byte +var _ map[string]types.AttributeValue +var _ []string +var _ *string +var _ *string +var _ *bool +var _ []types.AttributeValue +var _ *bool +var _ []string +var _ []byte diff --git a/service/dynamodbstreams/types/types_exported_test.go b/service/dynamodbstreams/types/types_exported_test.go index 001adc7b44b..ef60000d532 100644 --- a/service/dynamodbstreams/types/types_exported_test.go +++ b/service/dynamodbstreams/types/types_exported_test.go @@ -18,19 +18,19 @@ func ExampleAttributeValue_outputUsage() { _ = v.Value // Value is bool case *types.AttributeValueMemberBS: - _ = v.Value // Value is BinarySetAttributeValue + _ = v.Value // Value is [][]byte case *types.AttributeValueMemberL: - _ = v.Value // Value is ListAttributeValue + _ = v.Value // Value is []types.AttributeValue case *types.AttributeValueMemberM: - _ = v.Value // Value is MapAttributeValue + _ = v.Value // Value is map[string]types.AttributeValue case *types.AttributeValueMemberN: _ = v.Value // Value is string case *types.AttributeValueMemberNS: - _ = v.Value // Value is NumberSetAttributeValue + _ = v.Value // Value is []string case *types.AttributeValueMemberNULL: _ = v.Value // Value is bool @@ -39,7 +39,7 @@ func ExampleAttributeValue_outputUsage() { _ = v.Value // Value is string case *types.AttributeValueMemberSS: - _ = v.Value // Value is StringSetAttributeValue + _ = v.Value // Value is []string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -49,3 +49,14 @@ func ExampleAttributeValue_outputUsage() { } } + +var _ [][]byte +var _ map[string]types.AttributeValue +var _ []string +var _ *string +var _ *string +var _ *bool +var _ []types.AttributeValue +var _ *bool +var _ []string +var _ []byte diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index 2f5600d3645..fbf06257854 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -906,6 +906,10 @@ type ClientVpnEndpoint struct { // Information about the associated target networks. A target network is a subnet // in a VPC. + // + // Deprecated: This property is deprecated. To view the target networks associated + // with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the + // clientVpnTargetNetworks response element. AssociatedTargetNetworks []AssociatedTargetNetwork // Information about the authentication method used by the Client VPN endpoint. diff --git a/service/efs/api_op_CreateTags.go b/service/efs/api_op_CreateTags.go index d452918500a..dce2bf182a8 100644 --- a/service/efs/api_op_CreateTags.go +++ b/service/efs/api_op_CreateTags.go @@ -17,6 +17,8 @@ import ( // request. If you add the Name tag to your file system, Amazon EFS returns it in // the response to the DescribeFileSystems operation. This operation requires // permission for the elasticfilesystem:CreateTags action. +// +// Deprecated: Use TagResource. func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error) { if params == nil { params = &CreateTagsInput{} diff --git a/service/efs/api_op_DeleteTags.go b/service/efs/api_op_DeleteTags.go index 199683e38c0..029efbe9252 100644 --- a/service/efs/api_op_DeleteTags.go +++ b/service/efs/api_op_DeleteTags.go @@ -17,6 +17,8 @@ import ( // (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) // in the AWS Billing and Cost Management User Guide. This operation requires // permissions for the elasticfilesystem:DeleteTags action. +// +// Deprecated: Use UntagResource. func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error) { if params == nil { params = &DeleteTagsInput{} diff --git a/service/efs/api_op_DescribeTags.go b/service/efs/api_op_DescribeTags.go index 61554a01845..4578fe95b1f 100644 --- a/service/efs/api_op_DescribeTags.go +++ b/service/efs/api_op_DescribeTags.go @@ -17,6 +17,8 @@ import ( // responses of a multiple-call iteration (when using pagination) is unspecified. // This operation requires permissions for the elasticfilesystem:DescribeTags // action. +// +// Deprecated: Use ListTagsForResource. func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error) { if params == nil { params = &DescribeTagsInput{} diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index 6ce13ae37f7..731b3ec4c72 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -120,6 +120,8 @@ type ModifyReplicationGroupInput struct { MultiAZEnabled *bool // Deprecated. This parameter is not used. + // + // Deprecated: This member has been deprecated. NodeGroupId *string // The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications diff --git a/service/elastictranscoder/api_op_TestRole.go b/service/elastictranscoder/api_op_TestRole.go index aafb4d2829e..b1719e07dd5 100644 --- a/service/elastictranscoder/api_op_TestRole.go +++ b/service/elastictranscoder/api_op_TestRole.go @@ -16,6 +16,8 @@ import ( // the transcoding process. The action attempts to assume the specified IAM role, // checks read access to the input and output buckets, and tries to send a test // notification to Amazon SNS topics that you specify. +// +// Deprecated: This operation has been deprecated. func (c *Client) TestRole(ctx context.Context, params *TestRoleInput, optFns ...func(*Options)) (*TestRoleOutput, error) { if params == nil { params = &TestRoleInput{} diff --git a/service/elastictranscoder/types/types.go b/service/elastictranscoder/types/types.go index 39288bde65e..78db6cca60a 100644 --- a/service/elastictranscoder/types/types.go +++ b/service/elastictranscoder/types/types.go @@ -346,6 +346,8 @@ type Captions struct { // Source files for the input sidecar captions used during the transcoding process. // To omit all sidecar captions, leave CaptionSources blank. + // + // Deprecated: This member has been deprecated. CaptionSources []CaptionSource // A policy that determines how Elastic Transcoder handles the existence of @@ -368,6 +370,8 @@ type Captions struct { // specify in CaptionSources. // // MergePolicy cannot be null. + // + // Deprecated: This member has been deprecated. MergePolicy *string } @@ -464,6 +468,8 @@ type CreateJobOutput struct { // The Composition object contains settings for the clips that make up an output // file. For the current release, you can only specify settings for a single clip // per output file. The Composition object cannot be null. + // + // Deprecated: This member has been deprecated. Composition []Clip // You can specify encryption settings for any output files that you want to use @@ -1003,6 +1009,8 @@ type JobOutput struct { // The Composition object contains settings for the clips that make up an output // file. For the current release, you can only specify settings for a single clip // per output file. The Composition object cannot be null. + // + // Deprecated: This member has been deprecated. Composition []Clip // Duration of the output file, in seconds. diff --git a/service/emr/api_op_DescribeJobFlows.go b/service/emr/api_op_DescribeJobFlows.go index cc883137dd1..063c5d9bf07 100644 --- a/service/emr/api_op_DescribeJobFlows.go +++ b/service/emr/api_op_DescribeJobFlows.go @@ -29,6 +29,8 @@ import ( // STARTING // // Amazon EMR can return a maximum of 512 job flow descriptions. +// +// Deprecated: This operation has been deprecated. func (c *Client) DescribeJobFlows(ctx context.Context, params *DescribeJobFlowsInput, optFns ...func(*Options)) (*DescribeJobFlowsOutput, error) { if params == nil { params = &DescribeJobFlowsInput{} diff --git a/service/firehose/api_op_CreateDeliveryStream.go b/service/firehose/api_op_CreateDeliveryStream.go index 3ea7d679c73..45de243871c 100644 --- a/service/firehose/api_op_CreateDeliveryStream.go +++ b/service/firehose/api_op_CreateDeliveryStream.go @@ -127,6 +127,8 @@ type CreateDeliveryStreamInput struct { RedshiftDestinationConfiguration *types.RedshiftDestinationConfiguration // [Deprecated] The destination in Amazon S3. You can specify only one destination. + // + // Deprecated: This member has been deprecated. S3DestinationConfiguration *types.S3DestinationConfiguration // The destination in Splunk. You can specify only one destination. diff --git a/service/firehose/api_op_UpdateDestination.go b/service/firehose/api_op_UpdateDestination.go index 0f9508af9f2..8dc582dda86 100644 --- a/service/firehose/api_op_UpdateDestination.go +++ b/service/firehose/api_op_UpdateDestination.go @@ -85,6 +85,8 @@ type UpdateDestinationInput struct { RedshiftDestinationUpdate *types.RedshiftDestinationUpdate // [Deprecated] Describes an update for a destination in Amazon S3. + // + // Deprecated: This member has been deprecated. S3DestinationUpdate *types.S3DestinationUpdate // Describes an update for a destination in Splunk. diff --git a/service/forecast/types/types.go b/service/forecast/types/types.go index bbedd30d71b..26c2fb9e6f8 100644 --- a/service/forecast/types/types.go +++ b/service/forecast/types/types.go @@ -550,6 +550,9 @@ type Metrics struct { ErrorMetrics []ErrorMetric // The root-mean-square error (RMSE). + // + // Deprecated: This property is deprecated, please refer to ErrorMetrics for both + // RMSE and WAPE RMSE *float64 // An array of weighted quantile losses. Quantiles divide a probability diff --git a/service/glue/api_op_CreateJob.go b/service/glue/api_op_CreateJob.go index b5ae9c3caca..c068a02e182 100644 --- a/service/glue/api_op_CreateJob.go +++ b/service/glue/api_op_CreateJob.go @@ -50,6 +50,8 @@ type CreateJobInput struct { // that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more // information, see the AWS Glue pricing page // (https://aws.amazon.com/glue/pricing/). + // + // Deprecated: This property is deprecated, use MaxCapacity instead. AllocatedCapacity int32 // The connections used for this job. diff --git a/service/glue/api_op_StartJobRun.go b/service/glue/api_op_StartJobRun.go index 5017faf5960..01f5f7cfbee 100644 --- a/service/glue/api_op_StartJobRun.go +++ b/service/glue/api_op_StartJobRun.go @@ -40,6 +40,8 @@ type StartJobRunInput struct { // that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more // information, see the AWS Glue pricing page // (https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/). + // + // Deprecated: This property is deprecated, use MaxCapacity instead. AllocatedCapacity int32 // The job arguments specifically for this run. For this job run, they replace the diff --git a/service/glue/types/types.go b/service/glue/types/types.go index a9eb14141cc..e0402a73de0 100644 --- a/service/glue/types/types.go +++ b/service/glue/types/types.go @@ -1495,6 +1495,8 @@ type Job struct { // that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more // information, see the AWS Glue pricing page // (https://aws.amazon.com/glue/pricing/). + // + // Deprecated: This property is deprecated, use MaxCapacity instead. AllocatedCapacity int32 // The JobCommand that executes this job. @@ -1670,6 +1672,8 @@ type JobRun struct { // that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more // information, see the AWS Glue pricing page // (https://aws.amazon.com/glue/pricing/). + // + // Deprecated: This property is deprecated, use MaxCapacity instead. AllocatedCapacity int32 // The job arguments associated with this run. For this job run, they replace the @@ -1800,6 +1804,8 @@ type JobUpdate struct { // consists of 4 vCPUs of compute capacity and 16 GB of memory. For more // information, see the AWS Glue pricing page // (https://aws.amazon.com/glue/pricing/). + // + // Deprecated: This property is deprecated, use MaxCapacity instead. AllocatedCapacity int32 // The JobCommand that executes this job (required). diff --git a/service/groundstation/types/types_exported_test.go b/service/groundstation/types/types_exported_test.go index 3ef783b53d1..e170f7b0c3c 100644 --- a/service/groundstation/types/types_exported_test.go +++ b/service/groundstation/types/types_exported_test.go @@ -12,22 +12,22 @@ func ExampleConfigTypeData_outputUsage() { // type switches can be used to check the union value switch v := union.(type) { case *types.ConfigTypeDataMemberAntennaDownlinkConfig: - _ = v.Value // Value is AntennaDownlinkConfig + _ = v.Value // Value is types.AntennaDownlinkConfig case *types.ConfigTypeDataMemberAntennaDownlinkDemodDecodeConfig: - _ = v.Value // Value is AntennaDownlinkDemodDecodeConfig + _ = v.Value // Value is types.AntennaDownlinkDemodDecodeConfig case *types.ConfigTypeDataMemberAntennaUplinkConfig: - _ = v.Value // Value is AntennaUplinkConfig + _ = v.Value // Value is types.AntennaUplinkConfig case *types.ConfigTypeDataMemberDataflowEndpointConfig: - _ = v.Value // Value is DataflowEndpointConfig + _ = v.Value // Value is types.DataflowEndpointConfig case *types.ConfigTypeDataMemberTrackingConfig: - _ = v.Value // Value is TrackingConfig + _ = v.Value // Value is types.TrackingConfig case *types.ConfigTypeDataMemberUplinkEchoConfig: - _ = v.Value // Value is UplinkEchoConfig + _ = v.Value // Value is types.UplinkEchoConfig case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -37,3 +37,10 @@ func ExampleConfigTypeData_outputUsage() { } } + +var _ *types.TrackingConfig +var _ *types.UplinkEchoConfig +var _ *types.AntennaDownlinkDemodDecodeConfig +var _ *types.AntennaUplinkConfig +var _ *types.AntennaDownlinkConfig +var _ *types.DataflowEndpointConfig diff --git a/service/guardduty/types/types.go b/service/guardduty/types/types.go index cc1f9926c76..3a3c5b6ee10 100644 --- a/service/guardduty/types/types.go +++ b/service/guardduty/types/types.go @@ -174,6 +174,8 @@ type Condition struct { // Represents the equal condition to be applied to a single field when querying for // findings. + // + // Deprecated: This member has been deprecated. Eq []string // Represents an equal condition to be applied to a single field when querying for @@ -190,10 +192,14 @@ type Condition struct { // Represents a greater than condition to be applied to a single field when // querying for findings. + // + // Deprecated: This member has been deprecated. Gt int32 // Represents a greater than or equal condition to be applied to a single field // when querying for findings. + // + // Deprecated: This member has been deprecated. Gte int32 // Represents a less than condition to be applied to a single field when querying @@ -206,14 +212,20 @@ type Condition struct { // Represents a less than condition to be applied to a single field when querying // for findings. + // + // Deprecated: This member has been deprecated. Lt int32 // Represents a less than or equal condition to be applied to a single field when // querying for findings. + // + // Deprecated: This member has been deprecated. Lte int32 // Represents the not equal condition to be applied to a single field when querying // for findings. + // + // Deprecated: This member has been deprecated. Neq []string // Represents a not equal condition to be applied to a single field when querying diff --git a/service/inspector/api_op_DescribeAssessmentTemplates.go b/service/inspector/api_op_DescribeAssessmentTemplates.go index d8e9e59c7f8..22c72a1c362 100644 --- a/service/inspector/api_op_DescribeAssessmentTemplates.go +++ b/service/inspector/api_op_DescribeAssessmentTemplates.go @@ -29,6 +29,8 @@ func (c *Client) DescribeAssessmentTemplates(ctx context.Context, params *Descri } type DescribeAssessmentTemplatesInput struct { + + // This member is required. AssessmentTemplateArns []string } diff --git a/service/iot/api_op_AttachPrincipalPolicy.go b/service/iot/api_op_AttachPrincipalPolicy.go index 769e4c43dec..dce0cc58d91 100644 --- a/service/iot/api_op_AttachPrincipalPolicy.go +++ b/service/iot/api_op_AttachPrincipalPolicy.go @@ -12,6 +12,8 @@ import ( // Attaches the specified policy to the specified principal (certificate or other // credential). Note: This API is deprecated. Please use AttachPolicy instead. +// +// Deprecated: This operation has been deprecated. func (c *Client) AttachPrincipalPolicy(ctx context.Context, params *AttachPrincipalPolicyInput, optFns ...func(*Options)) (*AttachPrincipalPolicyOutput, error) { if params == nil { params = &AttachPrincipalPolicyInput{} diff --git a/service/iot/api_op_CreateSecurityProfile.go b/service/iot/api_op_CreateSecurityProfile.go index d4941b76e50..1a3aecfc26d 100644 --- a/service/iot/api_op_CreateSecurityProfile.go +++ b/service/iot/api_op_CreateSecurityProfile.go @@ -38,6 +38,8 @@ type CreateSecurityProfileInput struct { // list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors, but it is also retained for any // metric specified here. + // + // Deprecated: Use additionalMetricsToRetainV2. AdditionalMetricsToRetain []string // A list of metrics whose data is retained (stored). By default, data is retained diff --git a/service/iot/api_op_DescribeSecurityProfile.go b/service/iot/api_op_DescribeSecurityProfile.go index 5811130ab46..5bf69f92531 100644 --- a/service/iot/api_op_DescribeSecurityProfile.go +++ b/service/iot/api_op_DescribeSecurityProfile.go @@ -42,6 +42,8 @@ type DescribeSecurityProfileOutput struct { // A list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors, but it is also retained for any // metric specified here. + // + // Deprecated: Use additionalMetricsToRetainV2. AdditionalMetricsToRetain []string // A list of metrics whose data is retained (stored). By default, data is retained diff --git a/service/iot/api_op_DetachPrincipalPolicy.go b/service/iot/api_op_DetachPrincipalPolicy.go index 0cc0112ab9d..aadb3bb575a 100644 --- a/service/iot/api_op_DetachPrincipalPolicy.go +++ b/service/iot/api_op_DetachPrincipalPolicy.go @@ -12,6 +12,8 @@ import ( // Removes the specified policy from the specified certificate. Note: This API is // deprecated. Please use DetachPolicy instead. +// +// Deprecated: This operation has been deprecated. func (c *Client) DetachPrincipalPolicy(ctx context.Context, params *DetachPrincipalPolicyInput, optFns ...func(*Options)) (*DetachPrincipalPolicyOutput, error) { if params == nil { params = &DetachPrincipalPolicyInput{} diff --git a/service/iot/api_op_ListPolicyPrincipals.go b/service/iot/api_op_ListPolicyPrincipals.go index d881d525d04..2057420f316 100644 --- a/service/iot/api_op_ListPolicyPrincipals.go +++ b/service/iot/api_op_ListPolicyPrincipals.go @@ -13,6 +13,8 @@ import ( // Lists the principals associated with the specified policy. Note: This API is // deprecated. Please use ListTargetsForPolicy instead. +// +// Deprecated: This operation has been deprecated. func (c *Client) ListPolicyPrincipals(ctx context.Context, params *ListPolicyPrincipalsInput, optFns ...func(*Options)) (*ListPolicyPrincipalsOutput, error) { if params == nil { params = &ListPolicyPrincipalsInput{} diff --git a/service/iot/api_op_ListPrincipalPolicies.go b/service/iot/api_op_ListPrincipalPolicies.go index 3c487a55ddf..5c5d4ca32a4 100644 --- a/service/iot/api_op_ListPrincipalPolicies.go +++ b/service/iot/api_op_ListPrincipalPolicies.go @@ -16,6 +16,8 @@ import ( // identity, the ID must be in AmazonCognito Identity format // (https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax). // Note: This API is deprecated. Please use ListAttachedPolicies instead. +// +// Deprecated: This operation has been deprecated. func (c *Client) ListPrincipalPolicies(ctx context.Context, params *ListPrincipalPoliciesInput, optFns ...func(*Options)) (*ListPrincipalPoliciesOutput, error) { if params == nil { params = &ListPrincipalPoliciesInput{} diff --git a/service/iot/api_op_RegisterCertificate.go b/service/iot/api_op_RegisterCertificate.go index 4dab2e26062..cb2554313ff 100644 --- a/service/iot/api_op_RegisterCertificate.go +++ b/service/iot/api_op_RegisterCertificate.go @@ -41,6 +41,8 @@ type RegisterCertificateInput struct { CaCertificatePem *string // A boolean value that specifies if the certificate is set to active. + // + // Deprecated: This member has been deprecated. SetAsActive *bool // The status of the register certificate request. diff --git a/service/iot/api_op_UpdateSecurityProfile.go b/service/iot/api_op_UpdateSecurityProfile.go index 3a8f65aedfb..d8347962217 100644 --- a/service/iot/api_op_UpdateSecurityProfile.go +++ b/service/iot/api_op_UpdateSecurityProfile.go @@ -39,6 +39,8 @@ type UpdateSecurityProfileInput struct { // list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors, but it is also retained for any // metric specified here. + // + // Deprecated: Use additionalMetricsToRetainV2. AdditionalMetricsToRetain []string // A list of metrics whose data is retained (stored). By default, data is retained @@ -80,6 +82,8 @@ type UpdateSecurityProfileOutput struct { // list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the security profile's behaviors, but it is also retained // for any metric specified here. + // + // Deprecated: Use additionalMetricsToRetainV2. AdditionalMetricsToRetain []string // A list of metrics whose data is retained (stored). By default, data is retained diff --git a/service/iotevents/types/types.go b/service/iotevents/types/types.go index 574c71d8a11..d583f86ca22 100644 --- a/service/iotevents/types/types.go +++ b/service/iotevents/types/types.go @@ -732,6 +732,10 @@ type SetTimerAction struct { // The number of seconds until the timer expires. The minimum value is 60 seconds // to ensure accuracy. The maximum value is 31622400 seconds. + // + // Deprecated: seconds is deprecated. You can use durationExpression for + // SetTimerAction. The value of seconds can be used as a string expression for + // durationExpression. Seconds *int32 } diff --git a/service/ivs/api_op_ListTagsForResource.go b/service/ivs/api_op_ListTagsForResource.go index 61729a01b83..3ad0d7f362b 100644 --- a/service/ivs/api_op_ListTagsForResource.go +++ b/service/ivs/api_op_ListTagsForResource.go @@ -43,6 +43,8 @@ type ListTagsForResourceInput struct { } type ListTagsForResourceOutput struct { + + // This member is required. Tags map[string]string // If there are more tags than maxResults, use nextToken in the request to get the diff --git a/service/kafka/types/types.go b/service/kafka/types/types.go index 0f8bb9c8613..3ba64eb3161 100644 --- a/service/kafka/types/types.go +++ b/service/kafka/types/types.go @@ -115,6 +115,8 @@ type ClientAuthentication struct { } type CloudWatchLogs struct { + + // This member is required. Enabled bool LogGroup *string @@ -376,6 +378,8 @@ type ErrorInfo struct { } type Firehose struct { + + // This member is required. Enabled bool DeliveryStream *string @@ -406,6 +410,8 @@ type KafkaVersion struct { } type LoggingInfo struct { + + // This member is required. BrokerLogs *BrokerLogs } @@ -513,6 +519,8 @@ type PrometheusInfo struct { } type S3 struct { + + // This member is required. Enabled bool Bucket *string diff --git a/service/kinesis/types/types.go b/service/kinesis/types/types.go index 88f33d5d574..214f94cbfc0 100644 --- a/service/kinesis/types/types.go +++ b/service/kinesis/types/types.go @@ -14,8 +14,10 @@ type ChildShard struct { // This member is required. HashKeyRange *HashKeyRange + // This member is required. ParentShards []string + // This member is required. ShardId *string } @@ -257,6 +259,8 @@ type Shard struct { } type ShardFilter struct { + + // This member is required. Type ShardFilterType ShardId *string diff --git a/service/lambda/api_op_InvokeAsync.go b/service/lambda/api_op_InvokeAsync.go index ed0924e7d6d..409f7c15a1f 100644 --- a/service/lambda/api_op_InvokeAsync.go +++ b/service/lambda/api_op_InvokeAsync.go @@ -13,6 +13,8 @@ import ( // For asynchronous function invocation, use Invoke. Invokes a function // asynchronously. +// +// Deprecated: This operation has been deprecated. func (c *Client) InvokeAsync(ctx context.Context, params *InvokeAsyncInput, optFns ...func(*Options)) (*InvokeAsyncOutput, error) { if params == nil { params = &InvokeAsyncInput{} diff --git a/service/lexruntimeservice/api_op_PostContent.go b/service/lexruntimeservice/api_op_PostContent.go index c325cc7b39c..f1a1d4b4073 100644 --- a/service/lexruntimeservice/api_op_PostContent.go +++ b/service/lexruntimeservice/api_op_PostContent.go @@ -194,6 +194,7 @@ type PostContentInput struct { // don't specify a list of contexts, Amazon Lex will use the current list of // contexts for the session. If you specify an empty list, all contexts for the // session are cleared. + // // This value conforms to the media type: application/json ActiveContexts *string @@ -205,6 +206,7 @@ type PostContentInput struct { // Don't create any request attributes with the prefix x-amz-lex:. For more // information, see Setting Request Attributes // (https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-request-attribs). + // // This value conforms to the media type: application/json RequestAttributes *string @@ -215,6 +217,7 @@ type PostContentInput struct { // requestAttributes headers is limited to 12 KB. For more information, see Setting // Session Attributes // (https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-session-attribs). + // // This value conforms to the media type: application/json SessionAttributes *string } @@ -225,6 +228,7 @@ type PostContentOutput struct { // is fulfilled or by calling the PostContent, PostText, or PutSession operation. // You can use a context to control the intents that can follow up an intent, or to // modify the operation of your application. + // // This value conforms to the media type: application/json ActiveContexts *string @@ -232,6 +236,7 @@ type PostContentOutput struct { // Each alternative includes a score that indicates how confident Amazon Lex is // that the intent matches the user's intent. The intents are sorted by the // confidence score. + // // This value conforms to the media type: application/json AlternativeIntents *string @@ -335,6 +340,7 @@ type PostContentOutput struct { // intent is the one that matches the user's intent. The score is between 0.0 and // 1.0. The score is a relative score, not an absolute score. The score may change // based on improvements to Amazon Lex. + // // This value conforms to the media type: application/json NluIntentConfidence *string @@ -344,6 +350,7 @@ type PostContentOutput struct { SentimentResponse *string // Map of key/value pairs representing the session-specific context information. + // // This value conforms to the media type: application/json SessionAttributes *string @@ -363,6 +370,7 @@ type PostContentOutput struct { // values. If valueSelectionStrategy is set to TOP_RESOLUTION Amazon Lex returns // the first value in the resolution list or, if there is no resolution list, null. // If you don't specify a valueSelectionStrategy, the default is ORIGINAL_VALUE. + // // This value conforms to the media type: application/json Slots *string diff --git a/service/lexruntimeservice/api_op_PutSession.go b/service/lexruntimeservice/api_op_PutSession.go index d1b9be8d48a..1bf8d37f351 100644 --- a/service/lexruntimeservice/api_op_PutSession.go +++ b/service/lexruntimeservice/api_op_PutSession.go @@ -118,6 +118,7 @@ type PutSessionInput struct { type PutSessionOutput struct { // A list of active contexts for the session. + // // This value conforms to the media type: application/json ActiveContexts *string @@ -171,6 +172,7 @@ type PutSessionOutput struct { MessageFormat types.MessageFormatType // Map of key/value pairs representing session-specific context information. + // // This value conforms to the media type: application/json SessionAttributes *string @@ -190,6 +192,7 @@ type PutSessionOutput struct { // valueSelectionStrategy is set to TOP_RESOLUTION Amazon Lex returns the first // value in the resolution list or, if there is no resolution list, null. If you // don't specify a valueSelectionStrategy the default is ORIGINAL_VALUE. + // // This value conforms to the media type: application/json Slots *string diff --git a/service/lightsail/api_op_CreateInstances.go b/service/lightsail/api_op_CreateInstances.go index 9303b0cfdaa..a31acfe39ff 100644 --- a/service/lightsail/api_op_CreateInstances.go +++ b/service/lightsail/api_op_CreateInstances.go @@ -71,6 +71,8 @@ type CreateInstancesInput struct { // (Deprecated) The name for your custom image. In releases prior to June 12, 2017, // this parameter was ignored by the API. It is now deprecated. + // + // Deprecated: This member has been deprecated. CustomImageName *string // The name of your key pair. diff --git a/service/lightsail/api_op_GetOperationsForResource.go b/service/lightsail/api_op_GetOperationsForResource.go index 2ee6cdbe016..e267867fc55 100644 --- a/service/lightsail/api_op_GetOperationsForResource.go +++ b/service/lightsail/api_op_GetOperationsForResource.go @@ -46,6 +46,8 @@ type GetOperationsForResourceOutput struct { // (Deprecated) Returns the number of pages of results that remain. In releases // prior to June 12, 2017, this parameter returned null by the API. It is now // deprecated, and the API returns the next page token parameter instead. + // + // Deprecated: This member has been deprecated. NextPageCount *string // The token to advance to the next page of results from your request. A next page diff --git a/service/lightsail/types/types.go b/service/lightsail/types/types.go index c755b0cf405..6aade74e81a 100644 --- a/service/lightsail/types/types.go +++ b/service/lightsail/types/types.go @@ -1030,6 +1030,8 @@ type Disk struct { // (Deprecated) The attachment state of the disk. In releases prior to November 14, // 2017, this parameter returned attached for system disks in the API response. It // is now deprecated, but still included in the response. Use isAttached instead. + // + // Deprecated: This member has been deprecated. AttachmentState *string // The date when the disk was created. @@ -1038,6 +1040,8 @@ type Disk struct { // (Deprecated) The number of GB in use by the disk. In releases prior to November // 14, 2017, this parameter was not included in the API response. It is now // deprecated. + // + // Deprecated: This member has been deprecated. GbInUse *int32 // The input/output operations per second (IOPS) of the disk. @@ -1239,6 +1243,8 @@ type DomainEntry struct { // (Deprecated) The options for the domain entry. In releases prior to November 29, // 2017, this parameter was not included in the API response. It is now deprecated. + // + // Deprecated: This member has been deprecated. Options map[string]string // The target AWS name server (e.g., ns-111.awsdns-22.com.). For Lightsail load diff --git a/service/medialive/api_op_CreateChannel.go b/service/medialive/api_op_CreateChannel.go index 905b084063d..cce4d7b9fef 100644 --- a/service/medialive/api_op_CreateChannel.go +++ b/service/medialive/api_op_CreateChannel.go @@ -61,6 +61,8 @@ type CreateChannelInput struct { RequestId *string // Deprecated field that's only usable by whitelisted customers. + // + // Deprecated: This member has been deprecated. Reserved *string // An optional Amazon Resource Name (ARN) of the role to assume when running the diff --git a/service/mediapackage/api_op_ListTagsForResource.go b/service/mediapackage/api_op_ListTagsForResource.go index 41d8a0d6055..5ec596d49b1 100644 --- a/service/mediapackage/api_op_ListTagsForResource.go +++ b/service/mediapackage/api_op_ListTagsForResource.go @@ -26,6 +26,8 @@ func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForRes } type ListTagsForResourceInput struct { + + // This member is required. ResourceArn *string } diff --git a/service/mediapackage/api_op_RotateChannelCredentials.go b/service/mediapackage/api_op_RotateChannelCredentials.go index 5bc57f54ce2..76f8e295401 100644 --- a/service/mediapackage/api_op_RotateChannelCredentials.go +++ b/service/mediapackage/api_op_RotateChannelCredentials.go @@ -13,6 +13,9 @@ import ( // Changes the Channel's first IngestEndpoint's username and password. WARNING - // This API is deprecated. Please use RotateIngestEndpointCredentials instead +// +// Deprecated: This API is deprecated. Please use RotateIngestEndpointCredentials +// instead func (c *Client) RotateChannelCredentials(ctx context.Context, params *RotateChannelCredentialsInput, optFns ...func(*Options)) (*RotateChannelCredentialsOutput, error) { if params == nil { params = &RotateChannelCredentialsInput{} diff --git a/service/mediapackage/api_op_TagResource.go b/service/mediapackage/api_op_TagResource.go index aa5cae0f628..6dbce577d95 100644 --- a/service/mediapackage/api_op_TagResource.go +++ b/service/mediapackage/api_op_TagResource.go @@ -26,8 +26,11 @@ func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optF } type TagResourceInput struct { + + // This member is required. ResourceArn *string + // This member is required. Tags map[string]string } diff --git a/service/mediapackage/api_op_UntagResource.go b/service/mediapackage/api_op_UntagResource.go index ccab15a0742..e28d394be9d 100644 --- a/service/mediapackage/api_op_UntagResource.go +++ b/service/mediapackage/api_op_UntagResource.go @@ -26,6 +26,8 @@ func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, } type UntagResourceInput struct { + + // This member is required. ResourceArn *string // The key(s) of tag to be deleted diff --git a/service/mturk/types/types.go b/service/mturk/types/types.go index eef3cdcf759..b3c0930af32 100644 --- a/service/mturk/types/types.go +++ b/service/mturk/types/types.go @@ -410,6 +410,8 @@ type QualificationRequirement struct { // will be allowed to preview the HIT's question data, but will not be allowed to // accept and complete the HIT. The default is false. This should not be used in // combination with the ActionsGuarded field. + // + // Deprecated: This member has been deprecated. RequiredToPreview *bool } diff --git a/service/neptune/api_op_CreateDBInstance.go b/service/neptune/api_op_CreateDBInstance.go index 04c8372ffac..922b41d8a3c 100644 --- a/service/neptune/api_op_CreateDBInstance.go +++ b/service/neptune/api_op_CreateDBInstance.go @@ -223,6 +223,8 @@ type CreateDBInstanceInput struct { PromotionTier *int32 // This flag should no longer be used. + // + // Deprecated: This member has been deprecated. PubliclyAccessible *bool // Specifies whether the DB instance is encrypted. Not applicable. The encryption diff --git a/service/neptune/api_op_ModifyDBInstance.go b/service/neptune/api_op_ModifyDBInstance.go index 2c78057d80e..e1dc5bbbe49 100644 --- a/service/neptune/api_op_ModifyDBInstance.go +++ b/service/neptune/api_op_ModifyDBInstance.go @@ -235,6 +235,8 @@ type ModifyDBInstanceInput struct { PromotionTier *int32 // This flag should no longer be used. + // + // Deprecated: This member has been deprecated. PubliclyAccessible *bool // Not supported. diff --git a/service/neptune/types/types.go b/service/neptune/types/types.go index f0b14126151..dd1fbafa1e4 100644 --- a/service/neptune/types/types.go +++ b/service/neptune/types/types.go @@ -627,6 +627,8 @@ type DBInstance struct { PromotionTier *int32 // This flag should no longer be used. + // + // Deprecated: This member has been deprecated. PubliclyAccessible bool // Contains one or more identifiers of DB clusters that are Read Replicas of this diff --git a/service/opsworkscm/types/types.go b/service/opsworkscm/types/types.go index e9ac57a3705..3068d41da52 100644 --- a/service/opsworkscm/types/types.go +++ b/service/opsworkscm/types/types.go @@ -77,9 +77,13 @@ type Backup struct { PreferredMaintenanceWindow *string // This field is deprecated and is no longer used. + // + // Deprecated: This member has been deprecated. S3DataSize *int32 // This field is deprecated and is no longer used. + // + // Deprecated: This member has been deprecated. S3DataUrl *string // The Amazon S3 URL of the backup's log file. diff --git a/service/personalizeevents/types/types.go b/service/personalizeevents/types/types.go index f16156833be..c7c3bccf36f 100644 --- a/service/personalizeevents/types/types.go +++ b/service/personalizeevents/types/types.go @@ -47,6 +47,7 @@ type Event struct { // {"numberOfRatings": "12"} The keys use camel case names that match the fields in // the Interactions schema. In the above example, the numberOfRatings would match // the 'NUMBER_OF_RATINGS' field defined in the Interactions schema. + // // This value conforms to the media type: application/json Properties *string @@ -67,6 +68,7 @@ type Item struct { // names that match the fields in the Items schema. In the above example, the // numberOfRatings would match the 'NUMBER_OF_RATINGS' field defined in the Items // schema. + // // This value conforms to the media type: application/json Properties *string } @@ -84,6 +86,7 @@ type User struct { // case names that match the fields in the Users schema. In the above example, the // numberOfVideosWatched would match the 'NUMBER_OF_VIDEOS_WATCHED' field defined // in the Users schema. + // // This value conforms to the media type: application/json Properties *string } diff --git a/service/ram/types/types.go b/service/ram/types/types.go index e5e54870b82..14390e261a1 100644 --- a/service/ram/types/types.go +++ b/service/ram/types/types.go @@ -153,6 +153,8 @@ type ResourceShareInvitation struct { // To view the resources associated with a pending resource share invitation, use // ListPendingInvitationResources // (https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html). + // + // Deprecated: This member has been deprecated. Use ListPendingInvitationResources. ResourceShareAssociations []ResourceShareAssociation // The Amazon Resource Name (ARN) of the invitation. diff --git a/service/rdsdata/api_op_ExecuteSql.go b/service/rdsdata/api_op_ExecuteSql.go index 00a31d07779..4d532c55169 100644 --- a/service/rdsdata/api_op_ExecuteSql.go +++ b/service/rdsdata/api_op_ExecuteSql.go @@ -13,6 +13,9 @@ import ( // Runs one or more SQL statements. This operation is deprecated. Use the // BatchExecuteStatement or ExecuteStatement operation. +// +// Deprecated: The ExecuteSql API is deprecated, please use the ExecuteStatement +// API. func (c *Client) ExecuteSql(ctx context.Context, params *ExecuteSqlInput, optFns ...func(*Options)) (*ExecuteSqlOutput, error) { if params == nil { params = &ExecuteSqlInput{} diff --git a/service/rdsdata/types/types_exported_test.go b/service/rdsdata/types/types_exported_test.go index e1fd39a102a..493bee496e6 100644 --- a/service/rdsdata/types/types_exported_test.go +++ b/service/rdsdata/types/types_exported_test.go @@ -12,19 +12,19 @@ func ExampleArrayValue_outputUsage() { // type switches can be used to check the union value switch v := union.(type) { case *types.ArrayValueMemberArrayValues: - _ = v.Value // Value is ArrayOfArray + _ = v.Value // Value is []types.ArrayValue case *types.ArrayValueMemberBooleanValues: - _ = v.Value // Value is BooleanArray + _ = v.Value // Value is []bool case *types.ArrayValueMemberDoubleValues: - _ = v.Value // Value is DoubleArray + _ = v.Value // Value is []float64 case *types.ArrayValueMemberLongValues: - _ = v.Value // Value is LongArray + _ = v.Value // Value is []int64 case *types.ArrayValueMemberStringValues: - _ = v.Value // Value is StringArray + _ = v.Value // Value is []string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -35,12 +35,18 @@ func ExampleArrayValue_outputUsage() { } } +var _ []int64 +var _ []float64 +var _ []string +var _ []types.ArrayValue +var _ []bool + func ExampleField_outputUsage() { var union types.Field // type switches can be used to check the union value switch v := union.(type) { case *types.FieldMemberArrayValue: - _ = v.Value // Value is ArrayValue + _ = v.Value // Value is types.ArrayValue case *types.FieldMemberBlobValue: _ = v.Value // Value is []byte @@ -69,12 +75,19 @@ func ExampleField_outputUsage() { } } +var _ types.ArrayValue +var _ *string +var _ *bool +var _ *int64 +var _ *float64 +var _ []byte + func ExampleValue_outputUsage() { var union types.Value // type switches can be used to check the union value switch v := union.(type) { case *types.ValueMemberArrayValues: - _ = v.Value // Value is ArrayValueList + _ = v.Value // Value is []types.Value case *types.ValueMemberBigIntValue: _ = v.Value // Value is int64 @@ -101,7 +114,7 @@ func ExampleValue_outputUsage() { _ = v.Value // Value is string case *types.ValueMemberStructValue: - _ = v.Value // Value is StructValue + _ = v.Value // Value is types.StructValue case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -111,3 +124,13 @@ func ExampleValue_outputUsage() { } } + +var _ *types.StructValue +var _ *string +var _ *int32 +var _ *int64 +var _ *bool +var _ *float64 +var _ []types.Value +var _ *float32 +var _ []byte diff --git a/service/redshiftdata/types/types_exported_test.go b/service/redshiftdata/types/types_exported_test.go index 967166106cc..17bad46c893 100644 --- a/service/redshiftdata/types/types_exported_test.go +++ b/service/redshiftdata/types/types_exported_test.go @@ -37,3 +37,9 @@ func ExampleField_outputUsage() { } } + +var _ *string +var _ *bool +var _ *int64 +var _ *float64 +var _ []byte diff --git a/service/rekognition/types/types.go b/service/rekognition/types/types.go index 82b22d1d117..599ed3b660b 100644 --- a/service/rekognition/types/types.go +++ b/service/rekognition/types/types.go @@ -538,6 +538,7 @@ type HumanLoopActivationOutput struct { // Shows the result of condition evaluations, including those conditions which // activated a human review. + // // This value conforms to the media type: application/json HumanLoopActivationConditionsEvaluationResults *string diff --git a/service/resourcegroups/api_op_DeleteGroup.go b/service/resourcegroups/api_op_DeleteGroup.go index 4fd7738a810..0e1242628cf 100644 --- a/service/resourcegroups/api_op_DeleteGroup.go +++ b/service/resourcegroups/api_op_DeleteGroup.go @@ -35,6 +35,8 @@ type DeleteGroupInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string } diff --git a/service/resourcegroups/api_op_GetGroup.go b/service/resourcegroups/api_op_GetGroup.go index fcbac81b606..49dc8539df1 100644 --- a/service/resourcegroups/api_op_GetGroup.go +++ b/service/resourcegroups/api_op_GetGroup.go @@ -33,6 +33,8 @@ type GetGroupInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string } diff --git a/service/resourcegroups/api_op_GetGroupQuery.go b/service/resourcegroups/api_op_GetGroupQuery.go index 91a9b81d786..ba40d86fceb 100644 --- a/service/resourcegroups/api_op_GetGroupQuery.go +++ b/service/resourcegroups/api_op_GetGroupQuery.go @@ -33,6 +33,8 @@ type GetGroupQueryInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string } diff --git a/service/resourcegroups/api_op_ListGroupResources.go b/service/resourcegroups/api_op_ListGroupResources.go index 361a1f3ad28..e730b975cc3 100644 --- a/service/resourcegroups/api_op_ListGroupResources.go +++ b/service/resourcegroups/api_op_ListGroupResources.go @@ -58,6 +58,8 @@ type ListGroupResourcesInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string // The total number of results that you want included on each page of the response. diff --git a/service/resourcegroups/api_op_ListGroups.go b/service/resourcegroups/api_op_ListGroups.go index c9e7982a67a..53d832190e8 100644 --- a/service/resourcegroups/api_op_ListGroups.go +++ b/service/resourcegroups/api_op_ListGroups.go @@ -71,6 +71,8 @@ type ListGroupsOutput struct { // This output element is deprecated and shouldn't be used. Refer to // GroupIdentifiers instead. + // + // Deprecated: This field is deprecated, use GroupIdentifiers instead. Groups []types.Group // If present, indicates that more output is available than is included in the diff --git a/service/resourcegroups/api_op_UpdateGroup.go b/service/resourcegroups/api_op_UpdateGroup.go index 60f2ad1f11b..9f04be49b2c 100644 --- a/service/resourcegroups/api_op_UpdateGroup.go +++ b/service/resourcegroups/api_op_UpdateGroup.go @@ -39,6 +39,8 @@ type UpdateGroupInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string } diff --git a/service/resourcegroups/api_op_UpdateGroupQuery.go b/service/resourcegroups/api_op_UpdateGroupQuery.go index c4e92d5e431..71dfca2a201 100644 --- a/service/resourcegroups/api_op_UpdateGroupQuery.go +++ b/service/resourcegroups/api_op_UpdateGroupQuery.go @@ -39,6 +39,8 @@ type UpdateGroupQueryInput struct { Group *string // Don't use this parameter. Use Group instead. + // + // Deprecated: This field is deprecated, use Group instead. GroupName *string } diff --git a/service/route53domains/api_op_UpdateDomainNameservers.go b/service/route53domains/api_op_UpdateDomainNameservers.go index 3eba9da2f08..d1cf70dc5bb 100644 --- a/service/route53domains/api_op_UpdateDomainNameservers.go +++ b/service/route53domains/api_op_UpdateDomainNameservers.go @@ -51,6 +51,8 @@ type UpdateDomainNameserversInput struct { Nameservers []types.Nameserver // The authorization key for .fi domains + // + // Deprecated: This member has been deprecated. FIAuthKey *string } diff --git a/service/s3/api_op_GetObject.go b/service/s3/api_op_GetObject.go index 89ba8a5728a..a1261a72430 100644 --- a/service/s3/api_op_GetObject.go +++ b/service/s3/api_op_GetObject.go @@ -306,6 +306,8 @@ type GetObjectOutput struct { LastModified *time.Time // A map of metadata to store with the object in S3. + // + // Map keys will be normalized to lower-case. Metadata map[string]string // This is set to the number of metadata entries not returned in x-amz-meta diff --git a/service/s3/api_op_HeadObject.go b/service/s3/api_op_HeadObject.go index 441626cd353..8e512e33b74 100644 --- a/service/s3/api_op_HeadObject.go +++ b/service/s3/api_op_HeadObject.go @@ -237,6 +237,8 @@ type HeadObjectOutput struct { LastModified *time.Time // A map of metadata to store with the object in S3. + // + // Map keys will be normalized to lower-case. Metadata map[string]string // This is set to the number of metadata entries not returned in x-amz-meta diff --git a/service/s3/api_op_PutBucketAcl.go b/service/s3/api_op_PutBucketAcl.go index 1d4afd2250b..dc452a0bc31 100644 --- a/service/s3/api_op_PutBucketAcl.go +++ b/service/s3/api_op_PutBucketAcl.go @@ -179,6 +179,9 @@ type PutBucketAclInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, go to RFC 1864. // (http://www.ietf.org/rfc/rfc1864.txt) + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketCors.go b/service/s3/api_op_PutBucketCors.go index 77afdeec677..d4f5a1c8fc7 100644 --- a/service/s3/api_op_PutBucketCors.go +++ b/service/s3/api_op_PutBucketCors.go @@ -88,6 +88,9 @@ type PutBucketCorsInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, go to RFC 1864. // (http://www.ietf.org/rfc/rfc1864.txt) + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketEncryption.go b/service/s3/api_op_PutBucketEncryption.go index d94e5880272..7b3d336ca8b 100644 --- a/service/s3/api_op_PutBucketEncryption.go +++ b/service/s3/api_op_PutBucketEncryption.go @@ -72,6 +72,9 @@ type PutBucketEncryptionInput struct { // The base64-encoded 128-bit MD5 digest of the server-side encryption // configuration. This parameter is auto-populated when using the command from the // CLI. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketLogging.go b/service/s3/api_op_PutBucketLogging.go index b1b89741063..6379b10a150 100644 --- a/service/s3/api_op_PutBucketLogging.go +++ b/service/s3/api_op_PutBucketLogging.go @@ -86,6 +86,9 @@ type PutBucketLoggingInput struct { BucketLoggingStatus *types.BucketLoggingStatus // The MD5 hash of the PutBucketLogging request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketPolicy.go b/service/s3/api_op_PutBucketPolicy.go index c6668129b61..a6cbe0d2360 100644 --- a/service/s3/api_op_PutBucketPolicy.go +++ b/service/s3/api_op_PutBucketPolicy.go @@ -63,6 +63,9 @@ type PutBucketPolicyInput struct { ConfirmRemoveSelfBucketAccess bool // The MD5 hash of the request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketReplication.go b/service/s3/api_op_PutBucketReplication.go index 086382f978e..6259c931867 100644 --- a/service/s3/api_op_PutBucketReplication.go +++ b/service/s3/api_op_PutBucketReplication.go @@ -98,6 +98,9 @@ type PutBucketReplicationInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, see RFC 1864 // (http://www.ietf.org/rfc/rfc1864.txt). + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketRequestPayment.go b/service/s3/api_op_PutBucketRequestPayment.go index a0c34462d76..47126f69ee4 100644 --- a/service/s3/api_op_PutBucketRequestPayment.go +++ b/service/s3/api_op_PutBucketRequestPayment.go @@ -56,6 +56,9 @@ type PutBucketRequestPaymentInput struct { // a message integrity check to verify that the request body was not corrupted in // transit. For more information, see RFC 1864 // (http://www.ietf.org/rfc/rfc1864.txt). + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketTagging.go b/service/s3/api_op_PutBucketTagging.go index 812a38c13e2..33ef50932de 100644 --- a/service/s3/api_op_PutBucketTagging.go +++ b/service/s3/api_op_PutBucketTagging.go @@ -100,6 +100,9 @@ type PutBucketTaggingInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, see RFC 1864 // (http://www.ietf.org/rfc/rfc1864.txt). + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketVersioning.go b/service/s3/api_op_PutBucketVersioning.go index c1a56abb2d8..4bc11d27a4b 100644 --- a/service/s3/api_op_PutBucketVersioning.go +++ b/service/s3/api_op_PutBucketVersioning.go @@ -74,6 +74,9 @@ type PutBucketVersioningInput struct { // a message integrity check to verify that the request body was not corrupted in // transit. For more information, see RFC 1864 // (http://www.ietf.org/rfc/rfc1864.txt). + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutBucketWebsite.go b/service/s3/api_op_PutBucketWebsite.go index d33ed4c97c1..bb0af6f22e9 100644 --- a/service/s3/api_op_PutBucketWebsite.go +++ b/service/s3/api_op_PutBucketWebsite.go @@ -114,6 +114,9 @@ type PutBucketWebsiteInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, see RFC 1864 // (http://www.ietf.org/rfc/rfc1864.txt). + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutObjectAcl.go b/service/s3/api_op_PutObjectAcl.go index df6ddff1414..a82025fa333 100644 --- a/service/s3/api_op_PutObjectAcl.go +++ b/service/s3/api_op_PutObjectAcl.go @@ -202,6 +202,9 @@ type PutObjectAclInput struct { // message integrity check to verify that the request body was not corrupted in // transit. For more information, go to RFC 1864.> // (http://www.ietf.org/rfc/rfc1864.txt) + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutObjectLegalHold.go b/service/s3/api_op_PutObjectLegalHold.go index b890a35e320..caeebff2b53 100644 --- a/service/s3/api_op_PutObjectLegalHold.go +++ b/service/s3/api_op_PutObjectLegalHold.go @@ -53,6 +53,9 @@ type PutObjectLegalHoldInput struct { Key *string // The MD5 hash for the request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutObjectLockConfiguration.go b/service/s3/api_op_PutObjectLockConfiguration.go index 776243b798a..e8d3aaeee68 100644 --- a/service/s3/api_op_PutObjectLockConfiguration.go +++ b/service/s3/api_op_PutObjectLockConfiguration.go @@ -42,6 +42,9 @@ type PutObjectLockConfigurationInput struct { Bucket *string // The MD5 hash for the request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutObjectRetention.go b/service/s3/api_op_PutObjectRetention.go index 5210b6396b9..3fb9beb78cb 100644 --- a/service/s3/api_op_PutObjectRetention.go +++ b/service/s3/api_op_PutObjectRetention.go @@ -57,6 +57,9 @@ type PutObjectRetentionInput struct { BypassGovernanceRetention bool // The MD5 hash for the request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutObjectTagging.go b/service/s3/api_op_PutObjectTagging.go index 46842aa8a05..2a800bfbf0b 100644 --- a/service/s3/api_op_PutObjectTagging.go +++ b/service/s3/api_op_PutObjectTagging.go @@ -106,6 +106,9 @@ type PutObjectTaggingInput struct { Tagging *types.Tagging // The MD5 hash for the request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/api_op_PutPublicAccessBlock.go b/service/s3/api_op_PutPublicAccessBlock.go index 870e3fd7193..d4d8a2ae322 100644 --- a/service/s3/api_op_PutPublicAccessBlock.go +++ b/service/s3/api_op_PutPublicAccessBlock.go @@ -75,6 +75,9 @@ type PutPublicAccessBlockInput struct { PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // The MD5 hash of the PutPublicAccessBlock request body. + // + // Deprecated: Content-MD5 header will now be automatically computed and injected + // in associated operation's Http request. ContentMD5 *string // The account id of the expected bucket owner. If the bucket is owned by a diff --git a/service/s3/deserializers.go b/service/s3/deserializers.go index 560b19c8c3d..836fdb4fac1 100644 --- a/service/s3/deserializers.go +++ b/service/s3/deserializers.go @@ -4932,7 +4932,7 @@ func awsRestxml_deserializeOpHttpBindingsGetObjectOutput(v *GetObjectOutput, res v.Metadata = map[string]string{} } headerValues[0] = strings.TrimSpace(headerValues[0]) - v.Metadata[headerKey[lenPrefix:]] = headerValues[0] + v.Metadata[strings.ToLower(headerKey[lenPrefix:])] = headerValues[0] } } @@ -6227,7 +6227,7 @@ func awsRestxml_deserializeOpHttpBindingsHeadObjectOutput(v *HeadObjectOutput, r v.Metadata = map[string]string{} } headerValues[0] = strings.TrimSpace(headerValues[0]) - v.Metadata[headerKey[lenPrefix:]] = headerValues[0] + v.Metadata[strings.ToLower(headerKey[lenPrefix:])] = headerValues[0] } } diff --git a/service/s3/types/types.go b/service/s3/types/types.go index eec2dee2138..51cee95843d 100644 --- a/service/s3/types/types.go +++ b/service/s3/types/types.go @@ -1847,6 +1847,8 @@ type LifecycleRule struct { // Prefix identifying one or more objects to which the rule applies. This is No // longer used; use Filter instead. + // + // Deprecated: This member has been deprecated. Prefix *string // Specifies when an Amazon S3 object transitions to a specified storage class. @@ -2438,6 +2440,8 @@ type ReplicationRule struct { // An object key name prefix that identifies the object or objects to which the // rule applies. The maximum prefix length is 1,024 characters. To include all // objects in a bucket, specify an empty string. + // + // Deprecated: This member has been deprecated. Prefix *string // The priority associated with the rule. If you specify multiple rules in a diff --git a/service/sagemaker/api_op_CreateDomain.go b/service/sagemaker/api_op_CreateDomain.go index 30123135599..e7160843fe2 100644 --- a/service/sagemaker/api_op_CreateDomain.go +++ b/service/sagemaker/api_op_CreateDomain.go @@ -93,6 +93,8 @@ type CreateDomainInput struct { AppNetworkAccessType types.AppNetworkAccessType // This member is deprecated and replaced with KmsKeyId. + // + // Deprecated: This property is deprecated, use KmsKeyId instead. HomeEfsFileSystemKmsKeyId *string // SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an diff --git a/service/sagemaker/api_op_DescribeDomain.go b/service/sagemaker/api_op_DescribeDomain.go index f94927b88b1..81f8de223e3 100644 --- a/service/sagemaker/api_op_DescribeDomain.go +++ b/service/sagemaker/api_op_DescribeDomain.go @@ -74,6 +74,8 @@ type DescribeDomainOutput struct { HomeEfsFileSystemId *string // This member is deprecated and replaced with KmsKeyId. + // + // Deprecated: This property is deprecated, use KmsKeyId instead. HomeEfsFileSystemKmsKeyId *string // The AWS KMS customer managed CMK used to encrypt the EFS volume attached to the diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index f9c08e057a4..235ae48cbad 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -1843,6 +1843,7 @@ type HumanLoopActivationConditionsConfig struct { // in Amazon Augmented AI // (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html) // in the Amazon SageMaker Developer Guide. + // // This value conforms to the media type: application/json // // This member is required. diff --git a/service/schemas/api_op_ExportSchema.go b/service/schemas/api_op_ExportSchema.go index c0e1c33d1df..022333f022b 100644 --- a/service/schemas/api_op_ExportSchema.go +++ b/service/schemas/api_op_ExportSchema.go @@ -37,6 +37,7 @@ type ExportSchemaInput struct { // This member is required. SchemaName *string + // This member is required. Type *string // Specifying this limits the results to only this schema version. diff --git a/service/schemas/api_op_GetResourcePolicy.go b/service/schemas/api_op_GetResourcePolicy.go index 5586535c6bb..45d03e1596b 100644 --- a/service/schemas/api_op_GetResourcePolicy.go +++ b/service/schemas/api_op_GetResourcePolicy.go @@ -35,6 +35,7 @@ type GetResourcePolicyInput struct { type GetResourcePolicyOutput struct { // The resource-based policy. + // // This value conforms to the media type: application/json Policy *string diff --git a/service/schemas/api_op_PutResourcePolicy.go b/service/schemas/api_op_PutResourcePolicy.go index d9ae8f7d2cd..e487642db60 100644 --- a/service/schemas/api_op_PutResourcePolicy.go +++ b/service/schemas/api_op_PutResourcePolicy.go @@ -30,6 +30,7 @@ func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolic type PutResourcePolicyInput struct { // The resource-based policy. + // // This value conforms to the media type: application/json // // This member is required. @@ -45,6 +46,7 @@ type PutResourcePolicyInput struct { type PutResourcePolicyOutput struct { // The resource-based policy. + // // This value conforms to the media type: application/json Policy *string diff --git a/service/securityhub/types/types.go b/service/securityhub/types/types.go index ca80db377d1..74f0c2fed8f 100644 --- a/service/securityhub/types/types.go +++ b/service/securityhub/types/types.go @@ -2013,6 +2013,8 @@ type AwsIamAccessKeyDetails struct { // The user associated with the IAM access key related to a finding. The UserName // parameter has been replaced with the PrincipalName parameter because access keys // can also be assigned to principals that are not IAM users. + // + // Deprecated: This field is deprecated, use PrincipalName instead. UserName *string } @@ -3943,6 +3945,8 @@ type AwsSecurityFinding struct { Workflow *Workflow // The workflow state of a finding. + // + // Deprecated: This field is deprecated, use Workflow.Status instead. WorkflowState WorkflowState } diff --git a/service/servicediscovery/types/types.go b/service/servicediscovery/types/types.go index aa409dc189d..56ce9a2e6bb 100644 --- a/service/servicediscovery/types/types.go +++ b/service/servicediscovery/types/types.go @@ -17,6 +17,9 @@ type DnsConfig struct { DnsRecords []DnsRecord // The ID of the namespace to use for DNS configuration. + // + // Deprecated: Top level attribute in request should be used to reference + // namespace-id NamespaceId *string // The routing policy that you want to apply to all Route 53 DNS records that AWS diff --git a/service/sfn/api_op_ListStateMachines.go b/service/sfn/api_op_ListStateMachines.go index ab0aaed1d0d..166935e7390 100644 --- a/service/sfn/api_op_ListStateMachines.go +++ b/service/sfn/api_op_ListStateMachines.go @@ -52,6 +52,8 @@ type ListStateMachinesInput struct { } type ListStateMachinesOutput struct { + + // This member is required. StateMachines []types.StateMachineListItem // If nextToken is returned, there are more results available. The value of diff --git a/service/shield/api_op_DeleteSubscription.go b/service/shield/api_op_DeleteSubscription.go index 596b4045f0d..e260e5fb70d 100644 --- a/service/shield/api_op_DeleteSubscription.go +++ b/service/shield/api_op_DeleteSubscription.go @@ -13,6 +13,8 @@ import ( // Removes AWS Shield Advanced from an account. AWS Shield Advanced requires a // 1-year subscription commitment. You cannot delete a subscription prior to the // completion of that commitment. +// +// Deprecated: This operation has been deprecated. func (c *Client) DeleteSubscription(ctx context.Context, params *DeleteSubscriptionInput, optFns ...func(*Options)) (*DeleteSubscriptionOutput, error) { if params == nil { params = &DeleteSubscriptionInput{} diff --git a/service/ssooidc/api_op_CreateToken.go b/service/ssooidc/api_op_CreateToken.go index dcff675cd5a..bd549f27f00 100644 --- a/service/ssooidc/api_op_CreateToken.go +++ b/service/ssooidc/api_op_CreateToken.go @@ -26,12 +26,17 @@ func (c *Client) CreateToken(ctx context.Context, params *CreateTokenInput, optF } type CreateTokenInput struct { + + // This member is required. ClientId *string + // This member is required. ClientSecret *string + // This member is required. DeviceCode *string + // This member is required. GrantType *string Code *string diff --git a/service/ssooidc/api_op_RegisterClient.go b/service/ssooidc/api_op_RegisterClient.go index 8554603a1f2..db54414ae36 100644 --- a/service/ssooidc/api_op_RegisterClient.go +++ b/service/ssooidc/api_op_RegisterClient.go @@ -26,8 +26,11 @@ func (c *Client) RegisterClient(ctx context.Context, params *RegisterClientInput } type RegisterClientInput struct { + + // This member is required. ClientName *string + // This member is required. ClientType *string Scopes []string diff --git a/service/ssooidc/api_op_StartDeviceAuthorization.go b/service/ssooidc/api_op_StartDeviceAuthorization.go index 1023ed39cb4..39acd94eccb 100644 --- a/service/ssooidc/api_op_StartDeviceAuthorization.go +++ b/service/ssooidc/api_op_StartDeviceAuthorization.go @@ -26,10 +26,14 @@ func (c *Client) StartDeviceAuthorization(ctx context.Context, params *StartDevi } type StartDeviceAuthorizationInput struct { + + // This member is required. ClientId *string + // This member is required. ClientSecret *string + // This member is required. StartUrl *string } diff --git a/service/textract/types/types.go b/service/textract/types/types.go index bb461c0499a..e0652763d7d 100644 --- a/service/textract/types/types.go +++ b/service/textract/types/types.go @@ -224,6 +224,7 @@ type HumanLoopActivationOutput struct { // Shows the result of condition evaluations, including those conditions which // activated a human review. + // // This value conforms to the media type: application/json HumanLoopActivationConditionsEvaluationResults *string diff --git a/service/workdocs/api_op_DescribeUsers.go b/service/workdocs/api_op_DescribeUsers.go index 3bea5116307..77ad35ba5c1 100644 --- a/service/workdocs/api_op_DescribeUsers.go +++ b/service/workdocs/api_op_DescribeUsers.go @@ -74,6 +74,8 @@ type DescribeUsersOutput struct { Marker *string // The total number of users included in the results. + // + // Deprecated: This member has been deprecated. TotalNumberOfUsers *int64 // The users.