aws-sdk-ssm 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +8 -1
- data/lib/aws-sdk-ssm/client_api.rb +5 -0
- data/lib/aws-sdk-ssm/types.rb +17 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e8c788ae3898087d5ea42491b3a737ba030fa6
|
4
|
+
data.tar.gz: 9fa942a771479279cefc2ecd1732c68d98d8791d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbd1a65a3a67bbf75fc3367cb653a4850c3d99d259875a371b828293e3c37b6392f193916ad2c0d362631a68aae32a1677c26a50813c50c795481ba9b7d09de0
|
7
|
+
data.tar.gz: 2574d0caffaad8b1279c0f3bd5229c22ec0a32ae6c80ada127debfff350517a3dbbe9551b751c55b69a6817a0462f8edbc5d3c08c602a88f4521f0c023440d47
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -777,6 +777,7 @@ module Aws::SSM
|
|
777
777
|
# prefix: "ResourceDataSyncS3Prefix",
|
778
778
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
779
779
|
# region: "ResourceDataSyncS3Region", # required
|
780
|
+
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
780
781
|
# },
|
781
782
|
# })
|
782
783
|
#
|
@@ -4192,6 +4193,7 @@ module Aws::SSM
|
|
4192
4193
|
# resp.resource_data_sync_items[0].s3_destination.prefix #=> String
|
4193
4194
|
# resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
|
4194
4195
|
# resp.resource_data_sync_items[0].s3_destination.region #=> String
|
4196
|
+
# resp.resource_data_sync_items[0].s3_destination.awskms_key_arn #=> String
|
4195
4197
|
# resp.resource_data_sync_items[0].last_sync_time #=> Time
|
4196
4198
|
# resp.resource_data_sync_items[0].last_successful_sync_time #=> Time
|
4197
4199
|
# resp.resource_data_sync_items[0].last_status #=> String, one of "Successful", "Failed", "InProgress"
|
@@ -4965,6 +4967,10 @@ module Aws::SSM
|
|
4965
4967
|
# A key-value map of execution parameters, which match the declared
|
4966
4968
|
# parameters in the Automation document.
|
4967
4969
|
#
|
4970
|
+
# @option params [String] :client_token
|
4971
|
+
# User-provided idempotency token. The token must be unique, is case
|
4972
|
+
# insensitive, enforces the UUID format, and can't be reused.
|
4973
|
+
#
|
4968
4974
|
# @return [Types::StartAutomationExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4969
4975
|
#
|
4970
4976
|
# * {Types::StartAutomationExecutionResult#automation_execution_id #automation_execution_id} => String
|
@@ -4977,6 +4983,7 @@ module Aws::SSM
|
|
4977
4983
|
# parameters: {
|
4978
4984
|
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
4979
4985
|
# },
|
4986
|
+
# client_token: "IdempotencyToken",
|
4980
4987
|
# })
|
4981
4988
|
#
|
4982
4989
|
# @example Response structure
|
@@ -5819,7 +5826,7 @@ module Aws::SSM
|
|
5819
5826
|
params: params,
|
5820
5827
|
config: config)
|
5821
5828
|
context[:gem_name] = 'aws-sdk-ssm'
|
5822
|
-
context[:gem_version] = '1.
|
5829
|
+
context[:gem_version] = '1.1.0'
|
5823
5830
|
Seahorse::Client::Request.new(handlers, context)
|
5824
5831
|
end
|
5825
5832
|
|
@@ -307,6 +307,7 @@ module Aws::SSM
|
|
307
307
|
HierarchyTypeMismatchException = Shapes::StructureShape.new(name: 'HierarchyTypeMismatchException')
|
308
308
|
IPAddress = Shapes::StringShape.new(name: 'IPAddress')
|
309
309
|
IamRole = Shapes::StringShape.new(name: 'IamRole')
|
310
|
+
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
310
311
|
IdempotentParameterMismatch = Shapes::StructureShape.new(name: 'IdempotentParameterMismatch')
|
311
312
|
InstanceAggregatedAssociationOverview = Shapes::StructureShape.new(name: 'InstanceAggregatedAssociationOverview')
|
312
313
|
InstanceAssociation = Shapes::StructureShape.new(name: 'InstanceAssociation')
|
@@ -620,6 +621,7 @@ module Aws::SSM
|
|
620
621
|
RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
|
621
622
|
ResourceComplianceSummaryItem = Shapes::StructureShape.new(name: 'ResourceComplianceSummaryItem')
|
622
623
|
ResourceComplianceSummaryItemList = Shapes::ListShape.new(name: 'ResourceComplianceSummaryItemList')
|
624
|
+
ResourceDataSyncAWSKMSKeyARN = Shapes::StringShape.new(name: 'ResourceDataSyncAWSKMSKeyARN')
|
623
625
|
ResourceDataSyncAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceDataSyncAlreadyExistsException')
|
624
626
|
ResourceDataSyncCountExceededException = Shapes::StructureShape.new(name: 'ResourceDataSyncCountExceededException')
|
625
627
|
ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
|
@@ -2313,6 +2315,7 @@ module Aws::SSM
|
|
2313
2315
|
ResourceDataSyncS3Destination.add_member(:prefix, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Prefix, location_name: "Prefix"))
|
2314
2316
|
ResourceDataSyncS3Destination.add_member(:sync_format, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Format, required: true, location_name: "SyncFormat"))
|
2315
2317
|
ResourceDataSyncS3Destination.add_member(:region, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Region, required: true, location_name: "Region"))
|
2318
|
+
ResourceDataSyncS3Destination.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: ResourceDataSyncAWSKMSKeyARN, location_name: "AWSKMSKeyARN"))
|
2316
2319
|
ResourceDataSyncS3Destination.struct_class = Types::ResourceDataSyncS3Destination
|
2317
2320
|
|
2318
2321
|
ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
@@ -2366,6 +2369,7 @@ module Aws::SSM
|
|
2366
2369
|
StartAutomationExecutionRequest.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "DocumentName"))
|
2367
2370
|
StartAutomationExecutionRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion", metadata: {"box"=>true}))
|
2368
2371
|
StartAutomationExecutionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: AutomationParameterMap, location_name: "Parameters"))
|
2372
|
+
StartAutomationExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
|
2369
2373
|
StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
|
2370
2374
|
|
2371
2375
|
StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
|
@@ -3596,6 +3600,7 @@ module Aws::SSM
|
|
3596
3600
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAutomationExecutionParametersException)
|
3597
3601
|
o.errors << Shapes::ShapeRef.new(shape: AutomationExecutionLimitExceededException)
|
3598
3602
|
o.errors << Shapes::ShapeRef.new(shape: AutomationDefinitionVersionNotFoundException)
|
3603
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatch)
|
3599
3604
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3600
3605
|
end)
|
3601
3606
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1866,6 +1866,7 @@ module Aws::SSM
|
|
1866
1866
|
# prefix: "ResourceDataSyncS3Prefix",
|
1867
1867
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
1868
1868
|
# region: "ResourceDataSyncS3Region", # required
|
1869
|
+
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
1869
1870
|
# },
|
1870
1871
|
# }
|
1871
1872
|
#
|
@@ -8519,6 +8520,7 @@ module Aws::SSM
|
|
8519
8520
|
# prefix: "ResourceDataSyncS3Prefix",
|
8520
8521
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
8521
8522
|
# region: "ResourceDataSyncS3Region", # required
|
8523
|
+
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
8522
8524
|
# }
|
8523
8525
|
#
|
8524
8526
|
# @!attribute [rw] bucket_name
|
@@ -8540,13 +8542,19 @@ module Aws::SSM
|
|
8540
8542
|
# Data Sync.
|
8541
8543
|
# @return [String]
|
8542
8544
|
#
|
8545
|
+
# @!attribute [rw] awskms_key_arn
|
8546
|
+
# The ARN of an encryption key for a destination in Amazon S3. Must
|
8547
|
+
# belong to the same region as the destination Amazon S3 bucket.
|
8548
|
+
# @return [String]
|
8549
|
+
#
|
8543
8550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination AWS API Documentation
|
8544
8551
|
#
|
8545
8552
|
class ResourceDataSyncS3Destination < Struct.new(
|
8546
8553
|
:bucket_name,
|
8547
8554
|
:prefix,
|
8548
8555
|
:sync_format,
|
8549
|
-
:region
|
8556
|
+
:region,
|
8557
|
+
:awskms_key_arn)
|
8550
8558
|
include Aws::Structure
|
8551
8559
|
end
|
8552
8560
|
|
@@ -8895,6 +8903,7 @@ module Aws::SSM
|
|
8895
8903
|
# parameters: {
|
8896
8904
|
# "AutomationParameterKey" => ["AutomationParameterValue"],
|
8897
8905
|
# },
|
8906
|
+
# client_token: "IdempotencyToken",
|
8898
8907
|
# }
|
8899
8908
|
#
|
8900
8909
|
# @!attribute [rw] document_name
|
@@ -8910,12 +8919,18 @@ module Aws::SSM
|
|
8910
8919
|
# parameters in the Automation document.
|
8911
8920
|
# @return [Hash<String,Array<String>>]
|
8912
8921
|
#
|
8922
|
+
# @!attribute [rw] client_token
|
8923
|
+
# User-provided idempotency token. The token must be unique, is case
|
8924
|
+
# insensitive, enforces the UUID format, and can't be reused.
|
8925
|
+
# @return [String]
|
8926
|
+
#
|
8913
8927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest AWS API Documentation
|
8914
8928
|
#
|
8915
8929
|
class StartAutomationExecutionRequest < Struct.new(
|
8916
8930
|
:document_name,
|
8917
8931
|
:document_version,
|
8918
|
-
:parameters
|
8932
|
+
:parameters,
|
8933
|
+
:client_token)
|
8919
8934
|
include Aws::Structure
|
8920
8935
|
end
|
8921
8936
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ssm
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ssm/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|