aws-sdk-ssm 1.64.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1e344bc4df40d05f6ec3b15e0addbab7f76d439
4
- data.tar.gz: cf6d51f64fb53672102ce6b8d4d90ae458c67150
3
+ metadata.gz: 50f58884017108c879cbe1f1d515c3680d0a4f9f
4
+ data.tar.gz: 70a847f9fac2c7ad03aa423fe0c416125bc3ecc3
5
5
  SHA512:
6
- metadata.gz: 45f096fc4afeb3999ecbec009e6d0f2fe92001822ddb1e80189a90010debb315adafebdf53a8de7be39bbe30147f4eef38df8ce76531443445ee1f0ff32845c9
7
- data.tar.gz: ed606275019f05e43bc45f93582a62684a8c76df2418f1f3a12f50d66eeccd1b227d1395d562146c6984cdef56f49c5252e38c5798678e4ab69b20aa40851147
6
+ metadata.gz: bb2e031710a655b32d9e467c971c21d4c879d57353db8fe2132343ff73f34f9ff3f1e2e800606f356b4eb2effdbb4d0df8eda1c5bc9420633f631cb588ba810f
7
+ data.tar.gz: 826f06e229264ad500287e0dd3885075453b438a3eb9f898fb2351a1a2490de6ef9baad5be4f9f28978dc3b928a86ef63b2ebff3eee3ee5d7fe760e4909ca59c
data/lib/aws-sdk-ssm.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.64.0'
45
+ GEM_VERSION = '1.65.0'
46
46
 
47
47
  end
@@ -820,6 +820,11 @@ module Aws::SSM
820
820
  # @option params [required, String] :content
821
821
  # A valid JSON or YAML string.
822
822
  #
823
+ # @option params [Array<Types::DocumentRequires>] :requires
824
+ # A list of SSM documents required by a document. For example, an
825
+ # `ApplicationConfiguration` document requires an
826
+ # `ApplicationConfigurationSchema` document.
827
+ #
823
828
  # @option params [Array<Types::AttachmentsSource>] :attachments
824
829
  # A list of key and value pairs that describe attachments to a version
825
830
  # of a document.
@@ -887,6 +892,12 @@ module Aws::SSM
887
892
  #
888
893
  # resp = client.create_document({
889
894
  # content: "DocumentContent", # required
895
+ # requires: [
896
+ # {
897
+ # name: "DocumentARN", # required
898
+ # version: "DocumentVersion",
899
+ # },
900
+ # ],
890
901
  # attachments: [
891
902
  # {
892
903
  # key: "SourceUrl", # accepts SourceUrl, S3FileUrl
@@ -896,7 +907,7 @@ module Aws::SSM
896
907
  # ],
897
908
  # name: "DocumentName", # required
898
909
  # version_name: "DocumentVersionName",
899
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package
910
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy
900
911
  # document_format: "YAML", # accepts YAML, JSON
901
912
  # target_type: "TargetType",
902
913
  # tags: [
@@ -927,7 +938,7 @@ module Aws::SSM
927
938
  # resp.document_description.parameters[0].default_value #=> String
928
939
  # resp.document_description.platform_types #=> Array
929
940
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
930
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
941
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy"
931
942
  # resp.document_description.schema_version #=> String
932
943
  # resp.document_description.latest_version #=> String
933
944
  # resp.document_description.default_version #=> String
@@ -938,6 +949,9 @@ module Aws::SSM
938
949
  # resp.document_description.tags[0].value #=> String
939
950
  # resp.document_description.attachments_information #=> Array
940
951
  # resp.document_description.attachments_information[0].name #=> String
952
+ # resp.document_description.requires #=> Array
953
+ # resp.document_description.requires[0].name #=> String
954
+ # resp.document_description.requires[0].version #=> String
941
955
  #
942
956
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
943
957
  #
@@ -1558,6 +1572,13 @@ module Aws::SSM
1558
1572
  # The version name of the document that you want to delete. If not
