aws-sdk-ssm 1.236.0 → 1.237.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +42 -5
- data/lib/aws-sdk-ssm/client_api.rb +9 -0
- data/lib/aws-sdk-ssm/types.rb +95 -14
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c390772eec66775d3732a3db3484d4245d0ff810b786880eee4b2bf3d4707153
|
|
4
|
+
data.tar.gz: 05331c754de5c141012355ee7c5cf23fa7d9161452db1c1f1c30469ce33766be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 309fcb0d615a359b196d3aac9f6ea226ce12d951533ef3af4e6ec20592a9d27c755ce3d3284b069ac47030001f3862aa43307c53f118b00fdbae7f22f08c2646
|
|
7
|
+
data.tar.gz: b91aaa13452c7e1b21ddc2f7d56f7546da1831dd573bffa11a855a959cebcfe75322f1612a8ee911512821e9b526b9452439bfaafa038407a9ad8ce7e8cf80e0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.237.0 (2026-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds a CloudProviders field to SSM documents. Specify the cloud providers (AWS, Azure, GCP) a document can run on in CreateDocument and UpdateDocument, view it in DescribeDocument, ListDocuments and ListDocumentVersions, and filter ListDocuments by cloud provider.
|
|
8
|
+
|
|
4
9
|
1.236.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.237.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
|
@@ -1734,6 +1734,18 @@ module Aws::SSM
|
|
|
1734
1734
|
#
|
|
1735
1735
|
# </note>
|
|
1736
1736
|
#
|
|
1737
|
+
# @option params [Array<String>] :cloud_providers
|
|
1738
|
+
# The cloud providers that the document can run against. Valid values
|
|
1739
|
+
# include the following:
|
|
1740
|
+
#
|
|
1741
|
+
# * `AWS` - The document runs against Amazon Web Services resources.
|
|
1742
|
+
#
|
|
1743
|
+
# * `Azure` - The document runs against Microsoft Azure resources.
|
|
1744
|
+
#
|
|
1745
|
+
# * `GCP` - The document runs against Google Cloud resources.
|
|
1746
|
+
#
|
|
1747
|
+
# If you don't specify a value, the default is `AWS`.
|
|
1748
|
+
#
|
|
1737
1749
|
# @return [Types::CreateDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1738
1750
|
#
|
|
1739
1751
|
# * {Types::CreateDocumentResult#document_description #document_description} => Types::DocumentDescription
|
|
@@ -1769,6 +1781,7 @@ module Aws::SSM
|
|
|
1769
1781
|
# value: "TagValue", # required
|
|
1770
1782
|
# },
|
|
1771
1783
|
# ],
|
|
1784
|
+
# cloud_providers: ["AWS"], # accepts AWS, Azure, GCP
|
|
1772
1785
|
# })
|
|
1773
1786
|
#
|
|
1774
1787
|
# @example Response structure
|
|
@@ -1820,6 +1833,8 @@ module Aws::SSM
|
|
|
1820
1833
|
# resp.document_description.category[0] #=> String
|
|
1821
1834
|
# resp.document_description.category_enum #=> Array
|
|
1822
1835
|
# resp.document_description.category_enum[0] #=> String
|
|
1836
|
+
# resp.document_description.cloud_providers #=> Array
|
|
1837
|
+
# resp.document_description.cloud_providers[0] #=> String, one of "AWS", "Azure", "GCP"
|
|
1823
1838
|
#
|
|
1824
1839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
|
|
1825
1840
|
#
|
|
@@ -4090,6 +4105,8 @@ module Aws::SSM
|
|
|
4090
4105
|
# resp.document.category[0] #=> String
|
|
4091
4106
|
# resp.document.category_enum #=> Array
|
|
4092
4107
|
# resp.document.category_enum[0] #=> String
|
|
4108
|
+
# resp.document.cloud_providers #=> Array
|
|
4109
|
+
# resp.document.cloud_providers[0] #=> String, one of "AWS", "Azure", "GCP"
|
|
4093
4110
|
#
|
|
4094
4111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
|
|
4095
4112
|
#
|
|
@@ -8939,6 +8956,8 @@ module Aws::SSM
|
|
|
8939
8956
|
# resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
|
|
8940
8957
|
# resp.document_versions[0].status_information #=> String
|
|
8941
8958
|
# resp.document_versions[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
|
8959
|
+
# resp.document_versions[0].cloud_providers #=> Array
|
|
8960
|
+
# resp.document_versions[0].cloud_providers[0] #=> String, one of "AWS", "Azure", "GCP"
|
|
8942
8961
|
# resp.next_token #=> String
|
|
8943
8962
|
#
|
|
8944
8963
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
|
|
@@ -8961,10 +8980,10 @@ module Aws::SSM
|
|
|
8961
8980
|
# One or more `DocumentKeyValuesFilter` objects. Use a filter to return
|
|
8962
8981
|
# a more specific list of results. For keys, you can specify one or more
|
|
8963
8982
|
# key-value pair tags that have been applied to a document. Other valid
|
|
8964
|
-
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`,
|
|
8965
|
-
# `TargetType`. For example, to return documents
|
|
8966
|
-
# `Key=Owner,Values=Self`. To specify a custom key-value
|
|
8967
|
-
# format `Key=tag:tagName,Values=valueName`.
|
|
8983
|
+
# keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`,
|
|
8984
|
+
# `TargetType`, and `CloudProviders`. For example, to return documents
|
|
8985
|
+
# you own use `Key=Owner,Values=Self`. To specify a custom key-value
|
|
8986
|
+
# pair, use the format `Key=tag:tagName,Values=valueName`.
|
|
8968
8987
|
#
|
|
8969
8988
|
# <note markdown="1"> This API operation only supports filtering documents by using a single
|
|
8970
8989
|
# tag key and one or more tag values. For example:
|
|
@@ -9032,6 +9051,8 @@ module Aws::SSM
|
|
|
9032
9051
|
# resp.document_identifiers[0].requires[0].version_name #=> String
|
|
9033
9052
|
# resp.document_identifiers[0].review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
|
|
9034
9053
|
# resp.document_identifiers[0].author #=> String
|
|
9054
|
+
# resp.document_identifiers[0].cloud_providers #=> Array
|
|
9055
|
+
# resp.document_identifiers[0].cloud_providers[0] #=> String, one of "AWS", "Azure", "GCP"
|
|
9035
9056
|
# resp.next_token #=> String
|
|
9036
9057
|
#
|
|
9037
9058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
|
|
@@ -12869,6 +12890,19 @@ module Aws::SSM
|
|
|
12869
12890
|
# @option params [String] :target_type
|
|
12870
12891
|
# Specify a new target type for the document.
|
|
12871
12892
|
#
|
|
12893
|
+
# @option params [Array<String>] :cloud_providers
|
|
12894
|
+
# The cloud providers that the new document version can run against.
|
|
12895
|
+
# Valid values include the following:
|
|
12896
|
+
#
|
|
12897
|
+
# * `AWS` - The document runs against Amazon Web Services resources.
|
|
12898
|
+
#
|
|
12899
|
+
# * `Azure` - The document runs against Microsoft Azure resources.
|
|
12900
|
+
#
|
|
12901
|
+
# * `GCP` - The document runs against Google Cloud resources.
|
|
12902
|
+
#
|
|
12903
|
+
# If you don't specify a value, the new version uses the cloud
|
|
12904
|
+
# providers of the latest version.
|
|
12905
|
+
#
|
|
12872
12906
|
# @return [Types::UpdateDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12873
12907
|
#
|
|
12874
12908
|
# * {Types::UpdateDocumentResult#document_description #document_description} => Types::DocumentDescription
|
|
@@ -12890,6 +12924,7 @@ module Aws::SSM
|
|
|
12890
12924
|
# document_version: "DocumentVersion",
|
|
12891
12925
|
# document_format: "YAML", # accepts YAML, JSON, TEXT
|
|
12892
12926
|
# target_type: "TargetType",
|
|
12927
|
+
# cloud_providers: ["AWS"], # accepts AWS, Azure, GCP
|
|
12893
12928
|
# })
|
|
12894
12929
|
#
|
|
12895
12930
|
# @example Response structure
|
|
@@ -12941,6 +12976,8 @@ module Aws::SSM
|
|
|
12941
12976
|
# resp.document_description.category[0] #=> String
|
|
12942
12977
|
# resp.document_description.category_enum #=> Array
|
|
12943
12978
|
# resp.document_description.category_enum[0] #=> String
|
|
12979
|
+
# resp.document_description.cloud_providers #=> Array
|
|
12980
|
+
# resp.document_description.cloud_providers[0] #=> String, one of "AWS", "Azure", "GCP"
|
|
12944
12981
|
#
|
|
12945
12982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
|
|
12946
12983
|
#
|
|
@@ -14343,7 +14380,7 @@ module Aws::SSM
|
|
|
14343
14380
|
tracer: tracer
|
|
14344
14381
|
)
|
|
14345
14382
|
context[:gem_name] = 'aws-sdk-ssm'
|
|
14346
|
-
context[:gem_version] = '1.
|
|
14383
|
+
context[:gem_version] = '1.237.0'
|
|
14347
14384
|
Seahorse::Client::Request.new(handlers, context)
|
|
14348
14385
|
end
|
|
14349
14386
|
|
|
@@ -179,6 +179,8 @@ module Aws::SSM
|
|
|
179
179
|
CloudConnectorMaxResults = Shapes::IntegerShape.new(name: 'CloudConnectorMaxResults')
|
|
180
180
|
CloudConnectorSummary = Shapes::StructureShape.new(name: 'CloudConnectorSummary')
|
|
181
181
|
CloudConnectorSummaryList = Shapes::ListShape.new(name: 'CloudConnectorSummaryList')
|
|
182
|
+
CloudProvider = Shapes::StringShape.new(name: 'CloudProvider')
|
|
183
|
+
CloudProviderList = Shapes::ListShape.new(name: 'CloudProviderList')
|
|
182
184
|
CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
|
|
183
185
|
CloudWatchOutputConfig = Shapes::StructureShape.new(name: 'CloudWatchOutputConfig')
|
|
184
186
|
CloudWatchOutputEnabled = Shapes::BooleanShape.new(name: 'CloudWatchOutputEnabled')
|
|
@@ -1803,6 +1805,8 @@ module Aws::SSM
|
|
|
1803
1805
|
|
|
1804
1806
|
CloudConnectorSummaryList.member = Shapes::ShapeRef.new(shape: CloudConnectorSummary)
|
|
1805
1807
|
|
|
1808
|
+
CloudProviderList.member = Shapes::ShapeRef.new(shape: CloudProvider)
|
|
1809
|
+
|
|
1806
1810
|
CloudWatchOutputConfig.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "CloudWatchLogGroupName"))
|
|
1807
1811
|
CloudWatchOutputConfig.add_member(:cloud_watch_output_enabled, Shapes::ShapeRef.new(shape: CloudWatchOutputEnabled, location_name: "CloudWatchOutputEnabled"))
|
|
1808
1812
|
CloudWatchOutputConfig.struct_class = Types::CloudWatchOutputConfig
|
|
@@ -2038,6 +2042,7 @@ module Aws::SSM
|
|
|
2038
2042
|
CreateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
|
|
2039
2043
|
CreateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
|
|
2040
2044
|
CreateDocumentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
2045
|
+
CreateDocumentRequest.add_member(:cloud_providers, Shapes::ShapeRef.new(shape: CloudProviderList, location_name: "CloudProviders"))
|
|
2041
2046
|
CreateDocumentRequest.struct_class = Types::CreateDocumentRequest
|
|
2042
2047
|
|
|
2043
2048
|
CreateDocumentResult.add_member(:document_description, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "DocumentDescription"))
|
|
@@ -2626,6 +2631,7 @@ module Aws::SSM
|
|
|
2626
2631
|
DocumentDescription.add_member(:review_status, Shapes::ShapeRef.new(shape: ReviewStatus, location_name: "ReviewStatus"))
|
|
2627
2632
|
DocumentDescription.add_member(:category, Shapes::ShapeRef.new(shape: CategoryList, location_name: "Category"))
|
|
2628
2633
|
DocumentDescription.add_member(:category_enum, Shapes::ShapeRef.new(shape: CategoryEnumList, location_name: "CategoryEnum"))
|
|
2634
|
+
DocumentDescription.add_member(:cloud_providers, Shapes::ShapeRef.new(shape: CloudProviderList, location_name: "CloudProviders"))
|
|
2629
2635
|
DocumentDescription.struct_class = Types::DocumentDescription
|
|
2630
2636
|
|
|
2631
2637
|
DocumentFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentFilterKey, required: true, location_name: "key"))
|
|
@@ -2649,6 +2655,7 @@ module Aws::SSM
|
|
|
2649
2655
|
DocumentIdentifier.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
|
|
2650
2656
|
DocumentIdentifier.add_member(:review_status, Shapes::ShapeRef.new(shape: ReviewStatus, location_name: "ReviewStatus"))
|
|
2651
2657
|
DocumentIdentifier.add_member(:author, Shapes::ShapeRef.new(shape: DocumentAuthor, location_name: "Author"))
|
|
2658
|
+
DocumentIdentifier.add_member(:cloud_providers, Shapes::ShapeRef.new(shape: CloudProviderList, location_name: "CloudProviders"))
|
|
2652
2659
|
DocumentIdentifier.struct_class = Types::DocumentIdentifier
|
|
2653
2660
|
|
|
2654
2661
|
DocumentIdentifierList.member = Shapes::ShapeRef.new(shape: DocumentIdentifier)
|
|
@@ -2715,6 +2722,7 @@ module Aws::SSM
|
|
|
2715
2722
|
DocumentVersionInfo.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "Status"))
|
|
2716
2723
|
DocumentVersionInfo.add_member(:status_information, Shapes::ShapeRef.new(shape: DocumentStatusInformation, location_name: "StatusInformation"))
|
|
2717
2724
|
DocumentVersionInfo.add_member(:review_status, Shapes::ShapeRef.new(shape: ReviewStatus, location_name: "ReviewStatus"))
|
|
2725
|
+
DocumentVersionInfo.add_member(:cloud_providers, Shapes::ShapeRef.new(shape: CloudProviderList, location_name: "CloudProviders"))
|
|
2718
2726
|
DocumentVersionInfo.struct_class = Types::DocumentVersionInfo
|
|
2719
2727
|
|
|
2720
2728
|
DocumentVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
|
@@ -5144,6 +5152,7 @@ module Aws::SSM
|
|
|
5144
5152
|
UpdateDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
|
5145
5153
|
UpdateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
|
|
5146
5154
|
UpdateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
|
|
5155
|
+
UpdateDocumentRequest.add_member(:cloud_providers, Shapes::ShapeRef.new(shape: CloudProviderList, location_name: "CloudProviders"))
|
|
5147
5156
|
UpdateDocumentRequest.struct_class = Types::UpdateDocumentRequest
|
|
5148
5157
|
|
|
5149
5158
|
UpdateDocumentResult.add_member(:document_description, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "DocumentDescription"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
|
@@ -3973,6 +3973,19 @@ module Aws::SSM
|
|
|
3973
3973
|
# </note>
|
|
3974
3974
|
# @return [Array<Types::Tag>]
|
|
3975
3975
|
#
|
|
3976
|
+
# @!attribute [rw] cloud_providers
|
|
3977
|
+
# The cloud providers that the document can run against. Valid values
|
|
3978
|
+
# include the following:
|
|
3979
|
+
#
|
|
3980
|
+
# * `AWS` - The document runs against Amazon Web Services resources.
|
|
3981
|
+
#
|
|
3982
|
+
# * `Azure` - The document runs against Microsoft Azure resources.
|
|
3983
|
+
#
|
|
3984
|
+
# * `GCP` - The document runs against Google Cloud resources.
|
|
3985
|
+
#
|
|
3986
|
+
# If you don't specify a value, the default is `AWS`.
|
|
3987
|
+
# @return [Array<String>]
|
|
3988
|
+
#
|
|
3976
3989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentRequest AWS API Documentation
|
|
3977
3990
|
#
|
|
3978
3991
|
class CreateDocumentRequest < Struct.new(
|
|
@@ -3985,7 +3998,8 @@ module Aws::SSM
|
|
|
3985
3998
|
:document_type,
|
|
3986
3999
|
:document_format,
|
|
3987
4000
|
:target_type,
|
|
3988
|
-
:tags
|
|
4001
|
+
:tags,
|
|
4002
|
+
:cloud_providers)
|
|
3989
4003
|
SENSITIVE = []
|
|
3990
4004
|
include Aws::Structure
|
|
3991
4005
|
end
|
|
@@ -7348,6 +7362,11 @@ module Aws::SSM
|
|
|
7348
7362
|
# The value that identifies a document's category.
|
|
7349
7363
|
# @return [Array<String>]
|
|
7350
7364
|
#
|
|
7365
|
+
# @!attribute [rw] cloud_providers
|
|
7366
|
+
# This field specifies the cloud providers that the returned version
|
|
7367
|
+
# of the document can run against.
|
|
7368
|
+
# @return [Array<String>]
|
|
7369
|
+
#
|
|
7351
7370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
|
|
7352
7371
|
#
|
|
7353
7372
|
class DocumentDescription < Struct.new(
|
|
@@ -7380,7 +7399,8 @@ module Aws::SSM
|
|
|
7380
7399
|
:pending_review_version,
|
|
7381
7400
|
:review_status,
|
|
7382
7401
|
:category,
|
|
7383
|
-
:category_enum
|
|
7402
|
+
:category_enum,
|
|
7403
|
+
:cloud_providers)
|
|
7384
7404
|
SENSITIVE = []
|
|
7385
7405
|
include Aws::Structure
|
|
7386
7406
|
end
|
|
@@ -7479,6 +7499,11 @@ module Aws::SSM
|
|
|
7479
7499
|
# The user in your organization who created the document.
|
|
7480
7500
|
# @return [String]
|
|
7481
7501
|
#
|
|
7502
|
+
# @!attribute [rw] cloud_providers
|
|
7503
|
+
# This field specifies the cloud providers that the default version of
|
|
7504
|
+
# the document can run against.
|
|
7505
|
+
# @return [Array<String>]
|
|
7506
|
+
#
|
|
7482
7507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
|
|
7483
7508
|
#
|
|
7484
7509
|
class DocumentIdentifier < Struct.new(
|
|
@@ -7496,7 +7521,8 @@ module Aws::SSM
|
|
|
7496
7521
|
:tags,
|
|
7497
7522
|
:requires,
|
|
7498
7523
|
:review_status,
|
|
7499
|
-
:author
|
|
7524
|
+
:author,
|
|
7525
|
+
:cloud_providers)
|
|
7500
7526
|
SENSITIVE = []
|
|
7501
7527
|
include Aws::Structure
|
|
7502
7528
|
end
|
|
@@ -7511,6 +7537,21 @@ module Aws::SSM
|
|
|
7511
7537
|
# specific allowed values. These keys and their associated values are as
|
|
7512
7538
|
# follows:
|
|
7513
7539
|
#
|
|
7540
|
+
# CloudProviders
|
|
7541
|
+
#
|
|
7542
|
+
# : Returns documents whose default version can run against any of the
|
|
7543
|
+
# specified cloud providers. The `CloudProviders` key supports the
|
|
7544
|
+
# following values:
|
|
7545
|
+
#
|
|
7546
|
+
# * `AWS` - Documents that run against Amazon Web Services resources.
|
|
7547
|
+
#
|
|
7548
|
+
# * `Azure` - Documents that run against Microsoft Azure resources.
|
|
7549
|
+
#
|
|
7550
|
+
# * `GCP` - Documents that run against Google Cloud resources.
|
|
7551
|
+
#
|
|
7552
|
+
# If you created a document before Systems Manager supported cloud
|
|
7553
|
+
# providers, the document runs against `AWS`.
|
|
7554
|
+
#
|
|
7514
7555
|
# DocumentType
|
|
7515
7556
|
# : * `ApplicationConfiguration`
|
|
7516
7557
|
#
|
|
@@ -7847,6 +7888,11 @@ module Aws::SSM
|
|
|
7847
7888
|
# the document.
|
|
7848
7889
|
# @return [String]
|
|
7849
7890
|
#
|
|
7891
|
+
# @!attribute [rw] cloud_providers
|
|
7892
|
+
# This field specifies the cloud providers that this version of the
|
|
7893
|
+
# document can run against.
|
|
7894
|
+
# @return [Array<String>]
|
|
7895
|
+
#
|
|
7850
7896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo AWS API Documentation
|
|
7851
7897
|
#
|
|
7852
7898
|
class DocumentVersionInfo < Struct.new(
|
|
@@ -7859,7 +7905,8 @@ module Aws::SSM
|
|
|
7859
7905
|
:document_format,
|
|
7860
7906
|
:status,
|
|
7861
7907
|
:status_information,
|
|
7862
|
-
:review_status
|
|
7908
|
+
:review_status,
|
|
7909
|
+
:cloud_providers)
|
|
7863
7910
|
SENSITIVE = []
|
|
7864
7911
|
include Aws::Structure
|
|
7865
7912
|
end
|
|
@@ -12819,9 +12866,10 @@ module Aws::SSM
|
|
|
12819
12866
|
# return a more specific list of results. For keys, you can specify
|
|
12820
12867
|
# one or more key-value pair tags that have been applied to a
|
|
12821
12868
|
# document. Other valid keys include `Owner`, `Name`, `PlatformTypes`,
|
|
12822
|
-
# `DocumentType`, and `
|
|
12823
|
-
# you own use `Key=Owner,Values=Self`. To specify a
|
|
12824
|
-
# pair, use the format
|
|
12869
|
+
# `DocumentType`, `TargetType`, and `CloudProviders`. For example, to
|
|
12870
|
+
# return documents you own use `Key=Owner,Values=Self`. To specify a
|
|
12871
|
+
# custom key-value pair, use the format
|
|
12872
|
+
# `Key=tag:tagName,Values=valueName`.
|
|
12825
12873
|
#
|
|
12826
12874
|
# <note markdown="1"> This API operation only supports filtering documents by using a
|
|
12827
12875
|
# single tag key and one or more tag values. For example:
|
|
@@ -19809,10 +19857,27 @@ module Aws::SSM
|
|
|
19809
19857
|
# * `Key=CloudConnector,Values=cloud-connector-id`
|
|
19810
19858
|
#
|
|
19811
19859
|
# * `Key=CloudConnector,Values={"CloudConnectorId":"cloud-connector-id","SsmManagedNodeFilter":"MANAGED","CloudProviderRegions":["eastus"]}`
|
|
19812
|
-
#
|
|
19813
|
-
# `
|
|
19814
|
-
#
|
|
19815
|
-
#
|
|
19860
|
+
# Instead of `CloudConnector`, you can use `AzureCloudConnector` or
|
|
19861
|
+
# `GcpCloudConnector` for a cloud connector to that provider. You must
|
|
19862
|
+
# specify exactly one value. A cloud connector ID alone targets every
|
|
19863
|
+
# running virtual machine (VM) in the cloud connector's scope. In the
|
|
19864
|
+
# JSON value, `CloudConnectorId` is required, and the following
|
|
19865
|
+
# optional keys narrow that scope:
|
|
19866
|
+
#
|
|
19867
|
+
# * For both providers: `SsmManagedNodeFilter`, which filters VMs by
|
|
19868
|
+
# whether they are Systems Manager managed nodes.
|
|
19869
|
+
#
|
|
19870
|
+
# * For Microsoft Azure: `CloudProviderRegions`, `AzureSubscriptions`,
|
|
19871
|
+
# `AzureResourceGroups`, `AzureTag`, `AzureVmPowerStates`, and
|
|
19872
|
+
# `AzureResourceType`.
|
|
19873
|
+
#
|
|
19874
|
+
# * For GCP: `Zones`, `GcpProjects`, `IncludesLabels`,
|
|
19875
|
+
# `ExcludesLabels`, `GcpInstanceStates`, `OsPolicyComplianceFilter`,
|
|
19876
|
+
# `OsPolicyOrchestratorName`, `OsPolicyOrchestratorId`, and
|
|
19877
|
+
# `GcpAssetType`.
|
|
19878
|
+
# For descriptions, valid values, and defaults of these keys, see
|
|
19879
|
+
# [Cloud Connector target reference][2] in the *Amazon Web Services
|
|
19880
|
+
# Systems Manager User Guide*.
|
|
19816
19881
|
#
|
|
19817
19882
|
# **For Run Command and Maintenance Windows:**
|
|
19818
19883
|
#
|
|
@@ -19850,12 +19915,13 @@ module Aws::SSM
|
|
|
19850
19915
|
#
|
|
19851
19916
|
# For more information about how to send commands that target managed
|
|
19852
19917
|
# nodes using `Key,Value` parameters, see [Targeting multiple managed
|
|
19853
|
-
# nodes][
|
|
19918
|
+
# nodes][3] in the *Amazon Web Services Systems Manager User Guide*.
|
|
19854
19919
|
#
|
|
19855
19920
|
#
|
|
19856
19921
|
#
|
|
19857
19922
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html
|
|
19858
|
-
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/
|
|
19923
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-cloud-connector-target.html
|
|
19924
|
+
# [3]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
|
|
19859
19925
|
#
|
|
19860
19926
|
# @!attribute [rw] key
|
|
19861
19927
|
# User-defined criteria for sending commands that target managed nodes
|
|
@@ -20806,6 +20872,20 @@ module Aws::SSM
|
|
|
20806
20872
|
# Specify a new target type for the document.
|
|
20807
20873
|
# @return [String]
|
|
20808
20874
|
#
|
|
20875
|
+
# @!attribute [rw] cloud_providers
|
|
20876
|
+
# The cloud providers that the new document version can run against.
|
|
20877
|
+
# Valid values include the following:
|
|
20878
|
+
#
|
|
20879
|
+
# * `AWS` - The document runs against Amazon Web Services resources.
|
|
20880
|
+
#
|
|
20881
|
+
# * `Azure` - The document runs against Microsoft Azure resources.
|
|
20882
|
+
#
|
|
20883
|
+
# * `GCP` - The document runs against Google Cloud resources.
|
|
20884
|
+
#
|
|
20885
|
+
# If you don't specify a value, the new version uses the cloud
|
|
20886
|
+
# providers of the latest version.
|
|
20887
|
+
# @return [Array<String>]
|
|
20888
|
+
#
|
|
20809
20889
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentRequest AWS API Documentation
|
|
20810
20890
|
#
|
|
20811
20891
|
class UpdateDocumentRequest < Struct.new(
|
|
@@ -20816,7 +20896,8 @@ module Aws::SSM
|
|
|
20816
20896
|
:version_name,
|
|
20817
20897
|
:document_version,
|
|
20818
20898
|
:document_format,
|
|
20819
|
-
:target_type
|
|
20899
|
+
:target_type,
|
|
20900
|
+
:cloud_providers)
|
|
20820
20901
|
SENSITIVE = []
|
|
20821
20902
|
include Aws::Structure
|
|
20822
20903
|
end
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -324,7 +324,8 @@ module Aws
|
|
|
324
324
|
key: ::String,
|
|
325
325
|
value: ::String
|
|
326
326
|
}
|
|
327
|
-
]
|
|
327
|
+
],
|
|
328
|
+
?cloud_providers: Array[("AWS" | "Azure" | "GCP")]
|
|
328
329
|
) -> _CreateDocumentResponseSuccess
|
|
329
330
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDocumentResponseSuccess
|
|
330
331
|
|
|
@@ -2751,7 +2752,8 @@ module Aws
|
|
|
2751
2752
|
?version_name: ::String,
|
|
2752
2753
|
?document_version: ::String,
|
|
2753
2754
|
?document_format: ("YAML" | "JSON" | "TEXT"),
|
|
2754
|
-
?target_type: ::String
|
|
2755
|
+
?target_type: ::String,
|
|
2756
|
+
?cloud_providers: Array[("AWS" | "Azure" | "GCP")]
|
|
2755
2757
|
) -> _UpdateDocumentResponseSuccess
|
|
2756
2758
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDocumentResponseSuccess
|
|
2757
2759
|
|
data/sig/types.rbs
CHANGED
|
@@ -729,6 +729,7 @@ module Aws::SSM
|
|
|
729
729
|
attr_accessor document_format: ("YAML" | "JSON" | "TEXT")
|
|
730
730
|
attr_accessor target_type: ::String
|
|
731
731
|
attr_accessor tags: ::Array[Types::Tag]
|
|
732
|
+
attr_accessor cloud_providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
732
733
|
SENSITIVE: []
|
|
733
734
|
end
|
|
734
735
|
|
|
@@ -1544,6 +1545,7 @@ module Aws::SSM
|
|
|
1544
1545
|
attr_accessor review_status: ("APPROVED" | "NOT_REVIEWED" | "PENDING" | "REJECTED")
|
|
1545
1546
|
attr_accessor category: ::Array[::String]
|
|
1546
1547
|
attr_accessor category_enum: ::Array[::String]
|
|
1548
|
+
attr_accessor cloud_providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
1547
1549
|
SENSITIVE: []
|
|
1548
1550
|
end
|
|
1549
1551
|
|
|
@@ -1569,6 +1571,7 @@ module Aws::SSM
|
|
|
1569
1571
|
attr_accessor requires: ::Array[Types::DocumentRequires]
|
|
1570
1572
|
attr_accessor review_status: ("APPROVED" | "NOT_REVIEWED" | "PENDING" | "REJECTED")
|
|
1571
1573
|
attr_accessor author: ::String
|
|
1574
|
+
attr_accessor cloud_providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
1572
1575
|
SENSITIVE: []
|
|
1573
1576
|
end
|
|
1574
1577
|
|
|
@@ -1641,6 +1644,7 @@ module Aws::SSM
|
|
|
1641
1644
|
attr_accessor status: ("Creating" | "Active" | "Updating" | "Deleting" | "Failed")
|
|
1642
1645
|
attr_accessor status_information: ::String
|
|
1643
1646
|
attr_accessor review_status: ("APPROVED" | "NOT_REVIEWED" | "PENDING" | "REJECTED")
|
|
1647
|
+
attr_accessor cloud_providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
1644
1648
|
SENSITIVE: []
|
|
1645
1649
|
end
|
|
1646
1650
|
|
|
@@ -4547,6 +4551,7 @@ module Aws::SSM
|
|
|
4547
4551
|
attr_accessor document_version: ::String
|
|
4548
4552
|
attr_accessor document_format: ("YAML" | "JSON" | "TEXT")
|
|
4549
4553
|
attr_accessor target_type: ::String
|
|
4554
|
+
attr_accessor cloud_providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
4550
4555
|
SENSITIVE: []
|
|
4551
4556
|
end
|
|
4552
4557
|
|