From 2cfe73b2a438dfb09cf5aa8c12ca58731d14d1c5 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 7 Oct 2022 11:23:29 -0700 Subject: [PATCH] Release v1.44.114 (2022-10-07) (#4580) Release v1.44.114 (2022-10-07) === ### Service Client Updates * `service/codeguru-reviewer`: Updates service documentation * `service/elasticloadbalancingv2`: Updates service documentation * `service/greengrassv2`: Updates service API and documentation * `service/quicksight`: Updates service API and documentation * Amazon QuickSight now supports SecretsManager Secret ARN in place of CredentialPair for DataSource creation and update. This release also has some minor documentation updates and removes CountryCode as a required parameter in GeoSpatialColumnGroup --- CHANGELOG.md | 10 ++ aws/endpoints/defaults.go | 31 +++++ aws/version.go | 2 +- .../codeguru-reviewer/2019-09-19/docs-2.json | 2 +- .../2015-12-01/docs-2.json | 4 +- .../apis/greengrassv2/2020-11-30/api-2.json | 42 ++++++- .../apis/greengrassv2/2020-11-30/docs-2.json | 50 +++++++- models/apis/quicksight/2018-04-01/api-2.json | 13 ++- models/apis/quicksight/2018-04-01/docs-2.json | 11 +- models/endpoints/endpoints.json | 25 +++- service/codegurureviewer/api.go | 2 +- service/elbv2/api.go | 25 +++- service/greengrassv2/api.go | 110 +++++++++++++++++- service/quicksight/api.go | 38 ++++-- 14 files changed, 330 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1912bb491d..b80b8fb07b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.44.114 (2022-10-07) +=== + +### Service Client Updates +* `service/codeguru-reviewer`: Updates service documentation +* `service/elasticloadbalancingv2`: Updates service documentation +* `service/greengrassv2`: Updates service API and documentation +* `service/quicksight`: Updates service API and documentation + * Amazon QuickSight now supports SecretsManager Secret ARN in place of CredentialPair for DataSource creation and update. This release also has some minor documentation updates and removes CountryCode as a required parameter in GeoSpatialColumnGroup + Release v1.44.113 (2022-10-06) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index cb2593bacdb..2c8bc21b186 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -11716,6 +11716,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -25601,12 +25604,32 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{}, }, }, "workdocs": service{ @@ -28476,6 +28499,14 @@ var awsusgovPartition = partition{ }, }, "cloudtrail": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{}, + defaultKey{ + Variant: fipsVariant, + }: endpoint{ + Hostname: "cloudtrail.us-gov-west-1.amazonaws.com", + }, + }, Endpoints: serviceEndpoints{ endpointKey{ Region: "fips-us-gov-east-1", diff --git a/aws/version.go b/aws/version.go index 450dbade74e..915d8db32d7 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.113" +const SDKVersion = "1.44.114" diff --git a/models/apis/codeguru-reviewer/2019-09-19/docs-2.json b/models/apis/codeguru-reviewer/2019-09-19/docs-2.json index 2d92260d263..a9bb498c31c 100644 --- a/models/apis/codeguru-reviewer/2019-09-19/docs-2.json +++ b/models/apis/codeguru-reviewer/2019-09-19/docs-2.json @@ -97,7 +97,7 @@ "BuildArtifactsObjectKey": { "base": null, "refs": { - "CodeArtifacts$BuildArtifactsObjectKey": "

The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.

" + "CodeArtifacts$BuildArtifactsObjectKey": "

The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.

" } }, "ClientRequestToken": { diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json index d4df474d046..8a245797b0b 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json @@ -32,7 +32,7 @@ "RegisterTargets": "

Registers the specified targets with the specified target group.

If the target is an EC2 instance, it must be in the running state when you register it.

By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports.

With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these types by IP address.

", "RemoveListenerCertificates": "

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

", "RemoveTags": "

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

", - "SetIpAddressType": "

Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.

", + "SetIpAddressType": "

Sets the type of IP addresses used by the subnets of the specified load balancer.

", "SetRulePriorities": "

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

", "SetSecurityGroups": "

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

", "SetSubnets": "

Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.

When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

" @@ -1584,7 +1584,7 @@ "TargetGroupAttributeKey": { "base": null, "refs": { - "TargetGroupAttribute$Key": "

The name of the attribute.

The following attribute is supported by all load balancers:

The following attributes are supported by Application Load Balancers, Network Load Balancers, and Gateway Load Balancers:

The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:

The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:

The following attributes are supported only by Network Load Balancers:

" + "TargetGroupAttribute$Key": "

The name of the attribute.

The following attribute is supported by all load balancers:

The following attributes are supported by Application Load Balancers, Network Load Balancers, and Gateway Load Balancers:

The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:

The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:

The following attributes are supported only by Network Load Balancers:

The following attributes are supported only by Gateway Load Balancers:

" } }, "TargetGroupAttributeValue": { diff --git a/models/apis/greengrassv2/2020-11-30/api-2.json b/models/apis/greengrassv2/2020-11-30/api-2.json index 952d947a787..b296a2b040a 100644 --- a/models/apis/greengrassv2/2020-11-30/api-2.json +++ b/models/apis/greengrassv2/2020-11-30/api-2.json @@ -1110,9 +1110,28 @@ "coreDeviceExecutionStatus":{"shape":"EffectiveDeploymentExecutionStatus"}, "reason":{"shape":"Reason"}, "creationTimestamp":{"shape":"Timestamp"}, - "modifiedTimestamp":{"shape":"Timestamp"} + "modifiedTimestamp":{"shape":"Timestamp"}, + "statusDetails":{"shape":"EffectiveDeploymentStatusDetails"} } }, + "EffectiveDeploymentErrorCode":{ + "type":"string", + "max":255, + "min":1 + }, + "EffectiveDeploymentErrorStack":{ + "type":"list", + "member":{"shape":"EffectiveDeploymentErrorCode"} + }, + "EffectiveDeploymentErrorType":{ + "type":"string", + "max":255, + "min":1 + }, + "EffectiveDeploymentErrorTypeList":{ + "type":"list", + "member":{"shape":"EffectiveDeploymentErrorType"} + }, "EffectiveDeploymentExecutionStatus":{ "type":"string", "enum":[ @@ -1125,6 +1144,13 @@ "REJECTED" ] }, + "EffectiveDeploymentStatusDetails":{ + "type":"structure", + "members":{ + "errorStack":{"shape":"EffectiveDeploymentErrorStack"}, + "errorTypes":{"shape":"EffectiveDeploymentErrorTypeList"} + } + }, "EffectiveDeploymentsList":{ "type":"list", "member":{"shape":"EffectiveDeployment"} @@ -1295,7 +1321,10 @@ "lifecycleState":{"shape":"InstalledComponentLifecycleState"}, "lifecycleStateDetails":{"shape":"LifecycleStateDetails"}, "isRoot":{"shape":"IsRoot"}, - "lastStatusChangeTimestamp":{"shape":"Timestamp"} + "lastStatusChangeTimestamp":{"shape":"Timestamp"}, + "lastReportedTimestamp":{"shape":"Timestamp"}, + "lastInstallationSource":{"shape":"NonEmptyString"}, + "lifecycleStatusCodes":{"shape":"InstalledComponentLifecycleStatusCodeList"} } }, "InstalledComponentLifecycleState":{ @@ -1311,6 +1340,15 @@ "FINISHED" ] }, + "InstalledComponentLifecycleStatusCode":{ + "type":"string", + "max":255, + "min":1 + }, + "InstalledComponentLifecycleStatusCodeList":{ + "type":"list", + "member":{"shape":"InstalledComponentLifecycleStatusCode"} + }, "InstalledComponentList":{ "type":"list", "member":{"shape":"InstalledComponent"} diff --git a/models/apis/greengrassv2/2020-11-30/docs-2.json b/models/apis/greengrassv2/2020-11-30/docs-2.json index b72b35cc79f..3ae38320028 100644 --- a/models/apis/greengrassv2/2020-11-30/docs-2.json +++ b/models/apis/greengrassv2/2020-11-30/docs-2.json @@ -563,12 +563,42 @@ "EffectiveDeploymentsList$member": null } }, + "EffectiveDeploymentErrorCode": { + "base": null, + "refs": { + "EffectiveDeploymentErrorStack$member": null + } + }, + "EffectiveDeploymentErrorStack": { + "base": null, + "refs": { + "EffectiveDeploymentStatusDetails$errorStack": "

Contains an ordered list of short error codes that range from the most generic error to the most specific one. The error codes describe the reason for failure whenever the coreDeviceExecutionStatus is in a failed state. The response will be an empty list if there is no error.

" + } + }, + "EffectiveDeploymentErrorType": { + "base": null, + "refs": { + "EffectiveDeploymentErrorTypeList$member": null + } + }, + "EffectiveDeploymentErrorTypeList": { + "base": null, + "refs": { + "EffectiveDeploymentStatusDetails$errorTypes": "

Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.

" + } + }, "EffectiveDeploymentExecutionStatus": { "base": null, "refs": { "EffectiveDeployment$coreDeviceExecutionStatus": "

The status of the deployment job on the Greengrass core device.

" } }, + "EffectiveDeploymentStatusDetails": { + "base": "

Contains all error-related information for the deployment record. The status details will be null if the deployment is in a success state.

Greengrass nucleus v2.8.0 or later is required to get an accurate errorStack and errorTypes response. This field will not be returned for earlier Greengrass nucleus versions.

", + "refs": { + "EffectiveDeployment$statusDetails": "

The status details that explain why a deployment has an error. This response will be null if the deployment is in a success state.

" + } + }, "EffectiveDeploymentsList": { "base": null, "refs": { @@ -669,10 +699,22 @@ "InstalledComponent$lifecycleState": "

The lifecycle state of the component.

" } }, + "InstalledComponentLifecycleStatusCode": { + "base": null, + "refs": { + "InstalledComponentLifecycleStatusCodeList$member": null + } + }, + "InstalledComponentLifecycleStatusCodeList": { + "base": null, + "refs": { + "InstalledComponent$lifecycleStatusCodes": "

The status codes that indicate the reason for failure whenever the lifecycleState has an error or is in a broken state.

Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes response. This response can be inaccurate in earlier Greengrass nucleus versions.

" + } + }, "InstalledComponentList": { "base": null, "refs": { - "ListInstalledComponentsResponse$installedComponents": "

A list that summarizes each component on the core device.

Accuracy of the lastStatusChangeTimestamp response depends on Greengrass nucleus v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier versions.

" + "ListInstalledComponentsResponse$installedComponents": "

A list that summarizes each component on the core device.

Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

" } }, "InstalledComponentTopologyFilter": { @@ -929,7 +971,7 @@ "LifecycleStateDetails": { "base": null, "refs": { - "InstalledComponent$lifecycleStateDetails": "

The details about the lifecycle state of the component.

" + "InstalledComponent$lifecycleStateDetails": "

A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.

" } }, "ListClientDevicesAssociatedWithCoreDeviceRequest": { @@ -1070,6 +1112,7 @@ "GetDeploymentRequest$deploymentId": "

The ID of the deployment.

", "GetDeploymentResponse$revisionId": "

The revision number of the deployment.

", "GetDeploymentResponse$deploymentId": "

The ID of the deployment.

", + "InstalledComponent$lastInstallationSource": "

The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for local deployments it will be LOCAL.

", "LambdaEnvironmentVariables$key": null, "LambdaFunctionRecipeSource$lambdaArn": "

The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.

", "PlatformAttributesMap$key": null, @@ -1316,7 +1359,8 @@ "EffectiveDeployment$modifiedTimestamp": "

The time at which the deployment job was last modified, expressed in ISO 8601 format.

", "GetCoreDeviceResponse$lastStatusUpdateTimestamp": "

The time at which the core device's status last updated, expressed in ISO 8601 format.

", "GetDeploymentResponse$creationTimestamp": "

The time at which the deployment was created, expressed in ISO 8601 format.

", - "InstalledComponent$lastStatusChangeTimestamp": "

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

" + "InstalledComponent$lastStatusChangeTimestamp": "

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

", + "InstalledComponent$lastReportedTimestamp": "

The last time the Greengrass core device sent a message containing a certain component to the Amazon Web Services Cloud.

A component does not need to see a state change for this field to update.

" } }, "TopicString": { diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index bae3efd4b57..a6d9736d3f0 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -3641,14 +3641,16 @@ "AlternateDataSourceParameters":{"shape":"DataSourceParametersList"}, "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, "SslProperties":{"shape":"SslProperties"}, - "ErrorInfo":{"shape":"DataSourceErrorInfo"} + "ErrorInfo":{"shape":"DataSourceErrorInfo"}, + "SecretArn":{"shape":"SecretArn"} } }, "DataSourceCredentials":{ "type":"structure", "members":{ "CredentialPair":{"shape":"CredentialPair"}, - "CopySourceArn":{"shape":"CopySourceArn"} + "CopySourceArn":{"shape":"CopySourceArn"}, + "SecretArn":{"shape":"SecretArn"} }, "sensitive":true }, @@ -5546,7 +5548,6 @@ "type":"structure", "required":[ "Name", - "CountryCode", "Columns" ], "members":{ @@ -7794,6 +7795,12 @@ } } }, + "SecretArn":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+" + }, "ServiceNowParameters":{ "type":"structure", "required":["SiteBaseUrl"], diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 3c363a3f209..6bca50b4eff 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -105,7 +105,7 @@ "UpdateDashboard": "