1559
1573
  # provided, all versions of the document are deleted.
1560
1574
  #
1575
+ # @option params [Boolean] :force
1576
+ # Some SSM document types require that you specify a `Force` flag before
1577
+ # you can delete the document. For example, you must specify a `Force`
1578
+ # flag to delete a document of type `ApplicationConfigurationSchema`.
1579
+ # You can restrict access to the `Force` flag in an AWS Identity and
1580
+ # Access Management (IAM) policy.
1581
+ #
1561
1582
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1562
1583
  #
1563
1584
  # @example Request syntax with placeholder values
@@ -1566,6 +1587,7 @@ module Aws::SSM
1566
1587
  # name: "DocumentName", # required
1567
1588
  # document_version: "DocumentVersion",
1568
1589
  # version_name: "DocumentVersionName",
1590
+ # force: false,
1569
1591
  # })
1570
1592
  #
1571
1593
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument AWS API Documentation
@@ -2485,7 +2507,7 @@ module Aws::SSM
2485
2507
  # resp.document.parameters[0].default_value #=> String
2486
2508
  # resp.document.platform_types #=> Array
2487
2509
  # resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
2488
- # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
2510
+ # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy"
2489
2511
  # resp.document.schema_version #=> String
2490
2512
  # resp.document.latest_version #=> String
2491
2513
  # resp.document.default_version #=> String
@@ -2496,6 +2518,9 @@ module Aws::SSM
2496
2518
  # resp.document.tags[0].value #=> String
2497
2519
  # resp.document.attachments_information #=> Array
2498
2520
  # resp.document.attachments_information[0].name #=> String
2521
+ # resp.document.requires #=> Array
2522
+ # resp.document.requires[0].name #=> String
2523
+ # resp.document.requires[0].version #=> String
2499
2524
  #
2500
2525
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
2501
2526
  #
@@ -2521,6 +2546,7 @@ module Aws::SSM
2521
2546
  # @return [Types::DescribeDocumentPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2522
2547
  #
2523
2548
  # * {Types::DescribeDocumentPermissionResponse#account_ids #account_ids} => Array&lt;String&gt;
2549
+ # * {Types::DescribeDocumentPermissionResponse#account_sharing_info_list #account_sharing_info_list} => Array&lt;Types::AccountSharingInfo&gt;
2524
2550
  #
2525
2551
  # @example Request syntax with placeholder values
2526
2552
  #
@@ -2533,6 +2559,9 @@ module Aws::SSM
2533
2559
  #
2534
2560
  # resp.account_ids #=> Array
2535
2561
  # resp.account_ids[0] #=> String
2562
+ # resp.account_sharing_info_list #=> Array
2563
+ # resp.account_sharing_info_list[0].account_id #=> String
2564
+ # resp.account_sharing_info_list[0].shared_document_version #=> String
2536
2565
  #
2537
2566
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission AWS API Documentation
2538
2567
  #
@@ -4399,6 +4428,7 @@ module Aws::SSM
4399
4428
  # * {Types::GetDocumentResult#content #content} => String
4400
4429
  # * {Types::GetDocumentResult#document_type #document_type} => String
4401
4430
  # * {Types::GetDocumentResult#document_format #document_format} => String
4431
+ # * {Types::GetDocumentResult#requires #requires} => Array&lt;Types::DocumentRequires&gt;
4402
4432
  # * {Types::GetDocumentResult#attachments_content #attachments_content} => Array&lt;Types::AttachmentContent&gt;
4403
4433
  #
4404
4434
  # @example Request syntax with placeholder values
@@ -4418,8 +4448,11 @@ module Aws::SSM
4418
4448
  # resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
4419
4449
  # resp.status_information #=> String
4420
4450
  # resp.content #=> String
4421
- # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
4451
+ # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy"
4422
4452
  # resp.document_format #=> String, one of "YAML", "JSON"
4453
+ # resp.requires #=> Array
4454
+ # resp.requires[0].name #=> String
4455
+ # resp.requires[0].version #=> String
4423
4456
  # resp.attachments_content #=> Array
