aws-sdk-ssm 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +133 -2
- data/lib/aws-sdk-ssm/client_api.rb +6 -0
- data/lib/aws-sdk-ssm/types.rb +157 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2889468b0223a4469c8061b4581e1148c18e1a14
|
4
|
+
data.tar.gz: 5fbc426212269cb65b8de26f8ae01ef9da769f14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e6668538594fd5531a5d48736a210167d4ed8e58ada26771753ae801fa4006a6dcd7e79328c264ffd91e5e89f56c91bf19a58872e21b67da181d9d5aab25bbd
|
7
|
+
data.tar.gz: 4d7c02c5bb3f438bdb4a7b446275b4c486fdf798ec1e2e58d8f9c1e087daa5098d78abce568ab1bd1a12a77622c0deaac587d8ce96ea213ebb1a6dac9fabb4da
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -399,6 +399,32 @@ module Aws::SSM
|
|
399
399
|
# The date by which this activation request should expire. The default
|
400
400
|
# value is 24 hours.
|
401
401
|
#
|
402
|
+
# @option params [Array<Types::Tag>] :tags
|
403
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
404
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
405
|
+
# environment. For example, you might want to tag an activation to
|
406
|
+
# identify which servers or virtual machines (VMs) in your on-premises
|
407
|
+
# environment you intend to activate. In this case, you could specify
|
408
|
+
# the following key name/value pairs:
|
409
|
+
#
|
410
|
+
# * `Key=OS,Value=Windows`
|
411
|
+
#
|
412
|
+
# * `Key=Environment,Value=Production`
|
413
|
+
#
|
414
|
+
# When you install SSM Agent on your on-premises servers and VMs, you
|
415
|
+
# specify an activation ID and code. When you specify the activation ID
|
416
|
+
# and code, tags assigned to the activation are automatically applied to
|
417
|
+
# the on-premises servers or VMs.
|
418
|
+
#
|
419
|
+
# You can't add tags to or delete tags from an existing activation. You
|
420
|
+
# can tag your on-premises servers and VMs after they connect to Systems
|
421
|
+
# Manager for the first time and are assigned a managed instance ID.
|
422
|
+
# This means they are listed in the AWS Systems Manager console with an
|
423
|
+
# ID that is prefixed with "mi-". For information about how to add
|
424
|
+
# tags to your managed instances, see AddTagsToResource. For information
|
425
|
+
# about how to remove tags from your managed instances, see
|
426
|
+
# RemoveTagsFromResource.
|
427
|
+
#
|
402
428
|
# @return [Types::CreateActivationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
403
429
|
#
|
404
430
|
# * {Types::CreateActivationResult#activation_id #activation_id} => String
|
@@ -412,6 +438,12 @@ module Aws::SSM
|
|
412
438
|
# iam_role: "IamRole", # required
|
413
439
|
# registration_limit: 1,
|
414
440
|
# expiration_date: Time.now,
|
441
|
+
# tags: [
|
442
|
+
# {
|
443
|
+
# key: "TagKey", # required
|
444
|
+
# value: "TagValue", # required
|
445
|
+
# },
|
446
|
+
# ],
|
415
447
|
# })
|
416
448
|
#
|
417
449
|
# @example Response structure
|
@@ -754,6 +786,22 @@ module Aws::SSM
|
|
754
786
|
#
|
755
787
|
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
|
756
788
|
#
|
789
|
+
# @option params [Array<Types::Tag>] :tags
|
790
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
791
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
792
|
+
# environment. For example, you might want to tag an SSM document to
|
793
|
+
# identify the types of targets or the environment where it will run. In
|
794
|
+
# this case, you could specify the following key name/value pairs:
|
795
|
+
#
|
796
|
+
# * `Key=OS,Value=Windows`
|
797
|
+
#
|
798
|
+
# * `Key=Environment,Value=Production`
|
799
|
+
#
|
800
|
+
# <note markdown="1"> To add tags to an existing SSM document, use the AddTagsToResource
|
801
|
+
# action.
|
802
|
+
#
|
803
|
+
# </note>
|
804
|
+
#
|
757
805
|
# @return [Types::CreateDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
758
806
|
#
|
759
807
|
# * {Types::CreateDocumentResult#document_description #document_description} => Types::DocumentDescription
|
@@ -773,6 +821,12 @@ module Aws::SSM
|
|
773
821
|
# document_type: "Command", # accepts Command, Policy, Automation, Session, Package
|
774
822
|
# document_format: "YAML", # accepts YAML, JSON
|
775
823
|
# target_type: "TargetType",
|
824
|
+
# tags: [
|
825
|
+
# {
|
826
|
+
# key: "TagKey", # required
|
827
|
+
# value: "TagValue", # required
|
828
|
+
# },
|
829
|
+
# ],
|
776
830
|
# })
|
777
831
|
#
|
778
832
|
# @example Response structure
|
@@ -874,6 +928,25 @@ module Aws::SSM
|
|
874
928
|
# **A suitable default value is auto-generated.** You should normally
|
875
929
|
# not need to pass this option.**
|
876
930
|
#
|
931
|
+
# @option params [Array<Types::Tag>] :tags
|
932
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
933
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
934
|
+
# environment. For example, you might want to tag a Maintenance Window
|
935
|
+
# to identify the type of tasks it will run, the types of targets, and
|
936
|
+
# the environment it will run in. In this case, you could specify the
|
937
|
+
# following key name/value pairs:
|
938
|
+
#
|
939
|
+
# * `Key=TaskType,Value=AgentUpdate`
|
940
|
+
#
|
941
|
+
# * `Key=OS,Value=Windows`
|
942
|
+
#
|
943
|
+
# * `Key=Environment,Value=Production`
|
944
|
+
#
|
945
|
+
# <note markdown="1"> To add tags to an existing Maintenance Window, use the
|
946
|
+
# AddTagsToResource action.
|
947
|
+
#
|
948
|
+
# </note>
|
949
|
+
#
|
877
950
|
# @return [Types::CreateMaintenanceWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
878
951
|
#
|
879
952
|
# * {Types::CreateMaintenanceWindowResult#window_id #window_id} => String
|
@@ -891,6 +964,12 @@ module Aws::SSM
|
|
891
964
|
# cutoff: 1, # required
|
892
965
|
# allow_unassociated_targets: false, # required
|
893
966
|
# client_token: "ClientToken",
|
967
|
+
# tags: [
|
968
|
+
# {
|
969
|
+
# key: "TagKey", # required
|
970
|
+
# value: "TagValue", # required
|
971
|
+
# },
|
972
|
+
# ],
|
894
973
|
# })
|
895
974
|
#
|
896
975
|
# @example Response structure
|
@@ -992,6 +1071,23 @@ module Aws::SSM
|
|
992
1071
|
# **A suitable default value is auto-generated.** You should normally
|
993
1072
|
# not need to pass this option.**
|
994
1073
|
#
|
1074
|
+
# @option params [Array<Types::Tag>] :tags
|
1075
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
1076
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
1077
|
+
# environment. For example, you might want to tag a patch baseline to
|
1078
|
+
# identify the severity level of patches it specifies and the operating
|
1079
|
+
# system family it applies to. In this case, you could specify the
|
1080
|
+
# following key name/value pairs:
|
1081
|
+
#
|
1082
|
+
# * `Key=PatchSeverity,Value=Critical`
|
1083
|
+
#
|
1084
|
+
# * `Key=OS,Value=Windows`
|
1085
|
+
#
|
1086
|
+
# <note markdown="1"> To add tags to an existing patch baseline, use the AddTagsToResource
|
1087
|
+
# action.
|
1088
|
+
#
|
1089
|
+
# </note>
|
1090
|
+
#
|
995
1091
|
# @return [Types::CreatePatchBaselineResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
996
1092
|
#
|
997
1093
|
# * {Types::CreatePatchBaselineResult#baseline_id #baseline_id} => String
|
@@ -1040,6 +1136,12 @@ module Aws::SSM
|
|
1040
1136
|
# },
|
1041
1137
|
# ],
|
1042
1138
|
# client_token: "ClientToken",
|
1139
|
+
# tags: [
|
1140
|
+
# {
|
1141
|
+
# key: "TagKey", # required
|
1142
|
+
# value: "TagValue", # required
|
1143
|
+
# },
|
1144
|
+
# ],
|
1043
1145
|
# })
|
1044
1146
|
#
|
1045
1147
|
# @example Response structure
|
@@ -1581,6 +1683,9 @@ module Aws::SSM
|
|
1581
1683
|
# resp.activation_list[0].expiration_date #=> Time
|
1582
1684
|
# resp.activation_list[0].expired #=> Boolean
|
1583
1685
|
# resp.activation_list[0].created_date #=> Time
|
1686
|
+
# resp.activation_list[0].tags #=> Array
|
1687
|
+
# resp.activation_list[0].tags[0].key #=> String
|
1688
|
+
# resp.activation_list[0].tags[0].value #=> String
|
1584
1689
|
# resp.next_token #=> String
|
1585
1690
|
#
|
1586
1691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations AWS API Documentation
|
@@ -1612,7 +1717,7 @@ module Aws::SSM
|
|
1612
1717
|
# Specify the association version to retrieve. To view the latest
|
1613
1718
|
# version, either specify `$LATEST` for this parameter, or omit this
|
1614
1719
|
# parameter. To view a list of all associations for an instance, use
|
1615
|
-
#
|
1720
|
+
# ListAssociations. To get a list of versions for a specific
|
1616
1721
|
# association, use ListAssociationVersions.
|
1617
1722
|
#
|
1618
1723
|
# @return [Types::DescribeAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5779,6 +5884,26 @@ module Aws::SSM
|
|
5779
5884
|
# example, for String types with values restricted to numbers, you can
|
5780
5885
|
# specify the following: AllowedPattern=^\\d+$
|
5781
5886
|
#
|
5887
|
+
# @option params [Array<Types::Tag>] :tags
|
5888
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
5889
|
+
# categorize a resource in different ways, such as by purpose, owner, or
|
5890
|
+
# environment. For example, you might want to tag a Systems Manager
|
5891
|
+
# parameter to identify the type of resource to which it applies, the
|
5892
|
+
# environment, or the type of configuration data referenced by the
|
5893
|
+
# parameter. In this case, you could specify the following key
|
5894
|
+
# name/value pairs:
|
5895
|
+
#
|
5896
|
+
# * `Key=Resource,Value=S3bucket`
|
5897
|
+
#
|
5898
|
+
# * `Key=OS,Value=Windows`
|
5899
|
+
#
|
5900
|
+
# * `Key=ParameterType,Value=LicenseKey`
|
5901
|
+
#
|
5902
|
+
# <note markdown="1"> To add tags to an existing Systems Manager parameter, use the
|
5903
|
+
# AddTagsToResource action.
|
5904
|
+
#
|
5905
|
+
# </note>
|
5906
|
+
#
|
5782
5907
|
# @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5783
5908
|
#
|
5784
5909
|
# * {Types::PutParameterResult#version #version} => Integer
|
@@ -5793,6 +5918,12 @@ module Aws::SSM
|
|
5793
5918
|
# key_id: "ParameterKeyId",
|
5794
5919
|
# overwrite: false,
|
5795
5920
|
# allowed_pattern: "AllowedPattern",
|
5921
|
+
# tags: [
|
5922
|
+
# {
|
5923
|
+
# key: "TagKey", # required
|
5924
|
+
# value: "TagValue", # required
|
5925
|
+
# },
|
5926
|
+
# ],
|
5796
5927
|
# })
|
5797
5928
|
#
|
5798
5929
|
# @example Response structure
|
@@ -7745,7 +7876,7 @@ module Aws::SSM
|
|
7745
7876
|
params: params,
|
7746
7877
|
config: config)
|
7747
7878
|
context[:gem_name] = 'aws-sdk-ssm'
|
7748
|
-
context[:gem_version] = '1.
|
7879
|
+
context[:gem_version] = '1.36.0'
|
7749
7880
|
Seahorse::Client::Request.new(handlers, context)
|
7750
7881
|
end
|
7751
7882
|
|
@@ -919,6 +919,7 @@ module Aws::SSM
|
|
919
919
|
Activation.add_member(:expiration_date, Shapes::ShapeRef.new(shape: ExpirationDate, location_name: "ExpirationDate"))
|
920
920
|
Activation.add_member(:expired, Shapes::ShapeRef.new(shape: Boolean, location_name: "Expired"))
|
921
921
|
Activation.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDate, location_name: "CreatedDate"))
|
922
|
+
Activation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
922
923
|
Activation.struct_class = Types::Activation
|
923
924
|
|
924
925
|
ActivationList.member = Shapes::ShapeRef.new(shape: Activation)
|
@@ -1277,6 +1278,7 @@ module Aws::SSM
|
|
1277
1278
|
CreateActivationRequest.add_member(:iam_role, Shapes::ShapeRef.new(shape: IamRole, required: true, location_name: "IamRole"))
|
1278
1279
|
CreateActivationRequest.add_member(:registration_limit, Shapes::ShapeRef.new(shape: RegistrationLimit, location_name: "RegistrationLimit", metadata: {"box"=>true}))
|
1279
1280
|
CreateActivationRequest.add_member(:expiration_date, Shapes::ShapeRef.new(shape: ExpirationDate, location_name: "ExpirationDate"))
|
1281
|
+
CreateActivationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1280
1282
|
CreateActivationRequest.struct_class = Types::CreateActivationRequest
|
1281
1283
|
|
1282
1284
|
CreateActivationResult.add_member(:activation_id, Shapes::ShapeRef.new(shape: ActivationId, location_name: "ActivationId"))
|
@@ -1330,6 +1332,7 @@ module Aws::SSM
|
|
1330
1332
|
CreateDocumentRequest.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
|
1331
1333
|
CreateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
|
1332
1334
|
CreateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
|
1335
|
+
CreateDocumentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1333
1336
|
CreateDocumentRequest.struct_class = Types::CreateDocumentRequest
|
1334
1337
|
|
1335
1338
|
CreateDocumentResult.add_member(:document_description, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "DocumentDescription"))
|
@@ -1345,6 +1348,7 @@ module Aws::SSM
|
|
1345
1348
|
CreateMaintenanceWindowRequest.add_member(:cutoff, Shapes::ShapeRef.new(shape: MaintenanceWindowCutoff, required: true, location_name: "Cutoff"))
|
1346
1349
|
CreateMaintenanceWindowRequest.add_member(:allow_unassociated_targets, Shapes::ShapeRef.new(shape: MaintenanceWindowAllowUnassociatedTargets, required: true, location_name: "AllowUnassociatedTargets"))
|
1347
1350
|
CreateMaintenanceWindowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1351
|
+
CreateMaintenanceWindowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1348
1352
|
CreateMaintenanceWindowRequest.struct_class = Types::CreateMaintenanceWindowRequest
|
1349
1353
|
|
1350
1354
|
CreateMaintenanceWindowResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
|
@@ -1362,6 +1366,7 @@ module Aws::SSM
|
|
1362
1366
|
CreatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
1363
1367
|
CreatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
1364
1368
|
CreatePatchBaselineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1369
|
+
CreatePatchBaselineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1365
1370
|
CreatePatchBaselineRequest.struct_class = Types::CreatePatchBaselineRequest
|
1366
1371
|
|
1367
1372
|
CreatePatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
|
@@ -2780,6 +2785,7 @@ module Aws::SSM
|
|
2780
2785
|
PutParameterRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
|
2781
2786
|
PutParameterRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite", metadata: {"box"=>true}))
|
2782
2787
|
PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
2788
|
+
PutParameterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2783
2789
|
PutParameterRequest.struct_class = Types::PutParameterRequest
|
2784
2790
|
|
2785
2791
|
PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -53,6 +53,10 @@ module Aws::SSM
|
|
53
53
|
# The date the activation was created.
|
54
54
|
# @return [Time]
|
55
55
|
#
|
56
|
+
# @!attribute [rw] tags
|
57
|
+
# Tags assigned to the activation.
|
58
|
+
# @return [Array<Types::Tag>]
|
59
|
+
#
|
56
60
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Activation AWS API Documentation
|
57
61
|
#
|
58
62
|
class Activation < Struct.new(
|
@@ -64,7 +68,8 @@ module Aws::SSM
|
|
64
68
|
:registrations_count,
|
65
69
|
:expiration_date,
|
66
70
|
:expired,
|
67
|
-
:created_date
|
71
|
+
:created_date,
|
72
|
+
:tags)
|
68
73
|
include Aws::Structure
|
69
74
|
end
|
70
75
|
|
@@ -1985,6 +1990,12 @@ module Aws::SSM
|
|
1985
1990
|
# iam_role: "IamRole", # required
|
1986
1991
|
# registration_limit: 1,
|
1987
1992
|
# expiration_date: Time.now,
|
1993
|
+
# tags: [
|
1994
|
+
# {
|
1995
|
+
# key: "TagKey", # required
|
1996
|
+
# value: "TagValue", # required
|
1997
|
+
# },
|
1998
|
+
# ],
|
1988
1999
|
# }
|
1989
2000
|
#
|
1990
2001
|
# @!attribute [rw] description
|
@@ -2017,6 +2028,33 @@ module Aws::SSM
|
|
2017
2028
|
# value is 24 hours.
|
2018
2029
|
# @return [Time]
|
2019
2030
|
#
|
2031
|
+
# @!attribute [rw] tags
|
2032
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
2033
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
2034
|
+
# or environment. For example, you might want to tag an activation to
|
2035
|
+
# identify which servers or virtual machines (VMs) in your on-premises
|
2036
|
+
# environment you intend to activate. In this case, you could specify
|
2037
|
+
# the following key name/value pairs:
|
2038
|
+
#
|
2039
|
+
# * `Key=OS,Value=Windows`
|
2040
|
+
#
|
2041
|
+
# * `Key=Environment,Value=Production`
|
2042
|
+
#
|
2043
|
+
# When you install SSM Agent on your on-premises servers and VMs, you
|
2044
|
+
# specify an activation ID and code. When you specify the activation
|
2045
|
+
# ID and code, tags assigned to the activation are automatically
|
2046
|
+
# applied to the on-premises servers or VMs.
|
2047
|
+
#
|
2048
|
+
# You can't add tags to or delete tags from an existing activation.
|
2049
|
+
# You can tag your on-premises servers and VMs after they connect to
|
2050
|
+
# Systems Manager for the first time and are assigned a managed
|
2051
|
+
# instance ID. This means they are listed in the AWS Systems Manager
|
2052
|
+
# console with an ID that is prefixed with "mi-". For information
|
2053
|
+
# about how to add tags to your managed instances, see
|
2054
|
+
# AddTagsToResource. For information about how to remove tags from
|
2055
|
+
# your managed instances, see RemoveTagsFromResource.
|
2056
|
+
# @return [Array<Types::Tag>]
|
2057
|
+
#
|
2020
2058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationRequest AWS API Documentation
|
2021
2059
|
#
|
2022
2060
|
class CreateActivationRequest < Struct.new(
|
@@ -2024,7 +2062,8 @@ module Aws::SSM
|
|
2024
2062
|
:default_instance_name,
|
2025
2063
|
:iam_role,
|
2026
2064
|
:registration_limit,
|
2027
|
-
:expiration_date
|
2065
|
+
:expiration_date,
|
2066
|
+
:tags)
|
2028
2067
|
include Aws::Structure
|
2029
2068
|
end
|
2030
2069
|
|
@@ -2388,6 +2427,12 @@ module Aws::SSM
|
|
2388
2427
|
# document_type: "Command", # accepts Command, Policy, Automation, Session, Package
|
2389
2428
|
# document_format: "YAML", # accepts YAML, JSON
|
2390
2429
|
# target_type: "TargetType",
|
2430
|
+
# tags: [
|
2431
|
+
# {
|
2432
|
+
# key: "TagKey", # required
|
2433
|
+
# value: "TagValue", # required
|
2434
|
+
# },
|
2435
|
+
# ],
|
2391
2436
|
# }
|
2392
2437
|
#
|
2393
2438
|
# @!attribute [rw] content
|
@@ -2443,6 +2488,24 @@ module Aws::SSM
|
|
2443
2488
|
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
|
2444
2489
|
# @return [String]
|
2445
2490
|
#
|
2491
|
+
# @!attribute [rw] tags
|
2492
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
2493
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
2494
|
+
# or environment. For example, you might want to tag an SSM document
|
2495
|
+
# to identify the types of targets or the environment where it will
|
2496
|
+
# run. In this case, you could specify the following key name/value
|
2497
|
+
# pairs:
|
2498
|
+
#
|
2499
|
+
# * `Key=OS,Value=Windows`
|
2500
|
+
#
|
2501
|
+
# * `Key=Environment,Value=Production`
|
2502
|
+
#
|
2503
|
+
# <note markdown="1"> To add tags to an existing SSM document, use the AddTagsToResource
|
2504
|
+
# action.
|
2505
|
+
#
|
2506
|
+
# </note>
|
2507
|
+
# @return [Array<Types::Tag>]
|
2508
|
+
#
|
2446
2509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentRequest AWS API Documentation
|
2447
2510
|
#
|
2448
2511
|
class CreateDocumentRequest < Struct.new(
|
@@ -2452,7 +2515,8 @@ module Aws::SSM
|
|
2452
2515
|
:version_name,
|
2453
2516
|
:document_type,
|
2454
2517
|
:document_format,
|
2455
|
-
:target_type
|
2518
|
+
:target_type,
|
2519
|
+
:tags)
|
2456
2520
|
include Aws::Structure
|
2457
2521
|
end
|
2458
2522
|
|
@@ -2481,6 +2545,12 @@ module Aws::SSM
|
|
2481
2545
|
# cutoff: 1, # required
|
2482
2546
|
# allow_unassociated_targets: false, # required
|
2483
2547
|
# client_token: "ClientToken",
|
2548
|
+
# tags: [
|
2549
|
+
# {
|
2550
|
+
# key: "TagKey", # required
|
2551
|
+
# value: "TagValue", # required
|
2552
|
+
# },
|
2553
|
+
# ],
|
2484
2554
|
# }
|
2485
2555
|
#
|
2486
2556
|
# @!attribute [rw] name
|
@@ -2551,6 +2621,26 @@ module Aws::SSM
|
|
2551
2621
|
# not need to pass this option.
|
2552
2622
|
# @return [String]
|
2553
2623
|
#
|
2624
|
+
# @!attribute [rw] tags
|
2625
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
2626
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
2627
|
+
# or environment. For example, you might want to tag a Maintenance
|
2628
|
+
# Window to identify the type of tasks it will run, the types of
|
2629
|
+
# targets, and the environment it will run in. In this case, you could
|
2630
|
+
# specify the following key name/value pairs:
|
2631
|
+
#
|
2632
|
+
# * `Key=TaskType,Value=AgentUpdate`
|
2633
|
+
#
|
2634
|
+
# * `Key=OS,Value=Windows`
|
2635
|
+
#
|
2636
|
+
# * `Key=Environment,Value=Production`
|
2637
|
+
#
|
2638
|
+
# <note markdown="1"> To add tags to an existing Maintenance Window, use the
|
2639
|
+
# AddTagsToResource action.
|
2640
|
+
#
|
2641
|
+
# </note>
|
2642
|
+
# @return [Array<Types::Tag>]
|
2643
|
+
#
|
2554
2644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowRequest AWS API Documentation
|
2555
2645
|
#
|
2556
2646
|
class CreateMaintenanceWindowRequest < Struct.new(
|
@@ -2563,7 +2653,8 @@ module Aws::SSM
|
|
2563
2653
|
:duration,
|
2564
2654
|
:cutoff,
|
2565
2655
|
:allow_unassociated_targets,
|
2566
|
-
:client_token
|
2656
|
+
:client_token,
|
2657
|
+
:tags)
|
2567
2658
|
include Aws::Structure
|
2568
2659
|
end
|
2569
2660
|
|
@@ -2623,6 +2714,12 @@ module Aws::SSM
|
|
2623
2714
|
# },
|
2624
2715
|
# ],
|
2625
2716
|
# client_token: "ClientToken",
|
2717
|
+
# tags: [
|
2718
|
+
# {
|
2719
|
+
# key: "TagKey", # required
|
2720
|
+
# value: "TagValue", # required
|
2721
|
+
# },
|
2722
|
+
# ],
|
2626
2723
|
# }
|
2627
2724
|
#
|
2628
2725
|
# @!attribute [rw] operating_system
|
@@ -2712,6 +2809,24 @@ module Aws::SSM
|
|
2712
2809
|
# not need to pass this option.
|
2713
2810
|
# @return [String]
|
2714
2811
|
#
|
2812
|
+
# @!attribute [rw] tags
|
2813
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
2814
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
2815
|
+
# or environment. For example, you might want to tag a patch baseline
|
2816
|
+
# to identify the severity level of patches it specifies and the
|
2817
|
+
# operating system family it applies to. In this case, you could
|
2818
|
+
# specify the following key name/value pairs:
|
2819
|
+
#
|
2820
|
+
# * `Key=PatchSeverity,Value=Critical`
|
2821
|
+
#
|
2822
|
+
# * `Key=OS,Value=Windows`
|
2823
|
+
#
|
2824
|
+
# <note markdown="1"> To add tags to an existing patch baseline, use the AddTagsToResource
|
2825
|
+
# action.
|
2826
|
+
#
|
2827
|
+
# </note>
|
2828
|
+
# @return [Array<Types::Tag>]
|
2829
|
+
#
|
2715
2830
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineRequest AWS API Documentation
|
2716
2831
|
#
|
2717
2832
|
class CreatePatchBaselineRequest < Struct.new(
|
@@ -2726,7 +2841,8 @@ module Aws::SSM
|
|
2726
2841
|
:rejected_patches_action,
|
2727
2842
|
:description,
|
2728
2843
|
:sources,
|
2729
|
-
:client_token
|
2844
|
+
:client_token,
|
2845
|
+
:tags)
|
2730
2846
|
include Aws::Structure
|
2731
2847
|
end
|
2732
2848
|
|
@@ -3479,7 +3595,7 @@ module Aws::SSM
|
|
3479
3595
|
# Specify the association version to retrieve. To view the latest
|
3480
3596
|
# version, either specify `$LATEST` for this parameter, or omit this
|
3481
3597
|
# parameter. To view a list of all associations for an instance, use
|
3482
|
-
#
|
3598
|
+
# ListAssociations. To get a list of versions for a specific
|
3483
3599
|
# association, use ListAssociationVersions.
|
3484
3600
|
# @return [String]
|
3485
3601
|
#
|
@@ -10139,6 +10255,8 @@ module Aws::SSM
|
|
10139
10255
|
#
|
10140
10256
|
# * `WindowsServer2016`
|
10141
10257
|
#
|
10258
|
+
# * `WindowsServer2019`
|
10259
|
+
#
|
10142
10260
|
# * `*`
|
10143
10261
|
#
|
10144
10262
|
# *Use a wildcard character (*) to target all supported operating
|
@@ -10360,6 +10478,10 @@ module Aws::SSM
|
|
10360
10478
|
#
|
10361
10479
|
# * `RedhatEnterpriseLinux7.4`
|
10362
10480
|
#
|
10481
|
+
# * `RedhatEnterpriseLinux7.5`
|
10482
|
+
#
|
10483
|
+
# * `RedhatEnterpriseLinux7.6`
|
10484
|
+
#
|
10363
10485
|
# * `*`
|
10364
10486
|
#
|
10365
10487
|
# *Use a wildcard character (*) to target all supported operating
|
@@ -10951,6 +11073,12 @@ module Aws::SSM
|
|
10951
11073
|
# key_id: "ParameterKeyId",
|
10952
11074
|
# overwrite: false,
|
10953
11075
|
# allowed_pattern: "AllowedPattern",
|
11076
|
+
# tags: [
|
11077
|
+
# {
|
11078
|
+
# key: "TagKey", # required
|
11079
|
+
# value: "TagValue", # required
|
11080
|
+
# },
|
11081
|
+
# ],
|
10954
11082
|
# }
|
10955
11083
|
#
|
10956
11084
|
# @!attribute [rw] name
|
@@ -11046,6 +11174,27 @@ module Aws::SSM
|
|
11046
11174
|
# specify the following: AllowedPattern=^\\d+$
|
11047
11175
|
# @return [String]
|
11048
11176
|
#
|
11177
|
+
# @!attribute [rw] tags
|
11178
|
+
# Optional metadata that you assign to a resource. Tags enable you to
|
11179
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
11180
|
+
# or environment. For example, you might want to tag a Systems Manager
|
11181
|
+
# parameter to identify the type of resource to which it applies, the
|
11182
|
+
# environment, or the type of configuration data referenced by the
|
11183
|
+
# parameter. In this case, you could specify the following key
|
11184
|
+
# name/value pairs:
|
11185
|
+
#
|
11186
|
+
# * `Key=Resource,Value=S3bucket`
|
11187
|
+
#
|
11188
|
+
# * `Key=OS,Value=Windows`
|
11189
|
+
#
|
11190
|
+
# * `Key=ParameterType,Value=LicenseKey`
|
11191
|
+
#
|
11192
|
+
# <note markdown="1"> To add tags to an existing Systems Manager parameter, use the
|
11193
|
+
# AddTagsToResource action.
|
11194
|
+
#
|
11195
|
+
# </note>
|
11196
|
+
# @return [Array<Types::Tag>]
|
11197
|
+
#
|
11049
11198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
11050
11199
|
#
|
11051
11200
|
class PutParameterRequest < Struct.new(
|
@@ -11055,7 +11204,8 @@ module Aws::SSM
|
|
11055
11204
|
:type,
|
11056
11205
|
:key_id,
|
11057
11206
|
:overwrite,
|
11058
|
-
:allowed_pattern
|
11207
|
+
:allowed_pattern,
|
11208
|
+
:tags)
|
11059
11209
|
include Aws::Structure
|
11060
11210
|
end
|
11061
11211
|
|
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.36.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: 2019-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|