Updates a dashboard in an Amazon Web Services account.

Updating a Dashboard creates a new dashboard version but does not immediately publish the new version. You can update the published version of a dashboard by using the UpdateDashboardPublishedVersion API operation.

", "UpdateDashboardPermissions": "

Updates read and write permissions on a dashboard.

", "UpdateDashboardPublishedVersion": "

Updates the published version of a dashboard.

", - "UpdateDataSet": "

Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.

", + "UpdateDataSet": "

Updates a dataset. This operation doesn't support datasets that include uploaded files as a source. Partial updates are not supported by this operation.

", "UpdateDataSetPermissions": "

Updates the permissions on a dataset.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.

", "UpdateDataSource": "

Updates a data source.

", "UpdateDataSourcePermissions": "

Updates the permissions to a data source.

", @@ -3499,6 +3499,13 @@ "refs": { } }, + "SecretArn": { + "base": null, + "refs": { + "DataSource$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

", + "DataSourceCredentials$SecretArn": "

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

" + } + }, "ServiceNowParameters": { "base": "

The parameters for ServiceNow.

", "refs": { @@ -4718,7 +4725,7 @@ "ListUserGroupsRequest$UserName": "

The Amazon QuickSight user name that you want to list group memberships for.

", "RegisterUserRequest$UserName": "