4424
4457
  # resp.attachments_content[0].name #=> String
4425
4458
  # resp.attachments_content[0].size #=> Integer
@@ -5963,7 +5996,8 @@ module Aws::SSM
5963
5996
  # List all versions for a document.
5964
5997
  #
5965
5998
  # @option params [required, String] :name
5966
- # The name of the document about which you want version information.
5999
+ # The name of the document. You can specify an Amazon Resource Name
6000
+ # (ARN).
5967
6001
  #
5968
6002
  # @option params [Integer] :max_results
5969
6003
  # The maximum number of items to return for this call. The call also
@@ -5982,7 +6016,7 @@ module Aws::SSM
5982
6016
  # @example Request syntax with placeholder values
5983
6017
  #
5984
6018
  # resp = client.list_document_versions({
5985
- # name: "DocumentName", # required
6019
+ # name: "DocumentARN", # required
5986
6020
  # max_results: 1,
5987
6021
  # next_token: "NextToken",
5988
6022
  # })
@@ -6061,13 +6095,16 @@ module Aws::SSM
6061
6095
  # resp.document_identifiers[0].platform_types #=> Array
6062
6096
  # resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
6063
6097
  # resp.document_identifiers[0].document_version #=> String
6064
- # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
6098
+ # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy"
6065
6099
  # resp.document_identifiers[0].schema_version #=> String
6066
6100
  # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON"
6067
6101
  # resp.document_identifiers[0].target_type #=> String
6068
6102
  # resp.document_identifiers[0].tags #=> Array
6069
6103
  # resp.document_identifiers[0].tags[0].key #=> String
6070
6104
  # resp.document_identifiers[0].tags[0].value #=> String
6105
+ # resp.document_identifiers[0].requires #=> Array
6106
+ # resp.document_identifiers[0].requires[0].name #=> String
6107
+ # resp.document_identifiers[0].requires[0].version #=> String
6071
6108
  # resp.next_token #=> String
6072
6109
  #
6073
6110
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
@@ -6351,6 +6388,10 @@ module Aws::SSM
6351
6388
  # you specify an account ID to add and the same ID to remove, the system
6352
6389
  # removes access to the document.
6353
6390
  #
6391
+ # @option params [String] :shared_document_version
6392
+ # (Optional) The version of the document to share. If it's not
6393
+ # specified, the system choose the `Default` version to share.
6394
+ #
6354
6395
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6355
6396
  #
6356
6397
  # @example Request syntax with placeholder values
@@ -6360,6 +6401,7 @@ module Aws::SSM
6360
6401
  # permission_type: "Share", # required, accepts Share
6361
6402
  # account_ids_to_add: ["AccountId"],
6362
6403
  # account_ids_to_remove: ["AccountId"],
6404
+ # shared_document_version: "SharedDocumentVersion",
6363
6405
  # })
6364
6406
  #
6365
6407
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission AWS API Documentation
@@ -8118,7 +8160,7 @@ module Aws::SSM
8118
8160
  # resp.document_description.parameters[0].default_value #=> String
8119
8161
  # resp.document_description.platform_types #=> Array
8120
8162
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
8121
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
8163
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package", "ApplicationConfiguration", "ApplicationConfigurationSchema", "DeploymentStrategy"
8122
8164
  # resp.document_description.schema_version #=> String
8123
8165
  # resp.document_description.latest_version #=> String
8124
8166
  # resp.document_description.default_version #=> String
@@ -8129,6 +8171,9 @@ module Aws::SSM
8129
8171
  # resp.document_description.tags[0].value #=> String
8130
8172
  # resp.document_description.attachments_information #=> Array
8131
8173
  # resp.document_description.attachments_information[0].name #=> String
8174
+ # resp.document_description.requires #=> Array
8175
+ # resp.document_description.requires[0].name #=> String
8176
+ # resp.document_description.requires[0].version #=> String
8132
8177
  #
