From 07a942b2458b61002567538607c0efa5dcdc6f4f Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Thu, 19 May 2022 18:17:26 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/gamesparks/2021-08-17/api-2.json | 18 ++++++++++++ apis/gamesparks/2021-08-17/docs-2.json | 19 ++++++++++++ apis/lookoutmetrics/2017-07-25/api-2.json | 11 ++++++- apis/lookoutmetrics/2017-07-25/docs-2.json | 6 ++++ gems/aws-partitions/CHANGELOG.md | 5 ++++ gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 13 ++++++++- gems/aws-sdk-gamesparks/CHANGELOG.md | 5 ++++ gems/aws-sdk-gamesparks/VERSION | 2 +- .../lib/aws-sdk-gamesparks.rb | 2 +- .../lib/aws-sdk-gamesparks/client.rb | 8 ++++- .../lib/aws-sdk-gamesparks/client_api.rb | 9 ++++++ .../lib/aws-sdk-gamesparks/types.rb | 29 +++++++++++++++++++ gems/aws-sdk-lookoutmetrics/CHANGELOG.md | 5 ++++ gems/aws-sdk-lookoutmetrics/VERSION | 2 +- .../lib/aws-sdk-lookoutmetrics.rb | 2 +- .../lib/aws-sdk-lookoutmetrics/client.rb | 4 ++- .../lib/aws-sdk-lookoutmetrics/client_api.rb | 2 ++ .../lib/aws-sdk-lookoutmetrics/types.rb | 10 ++++++- 19 files changed, 144 insertions(+), 10 deletions(-) diff --git a/apis/gamesparks/2021-08-17/api-2.json b/apis/gamesparks/2021-08-17/api-2.json index ce4665676f0..41650f3b707 100644 --- a/apis/gamesparks/2021-08-17/api-2.json +++ b/apis/gamesparks/2021-08-17/api-2.json @@ -760,6 +760,13 @@ "min":1, "pattern":"^\\S(.*\\S)?$" }, + "DeploymentResult":{ + "type":"structure", + "members":{ + "Message":{"shape":"Message"}, + "ResultCode":{"shape":"ResultCode"} + } + }, "DeploymentState":{ "type":"string", "enum":[ @@ -1513,6 +1520,7 @@ "max":100, "min":1 }, + "Message":{"type":"string"}, "NextToken":{ "type":"string", "max":1024, @@ -1561,6 +1569,14 @@ }, "exception":true }, + "ResultCode":{ + "type":"string", + "enum":[ + "SUCCESS", + "INVALID_ROLE_FAILURE", + "UNSPECIFIED_FAILURE" + ] + }, "RoleARN":{ "type":"string", "max":2048, @@ -1670,6 +1686,7 @@ "Created":{"shape":"DateTime"}, "DeploymentAction":{"shape":"DeploymentAction"}, "DeploymentId":{"shape":"DeploymentId"}, + "DeploymentResult":{"shape":"DeploymentResult"}, "DeploymentState":{"shape":"DeploymentState"}, "LastUpdated":{"shape":"DateTime"}, "SnapshotId":{"shape":"SnapshotId"} @@ -1684,6 +1701,7 @@ "members":{ "DeploymentAction":{"shape":"DeploymentAction"}, "DeploymentId":{"shape":"DeploymentId"}, + "DeploymentResult":{"shape":"DeploymentResult"}, "DeploymentState":{"shape":"DeploymentState"}, "LastUpdated":{"shape":"DateTime"}, "SnapshotId":{"shape":"SnapshotId"} diff --git a/apis/gamesparks/2021-08-17/docs-2.json b/apis/gamesparks/2021-08-17/docs-2.json index 3c823d088f2..0ba404e74ee 100644 --- a/apis/gamesparks/2021-08-17/docs-2.json +++ b/apis/gamesparks/2021-08-17/docs-2.json @@ -179,6 +179,13 @@ "StageDeploymentSummary$DeploymentId": "

The identifier of the deployment.

" } }, + "DeploymentResult": { + "base": "

The result of the deployment.

", + "refs": { + "StageDeploymentDetails$DeploymentResult": "

The result of the deployment.

", + "StageDeploymentSummary$DeploymentResult": "

The result of the deployment.

" + } + }, "DeploymentState": { "base": null, "refs": { @@ -639,6 +646,12 @@ "ListStagesRequest$MaxResults": "

The maximum number of results to return.

Use this parameter with NextToken to get results as a set of sequential pages.

" } }, + "Message": { + "base": null, + "refs": { + "DeploymentResult$Message": "

Details about the deployment result.

" + } + }, "NextToken": { "base": null, "refs": { @@ -696,6 +709,12 @@ "refs": { } }, + "ResultCode": { + "base": null, + "refs": { + "DeploymentResult$ResultCode": "

The type of deployment result.

" + } + }, "RoleARN": { "base": null, "refs": { diff --git a/apis/lookoutmetrics/2017-07-25/api-2.json b/apis/lookoutmetrics/2017-07-25/api-2.json index c3e6dbf9738..5421b8af66d 100644 --- a/apis/lookoutmetrics/2017-07-25/api-2.json +++ b/apis/lookoutmetrics/2017-07-25/api-2.json @@ -1696,7 +1696,8 @@ ], "members":{ "RoleArn":{"shape":"Arn"}, - "SnsTopicArn":{"shape":"Arn"} + "SnsTopicArn":{"shape":"Arn"}, + "SnsFormat":{"shape":"SnsFormat"} } }, "SampleDataS3SourceConfig":{ @@ -1754,6 +1755,14 @@ "error":{"httpStatusCode":402}, "exception":true }, + "SnsFormat":{ + "type":"string", + "enum":[ + "LONG_TEXT", + "SHORT_TEXT", + "JSON" + ] + }, "StringAttributeValue":{"type":"string"}, "StringListAttributeValue":{ "type":"list", diff --git a/apis/lookoutmetrics/2017-07-25/docs-2.json b/apis/lookoutmetrics/2017-07-25/docs-2.json index 94af199d31b..5b48024d559 100644 --- a/apis/lookoutmetrics/2017-07-25/docs-2.json +++ b/apis/lookoutmetrics/2017-07-25/docs-2.json @@ -1190,6 +1190,12 @@ "refs": { } }, + "SnsFormat": { + "base": null, + "refs": { + "SNSConfiguration$SnsFormat": "

The text format for alerts.

" + } + }, "StringAttributeValue": { "base": null, "refs": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 10515621626..4484ac6e0c9 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.589.0 (2022-05-19) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.588.0 (2022-05-18) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 31f17667eed..ff1424e9e3a 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.588.0 +1.589.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 45076e55c1b..bea417b5d59 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -6152,6 +6152,10 @@ "isRegionalized" : true }, "health" : { + "defaults" : { + "protocols" : [ "https" ], + "sslCommonName" : "health.us-east-1.amazonaws.com" + }, "endpoints" : { "fips-us-east-2" : { "credentialScope" : { @@ -6170,7 +6174,9 @@ "tags" : [ "fips" ] } ] } - } + }, + "isRegionalized" : false, + "partitionEndpoint" : "aws-global" }, "healthlake" : { "defaults" : { @@ -18034,6 +18040,11 @@ "us-iso-east-1" : { } } }, + "appconfigdata" : { + "endpoints" : { + "us-iso-west-1" : { } + } + }, "application-autoscaling" : { "defaults" : { "protocols" : [ "http", "https" ] diff --git a/gems/aws-sdk-gamesparks/CHANGELOG.md b/gems/aws-sdk-gamesparks/CHANGELOG.md index 5cf684a7eec..fa2d50d49aa 100644 --- a/gems/aws-sdk-gamesparks/CHANGELOG.md +++ b/gems/aws-sdk-gamesparks/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.1.0 (2022-05-19) +------------------ + +* Feature - This release adds an optional DeploymentResult field in the responses of GetStageDeploymentIntegrationTests and ListStageDeploymentIntegrationTests APIs. + 1.0.0 (2022-03-23) ------------------ diff --git a/gems/aws-sdk-gamesparks/VERSION b/gems/aws-sdk-gamesparks/VERSION index 3eefcb9dd5b..9084fa2f716 100644 --- a/gems/aws-sdk-gamesparks/VERSION +++ b/gems/aws-sdk-gamesparks/VERSION @@ -1 +1 @@ -1.0.0 +1.1.0 diff --git a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks.rb b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks.rb index d18aea38ef6..3dcd9c15a50 100644 --- a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks.rb +++ b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks.rb @@ -48,6 +48,6 @@ # @!group service module Aws::GameSparks - GEM_VERSION = '1.0.0' + GEM_VERSION = '1.1.0' end diff --git a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client.rb b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client.rb index 7c4cc1b8b45..bb0d6b1f800 100644 --- a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client.rb +++ b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client.rb @@ -969,6 +969,8 @@ def get_stage(params = {}, options = {}) # resp.stage_deployment.created #=> Time # resp.stage_deployment.deployment_action #=> String, one of "DEPLOY", "UNDEPLOY" # resp.stage_deployment.deployment_id #=> String + # resp.stage_deployment.deployment_result.message #=> String + # resp.stage_deployment.deployment_result.result_code #=> String, one of "SUCCESS", "INVALID_ROLE_FAILURE", "UNSPECIFIED_FAILURE" # resp.stage_deployment.deployment_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED" # resp.stage_deployment.last_updated #=> Time # resp.stage_deployment.snapshot_id #=> String @@ -1330,6 +1332,8 @@ def list_snapshots(params = {}, options = {}) # resp.stage_deployments #=> Array # resp.stage_deployments[0].deployment_action #=> String, one of "DEPLOY", "UNDEPLOY" # resp.stage_deployments[0].deployment_id #=> String + # resp.stage_deployments[0].deployment_result.message #=> String + # resp.stage_deployments[0].deployment_result.result_code #=> String, one of "SUCCESS", "INVALID_ROLE_FAILURE", "UNSPECIFIED_FAILURE" # resp.stage_deployments[0].deployment_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED" # resp.stage_deployments[0].last_updated #=> Time # resp.stage_deployments[0].snapshot_id #=> String @@ -1509,6 +1513,8 @@ def start_generated_code_job(params = {}, options = {}) # resp.stage_deployment.created #=> Time # resp.stage_deployment.deployment_action #=> String, one of "DEPLOY", "UNDEPLOY" # resp.stage_deployment.deployment_id #=> String + # resp.stage_deployment.deployment_result.message #=> String + # resp.stage_deployment.deployment_result.result_code #=> String, one of "SUCCESS", "INVALID_ROLE_FAILURE", "UNSPECIFIED_FAILURE" # resp.stage_deployment.deployment_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED" # resp.stage_deployment.last_updated #=> Time # resp.stage_deployment.snapshot_id #=> String @@ -1767,7 +1773,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-gamesparks' - context[:gem_version] = '1.0.0' + context[:gem_version] = '1.1.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client_api.rb b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client_api.rb index 3fa049e65f4..b147d398b24 100644 --- a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client_api.rb +++ b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client_api.rb @@ -35,6 +35,7 @@ module ClientApi DeleteStageResult = Shapes::StructureShape.new(name: 'DeleteStageResult') DeploymentAction = Shapes::StringShape.new(name: 'DeploymentAction') DeploymentId = Shapes::StringShape.new(name: 'DeploymentId') + DeploymentResult = Shapes::StructureShape.new(name: 'DeploymentResult') DeploymentState = Shapes::StringShape.new(name: 'DeploymentState') DisconnectPlayerRequest = Shapes::StructureShape.new(name: 'DisconnectPlayerRequest') DisconnectPlayerResult = Shapes::StructureShape.new(name: 'DisconnectPlayerResult') @@ -108,6 +109,7 @@ module ClientApi ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult') LogGroupName = Shapes::StringShape.new(name: 'LogGroupName') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') + Message = Shapes::StringShape.new(name: 'Message') NextToken = Shapes::StringShape.new(name: 'NextToken') Operation = Shapes::StringShape.new(name: 'Operation') Path = Shapes::StringShape.new(name: 'Path') @@ -115,6 +117,7 @@ module ClientApi RawGameConfigurationData = Shapes::BlobShape.new(name: 'RawGameConfigurationData') ResourceArn = Shapes::StringShape.new(name: 'ResourceArn') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') + ResultCode = Shapes::StringShape.new(name: 'ResultCode') RoleARN = Shapes::StringShape.new(name: 'RoleARN') S3PresignedUrl = Shapes::StringShape.new(name: 'S3PresignedUrl') Section = Shapes::StructureShape.new(name: 'Section') @@ -214,6 +217,10 @@ module ClientApi DeleteStageResult.struct_class = Types::DeleteStageResult + DeploymentResult.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message")) + DeploymentResult.add_member(:result_code, Shapes::ShapeRef.new(shape: ResultCode, location_name: "ResultCode")) + DeploymentResult.struct_class = Types::DeploymentResult + DisconnectPlayerRequest.add_member(:game_name, Shapes::ShapeRef.new(shape: GameName, required: true, location: "uri", location_name: "GameName")) DisconnectPlayerRequest.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, required: true, location: "uri", location_name: "PlayerId")) DisconnectPlayerRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location: "uri", location_name: "StageName")) @@ -474,6 +481,7 @@ module ClientApi StageDeploymentDetails.add_member(:created, Shapes::ShapeRef.new(shape: DateTime, location_name: "Created")) StageDeploymentDetails.add_member(:deployment_action, Shapes::ShapeRef.new(shape: DeploymentAction, location_name: "DeploymentAction")) StageDeploymentDetails.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "DeploymentId")) + StageDeploymentDetails.add_member(:deployment_result, Shapes::ShapeRef.new(shape: DeploymentResult, location_name: "DeploymentResult")) StageDeploymentDetails.add_member(:deployment_state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "DeploymentState")) StageDeploymentDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdated")) StageDeploymentDetails.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId")) @@ -483,6 +491,7 @@ module ClientApi StageDeploymentSummary.add_member(:deployment_action, Shapes::ShapeRef.new(shape: DeploymentAction, location_name: "DeploymentAction")) StageDeploymentSummary.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "DeploymentId")) + StageDeploymentSummary.add_member(:deployment_result, Shapes::ShapeRef.new(shape: DeploymentResult, location_name: "DeploymentResult")) StageDeploymentSummary.add_member(:deployment_state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "DeploymentState")) StageDeploymentSummary.add_member(:last_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdated")) StageDeploymentSummary.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId")) diff --git a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/types.rb b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/types.rb index 1c4c71ea15f..6671fc18764 100644 --- a/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/types.rb +++ b/gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/types.rb @@ -262,6 +262,25 @@ class DeleteStageRequest < Struct.new( # class DeleteStageResult < Aws::EmptyStructure; end + # The result of the deployment. + # + # @!attribute [rw] message + # Details about the deployment result. + # @return [String] + # + # @!attribute [rw] result_code + # The type of deployment result. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeploymentResult AWS API Documentation + # + class DeploymentResult < Struct.new( + :message, + :result_code) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass DisconnectPlayerRequest # data as a hash: # @@ -1649,6 +1668,10 @@ class SnapshotSummary < Struct.new( # The identifier of the deployment. # @return [String] # + # @!attribute [rw] deployment_result + # The result of the deployment. + # @return [Types::DeploymentResult] + # # @!attribute [rw] deployment_state # The state of the deployment. # @return [String] @@ -1667,6 +1690,7 @@ class StageDeploymentDetails < Struct.new( :created, :deployment_action, :deployment_id, + :deployment_result, :deployment_state, :last_updated, :snapshot_id) @@ -1684,6 +1708,10 @@ class StageDeploymentDetails < Struct.new( # The identifier of the deployment. # @return [String] # + # @!attribute [rw] deployment_result + # The result of the deployment. + # @return [Types::DeploymentResult] + # # @!attribute [rw] deployment_state # The state of the deployment. # @return [String] @@ -1701,6 +1729,7 @@ class StageDeploymentDetails < Struct.new( class StageDeploymentSummary < Struct.new( :deployment_action, :deployment_id, + :deployment_result, :deployment_state, :last_updated, :snapshot_id) diff --git a/gems/aws-sdk-lookoutmetrics/CHANGELOG.md b/gems/aws-sdk-lookoutmetrics/CHANGELOG.md index dd7b135e5c0..15a1115ae9d 100644 --- a/gems/aws-sdk-lookoutmetrics/CHANGELOG.md +++ b/gems/aws-sdk-lookoutmetrics/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.17.0 (2022-05-19) +------------------ + +* Feature - In this release we added SnsFormat to SNSConfiguration to support human readable alert. + 1.16.0 (2022-04-21) ------------------ diff --git a/gems/aws-sdk-lookoutmetrics/VERSION b/gems/aws-sdk-lookoutmetrics/VERSION index 15b989e398f..092afa15df4 100644 --- a/gems/aws-sdk-lookoutmetrics/VERSION +++ b/gems/aws-sdk-lookoutmetrics/VERSION @@ -1 +1 @@ -1.16.0 +1.17.0 diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb index 4bc322da943..7cfcd9942c7 100644 --- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb +++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb @@ -48,6 +48,6 @@ # @!group service module Aws::LookoutMetrics - GEM_VERSION = '1.16.0' + GEM_VERSION = '1.17.0' end diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb index df9731c3f97..18cf8f52d84 100644 --- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb +++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb @@ -434,6 +434,7 @@ def back_test_anomaly_detector(params = {}, options = {}) # sns_configuration: { # role_arn: "Arn", # required # sns_topic_arn: "Arn", # required + # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON # }, # lambda_configuration: { # role_arn: "Arn", # required @@ -742,6 +743,7 @@ def delete_anomaly_detector(params = {}, options = {}) # # resp.alert.action.sns_configuration.role_arn #=> String # resp.alert.action.sns_configuration.sns_topic_arn #=> String + # resp.alert.action.sns_configuration.sns_format #=> String, one of "LONG_TEXT", "SHORT_TEXT", "JSON" # resp.alert.action.lambda_configuration.role_arn #=> String # resp.alert.action.lambda_configuration.lambda_arn #=> String # resp.alert.alert_description #=> String @@ -1814,7 +1816,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-lookoutmetrics' - context[:gem_version] = '1.16.0' + context[:gem_version] = '1.17.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client_api.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client_api.rb index e28a55f5316..3bb534ef770 100644 --- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client_api.rb +++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client_api.rb @@ -189,6 +189,7 @@ module ClientApi SensitivityThreshold = Shapes::IntegerShape.new(name: 'SensitivityThreshold') ServiceCode = Shapes::StringShape.new(name: 'ServiceCode') ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') + SnsFormat = Shapes::StringShape.new(name: 'SnsFormat') StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue') StringListAttributeValue = Shapes::ListShape.new(name: 'StringListAttributeValue') SubnetId = Shapes::StringShape.new(name: 'SubnetId') @@ -725,6 +726,7 @@ module ClientApi SNSConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn")) SNSConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "SnsTopicArn")) + SNSConfiguration.add_member(:sns_format, Shapes::ShapeRef.new(shape: SnsFormat, location_name: "SnsFormat")) SNSConfiguration.struct_class = Types::SNSConfiguration SampleDataS3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn")) diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb index 95b963bb1c5..8d6bb815990 100644 --- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb +++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb @@ -33,6 +33,7 @@ class AccessDeniedException < Struct.new( # sns_configuration: { # role_arn: "Arn", # required # sns_topic_arn: "Arn", # required + # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON # }, # lambda_configuration: { # role_arn: "Arn", # required @@ -649,6 +650,7 @@ class ContributionMatrix < Struct.new( # sns_configuration: { # role_arn: "Arn", # required # sns_topic_arn: "Arn", # required + # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON # }, # lambda_configuration: { # role_arn: "Arn", # required @@ -2742,6 +2744,7 @@ class S3SourceConfig < Struct.new( # { # role_arn: "Arn", # required # sns_topic_arn: "Arn", # required + # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON # } # # @!attribute [rw] role_arn @@ -2752,11 +2755,16 @@ class S3SourceConfig < Struct.new( # The ARN of the target SNS topic. # @return [String] # + # @!attribute [rw] sns_format + # The text format for alerts. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/SNSConfiguration AWS API Documentation # class SNSConfiguration < Struct.new( :role_arn, - :sns_topic_arn) + :sns_topic_arn, + :sns_format) SENSITIVE = [] include Aws::Structure end