diff --git a/.changelog/5facb20b77dd4ffa8b2448e7203f4692.json b/.changelog/5facb20b77dd4ffa8b2448e7203f4692.json new file mode 100644 index 00000000000..ce788f1ab92 --- /dev/null +++ b/.changelog/5facb20b77dd4ffa8b2448e7203f4692.json @@ -0,0 +1,8 @@ +{ + "id": "5facb20b-77dd-4ffa-8b24-48e7203f4692", + "type": "feature", + "description": "C6in, M6in, M6idn, R6in and R6idn instances are powered by 3rd Generation Intel Xeon Scalable processors (code named Ice Lake) with an all-core turbo frequency of 3.5 GHz.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/7491d506fe144901a0eb82ce7c70bfdf.json b/.changelog/7491d506fe144901a0eb82ce7c70bfdf.json new file mode 100644 index 00000000000..2d968cc4381 --- /dev/null +++ b/.changelog/7491d506fe144901a0eb82ce7c70bfdf.json @@ -0,0 +1,8 @@ +{ + "id": "7491d506-fe14-4901-a0eb-82ce7c70bfdf", + "type": "feature", + "description": "This release adds support for data bars in QuickSight table and increases pivot table field well limit.", + "modules": [ + "service/quicksight" + ] +} \ No newline at end of file diff --git a/.changelog/787df4b32f3143c2b497f290c7ba44da.json b/.changelog/787df4b32f3143c2b497f290c7ba44da.json new file mode 100644 index 00000000000..3178e4a9197 --- /dev/null +++ b/.changelog/787df4b32f3143c2b497f290c7ba44da.json @@ -0,0 +1,8 @@ +{ + "id": "787df4b3-2f31-43c2-b497-f290c7ba44da", + "type": "feature", + "description": "API and Doc update. Update to arns field in BatchGetStreamKey. Also updates to operations and structures.", + "modules": [ + "service/ivs" + ] +} \ No newline at end of file diff --git a/service/codebuild/internal/endpoints/endpoints.go b/service/codebuild/internal/endpoints/endpoints.go index 3efc60f6ba6..bf8b0329e85 100644 --- a/service/codebuild/internal/endpoints/endpoints.go +++ b/service/codebuild/internal/endpoints/endpoints.go @@ -183,6 +183,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-west-3", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, diff --git a/service/databrew/internal/endpoints/endpoints.go b/service/databrew/internal/endpoints/endpoints.go index 7e1a53c4c6b..6b3e2fd2a13 100644 --- a/service/databrew/internal/endpoints/endpoints.go +++ b/service/databrew/internal/endpoints/endpoints.go @@ -374,9 +374,24 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-gov-west-1", + }: endpoints.Endpoint{ + Hostname: "databrew.us-gov-west-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "us-gov-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-west-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "databrew.us-gov-west-1.amazonaws.com", + }, }, }, } diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index 065c35aa71c..43579cce7ac 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -3276,6 +3276,51 @@ const ( InstanceTypeTrn12xlarge InstanceType = "trn1.2xlarge" InstanceTypeTrn132xlarge InstanceType = "trn1.32xlarge" InstanceTypeHpc6id32xlarge InstanceType = "hpc6id.32xlarge" + InstanceTypeC6inLarge InstanceType = "c6in.large" + InstanceTypeC6inXlarge InstanceType = "c6in.xlarge" + InstanceTypeC6in2xlarge InstanceType = "c6in.2xlarge" + InstanceTypeC6in4xlarge InstanceType = "c6in.4xlarge" + InstanceTypeC6in8xlarge InstanceType = "c6in.8xlarge" + InstanceTypeC6in12xlarge InstanceType = "c6in.12xlarge" + InstanceTypeC6in16xlarge InstanceType = "c6in.16xlarge" + InstanceTypeC6in24xlarge InstanceType = "c6in.24xlarge" + InstanceTypeC6in32xlarge InstanceType = "c6in.32xlarge" + InstanceTypeM6inLarge InstanceType = "m6in.large" + InstanceTypeM6inXlarge InstanceType = "m6in.xlarge" + InstanceTypeM6in2xlarge InstanceType = "m6in.2xlarge" + InstanceTypeM6in4xlarge InstanceType = "m6in.4xlarge" + InstanceTypeM6in8xlarge InstanceType = "m6in.8xlarge" + InstanceTypeM6in12xlarge InstanceType = "m6in.12xlarge" + InstanceTypeM6in16xlarge InstanceType = "m6in.16xlarge" + InstanceTypeM6in24xlarge InstanceType = "m6in.24xlarge" + InstanceTypeM6in32xlarge InstanceType = "m6in.32xlarge" + InstanceTypeM6idnLarge InstanceType = "m6idn.large" + InstanceTypeM6idnXlarge InstanceType = "m6idn.xlarge" + InstanceTypeM6idn2xlarge InstanceType = "m6idn.2xlarge" + InstanceTypeM6idn4xlarge InstanceType = "m6idn.4xlarge" + InstanceTypeM6idn8xlarge InstanceType = "m6idn.8xlarge" + InstanceTypeM6idn12xlarge InstanceType = "m6idn.12xlarge" + InstanceTypeM6idn16xlarge InstanceType = "m6idn.16xlarge" + InstanceTypeM6idn24xlarge InstanceType = "m6idn.24xlarge" + InstanceTypeM6idn32xlarge InstanceType = "m6idn.32xlarge" + InstanceTypeR6inLarge InstanceType = "r6in.large" + InstanceTypeR6inXlarge InstanceType = "r6in.xlarge" + InstanceTypeR6in2xlarge InstanceType = "r6in.2xlarge" + InstanceTypeR6in4xlarge InstanceType = "r6in.4xlarge" + InstanceTypeR6in8xlarge InstanceType = "r6in.8xlarge" + InstanceTypeR6in12xlarge InstanceType = "r6in.12xlarge" + InstanceTypeR6in16xlarge InstanceType = "r6in.16xlarge" + InstanceTypeR6in24xlarge InstanceType = "r6in.24xlarge" + InstanceTypeR6in32xlarge InstanceType = "r6in.32xlarge" + InstanceTypeR6idnLarge InstanceType = "r6idn.large" + InstanceTypeR6idnXlarge InstanceType = "r6idn.xlarge" + InstanceTypeR6idn2xlarge InstanceType = "r6idn.2xlarge" + InstanceTypeR6idn4xlarge InstanceType = "r6idn.4xlarge" + InstanceTypeR6idn8xlarge InstanceType = "r6idn.8xlarge" + InstanceTypeR6idn12xlarge InstanceType = "r6idn.12xlarge" + InstanceTypeR6idn16xlarge InstanceType = "r6idn.16xlarge" + InstanceTypeR6idn24xlarge InstanceType = "r6idn.24xlarge" + InstanceTypeR6idn32xlarge InstanceType = "r6idn.32xlarge" ) // Values returns all known values for InstanceType. Note that this can be expanded @@ -3857,6 +3902,51 @@ func (InstanceType) Values() []InstanceType { "trn1.2xlarge", "trn1.32xlarge", "hpc6id.32xlarge", + "c6in.large", + "c6in.xlarge", + "c6in.2xlarge", + "c6in.4xlarge", + "c6in.8xlarge", + "c6in.12xlarge", + "c6in.16xlarge", + "c6in.24xlarge", + "c6in.32xlarge", + "m6in.large", + "m6in.xlarge", + "m6in.2xlarge", + "m6in.4xlarge", + "m6in.8xlarge", + "m6in.12xlarge", + "m6in.16xlarge", + "m6in.24xlarge", + "m6in.32xlarge", + "m6idn.large", + "m6idn.xlarge", + "m6idn.2xlarge", + "m6idn.4xlarge", + "m6idn.8xlarge", + "m6idn.12xlarge", + "m6idn.16xlarge", + "m6idn.24xlarge", + "m6idn.32xlarge", + "r6in.large", + "r6in.xlarge", + "r6in.2xlarge", + "r6in.4xlarge", + "r6in.8xlarge", + "r6in.12xlarge", + "r6in.16xlarge", + "r6in.24xlarge", + "r6in.32xlarge", + "r6idn.large", + "r6idn.xlarge", + "r6idn.2xlarge", + "r6idn.4xlarge", + "r6idn.8xlarge", + "r6idn.12xlarge", + "r6idn.16xlarge", + "r6idn.24xlarge", + "r6idn.32xlarge", } } diff --git a/service/efs/internal/endpoints/endpoints.go b/service/efs/internal/endpoints/endpoints.go index 7aeabd4a0b3..6014448b930 100644 --- a/service/efs/internal/endpoints/endpoints.go +++ b/service/efs/internal/endpoints/endpoints.go @@ -261,6 +261,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com", }, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "elasticfilesystem-fips.eu-south-2.amazonaws.com", + }, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, @@ -414,6 +423,15 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "fips-eu-south-2", + }: endpoints.Endpoint{ + Hostname: "elasticfilesystem-fips.eu-south-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-south-2", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-eu-west-1", }: endpoints.Endpoint{ diff --git a/service/ivs/api_op_BatchGetStreamKey.go b/service/ivs/api_op_BatchGetStreamKey.go index e45837a62a4..1587dc8ff7a 100644 --- a/service/ivs/api_op_BatchGetStreamKey.go +++ b/service/ivs/api_op_BatchGetStreamKey.go @@ -29,7 +29,7 @@ func (c *Client) BatchGetStreamKey(ctx context.Context, params *BatchGetStreamKe type BatchGetStreamKeyInput struct { - // Array of ARNs, one per channel. + // Array of ARNs, one per stream key. // // This member is required. Arns []string diff --git a/service/ivs/api_op_ListTagsForResource.go b/service/ivs/api_op_ListTagsForResource.go index 44195c442d2..373f55da9a0 100644 --- a/service/ivs/api_op_ListTagsForResource.go +++ b/service/ivs/api_op_ListTagsForResource.go @@ -38,7 +38,8 @@ type ListTagsForResourceInput struct { type ListTagsForResourceOutput struct { - // + // Tags attached to the resource. Array of maps, each of the form string:string + // (key:value). // // This member is required. Tags map[string]string diff --git a/service/ivs/api_op_TagResource.go b/service/ivs/api_op_TagResource.go index e2f1bd1b4ef..4db8f2c83e9 100644 --- a/service/ivs/api_op_TagResource.go +++ b/service/ivs/api_op_TagResource.go @@ -35,7 +35,8 @@ type TagResourceInput struct { // This member is required. ResourceArn *string - // Array of tags to be added or updated. See Tagging Amazon Web Services Resources + // Array of tags to be added or updated. Array of maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is diff --git a/service/ivs/api_op_UntagResource.go b/service/ivs/api_op_UntagResource.go index 56986ddc551..29052acc3e0 100644 --- a/service/ivs/api_op_UntagResource.go +++ b/service/ivs/api_op_UntagResource.go @@ -34,7 +34,8 @@ type UntagResourceInput struct { // This member is required. ResourceArn *string - // Array of tags to be removed. See Tagging Amazon Web Services Resources + // Array of tags to be removed. Array of maps, each of the form string:string + // (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is diff --git a/service/ivs/types/types.go b/service/ivs/types/types.go index aa841771abb..f8cc6b0a3d8 100644 --- a/service/ivs/types/types.go +++ b/service/ivs/types/types.go @@ -73,8 +73,8 @@ type Channel struct { // recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -125,8 +125,8 @@ type ChannelSummary struct { // recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -172,8 +172,8 @@ type PlaybackKeyPair struct { // Playback-key-pair name. The value does not need to be unique. Name *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -192,8 +192,8 @@ type PlaybackKeyPairSummary struct { // Playback-key-pair name. The value does not need to be unique. Name *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -231,8 +231,8 @@ type RecordingConfiguration struct { // Default: 0. RecordingReconnectWindowSeconds int32 - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -270,8 +270,8 @@ type RecordingConfigurationSummary struct { // Recording-configuration name. The value does not need to be unique. Name *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -360,8 +360,8 @@ type StreamKey struct { // Channel ARN for the stream. ChannelArn *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is @@ -383,8 +383,8 @@ type StreamKeySummary struct { // Channel ARN for the stream. ChannelArn *string - // Array of 1-50 maps, each of the form string:string (key:value). See Tagging - // Amazon Web Services Resources + // Tags attached to the resource. Array of 1-50 maps, each of the form + // string:string (key:value). See Tagging Amazon Web Services Resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more // information, including restrictions that apply to tags and "Tag naming limits // and requirements"; Amazon IVS has no service-specific constraints beyond what is diff --git a/service/quicksight/api_op_RegisterUser.go b/service/quicksight/api_op_RegisterUser.go index 2bed72fbf61..af9aefdbe17 100644 --- a/service/quicksight/api_op_RegisterUser.go +++ b/service/quicksight/api_op_RegisterUser.go @@ -11,8 +11,16 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates an Amazon QuickSight user, whose identity is associated with the -// Identity and Access Management (IAM) identity or role specified in the request. +// Creates an Amazon QuickSight user whose identity is associated with the Identity +// and Access Management (IAM) identity or role specified in the request. When you +// register a new user from the Amazon QuickSight API, Amazon QuickSight generates +// a registration URL. The user accesses this registration URL to create their +// account. Amazon QuickSight doesn't send a registration email to users who are +// registered from the Amazon QuickSight API. If you want new users to receive a +// registration email, then add those users in the Amazon QuickSight console. For +// more information on registering a new user in the Amazon QuickSight console, see +// Inviting users to access Amazon QuickSight +// (https://docs.aws.amazon.com/quicksight/latest/user/managing-users.html#inviting-users). func (c *Client) RegisterUser(ctx context.Context, params *RegisterUserInput, optFns ...func(*Options)) (*RegisterUserOutput, error) { if params == nil { params = &RegisterUserInput{} diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index 9b15d50a769..2492ba729f2 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -33389,6 +33389,64 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummaryList(v *[]types.Dash return nil } +func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.DataBarsOptions + if *v == nil { + sv = &types.DataBarsOptions{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "FieldId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FieldId to be of type string, got %T instead", value) + } + sv.FieldId = ptr.String(jtv) + } + + case "NegativeColor": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HexColor to be of type string, got %T instead", value) + } + sv.NegativeColor = ptr.String(jtv) + } + + case "PositiveColor": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HexColor to be of type string, got %T instead", value) + } + sv.PositiveColor = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksParameters, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -56832,6 +56890,11 @@ func awsRestjson1_deserializeDocumentTableConfiguration(v **types.TableConfigura return err } + case "TableInlineVisualizations": + if err := awsRestjson1_deserializeDocumentTableInlineVisualizationList(&sv.TableInlineVisualizations, value); err != nil { + return err + } + case "TableOptions": if err := awsRestjson1_deserializeDocumentTableOptions(&sv.TableOptions, value); err != nil { return err @@ -57287,6 +57350,76 @@ func awsRestjson1_deserializeDocumentTableFieldWells(v **types.TableFieldWells, return nil } +func awsRestjson1_deserializeDocumentTableInlineVisualization(v **types.TableInlineVisualization, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TableInlineVisualization + if *v == nil { + sv = &types.TableInlineVisualization{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DataBars": + if err := awsRestjson1_deserializeDocumentDataBarsOptions(&sv.DataBars, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentTableInlineVisualizationList(v *[]types.TableInlineVisualization, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.TableInlineVisualization + if *v == nil { + cv = []types.TableInlineVisualization{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.TableInlineVisualization + destAddr := &col + if err := awsRestjson1_deserializeDocumentTableInlineVisualization(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentTableOptions(v **types.TableOptions, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/quicksight/serializers.go b/service/quicksight/serializers.go index a7087786e6a..5547c91001d 100644 --- a/service/quicksight/serializers.go +++ b/service/quicksight/serializers.go @@ -14225,6 +14225,28 @@ func awsRestjson1_serializeDocumentDashboardVisualPublishOptions(v *types.Dashbo return nil } +func awsRestjson1_serializeDocumentDataBarsOptions(v *types.DataBarsOptions, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.FieldId != nil { + ok := object.Key("FieldId") + ok.String(*v.FieldId) + } + + if v.NegativeColor != nil { + ok := object.Key("NegativeColor") + ok.String(*v.NegativeColor) + } + + if v.PositiveColor != nil { + ok := object.Key("PositiveColor") + ok.String(*v.PositiveColor) + } + + return nil +} + func awsRestjson1_serializeDocumentDatabricksParameters(v *types.DatabricksParameters, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -24720,6 +24742,13 @@ func awsRestjson1_serializeDocumentTableConfiguration(v *types.TableConfiguratio } } + if v.TableInlineVisualizations != nil { + ok := object.Key("TableInlineVisualizations") + if err := awsRestjson1_serializeDocumentTableInlineVisualizationList(v.TableInlineVisualizations, ok); err != nil { + return err + } + } + if v.TableOptions != nil { ok := object.Key("TableOptions") if err := awsRestjson1_serializeDocumentTableOptions(v.TableOptions, ok); err != nil { @@ -24932,6 +24961,33 @@ func awsRestjson1_serializeDocumentTableFieldWells(v *types.TableFieldWells, val return nil } +func awsRestjson1_serializeDocumentTableInlineVisualization(v *types.TableInlineVisualization, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DataBars != nil { + ok := object.Key("DataBars") + if err := awsRestjson1_serializeDocumentDataBarsOptions(v.DataBars, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentTableInlineVisualizationList(v []types.TableInlineVisualization, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentTableInlineVisualization(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentTableOptions(v *types.TableOptions, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/quicksight/types/types.go b/service/quicksight/types/types.go index 6427f7d5d1a..50c0f547891 100644 --- a/service/quicksight/types/types.go +++ b/service/quicksight/types/types.go @@ -2545,6 +2545,23 @@ type DashboardVisualPublishOptions struct { noSmithyDocumentSerde } +// The options for data bars. +type DataBarsOptions struct { + + // The field ID for the data bars options. + // + // This member is required. + FieldId *string + + // The color of the negative data bar. + NegativeColor *string + + // The color of the positive data bar. + PositiveColor *string + + noSmithyDocumentSerde +} + // The required parameters that are needed to connect to a Databricks data source. type DatabricksParameters struct { @@ -6696,7 +6713,8 @@ type LogicalTable struct { // This member is required. Source *LogicalTableSource - // Transform operations that act on this logical table. + // Transform operations that act on this logical table. For this structure to be + // valid, only one of the attributes can be non-null. DataTransforms []TransformOperation noSmithyDocumentSerde @@ -9957,6 +9975,9 @@ type TableConfiguration struct { // The sort configuration for a TableVisual. SortConfiguration *TableSortConfiguration + // A collection of inline visualizations to display within a chart. + TableInlineVisualizations []TableInlineVisualization + // The table options for a table visual. TableOptions *TableOptions @@ -10089,6 +10110,15 @@ type TableFieldWells struct { noSmithyDocumentSerde } +// The inline visualization of a specific type to display within a chart. +type TableInlineVisualization struct { + + // The configuration of the inline visualization of the data bars within a chart. + DataBars *DataBarsOptions + + noSmithyDocumentSerde +} + // The table options for a table visual. type TableOptions struct { @@ -10300,7 +10330,7 @@ type TemplateError struct { // Type of error. Type TemplateErrorType - // + // An error path that shows which entities caused the template error. ViolatedEntities []Entity noSmithyDocumentSerde @@ -10396,7 +10426,23 @@ type TemplateVersion struct { // create this template. SourceEntityArn *string - // The HTTP status of the request. + // The status that is associated with the template. + // + // * CREATION_IN_PROGRESS + // + // * + // CREATION_SUCCESSFUL + // + // * CREATION_FAILED + // + // * UPDATE_IN_PROGRESS + // + // * + // UPDATE_SUCCESSFUL + // + // * UPDATE_FAILED + // + // * DELETED Status ResourceStatus // The ARN of the theme associated with this version of the template. diff --git a/service/quicksight/validators.go b/service/quicksight/validators.go index a2fd653d944..49d685e1708 100644 --- a/service/quicksight/validators.go +++ b/service/quicksight/validators.go @@ -5136,6 +5136,21 @@ func validateDashboardVisualId(v *types.DashboardVisualId) error { } } +func validateDataBarsOptions(v *types.DataBarsOptions) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DataBarsOptions"} + if v.FieldId == nil { + invalidParams.Add(smithy.NewErrParamRequired("FieldId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateDatabricksParameters(v *types.DatabricksParameters) error { if v == nil { return nil @@ -11877,6 +11892,11 @@ func validateTableConfiguration(v *types.TableConfiguration) error { invalidParams.AddNested("FieldOptions", err.(smithy.InvalidParamsError)) } } + if v.TableInlineVisualizations != nil { + if err := validateTableInlineVisualizationList(v.TableInlineVisualizations); err != nil { + invalidParams.AddNested("TableInlineVisualizations", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -12031,6 +12051,40 @@ func validateTableFieldWells(v *types.TableFieldWells) error { } } +func validateTableInlineVisualization(v *types.TableInlineVisualization) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TableInlineVisualization"} + if v.DataBars != nil { + if err := validateDataBarsOptions(v.DataBars); err != nil { + invalidParams.AddNested("DataBars", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateTableInlineVisualizationList(v []types.TableInlineVisualization) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TableInlineVisualizationList"} + for i := range v { + if err := validateTableInlineVisualization(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateTableRowConditionalFormatting(v *types.TableRowConditionalFormatting) error { if v == nil { return nil