8133
8178
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
8134
8179
  #
@@ -9095,7 +9140,7 @@ module Aws::SSM
9095
9140
  params: params,
9096
9141
  config: config)
9097
9142
  context[:gem_name] = 'aws-sdk-ssm'
9098
- context[:gem_version] = '1.64.0'
9143
+ context[:gem_version] = '1.65.0'
9099
9144
  Seahorse::Client::Request.new(handlers, context)
9100
9145
  end
9101
9146
 
@@ -14,6 +14,8 @@ module Aws::SSM
14
14
  Account = Shapes::StringShape.new(name: 'Account')
15
15
  AccountId = Shapes::StringShape.new(name: 'AccountId')
16
16
  AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
17
+ AccountSharingInfo = Shapes::StructureShape.new(name: 'AccountSharingInfo')
18
+ AccountSharingInfoList = Shapes::ListShape.new(name: 'AccountSharingInfoList')
17
19
  Accounts = Shapes::ListShape.new(name: 'Accounts')
18
20
  Activation = Shapes::StructureShape.new(name: 'Activation')
19
21
  ActivationCode = Shapes::StringShape.new(name: 'ActivationCode')
@@ -318,6 +320,8 @@ module Aws::SSM
318
320
  DocumentParameterType = Shapes::StringShape.new(name: 'DocumentParameterType')
319
321
  DocumentPermissionLimit = Shapes::StructureShape.new(name: 'DocumentPermissionLimit')
320
322
  DocumentPermissionType = Shapes::StringShape.new(name: 'DocumentPermissionType')
323
+ DocumentRequires = Shapes::StructureShape.new(name: 'DocumentRequires')
324
+ DocumentRequiresList = Shapes::ListShape.new(name: 'DocumentRequiresList')
321
325
  DocumentSchemaVersion = Shapes::StringShape.new(name: 'DocumentSchemaVersion')
322
326
  DocumentSha1 = Shapes::StringShape.new(name: 'DocumentSha1')
323
327
  DocumentStatus = Shapes::StringShape.new(name: 'DocumentStatus')
@@ -925,6 +929,7 @@ module Aws::SSM
925
929
  SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
926
930
  SessionTarget = Shapes::StringShape.new(name: 'SessionTarget')
927
931
  SeveritySummary = Shapes::StructureShape.new(name: 'SeveritySummary')
932
+ SharedDocumentVersion = Shapes::StringShape.new(name: 'SharedDocumentVersion')
928
933
  SignalType = Shapes::StringShape.new(name: 'SignalType')
929
934
  SnapshotDownloadUrl = Shapes::StringShape.new(name: 'SnapshotDownloadUrl')
930
935
  SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
@@ -1022,6 +1027,12 @@ module Aws::SSM
1022
1027
 
1023
1028
  AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
1024
1029
 
1030
+ AccountSharingInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
1031
+ AccountSharingInfo.add_member(:shared_document_version, Shapes::ShapeRef.new(shape: SharedDocumentVersion, location_name: "SharedDocumentVersion"))
1032
+ AccountSharingInfo.struct_class = Types::AccountSharingInfo
1033
+
1034
+ AccountSharingInfoList.member = Shapes::ShapeRef.new(shape: AccountSharingInfo)
1035
+
1025
1036
  Accounts.member = Shapes::ShapeRef.new(shape: Account)
1026
1037
 
1027
1038
  Activation.add_member(:activation_id, Shapes::ShapeRef.new(shape: ActivationId, location_name: "ActivationId"))
@@ -1471,6 +1482,7 @@ module Aws::SSM
1471
1482
  CreateAssociationResult.struct_class = Types::CreateAssociationResult
1472
1483
 
1473
1484
  CreateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
1485
+ CreateDocumentRequest.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
1474
1486
  CreateDocumentRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsSourceList, location_name: "Attachments"))
1475
1487
  CreateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
1476
1488
  CreateDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
@@ -1558,6 +1570,7 @@ module Aws::SSM
1558
1570
  DeleteDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
