aws-sdk-ssm 1.138.0 → 1.139.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +30 -7
- data/lib/aws-sdk-ssm/client_api.rb +6 -0
- data/lib/aws-sdk-ssm/errors.rb +16 -0
- data/lib/aws-sdk-ssm/types.rb +57 -14
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72a1f5983bf267fd307111601fef67009aeff3d0adf789275e786162ea646982
|
4
|
+
data.tar.gz: 2cb395c24fd4e87c0c5de6a5fe991a2c18365f077747639f425eca3f4696f9ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99571a915b05aee691c4135614f6a913c5a7a1ba26c1d38ea40d036b8061e919963d0961355cccdacd038788cc8fd904f172921b729cd5811d2bc5ff4dd6492
|
7
|
+
data.tar.gz: 99c2deb658dac52e9bee18f65ab805594e6331a40ab1a2855b05cbe76ddf69e16eec9c562fc98ab61113c34c36bb35748301a985fff13b73aadcaa49191db9fe
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.139.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -450,7 +450,7 @@ module Aws::SSM
|
|
450
450
|
# @example Request syntax with placeholder values
|
451
451
|
#
|
452
452
|
# resp = client.add_tags_to_resource({
|
453
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
453
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
454
454
|
# resource_id: "ResourceId", # required
|
455
455
|
# tags: [ # required
|
456
456
|
# {
|
@@ -898,6 +898,13 @@ module Aws::SSM
|
|
898
898
|
# A key-value mapping of document parameters to target resources. Both
|
899
899
|
# Targets and TargetMaps can't be specified together.
|
900
900
|
#
|
901
|
+
# @option params [Array<Types::Tag>] :tags
|
902
|
+
# Adds or overwrites one or more tags for a State Manager association.
|
903
|
+
# *Tags* are metadata that you can assign to your Amazon Web Services
|
904
|
+
# resources. Tags enable you to categorize your resources in different
|
905
|
+
# ways, for example, by purpose, owner, or environment. Each tag
|
906
|
+
# consists of a key and an optional value, both of which you define.
|
907
|
+
#
|
901
908
|
# @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
902
909
|
#
|
903
910
|
# * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription
|
@@ -948,6 +955,12 @@ module Aws::SSM
|
|
948
955
|
# "TargetMapKey" => ["TargetMapValue"],
|
949
956
|
# },
|
950
957
|
# ],
|
958
|
+
# tags: [
|
959
|
+
# {
|
960
|
+
# key: "TagKey", # required
|
961
|
+
# value: "TagValue", # required
|
962
|
+
# },
|
963
|
+
# ],
|
951
964
|
# })
|
952
965
|
#
|
953
966
|
# @example Response structure
|
@@ -1240,7 +1253,7 @@ module Aws::SSM
|
|
1240
1253
|
# You can't use the following strings as document name prefixes. These
|
1241
1254
|
# are reserved by Amazon Web Services for use as document name prefixes:
|
1242
1255
|
#
|
1243
|
-
# * `aws
|
1256
|
+
# * `aws`
|
1244
1257
|
#
|
1245
1258
|
# * `amazon`
|
1246
1259
|
#
|
@@ -3540,8 +3553,8 @@ module Aws::SSM
|
|
3540
3553
|
#
|
3541
3554
|
# @option params [Array<Types::InstanceInformationStringFilter>] :filters
|
3542
3555
|
# One or more filters. Use a filter to return a more specific list of
|
3543
|
-
# managed nodes. You can filter based on tags applied to
|
3544
|
-
# Use this `Filters` data type instead of
|
3556
|
+
# managed nodes. You can filter based on tags applied to your managed
|
3557
|
+
# nodes. Use this `Filters` data type instead of
|
3545
3558
|
# `InstanceInformationFilterList`, which is deprecated.
|
3546
3559
|
#
|
3547
3560
|
# @option params [Integer] :max_results
|
@@ -7946,7 +7959,7 @@ module Aws::SSM
|
|
7946
7959
|
# @example Request syntax with placeholder values
|
7947
7960
|
#
|
7948
7961
|
# resp = client.list_tags_for_resource({
|
7949
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
7962
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
7950
7963
|
# resource_id: "ResourceId", # required
|
7951
7964
|
# })
|
7952
7965
|
#
|
@@ -8960,7 +8973,7 @@ module Aws::SSM
|
|
8960
8973
|
# @example Request syntax with placeholder values
|
8961
8974
|
#
|
8962
8975
|
# resp = client.remove_tags_from_resource({
|
8963
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
8976
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
8964
8977
|
# resource_id: "ResourceId", # required
|
8965
8978
|
# tag_keys: ["TagKey"], # required
|
8966
8979
|
# })
|
@@ -9270,6 +9283,16 @@ module Aws::SSM
|
|
9270
9283
|
# use to publish Amazon Simple Notification Service (Amazon SNS)
|
9271
9284
|
# notifications for Run Command commands.
|
9272
9285
|
#
|
9286
|
+
# This role must provide the `sns:Publish` permission for your
|
9287
|
+
# notification topic. For information about creating and using this
|
9288
|
+
# service role, see [Monitoring Systems Manager status changes using
|
9289
|
+
# Amazon SNS notifications][1] in the *Amazon Web Services Systems
|
9290
|
+
# Manager User Guide*.
|
9291
|
+
#
|
9292
|
+
#
|
9293
|
+
#
|
9294
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html
|
9295
|
+
#
|
9273
9296
|
# @option params [Types::NotificationConfig] :notification_config
|
9274
9297
|
# Configurations for sending notifications.
|
9275
9298
|
#
|
@@ -11638,7 +11661,7 @@ module Aws::SSM
|
|
11638
11661
|
params: params,
|
11639
11662
|
config: config)
|
11640
11663
|
context[:gem_name] = 'aws-sdk-ssm'
|
11641
|
-
context[:gem_version] = '1.
|
11664
|
+
context[:gem_version] = '1.139.0'
|
11642
11665
|
Seahorse::Client::Request.new(handlers, context)
|
11643
11666
|
end
|
11644
11667
|
|
@@ -526,6 +526,7 @@ module Aws::SSM
|
|
526
526
|
InvalidResultAttributeException = Shapes::StructureShape.new(name: 'InvalidResultAttributeException')
|
527
527
|
InvalidRole = Shapes::StructureShape.new(name: 'InvalidRole')
|
528
528
|
InvalidSchedule = Shapes::StructureShape.new(name: 'InvalidSchedule')
|
529
|
+
InvalidTag = Shapes::StructureShape.new(name: 'InvalidTag')
|
529
530
|
InvalidTarget = Shapes::StructureShape.new(name: 'InvalidTarget')
|
530
531
|
InvalidTargetMaps = Shapes::StructureShape.new(name: 'InvalidTargetMaps')
|
531
532
|
InvalidTypeNameException = Shapes::StructureShape.new(name: 'InvalidTypeNameException')
|
@@ -1698,6 +1699,7 @@ module Aws::SSM
|
|
1698
1699
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1699
1700
|
CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true}))
|
1700
1701
|
CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true}))
|
1702
|
+
CreateAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
|
1701
1703
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1702
1704
|
|
1703
1705
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -2936,6 +2938,9 @@ module Aws::SSM
|
|
2936
2938
|
InvalidSchedule.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2937
2939
|
InvalidSchedule.struct_class = Types::InvalidSchedule
|
2938
2940
|
|
2941
|
+
InvalidTag.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2942
|
+
InvalidTag.struct_class = Types::InvalidTag
|
2943
|
+
|
2939
2944
|
InvalidTarget.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2940
2945
|
InvalidTarget.struct_class = Types::InvalidTarget
|
2941
2946
|
|
@@ -4664,6 +4669,7 @@ module Aws::SSM
|
|
4664
4669
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
|
4665
4670
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule)
|
4666
4671
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps)
|
4672
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTag)
|
4667
4673
|
end)
|
4668
4674
|
|
4669
4675
|
api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -100,6 +100,7 @@ module Aws::SSM
|
|
100
100
|
# * {InvalidResultAttributeException}
|
101
101
|
# * {InvalidRole}
|
102
102
|
# * {InvalidSchedule}
|
103
|
+
# * {InvalidTag}
|
103
104
|
# * {InvalidTarget}
|
104
105
|
# * {InvalidTargetMaps}
|
105
106
|
# * {InvalidTypeNameException}
|
@@ -1202,6 +1203,21 @@ module Aws::SSM
|
|
1202
1203
|
end
|
1203
1204
|
end
|
1204
1205
|
|
1206
|
+
class InvalidTag < ServiceError
|
1207
|
+
|
1208
|
+
# @param [Seahorse::Client::RequestContext] context
|
1209
|
+
# @param [String] message
|
1210
|
+
# @param [Aws::SSM::Types::InvalidTag] data
|
1211
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1212
|
+
super(context, message, data)
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# @return [String]
|
1216
|
+
def message
|
1217
|
+
@message || @data[:message]
|
1218
|
+
end
|
1219
|
+
end
|
1220
|
+
|
1205
1221
|
class InvalidTarget < ServiceError
|
1206
1222
|
|
1207
1223
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -101,7 +101,7 @@ module Aws::SSM
|
|
101
101
|
# data as a hash:
|
102
102
|
#
|
103
103
|
# {
|
104
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
104
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
105
105
|
# resource_id: "ResourceId", # required
|
106
106
|
# tags: [ # required
|
107
107
|
# {
|
@@ -3222,6 +3222,12 @@ module Aws::SSM
|
|
3222
3222
|
# "TargetMapKey" => ["TargetMapValue"],
|
3223
3223
|
# },
|
3224
3224
|
# ],
|
3225
|
+
# tags: [
|
3226
|
+
# {
|
3227
|
+
# key: "TagKey", # required
|
3228
|
+
# value: "TagValue", # required
|
3229
|
+
# },
|
3230
|
+
# ],
|
3225
3231
|
# }
|
3226
3232
|
#
|
3227
3233
|
# @!attribute [rw] name
|
@@ -3418,6 +3424,14 @@ module Aws::SSM
|
|
3418
3424
|
# Targets and TargetMaps can't be specified together.
|
3419
3425
|
# @return [Array<Hash<String,Array<String>>>]
|
3420
3426
|
#
|
3427
|
+
# @!attribute [rw] tags
|
3428
|
+
# Adds or overwrites one or more tags for a State Manager association.
|
3429
|
+
# *Tags* are metadata that you can assign to your Amazon Web Services
|
3430
|
+
# resources. Tags enable you to categorize your resources in different
|
3431
|
+
# ways, for example, by purpose, owner, or environment. Each tag
|
3432
|
+
# consists of a key and an optional value, both of which you define.
|
3433
|
+
# @return [Array<Types::Tag>]
|
3434
|
+
#
|
3421
3435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
3422
3436
|
#
|
3423
3437
|
class CreateAssociationRequest < Struct.new(
|
@@ -3438,7 +3452,8 @@ module Aws::SSM
|
|
3438
3452
|
:calendar_names,
|
3439
3453
|
:target_locations,
|
3440
3454
|
:schedule_offset,
|
3441
|
-
:target_maps
|
3455
|
+
:target_maps,
|
3456
|
+
:tags)
|
3442
3457
|
SENSITIVE = [:parameters]
|
3443
3458
|
include Aws::Structure
|
3444
3459
|
end
|
@@ -3534,7 +3549,7 @@ module Aws::SSM
|
|
3534
3549
|
# These are reserved by Amazon Web Services for use as document name
|
3535
3550
|
# prefixes:
|
3536
3551
|
#
|
3537
|
-
# * `aws
|
3552
|
+
# * `aws`
|
3538
3553
|
#
|
3539
3554
|
# * `amazon`
|
3540
3555
|
#
|
@@ -5726,8 +5741,8 @@ module Aws::SSM
|
|
5726
5741
|
#
|
5727
5742
|
# @!attribute [rw] filters
|
5728
5743
|
# One or more filters. Use a filter to return a more specific list of
|
5729
|
-
# managed nodes. You can filter based on tags applied to
|
5730
|
-
#
|
5744
|
+
# managed nodes. You can filter based on tags applied to your managed
|
5745
|
+
# nodes. Use this `Filters` data type instead of
|
5731
5746
|
# `InstanceInformationFilterList`, which is deprecated.
|
5732
5747
|
# @return [Array<Types::InstanceInformationStringFilter>]
|
5733
5748
|
#
|
@@ -10553,13 +10568,16 @@ module Aws::SSM
|
|
10553
10568
|
# @!attribute [rw] key
|
10554
10569
|
# The filter key name to describe your managed nodes. For example:
|
10555
10570
|
#
|
10556
|
-
# "InstanceIds"\|"AgentVersion"\|"PingStatus"\|
|
10557
|
-
#
|
10571
|
+
# "InstanceIds" \| "AgentVersion" \| "PingStatus" \|
|
10572
|
+
# "PlatformTypes" \| "ActivationIds" \| "IamRole" \|
|
10573
|
+
# "ResourceType" \| "AssociationStatus" \| "tag-key" \|
|
10574
|
+
# "tag:`\{keyname\}`
|
10558
10575
|
#
|
10559
|
-
# `Tag
|
10560
|
-
# or `tag
|
10561
|
-
# tag-key
|
10562
|
-
# examples: tag-keys
|
10576
|
+
# `Tag Key` isn't a valid filter. You must specify either `tag-key`
|
10577
|
+
# or `tag:\{keyname\}` and a string. Here are some valid examples:
|
10578
|
+
# `tag-key`, `tag:123`, `tag:al!`, `tag:Windows`. Here are some
|
10579
|
+
# *invalid* examples: `tag-keys`, `Tag Key`, `tag:`, `tagKey`,
|
10580
|
+
# `abc:keyname`.
|
10563
10581
|
# @return [String]
|
10564
10582
|
#
|
10565
10583
|
# @!attribute [rw] values
|
@@ -11421,6 +11439,19 @@ module Aws::SSM
|
|
11421
11439
|
include Aws::Structure
|
11422
11440
|
end
|
11423
11441
|
|
11442
|
+
# The specified tag key or value is not valid.
|
11443
|
+
#
|
11444
|
+
# @!attribute [rw] message
|
11445
|
+
# @return [String]
|
11446
|
+
#
|
11447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidTag AWS API Documentation
|
11448
|
+
#
|
11449
|
+
class InvalidTag < Struct.new(
|
11450
|
+
:message)
|
11451
|
+
SENSITIVE = []
|
11452
|
+
include Aws::Structure
|
11453
|
+
end
|
11454
|
+
|
11424
11455
|
# The target isn't valid or doesn't exist. It might not be configured
|
11425
11456
|
# for Systems Manager or you might not have permission to perform the
|
11426
11457
|
# operation.
|
@@ -13031,7 +13062,7 @@ module Aws::SSM
|
|
13031
13062
|
# data as a hash:
|
13032
13063
|
#
|
13033
13064
|
# {
|
13034
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
13065
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
13035
13066
|
# resource_id: "ResourceId", # required
|
13036
13067
|
# }
|
13037
13068
|
#
|
@@ -17285,7 +17316,7 @@ module Aws::SSM
|
|
17285
17316
|
# data as a hash:
|
17286
17317
|
#
|
17287
17318
|
# {
|
17288
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation
|
17319
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata, Automation, Association
|
17289
17320
|
# resource_id: "ResourceId", # required
|
17290
17321
|
# tag_keys: ["TagKey"], # required
|
17291
17322
|
# }
|
@@ -18466,6 +18497,16 @@ module Aws::SSM
|
|
18466
18497
|
# The ARN of the Identity and Access Management (IAM) service role to
|
18467
18498
|
# use to publish Amazon Simple Notification Service (Amazon SNS)
|
18468
18499
|
# notifications for Run Command commands.
|
18500
|
+
#
|
18501
|
+
# This role must provide the `sns:Publish` permission for your
|
18502
|
+
# notification topic. For information about creating and using this
|
18503
|
+
# service role, see [Monitoring Systems Manager status changes using
|
18504
|
+
# Amazon SNS notifications][1] in the *Amazon Web Services Systems
|
18505
|
+
# Manager User Guide*.
|
18506
|
+
#
|
18507
|
+
#
|
18508
|
+
#
|
18509
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html
|
18469
18510
|
# @return [String]
|
18470
18511
|
#
|
18471
18512
|
# @!attribute [rw] notification_config
|
@@ -19231,7 +19272,9 @@ module Aws::SSM
|
|
19231
19272
|
#
|
19232
19273
|
# @!attribute [rw] token_value
|
19233
19274
|
# An encrypted token value containing session and caller information.
|
19234
|
-
#
|
19275
|
+
# This token is used to authenticate the connection to the managed
|
19276
|
+
# node, and is valid only long enough to ensure the connection is
|
19277
|
+
# successful. Never share your session's token.
|
19235
19278
|
# @return [String]
|
19236
19279
|
#
|
19237
19280
|
# @!attribute [rw] stream_url
|
data/lib/aws-sdk-ssm.rb
CHANGED
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.139.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: 2022-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|