Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed May 19, 2022
1 parent 62c48f3 commit 07a942b
Show file tree
Hide file tree
Showing 19 changed files with 144 additions and 10 deletions.
18 changes: 18 additions & 0 deletions apis/gamesparks/2021-08-17/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,13 @@
"min":1,
"pattern":"^\\S(.*\\S)?$"
},
"DeploymentResult":{
"type":"structure",
"members":{
"Message":{"shape":"Message"},
"ResultCode":{"shape":"ResultCode"}
}
},
"DeploymentState":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -1513,6 +1520,7 @@
"max":100,
"min":1
},
"Message":{"type":"string"},
"NextToken":{
"type":"string",
"max":1024,
Expand Down Expand Up @@ -1561,6 +1569,14 @@
},
"exception":true
},
"ResultCode":{
"type":"string",
"enum":[
"SUCCESS",
"INVALID_ROLE_FAILURE",
"UNSPECIFIED_FAILURE"
]
},
"RoleARN":{
"type":"string",
"max":2048,
Expand Down Expand Up @@ -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"}
Expand All @@ -1684,6 +1701,7 @@
"members":{
"DeploymentAction":{"shape":"DeploymentAction"},
"DeploymentId":{"shape":"DeploymentId"},
"DeploymentResult":{"shape":"DeploymentResult"},
"DeploymentState":{"shape":"DeploymentState"},
"LastUpdated":{"shape":"DateTime"},
"SnapshotId":{"shape":"SnapshotId"}
Expand Down
19 changes: 19 additions & 0 deletions apis/gamesparks/2021-08-17/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,13 @@
"StageDeploymentSummary$DeploymentId": "<p>The identifier of the deployment.</p>"
}
},
"DeploymentResult": {
"base": "<p>The result of the deployment.</p>",
"refs": {
"StageDeploymentDetails$DeploymentResult": "<p>The result of the deployment.</p>",
"StageDeploymentSummary$DeploymentResult": "<p>The result of the deployment.</p>"
}
},
"DeploymentState": {
"base": null,
"refs": {
Expand Down Expand Up @@ -639,6 +646,12 @@
"ListStagesRequest$MaxResults": "<p>The maximum number of results to return.</p> <p> Use this parameter with NextToken to get results as a set of sequential pages. </p>"
}
},
"Message": {
"base": null,
"refs": {
"DeploymentResult$Message": "<p>Details about the deployment result.</p>"
}
},
"NextToken": {
"base": null,
"refs": {
Expand Down Expand Up @@ -696,6 +709,12 @@
"refs": {
}
},
"ResultCode": {
"base": null,
"refs": {
"DeploymentResult$ResultCode": "<p>The type of deployment result.</p>"
}
},
"RoleARN": {
"base": null,
"refs": {
Expand Down
11 changes: 10 additions & 1 deletion apis/lookoutmetrics/2017-07-25/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,8 @@
],
"members":{
"RoleArn":{"shape":"Arn"},
"SnsTopicArn":{"shape":"Arn"}
"SnsTopicArn":{"shape":"Arn"},
"SnsFormat":{"shape":"SnsFormat"}
}
},
"SampleDataS3SourceConfig":{
Expand Down Expand Up @@ -1754,6 +1755,14 @@
"error":{"httpStatusCode":402},
"exception":true
},
"SnsFormat":{
"type":"string",
"enum":[
"LONG_TEXT",
"SHORT_TEXT",
"JSON"
]
},
"StringAttributeValue":{"type":"string"},
"StringListAttributeValue":{
"type":"list",
Expand Down
6 changes: 6 additions & 0 deletions apis/lookoutmetrics/2017-07-25/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,12 @@
"refs": {
}
},
"SnsFormat": {
"base": null,
"refs": {
"SNSConfiguration$SnsFormat": "<p>The text format for alerts.</p>"
}
},
"StringAttributeValue": {
"base": null,
"refs": {
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-partitions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-partitions/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.588.0
1.589.0
13 changes: 12 additions & 1 deletion gems/aws-partitions/partitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6152,6 +6152,10 @@
"isRegionalized" : true
},
"health" : {
"defaults" : {
"protocols" : [ "https" ],
"sslCommonName" : "health.us-east-1.amazonaws.com"
},
"endpoints" : {
"fips-us-east-2" : {
"credentialScope" : {
Expand All @@ -6170,7 +6174,9 @@
"tags" : [ "fips" ]
} ]
}
}
},
"isRegionalized" : false,
"partitionEndpoint" : "aws-global"
},
"healthlake" : {
"defaults" : {
Expand Down Expand Up @@ -18034,6 +18040,11 @@
"us-iso-east-1" : { }
}
},
"appconfigdata" : {
"endpoints" : {
"us-iso-west-1" : { }
}
},
"application-autoscaling" : {
"defaults" : {
"protocols" : [ "http", "https" ]
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-gamesparks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-gamesparks/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::GameSparks

GEM_VERSION = '1.0.0'
GEM_VERSION = '1.1.0'

end
8 changes: 7 additions & 1 deletion gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/client_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -108,13 +109,15 @@ 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')
PlayerId = Shapes::StringShape.new(name: 'PlayerId')
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')
Expand Down Expand Up @@ -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"))
Expand Down Expand Up @@ -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"))
Expand All @@ -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"))
Expand Down
29 changes: 29 additions & 0 deletions gems/aws-sdk-gamesparks/lib/aws-sdk-gamesparks/types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#
Expand Down Expand Up @@ -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]
Expand All @@ -1667,6 +1690,7 @@ class StageDeploymentDetails < Struct.new(
:created,
:deployment_action,
:deployment_id,
:deployment_result,
:deployment_state,
:last_updated,
:snapshot_id)
Expand All @@ -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]
Expand All @@ -1701,6 +1729,7 @@ class StageDeploymentDetails < Struct.new(
class StageDeploymentSummary < Struct.new(
:deployment_action,
:deployment_id,
:deployment_result,
:deployment_state,
:last_updated,
:snapshot_id)
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-lookoutmetrics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-lookoutmetrics/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.0
1.17.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::LookoutMetrics

GEM_VERSION = '1.16.0'
GEM_VERSION = '1.17.0'

end
Loading

0 comments on commit 07a942b

Please sign in to comment.