1559
1571
  DeleteDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1560
1572
  DeleteDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1573
+ DeleteDocumentRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
1561
1574
  DeleteDocumentRequest.struct_class = Types::DeleteDocumentRequest
1562
1575
 
1563
1576
  DeleteDocumentResult.struct_class = Types::DeleteDocumentResult
@@ -1712,6 +1725,7 @@ module Aws::SSM
1712
1725
  DescribeDocumentPermissionRequest.struct_class = Types::DescribeDocumentPermissionRequest
1713
1726
 
1714
1727
  DescribeDocumentPermissionResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIds"))
1728
+ DescribeDocumentPermissionResponse.add_member(:account_sharing_info_list, Shapes::ShapeRef.new(shape: AccountSharingInfoList, location_name: "AccountSharingInfoList"))
1715
1729
  DescribeDocumentPermissionResponse.struct_class = Types::DescribeDocumentPermissionResponse
1716
1730
 
1717
1731
  DescribeDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
@@ -1980,6 +1994,7 @@ module Aws::SSM
1980
1994
  DocumentDescription.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
1981
1995
  DocumentDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1982
1996
  DocumentDescription.add_member(:attachments_information, Shapes::ShapeRef.new(shape: AttachmentInformationList, location_name: "AttachmentsInformation"))
1997
+ DocumentDescription.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
1983
1998
  DocumentDescription.struct_class = Types::DocumentDescription
1984
1999
 
1985
2000
  DocumentFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentFilterKey, required: true, location_name: "key"))
@@ -1998,6 +2013,7 @@ module Aws::SSM
1998
2013
  DocumentIdentifier.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1999
2014
  DocumentIdentifier.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
2000
2015
  DocumentIdentifier.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
2016
+ DocumentIdentifier.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
2001
2017
  DocumentIdentifier.struct_class = Types::DocumentIdentifier
2002
2018
 
2003
2019
  DocumentIdentifierList.member = Shapes::ShapeRef.new(shape: DocumentIdentifier)
@@ -2024,6 +2040,12 @@ module Aws::SSM
2024
2040
  DocumentPermissionLimit.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2025
2041
  DocumentPermissionLimit.struct_class = Types::DocumentPermissionLimit
2026
2042
 
2043
+ DocumentRequires.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
2044
+ DocumentRequires.add_member(:version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "Version"))
2045
+ DocumentRequires.struct_class = Types::DocumentRequires
2046
+
2047
+ DocumentRequiresList.member = Shapes::ShapeRef.new(shape: DocumentRequires)
2048
+
2027
2049
  DocumentVersionInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
2028
2050
  DocumentVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
2029
2051
  DocumentVersionInfo.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
@@ -2137,6 +2159,7 @@ module Aws::SSM
2137
2159
  GetDocumentResult.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, location_name: "Content"))
2138
2160
  GetDocumentResult.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
2139
2161
  GetDocumentResult.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
2162
+ GetDocumentResult.add_member(:requires, Shapes::ShapeRef.new(shape: DocumentRequiresList, location_name: "Requires"))
2140
2163
  GetDocumentResult.add_member(:attachments_content, Shapes::ShapeRef.new(shape: AttachmentContentList, location_name: "AttachmentsContent"))
2141
2164
  GetDocumentResult.struct_class = Types::GetDocumentResult
2142
2165
 
@@ -2756,7 +2779,7 @@ module Aws::SSM
2756
2779
  ListComplianceSummariesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2757
2780
  ListComplianceSummariesResult.struct_class = Types::ListComplianceSummariesResult
2758
2781
 
2759
- ListDocumentVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
2782
+ ListDocumentVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
2760
2783
  ListDocumentVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
2761
2784
  ListDocumentVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2762
2785
  ListDocumentVersionsRequest.struct_class = Types::ListDocumentVersionsRequest
@@ -2964,6 +2987,7 @@ module Aws::SSM
2964
2987
  ModifyDocumentPermissionRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: DocumentPermissionType, required: true, location_name: "PermissionType"))