The Amazon QuickSight user name that you want to create for the user you are registering.

", "UpdateUserRequest$UserName": "

The Amazon QuickSight user name that you want to update.

", - "User$UserName": "

The user's user name. In the output, the value for UserName is N/A when the value for IdentityType is IAM and the corresponding IAM user is deleted.

" + "User$UserName": "

The user's user name. This value is required if you are registering a user that will be managed in Amazon QuickSight. In the output, the value for UserName is N/A when the value for IdentityType is IAM and the corresponding IAM user is deleted.

" } }, "UserRole": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 15c0016bc64..990216daeae 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6821,6 +6821,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -14966,8 +14967,22 @@ "ap-southeast-2" : { }, "eu-central-1" : { }, "eu-west-2" : { }, - "us-east-1" : { }, - "us-west-2" : { } + "fips-us-east-1" : { + "deprecated" : true + }, + "fips-us-west-2" : { + "deprecated" : true + }, + "us-east-1" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + } } }, "workdocs" : { @@ -16883,6 +16898,12 @@ } }, "cloudtrail" : { + "defaults" : { + "variants" : [ { + "hostname" : "cloudtrail.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "endpoints" : { "fips-us-gov-east-1" : { "credentialScope" : { diff --git a/service/codegurureviewer/api.go b/service/codegurureviewer/api.go index 62259e76cd6..c5fe8a22804 100644 --- a/service/codegurureviewer/api.go +++ b/service/codegurureviewer/api.go @@ -1835,7 +1835,7 @@ type CodeArtifacts struct { // The S3 object key for a build artifacts .zip file that contains .jar or .class // files. This is required for a code review with security analysis. For more - // information, see Create code reviews with security analysis (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/code-review-security.html) + // information, see Create code reviews with GitHub Actions (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/working-with-cicd.html) // in the Amazon CodeGuru Reviewer User Guide. BuildArtifactsObjectKey *string `min:"1" type:"string"` diff --git a/service/elbv2/api.go b/service/elbv2/api.go index ffca1b8b683..5f572a841f3 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -3102,8 +3102,7 @@ func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *requ // SetIpAddressType API operation for Elastic Load Balancing. // -// Sets the type of IP addresses used by the subnets of the specified Application -// Load Balancer or Network Load Balancer. +// Sets the type of IP addresses used by the subnets of the specified load balancer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9858,9 +9857,9 @@ type TargetGroupAttribute struct { // The value is true or false. The default is false. // // * stickiness.type - Indicates the type of stickiness. The possible values - // are: lb_cookie and app_cookie for Application Load Balancers source_ip - // for Network Load Balancers source_ip_dest_ip and source_ip_dest_ip_proto - // for Gateway Load Balancers + // are: lb_cookie and app_cookie for Application Load Balancers. source_ip + // for Network Load Balancers. source_ip_dest_ip and source_ip_dest_ip_proto + // for Gateway Load Balancers. // // The following attributes are supported only if the load balancer is an Application // Load Balancer and the target is an instance or an IP address: @@ -9916,6 +9915,22 @@ type TargetGroupAttribute struct { // // * proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version // 2 is enabled. The value is true or false. The default is false. + // + // The following attributes are supported only by Gateway Load Balancers: + // + // * target_failover.on_deregistration - Indicates how the Gateway Load Balancer + // handles existing flows when a target is deregistered. The possible values + // are rebalance and no_rebalance. The default is no_rebalance. The two attributes + // (target_failover.on_deregistration and target_failover.on_unhealthy) can't + // be set independently. The value you set for both attributes must be the + // same. + // + // * target_failover.on_unhealthy - Indicates how the Gateway Load Balancer + // handles existing flows when a target is unhealthy. The possible values + // are rebalance and no_rebalance. The default is no_rebalance. The two attributes + // (target_failover.on_deregistration and target_failover.on_unhealthy) cannot + // be set independently. The value you set for both attributes must be the + // same. Key *string `type:"string"` // The value of the attribute. diff --git a/service/greengrassv2/api.go b/service/greengrassv2/api.go index 2927d7eb6d1..e83d726ddff 100644 --- a/service/greengrassv2/api.go +++ b/service/greengrassv2/api.go @@ -6016,6 +6016,10 @@ type EffectiveDeployment struct { // The reason code for the update, if the job was updated. Reason *string `locationName:"reason" type:"string"` + // The status details that explain why a deployment has an error. This response + // will be null if the deployment is in a success state. + StatusDetails *EffectiveDeploymentStatusDetails `locationName:"statusDetails" type:"structure"` + // The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the target IoT thing or thing group. // @@ -6095,12 +6099,69 @@ func (s *EffectiveDeployment) SetReason(v string) *EffectiveDeployment { return s } +// SetStatusDetails sets the StatusDetails field's value. +func (s *EffectiveDeployment) SetStatusDetails(v *EffectiveDeploymentStatusDetails) *EffectiveDeployment { + s.StatusDetails = v + return s +} + // SetTargetArn sets the TargetArn field's value. func (s *EffectiveDeployment) SetTargetArn(v string) *EffectiveDeployment { s.TargetArn = &v return s } +// Contains all error-related information for the deployment record. The status +// details will be null if the deployment is in a success state. +// +// Greengrass nucleus v2.8.0 or later is required to get an accurate errorStack +// and errorTypes response. This field will not be returned for earlier Greengrass +// nucleus versions. +type EffectiveDeploymentStatusDetails struct { + _ struct{} `type:"structure"` + + // Contains an ordered list of short error codes that range from the most generic + // error to the most specific one. The error codes describe the reason for failure + // whenever the coreDeviceExecutionStatus is in a failed state. The response + // will be an empty list if there is no error. + ErrorStack []*string `locationName:"errorStack" type:"list"` + + // Contains tags which describe the error. You can use the error types to classify + // errors to assist with remediating the failure. The response will be an empty + // list if there is no error. + ErrorTypes []*string `locationName:"errorTypes" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EffectiveDeploymentStatusDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EffectiveDeploymentStatusDetails) GoString() string { + return s.String() +} + +// SetErrorStack sets the ErrorStack field's value. +func (s *EffectiveDeploymentStatusDetails) SetErrorStack(v []*string) *EffectiveDeploymentStatusDetails { + s.ErrorStack = v + return s +} + +// SetErrorTypes sets the ErrorTypes field's value. +func (s *EffectiveDeploymentStatusDetails) SetErrorTypes(v []*string) *EffectiveDeploymentStatusDetails { + s.ErrorTypes = v + return s +} + type GetComponentInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -6833,6 +6894,18 @@ type InstalledComponent struct { // Whether or not the component is a root component. IsRoot *bool `locationName:"isRoot" type:"boolean"` + // The most recent deployment source that brought the component to the Greengrass + // core device. For a thing group deployment or thing deployment, the source + // will be the The ID of the deployment. and for local deployments it will be + // LOCAL. + LastInstallationSource *string `locationName:"lastInstallationSource" min:"1" type:"string"` + + // The last time the Greengrass core device sent a message containing a certain + // component to the Amazon Web Services Cloud. + // + // A component does not need to see a state change for this field to update. + LastReportedTimestamp *time.Time `locationName:"lastReportedTimestamp" type:"timestamp"` + // The status of how current the data is. // // This response is based off of component state changes. The status reflects @@ -6844,8 +6917,16 @@ type InstalledComponent struct { // The lifecycle state of the component. LifecycleState *string `locationName:"lifecycleState" type:"string" enum:"InstalledComponentLifecycleState"` - // The details about the lifecycle state of the component. + // A detailed response about the lifecycle state of the component that explains + // the reason why a component has an error or is broken. LifecycleStateDetails *string `locationName:"lifecycleStateDetails" min:"1" type:"string"` + + // The status codes that indicate the reason for failure whenever the lifecycleState + // has an error or is in a broken state. + // + // Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes + // response. This response can be inaccurate in earlier Greengrass nucleus versions. + LifecycleStatusCodes []*string `locationName:"lifecycleStatusCodes" type:"list"` } // String returns the string representation. @@ -6884,6 +6965,18 @@ func (s *InstalledComponent) SetIsRoot(v bool) *InstalledComponent { return s } +// SetLastInstallationSource sets the LastInstallationSource field's value. +func (s *InstalledComponent) SetLastInstallationSource(v string) *InstalledComponent { + s.LastInstallationSource = &v + return s +} + +// SetLastReportedTimestamp sets the LastReportedTimestamp field's value. +func (s *InstalledComponent) SetLastReportedTimestamp(v time.Time) *InstalledComponent { + s.LastReportedTimestamp = &v + return s +} + // SetLastStatusChangeTimestamp sets the LastStatusChangeTimestamp field's value. func (s *InstalledComponent) SetLastStatusChangeTimestamp(v time.Time) *InstalledComponent { s.LastStatusChangeTimestamp = &v @@ -6902,6 +6995,12 @@ func (s *InstalledComponent) SetLifecycleStateDetails(v string) *InstalledCompon return s } +// SetLifecycleStatusCodes sets the LifecycleStatusCodes field's value. +func (s *InstalledComponent) SetLifecycleStatusCodes(v []*string) *InstalledComponent { + s.LifecycleStatusCodes = v + return s +} + // IoT Greengrass can't process your request right now. Try again later. type InternalServerException struct { _ struct{} `type:"structure"` @@ -8845,9 +8944,12 @@ type ListInstalledComponentsOutput struct { // A list that summarizes each component on the core device. // - // Accuracy of the lastStatusChangeTimestamp response depends on Greengrass - // nucleus v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be - // inaccurate on earlier versions. + // Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp + // response. This response can be inaccurate in earlier Greengrass nucleus versions. + // + // Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource + // and lastReportedTimestamp response. This response can be inaccurate or null + // in earlier Greengrass nucleus versions. InstalledComponents []*InstalledComponent `locationName:"installedComponents" type:"list"` // The token for the next set of results, or null if there are no additional diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 5e67b10a826..32e139910b5 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -11570,7 +11570,7 @@ func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *reque // UpdateDataSet API operation for Amazon QuickSight. // // Updates a dataset. This operation doesn't support datasets that include uploaded -// files as a source. +// files as a source. Partial updates are not supported by this operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -20587,6 +20587,10 @@ type DataSource struct { // A display name for the data source. Name *string `min:"1" type:"string"` + // The Amazon Resource Name (ARN) of the secret associated with the data source + // in Amazon Secrets Manager. + SecretArn *string `min:"1" type:"string"` + // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects // to your underlying source. SslProperties *SslProperties `type:"structure"` @@ -20670,6 +20674,12 @@ func (s *DataSource) SetName(v string) *DataSource { return s } +// SetSecretArn sets the SecretArn field's value. +func (s *DataSource) SetSecretArn(v string) *DataSource { + s.SecretArn = &v + return s +} + // SetSslProperties sets the SslProperties field's value. func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource { s.SslProperties = v @@ -20707,6 +20717,10 @@ type DataSourceCredentials struct { // Credential pair. For more information, see CredentialPair (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html) . CredentialPair *CredentialPair `type:"structure"` + + // The Amazon Resource Name (ARN) of the secret associated with the data source + // in Amazon Secrets Manager. + SecretArn *string `min:"1" type:"string"` } // String returns the string representation. @@ -20730,6 +20744,9 @@ func (s DataSourceCredentials) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DataSourceCredentials) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"} + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } if s.CredentialPair != nil { if err := s.CredentialPair.Validate(); err != nil { invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams)) @@ -20754,6 +20771,12 @@ func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSource return s } +// SetSecretArn sets the SecretArn field's value. +func (s *DataSourceCredentials) SetSecretArn(v string) *DataSourceCredentials { + s.SecretArn = &v + return s +} + // Error information for the data source creation or update. type DataSourceErrorInfo struct { _ struct{} `type:"structure"` @@ -28015,9 +28038,7 @@ type GeoSpatialColumnGroup struct { Columns []*string `min:"1" type:"list" required:"true"` // Country code. - // - // CountryCode is a required field - CountryCode *string `type:"string" required:"true" enum:"GeoSpatialCountryCode"` + CountryCode *string `type:"string" enum:"GeoSpatialCountryCode"` // A display name for the hierarchy. // @@ -28052,9 +28073,6 @@ func (s *GeoSpatialColumnGroup) Validate() error { if s.Columns != nil && len(s.Columns) < 1 { invalidParams.Add(request.NewErrParamMinLen("Columns", 1)) } - if s.CountryCode == nil { - invalidParams.Add(request.NewErrParamRequired("CountryCode")) - } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -43907,8 +43925,10 @@ type User struct { // * RESTRICTED_AUTHOR: This role isn't currently available for use. Role *string `type:"string" enum:"UserRole"` - // The user's user name. In the output, the value for UserName is N/A when the - // value for IdentityType is IAM and the corresponding IAM user is deleted. + // The user's user name. This value is required if you are registering a user + // that will be managed in Amazon QuickSight. In the output, the value for UserName + // is N/A when the value for IdentityType is IAM and the corresponding IAM user + // is deleted. UserName *string `min:"1" type:"string"` }