aws-sdk-ssm 1.72.0 → 1.73.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 +5 -5
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +25 -17
- data/lib/aws-sdk-ssm/client_api.rb +8 -2
- data/lib/aws-sdk-ssm/types.rb +41 -9
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b0a47c6f7f007fa70f3f6ea9088622321b7a2a4becf5ea55c2cee341aaed3e40
|
4
|
+
data.tar.gz: 5da837509e6ea0c5de9cbc1ed754040d7916f9b76d7c3e038ba03a7ec955c5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd6b7533d9e99f14239a7ed5611d2fc8e8232890a09e2d46f707bbbc0e0397a90f8fbe917fc17067e93c1e787652f36c56db48b5b9c65c850edda417343674d8
|
7
|
+
data.tar.gz: ad852e51760f2ef247729fff403bc90bc79ac6584127588c3096bdebbf99c2c4772532e92a3ccc11553267ce47b84b67d85fa95f6cb0fd4762192760e84d0ccb
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ssm)
|
|
32
32
|
module Aws::SSM
|
33
33
|
# An API client for SSM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::SSM::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::SSM
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -1431,7 +1435,7 @@ module Aws::SSM
|
|
1431
1435
|
# },
|
1432
1436
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1433
1437
|
# approve_after_days: 1,
|
1434
|
-
# approve_until_date: "
|
1438
|
+
# approve_until_date: "PatchStringDateTime",
|
1435
1439
|
# enable_non_security: false,
|
1436
1440
|
# },
|
1437
1441
|
# ],
|
@@ -1534,6 +1538,9 @@ module Aws::SSM
|
|
1534
1538
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
1535
1539
|
# region: "ResourceDataSyncS3Region", # required
|
1536
1540
|
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
1541
|
+
# destination_data_sharing: {
|
1542
|
+
# destination_data_sharing_type: "ResourceDataSyncDestinationDataSharingType",
|
1543
|
+
# },
|
1537
1544
|
# },
|
1538
1545
|
# sync_type: "ResourceDataSyncType",
|
1539
1546
|
# sync_source: {
|
@@ -6446,6 +6453,7 @@ module Aws::SSM
|
|
6446
6453
|
# resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
|
6447
6454
|
# resp.resource_data_sync_items[0].s3_destination.region #=> String
|
6448
6455
|
# resp.resource_data_sync_items[0].s3_destination.awskms_key_arn #=> String
|
6456
|
+
# resp.resource_data_sync_items[0].s3_destination.destination_data_sharing.destination_data_sharing_type #=> String
|
6449
6457
|
# resp.resource_data_sync_items[0].last_sync_time #=> Time
|
6450
6458
|
# resp.resource_data_sync_items[0].last_successful_sync_time #=> Time
|
6451
6459
|
# resp.resource_data_sync_items[0].sync_last_modified_time #=> Time
|
@@ -9140,7 +9148,7 @@ module Aws::SSM
|
|
9140
9148
|
# },
|
9141
9149
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
9142
9150
|
# approve_after_days: 1,
|
9143
|
-
# approve_until_date: "
|
9151
|
+
# approve_until_date: "PatchStringDateTime",
|
9144
9152
|
# enable_non_security: false,
|
9145
9153
|
# },
|
9146
9154
|
# ],
|
@@ -9310,7 +9318,7 @@ module Aws::SSM
|
|
9310
9318
|
params: params,
|
9311
9319
|
config: config)
|
9312
9320
|
context[:gem_name] = 'aws-sdk-ssm'
|
9313
|
-
context[:gem_version] = '1.
|
9321
|
+
context[:gem_version] = '1.73.0'
|
9314
9322
|
Seahorse::Client::Request.new(handlers, context)
|
9315
9323
|
end
|
9316
9324
|
|
@@ -818,7 +818,7 @@ module Aws::SSM
|
|
818
818
|
PatchSourceProduct = Shapes::StringShape.new(name: 'PatchSourceProduct')
|
819
819
|
PatchSourceProductList = Shapes::ListShape.new(name: 'PatchSourceProductList')
|
820
820
|
PatchStatus = Shapes::StructureShape.new(name: 'PatchStatus')
|
821
|
-
|
821
|
+
PatchStringDateTime = Shapes::StringShape.new(name: 'PatchStringDateTime')
|
822
822
|
PatchTitle = Shapes::StringShape.new(name: 'PatchTitle')
|
823
823
|
PatchUnreportedNotApplicableCount = Shapes::IntegerShape.new(name: 'PatchUnreportedNotApplicableCount')
|
824
824
|
PatchVendor = Shapes::StringShape.new(name: 'PatchVendor')
|
@@ -866,6 +866,8 @@ module Aws::SSM
|
|
866
866
|
ResourceDataSyncConflictException = Shapes::StructureShape.new(name: 'ResourceDataSyncConflictException')
|
867
867
|
ResourceDataSyncCountExceededException = Shapes::StructureShape.new(name: 'ResourceDataSyncCountExceededException')
|
868
868
|
ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
|
869
|
+
ResourceDataSyncDestinationDataSharing = Shapes::StructureShape.new(name: 'ResourceDataSyncDestinationDataSharing')
|
870
|
+
ResourceDataSyncDestinationDataSharingType = Shapes::StringShape.new(name: 'ResourceDataSyncDestinationDataSharingType')
|
869
871
|
ResourceDataSyncIncludeFutureRegions = Shapes::BooleanShape.new(name: 'ResourceDataSyncIncludeFutureRegions')
|
870
872
|
ResourceDataSyncInvalidConfigurationException = Shapes::StructureShape.new(name: 'ResourceDataSyncInvalidConfigurationException')
|
871
873
|
ResourceDataSyncItem = Shapes::StructureShape.new(name: 'ResourceDataSyncItem')
|
@@ -3349,7 +3351,7 @@ module Aws::SSM
|
|
3349
3351
|
PatchRule.add_member(:patch_filter_group, Shapes::ShapeRef.new(shape: PatchFilterGroup, required: true, location_name: "PatchFilterGroup"))
|
3350
3352
|
PatchRule.add_member(:compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ComplianceLevel"))
|
3351
3353
|
PatchRule.add_member(:approve_after_days, Shapes::ShapeRef.new(shape: ApproveAfterDays, location_name: "ApproveAfterDays", metadata: {"box"=>true}))
|
3352
|
-
PatchRule.add_member(:approve_until_date, Shapes::ShapeRef.new(shape:
|
3354
|
+
PatchRule.add_member(:approve_until_date, Shapes::ShapeRef.new(shape: PatchStringDateTime, location_name: "ApproveUntilDate", metadata: {"box"=>true}))
|
3353
3355
|
PatchRule.add_member(:enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableNonSecurity", metadata: {"box"=>true}))
|
3354
3356
|
PatchRule.struct_class = Types::PatchRule
|
3355
3357
|
|
@@ -3511,6 +3513,9 @@ module Aws::SSM
|
|
3511
3513
|
ResourceDataSyncCountExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
3512
3514
|
ResourceDataSyncCountExceededException.struct_class = Types::ResourceDataSyncCountExceededException
|
3513
3515
|
|
3516
|
+
ResourceDataSyncDestinationDataSharing.add_member(:destination_data_sharing_type, Shapes::ShapeRef.new(shape: ResourceDataSyncDestinationDataSharingType, location_name: "DestinationDataSharingType"))
|
3517
|
+
ResourceDataSyncDestinationDataSharing.struct_class = Types::ResourceDataSyncDestinationDataSharing
|
3518
|
+
|
3514
3519
|
ResourceDataSyncInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
3515
3520
|
ResourceDataSyncInvalidConfigurationException.struct_class = Types::ResourceDataSyncInvalidConfigurationException
|
3516
3521
|
|
@@ -3543,6 +3548,7 @@ module Aws::SSM
|
|
3543
3548
|
ResourceDataSyncS3Destination.add_member(:sync_format, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Format, required: true, location_name: "SyncFormat"))
|
3544
3549
|
ResourceDataSyncS3Destination.add_member(:region, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Region, required: true, location_name: "Region"))
|
3545
3550
|
ResourceDataSyncS3Destination.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: ResourceDataSyncAWSKMSKeyARN, location_name: "AWSKMSKeyARN"))
|
3551
|
+
ResourceDataSyncS3Destination.add_member(:destination_data_sharing, Shapes::ShapeRef.new(shape: ResourceDataSyncDestinationDataSharing, location_name: "DestinationDataSharing"))
|
3546
3552
|
ResourceDataSyncS3Destination.struct_class = Types::ResourceDataSyncS3Destination
|
3547
3553
|
|
3548
3554
|
ResourceDataSyncSource.add_member(:source_type, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceType, required: true, location_name: "SourceType"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -3112,7 +3112,7 @@ module Aws::SSM
|
|
3112
3112
|
# },
|
3113
3113
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
3114
3114
|
# approve_after_days: 1,
|
3115
|
-
# approve_until_date: "
|
3115
|
+
# approve_until_date: "PatchStringDateTime",
|
3116
3116
|
# enable_non_security: false,
|
3117
3117
|
# },
|
3118
3118
|
# ],
|
@@ -3285,6 +3285,9 @@ module Aws::SSM
|
|
3285
3285
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
3286
3286
|
# region: "ResourceDataSyncS3Region", # required
|
3287
3287
|
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
3288
|
+
# destination_data_sharing: {
|
3289
|
+
# destination_data_sharing_type: "ResourceDataSyncDestinationDataSharingType",
|
3290
|
+
# },
|
3288
3291
|
# },
|
3289
3292
|
# sync_type: "ResourceDataSyncType",
|
3290
3293
|
# sync_source: {
|
@@ -5541,8 +5544,7 @@ module Aws::SSM
|
|
5541
5544
|
# @return [Array<Types::ParameterMetadata>]
|
5542
5545
|
#
|
5543
5546
|
# @!attribute [rw] next_token
|
5544
|
-
# The token to use when requesting the next set of items.
|
5545
|
-
# no additional items to return, the string is empty.
|
5547
|
+
# The token to use when requesting the next set of items.
|
5546
5548
|
# @return [String]
|
5547
5549
|
#
|
5548
5550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersResult AWS API Documentation
|
@@ -12932,7 +12934,7 @@ module Aws::SSM
|
|
12932
12934
|
# },
|
12933
12935
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
12934
12936
|
# approve_after_days: 1,
|
12935
|
-
# approve_until_date: "
|
12937
|
+
# approve_until_date: "PatchStringDateTime",
|
12936
12938
|
# enable_non_security: false,
|
12937
12939
|
# }
|
12938
12940
|
#
|
@@ -12954,8 +12956,7 @@ module Aws::SSM
|
|
12954
12956
|
# @return [Integer]
|
12955
12957
|
#
|
12956
12958
|
# @!attribute [rw] approve_until_date
|
12957
|
-
#
|
12958
|
-
# released on or before this date will be installed automatically
|
12959
|
+
# Example API
|
12959
12960
|
# @return [String]
|
12960
12961
|
#
|
12961
12962
|
# @!attribute [rw] enable_non_security
|
@@ -12994,7 +12995,7 @@ module Aws::SSM
|
|
12994
12995
|
# },
|
12995
12996
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
12996
12997
|
# approve_after_days: 1,
|
12997
|
-
# approve_until_date: "
|
12998
|
+
# approve_until_date: "PatchStringDateTime",
|
12998
12999
|
# enable_non_security: false,
|
12999
13000
|
# },
|
13000
13001
|
# ],
|
@@ -14201,6 +14202,29 @@ module Aws::SSM
|
|
14201
14202
|
include Aws::Structure
|
14202
14203
|
end
|
14203
14204
|
|
14205
|
+
# Synchronize Systems Manager Inventory data from multiple AWS accounts
|
14206
|
+
# defined in AWS Organizations to a centralized Amazon S3 bucket. Data
|
14207
|
+
# is synchronized to individual key prefixes in the central bucket. Each
|
14208
|
+
# key prefix represents a different AWS account ID.
|
14209
|
+
#
|
14210
|
+
# @note When making an API call, you may pass ResourceDataSyncDestinationDataSharing
|
14211
|
+
# data as a hash:
|
14212
|
+
#
|
14213
|
+
# {
|
14214
|
+
# destination_data_sharing_type: "ResourceDataSyncDestinationDataSharingType",
|
14215
|
+
# }
|
14216
|
+
#
|
14217
|
+
# @!attribute [rw] destination_data_sharing_type
|
14218
|
+
# The sharing data type. Only `Organization` is supported.
|
14219
|
+
# @return [String]
|
14220
|
+
#
|
14221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncDestinationDataSharing AWS API Documentation
|
14222
|
+
#
|
14223
|
+
class ResourceDataSyncDestinationDataSharing < Struct.new(
|
14224
|
+
:destination_data_sharing_type)
|
14225
|
+
include Aws::Structure
|
14226
|
+
end
|
14227
|
+
|
14204
14228
|
# The specified sync configuration is invalid.
|
14205
14229
|
#
|
14206
14230
|
# @!attribute [rw] message
|
@@ -14329,6 +14353,9 @@ module Aws::SSM
|
|
14329
14353
|
# sync_format: "JsonSerDe", # required, accepts JsonSerDe
|
14330
14354
|
# region: "ResourceDataSyncS3Region", # required
|
14331
14355
|
# awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
|
14356
|
+
# destination_data_sharing: {
|
14357
|
+
# destination_data_sharing_type: "ResourceDataSyncDestinationDataSharingType",
|
14358
|
+
# },
|
14332
14359
|
# }
|
14333
14360
|
#
|
14334
14361
|
# @!attribute [rw] bucket_name
|
@@ -14355,6 +14382,10 @@ module Aws::SSM
|
|
14355
14382
|
# belong to the same Region as the destination Amazon S3 bucket.
|
14356
14383
|
# @return [String]
|
14357
14384
|
#
|
14385
|
+
# @!attribute [rw] destination_data_sharing
|
14386
|
+
# Enables destination data sharing. By default, this field is `null`.
|
14387
|
+
# @return [Types::ResourceDataSyncDestinationDataSharing]
|
14388
|
+
#
|
14358
14389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination AWS API Documentation
|
14359
14390
|
#
|
14360
14391
|
class ResourceDataSyncS3Destination < Struct.new(
|
@@ -14362,7 +14393,8 @@ module Aws::SSM
|
|
14362
14393
|
:prefix,
|
14363
14394
|
:sync_format,
|
14364
14395
|
:region,
|
14365
|
-
:awskms_key_arn
|
14396
|
+
:awskms_key_arn,
|
14397
|
+
:destination_data_sharing)
|
14366
14398
|
include Aws::Structure
|
14367
14399
|
end
|
14368
14400
|
|
@@ -17104,7 +17136,7 @@ module Aws::SSM
|
|
17104
17136
|
# },
|
17105
17137
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
17106
17138
|
# approve_after_days: 1,
|
17107
|
-
# approve_until_date: "
|
17139
|
+
# approve_until_date: "PatchStringDateTime",
|
17108
17140
|
# enable_non_security: false,
|
17109
17141
|
# },
|
17110
17142
|
# ],
|
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.73.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: 2020-03-
|
11
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.5.2.3
|
83
|
+
rubygems_version: 3.0.3
|
85
84
|
signing_key:
|
86
85
|
specification_version: 4
|
87
86
|
summary: AWS SDK for Ruby - Amazon SSM
|