2965
2988
  ModifyDocumentPermissionRequest.add_member(:account_ids_to_add, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIdsToAdd"))
2966
2989
  ModifyDocumentPermissionRequest.add_member(:account_ids_to_remove, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIdsToRemove"))
2990
+ ModifyDocumentPermissionRequest.add_member(:shared_document_version, Shapes::ShapeRef.new(shape: SharedDocumentVersion, location_name: "SharedDocumentVersion"))
2967
2991
  ModifyDocumentPermissionRequest.struct_class = Types::ModifyDocumentPermissionRequest
2968
2992
 
2969
2993
  ModifyDocumentPermissionResponse.struct_class = Types::ModifyDocumentPermissionResponse
@@ -8,6 +8,25 @@
8
8
  module Aws::SSM
9
9
  module Types
10
10
 
11
+ # Information includes the AWS account ID where the current document is
12
+ # shared and the version shared with that account.
13
+ #
14
+ # @!attribute [rw] account_id
15
+ # The AWS account ID where the current document is shared.
16
+ # @return [String]
17
+ #
18
+ # @!attribute [rw] shared_document_version
19
+ # The version of the current document shared with the account.
20
+ # @return [String]
21
+ #
22
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AccountSharingInfo AWS API Documentation
23
+ #
24
+ class AccountSharingInfo < Struct.new(
25
+ :account_id,
26
+ :shared_document_version)
27
+ include Aws::Structure
28
+ end
29
+
11
30
  # An activation registers one or more on-premises servers or virtual
12
31
  # machines (VMs) with AWS so that you can configure those servers or VMs
13
32
  # using Run Command. A server or VM that has been registered with AWS is
@@ -2597,6 +2616,12 @@ module Aws::SSM
2597
2616
  #
2598
2617
  # {
2599
2618
  # content: "DocumentContent", # required
2619
+ # requires: [
2620
+ # {
2621
+ # name: "DocumentARN", # required
2622
+ # version: "DocumentVersion",
2623
+ # },
2624
+ # ],
2600
2625
  # attachments: [
2601
2626
  # {
2602
2627
  # key: "SourceUrl", # accepts SourceUrl, S3FileUrl
@@ -2606,7 +2631,7 @@ module Aws::SSM
2606
2631
  # ],
2607
2632
  # name: "DocumentName", # required
2608
2633
  # version_name: "DocumentVersionName",
2609
- # document_type: "Command", # accepts Command, Policy, Automation, Session, Package
2634
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package, ApplicationConfiguration, ApplicationConfigurationSchema, DeploymentStrategy
2610
2635
  # document_format: "YAML", # accepts YAML, JSON
2611
2636
  # target_type: "TargetType",
2612
2637
  # tags: [
@@ -2621,6 +2646,12 @@ module Aws::SSM
2621
2646
  # A valid JSON or YAML string.
2622
2647
  # @return [String]
2623
2648
  #
2649
+ # @!attribute [rw] requires
2650
+ # A list of SSM documents required by a document. For example, an
2651
+ # `ApplicationConfiguration` document requires an
2652
+ # `ApplicationConfigurationSchema` document.
2653
+ # @return [Array<Types::DocumentRequires>]
2654
+ #
2624
2655
  # @!attribute [rw] attachments
2625
2656
  # A list of key and value pairs that describe attachments to a version
2626
2657
  # of a document.
@@ -2692,6 +2723,7 @@ module Aws::SSM
2692
2723
  #
2693
2724
  class CreateDocumentRequest < Struct.new(
2694
2725
  :content,
2726
+ :requires,
2695
2727
  :attachments,
2696
2728
  :name,
2697
2729
  :version_name,
@@ -3326,6 +3358,7 @@ module Aws::SSM
3326
3358
  # name: "DocumentName", # required
3327
3359
  # document_version: "DocumentVersion",
3328
3360
  # version_name: "DocumentVersionName",
3361
+ # force: false,
3329
3362
  # }
3330
3363
  #
3331
3364
  # @!attribute [rw] name
@@ -3342,12 +3375,21 @@ module Aws::SSM
3342
3375
  # provided, all versions of the document are deleted.
3343
3376
  # @return [String]
3344
3377
  #
3378
+ # @!attribute [rw] force
3379
+ # Some SSM document types require that you specify a `Force` flag
3380
+ # before you can delete the document. For example, you must specify a
3381
+ # `Force` flag to delete a document of type
3382
+ # `ApplicationConfigurationSchema`. You can restrict access to the
3383
+ # `Force` flag in an AWS Identity and Access Management (IAM) policy.
3384
+ # @return [Boolean]
3385
+ #
3345
3386
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentRequest AWS API Documentation
3346
3387
  #
3347
3388
  class DeleteDocumentRequest < Struct.new(
3348
3389
  :name,
3349
3390
  :document_version,
3350
- :version_name)
3391
+ :version_name,
3392
+ :force)
3351
3393
  include Aws::Structure
3352
3394
  end
3353
3395
 
@@ -4222,10 +4264,16 @@ module Aws::SSM
4222
4264
  # can be either an AWS account or *All*.
4223
4265
  # @return [Array<String>]
4224
4266
  #
4267
+ # @!attribute [rw] account_sharing_info_list
4268
+ # A list of of AWS accounts where the current document is shared and
4269
+ # the version shared with each account.
4270
+ # @return [Array<Types::AccountSharingInfo>]
4271
+ #
4225
4272
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse AWS API Documentation
4226
4273
  #
4227
4274
  class DescribeDocumentPermissionResponse < Struct.new(
4228
- :account_ids)
4275
+ :account_ids,
4276
+ :account_sharing_info_list)
4229
4277
  include Aws::Structure
4230
4278
  end
4231
4279
 
@@ -5926,6 +5974,12 @@ module Aws::SSM
5926
5974
  # sizes, etc.
5927
5975
  # @return [Array<Types::AttachmentInformation>]
5928
5976
  #
5977
+ # @!attribute [rw] requires
5978
+ # A list of SSM documents required by a document. For example, an
5979
+ # `ApplicationConfiguration` document requires an
5980
+ # `ApplicationConfigurationSchema` document.
5981
+ # @return [Array<Types::DocumentRequires>]
5982
+ #
5929
5983
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
5930
5984
  #
5931
5985
  class DocumentDescription < Struct.new(
@@ -5949,7 +6003,8 @@ module Aws::SSM
5949
6003
  :document_format,
5950
6004
  :target_type,
5951
6005
  :tags,
5952
- :attachments_information)
6006
+ :attachments_information,
6007
+ :requires)
5953
6008
  include Aws::Structure
5954
6009
  end
5955
6010
 
@@ -6030,6 +6085,12 @@ module Aws::SSM
6030
6085
  # The tags, or metadata, that have been applied to the document.
6031
6086
  # @return [Array<Types::Tag>]
6032
6087
  #
6088
+ # @!attribute [rw] requires
6089
+ # A list of SSM documents required by a document. For example, an
6090
+ # `ApplicationConfiguration` document requires an
6091
+ # `ApplicationConfigurationSchema` document.
6092
+ # @return [Array<Types::DocumentRequires>]
6093
+ #
6033
6094
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
6034
6095
  #
6035
6096
  class DocumentIdentifier < Struct.new(
@@ -6042,7 +6103,8 @@ module Aws::SSM
6042
6103
  :schema_version,
6043
6104
  :document_format,
6044
6105
  :target_type,
6045
- :tags)
6106
+ :tags,
6107
+ :requires)
6046
6108
  include Aws::Structure
6047
6109
  end
6048
6110
 
@@ -6161,6 +6223,33 @@ module Aws::SSM
6161
6223
  include Aws::Structure
6162
6224
  end
6163
6225
 
6226
+ # An SSM document required by the current document.
6227
+ #
6228
+ # @note When making an API call, you may pass DocumentRequires
6229
+ # data as a hash:
6230
+ #
6231
+ # {
6232
+ # name: "DocumentARN", # required
6233
+ # version: "DocumentVersion",
6234
+ # }
6235
+ #
6236
+ # @!attribute [rw] name
6237
+ # The name of the required SSM document. The name can be an Amazon
6238
+ # Resource Name (ARN).
6239
+ # @return [String]
6240
+ #
6241
+ # @!attribute [rw] version
6242
+ # The document version required by the current document.
6243
+ # @return [String]
6244
+ #
6245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentRequires AWS API Documentation
6246
+ #
6247
+ class DocumentRequires < Struct.new(
6248
+ :name,
6249
+ :version)
6250
+ include Aws::Structure
6251
+ end
6252
+
6164
6253
  # Version information about the document.
6165
6254
  #
6166
6255
  # @!attribute [rw] name
@@ -6805,6 +6894,12 @@ module Aws::SSM
6805
6894
  # The document format, either JSON or YAML.
6806
6895
  # @return [String]
6807
6896
  #
6897
+ # @!attribute [rw] requires
6898
+ # A list of SSM documents required by a document. For example, an
6899
+ # `ApplicationConfiguration` document requires an
6900
+ # `ApplicationConfigurationSchema` document.
6901
+ # @return [Array<Types::DocumentRequires>]
6902
+ #
6808
6903
  # @!attribute [rw] attachments_content
6809
6904
  # A description of the document attachments, including names,
6810
6905
  # locations, sizes, etc.
@@ -6821,6 +6916,7 @@ module Aws::SSM
6821
6916
  :content,
6822
6917
  :document_type,
6823
6918
  :document_format,
6919
+ :requires,
6824
6920
  :attachments_content)
6825
6921
  include Aws::Structure
6826
6922
  end
@@ -10057,13 +10153,14 @@ module Aws::SSM
10057
10153
  # data as a hash:
10058
10154
  #
10059
10155
  # {
10060
- # name: "DocumentName", # required
10156
+ # name: "DocumentARN", # required
10061
10157
  # max_results: 1,
10062
10158
  # next_token: "NextToken",
10063
10159
  # }
10064
10160
  #
10065
10161
  # @!attribute [rw] name
10066
- # The name of the document about which you want version information.
10162
+ # The name of the document. You can specify an Amazon Resource Name
10163
+ # (ARN).
10067
10164
  # @return [String]
10068
10165
  #
10069
10166
  # @!attribute [rw] max_results
@@ -11255,6 +11352,7 @@ module Aws::SSM
11255
11352
  # permission_type: "Share", # required, accepts Share
11256
11353
  # account_ids_to_add: ["AccountId"],
11257
11354
  # account_ids_to_remove: ["AccountId"],
11355
+ # shared_document_version: "SharedDocumentVersion",
11258
11356
  # }
11259
11357
  #
11260
11358
  # @!attribute [rw] name
@@ -11279,13 +11377,19 @@ module Aws::SSM
11279
11377
  # system removes access to the document.
11280
11378
  # @return [Array<String>]
11281
11379
  #
11380
+ # @!attribute [rw] shared_document_version
11381
+ # (Optional) The version of the document to share. If it's not
11382
+ # specified, the system choose the `Default` version to share.
11383
+ # @return [String]
11384
+ #
11282
11385
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionRequest AWS API Documentation
11283
11386
  #
11284
11387
  class ModifyDocumentPermissionRequest < Struct.new(
11285
11388
  :name,
11286
11389
  :permission_type,
11287
11390
  :account_ids_to_add,
11288
- :account_ids_to_remove)
11391
+ :account_ids_to_remove,
11392
+ :shared_document_version)
11289
11393
  include Aws::Structure
11290
11394
  end
11291
11395
 
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.64.0
4
+ version: 1.65.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-22 00:00:00.000000000 Z
11
+ date: 2019-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core