aws-sdk-ssm 1.33.0 → 1.34.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: 6753887aa2657140f2b80918e5ded2a751822c96
4
- data.tar.gz: 50e209c28f6816a2fe7f5444c30bd32bcf0dbb3a
3
+ metadata.gz: 585ec333be9af2f27df11527d78a42884d604848
4
+ data.tar.gz: fcad7b4e0f087c3474abf0465c429a8ab85c0a5e
5
5
  SHA512:
6
- metadata.gz: b5ef7af896c7c369c9342abd61b4c2addebf0a7d78d88588ec72e8acc0cb1ce96f5d77391acbe1838858261ef97ad686fa2b274432935c57215bf21170182f0a
7
- data.tar.gz: b80859f035dcabfbcd3dfb70d3408a092116989527eec05bed004b00bfa7082e8ac50a1803fe460db1eb589247c7563fa7b262ea75cf11d720cab84a09ed1ec2
6
+ metadata.gz: fa6773391d44f7fff46360960bca10609aeaf700f5b424078b0bc35a7ea4a817238cd4a61b2f6b4cca6c466754e22171e6dcd4b7383212493f1e390ce3660e14
7
+ data.tar.gz: 1ddda55b9fd3fb1ab2d9ae600829785a71c28c6f2de390d9d7c7ab31c694f4fbdd5f3293fadb4b158d05db88e544ca69a027aa6387cbbdfd23e18fb2ccf17b43
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.33.0'
45
+ GEM_VERSION = '1.34.0'
46
46
 
47
47
  end
@@ -16,6 +16,7 @@ require 'aws-sdk-core/plugins/retry_errors.rb'
16
16
  require 'aws-sdk-core/plugins/global_configuration.rb'
17
17
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/endpoint_discovery.rb'
19
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
19
20
  require 'aws-sdk-core/plugins/response_paging.rb'
20
21
  require 'aws-sdk-core/plugins/stub_responses.rb'
21
22
  require 'aws-sdk-core/plugins/idempotency_token.rb'
@@ -47,6 +48,7 @@ module Aws::SSM
47
48
  add_plugin(Aws::Plugins::GlobalConfiguration)
48
49
  add_plugin(Aws::Plugins::RegionalEndpoint)
49
50
  add_plugin(Aws::Plugins::EndpointDiscovery)
51
+ add_plugin(Aws::Plugins::EndpointPattern)
50
52
  add_plugin(Aws::Plugins::ResponsePaging)
51
53
  add_plugin(Aws::Plugins::StubResponses)
52
54
  add_plugin(Aws::Plugins::IdempotencyToken)
@@ -124,6 +126,10 @@ module Aws::SSM
124
126
  # When `true`, an attempt is made to coerce request parameters into
125
127
  # the required types.
126
128
  #
129
+ # @option options [Boolean] :disable_host_prefix_injection (false)
130
+ # Set to true to disable SDK automatically adding host prefix
131
+ # to default service endpoint when available.
132
+ #
127
133
  # @option options [String] :endpoint
128
134
  # The client endpoint is normally constructed from the `:region`
129
135
  # option. You should only configure an `:endpoint` when connecting
@@ -695,6 +701,10 @@ module Aws::SSM
695
701
  # @option params [required, String] :content
696
702
  # A valid JSON or YAML string.
697
703
  #
704
+ # @option params [Array<Types::AttachmentsSource>] :attachments
705
+ # A list of key and value pairs that describe attachments to a version
706
+ # of a document.
707
+ #
698
708
  # @option params [required, String] :name
699
709
  # A name for the Systems Manager document.
700
710
  #
@@ -707,9 +717,15 @@ module Aws::SSM
707
717
  #
708
718
  # * `amzn`
709
719
  #
720
+ # @option params [String] :version_name
721
+ # An optional field specifying the version of the artifact you are
722
+ # creating with the document. For example, "Release 12, Update 6".
723
+ # This value is unique across all versions of a document, and cannot be
724
+ # changed.
725
+ #
710
726
  # @option params [String] :document_type
711
- # The type of document to create. Valid document types include: Policy,
712
- # Automation, and Command.
727
+ # The type of document to create. Valid document types include:
728
+ # `Command`, `Policy`, `Automation`, `Session`, and `Package`.
713
729
  #
714
730
  # @option params [String] :document_format
715
731
  # Specify the document format for the request. The document format can
@@ -736,8 +752,15 @@ module Aws::SSM
736
752
  #
737
753
  # resp = client.create_document({
738
754
  # content: "DocumentContent", # required
755
+ # attachments: [
756
+ # {
757
+ # key: "SourceUrl", # accepts SourceUrl
758
+ # values: ["AttachmentsSourceValue"],
759
+ # },
760
+ # ],
739
761
  # name: "DocumentName", # required
740
- # document_type: "Command", # accepts Command, Policy, Automation, Session
762
+ # version_name: "DocumentVersionName",
763
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package
741
764
  # document_format: "YAML", # accepts YAML, JSON
742
765
  # target_type: "TargetType",
743
766
  # })
@@ -748,9 +771,11 @@ module Aws::SSM
748
771
  # resp.document_description.hash #=> String
749
772
  # resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
750
773
  # resp.document_description.name #=> String
774
+ # resp.document_description.version_name #=> String
751
775
  # resp.document_description.owner #=> String
752
776
  # resp.document_description.created_date #=> Time
753
- # resp.document_description.status #=> String, one of "Creating", "Active", "Updating", "Deleting"
777
+ # resp.document_description.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
778
+ # resp.document_description.status_information #=> String
754
779
  # resp.document_description.document_version #=> String
755
780
  # resp.document_description.description #=> String
756
781
  # resp.document_description.parameters #=> Array
@@ -760,7 +785,7 @@ module Aws::SSM
760
785
  # resp.document_description.parameters[0].default_value #=> String
761
786
  # resp.document_description.platform_types #=> Array
762
787
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
763
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
788
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
764
789
  # resp.document_description.schema_version #=> String
765
790
  # resp.document_description.latest_version #=> String
766
791
  # resp.document_description.default_version #=> String
@@ -769,6 +794,8 @@ module Aws::SSM
769
794
  # resp.document_description.tags #=> Array
770
795
  # resp.document_description.tags[0].key #=> String
771
796
  # resp.document_description.tags[0].value #=> String
797
+ # resp.document_description.attachments_information #=> Array
798
+ # resp.document_description.attachments_information[0].name #=> String
772
799
  #
773
800
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
774
801
  #
@@ -2020,6 +2047,11 @@ module Aws::SSM
2020
2047
  # The document version for which you want information. Can be a specific
2021
2048
  # version or the default version.
2022
2049
  #
2050
+ # @option params [String] :version_name
2051
+ # An optional field specifying the version of the artifact associated
2052
+ # with the document. For example, "Release 12, Update 6". This value
2053
+ # is unique across all versions of a document, and cannot be changed.
2054
+ #
2023
2055
  # @return [Types::DescribeDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2024
2056
  #
2025
2057
  # * {Types::DescribeDocumentResult#document #document} => Types::DocumentDescription
@@ -2029,6 +2061,7 @@ module Aws::SSM
2029
2061
  # resp = client.describe_document({
2030
2062
  # name: "DocumentARN", # required
2031
2063
  # document_version: "DocumentVersion",
2064
+ # version_name: "DocumentVersionName",
2032
2065
  # })
2033
2066
  #
2034
2067
  # @example Response structure
@@ -2037,9 +2070,11 @@ module Aws::SSM
2037
2070
  # resp.document.hash #=> String
2038
2071
  # resp.document.hash_type #=> String, one of "Sha256", "Sha1"
2039
2072
  # resp.document.name #=> String
2073
+ # resp.document.version_name #=> String
2040
2074
  # resp.document.owner #=> String
2041
2075
  # resp.document.created_date #=> Time
2042
- # resp.document.status #=> String, one of "Creating", "Active", "Updating", "Deleting"
2076
+ # resp.document.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
2077
+ # resp.document.status_information #=> String
2043
2078
  # resp.document.document_version #=> String
2044
2079
  # resp.document.description #=> String
2045
2080
  # resp.document.parameters #=> Array
@@ -2049,7 +2084,7 @@ module Aws::SSM
2049
2084
  # resp.document.parameters[0].default_value #=> String
2050
2085
  # resp.document.platform_types #=> Array
2051
2086
  # resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
2052
- # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
2087
+ # resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
2053
2088
  # resp.document.schema_version #=> String
2054
2089
  # resp.document.latest_version #=> String
2055
2090
  # resp.document.default_version #=> String
@@ -2058,6 +2093,8 @@ module Aws::SSM
2058
2093
  # resp.document.tags #=> Array
2059
2094
  # resp.document.tags[0].key #=> String
2060
2095
  # resp.document.tags[0].value #=> String
2096
+ # resp.document.attachments_information #=> Array
2097
+ # resp.document.attachments_information[0].name #=> String
2061
2098
  #
2062
2099
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
2063
2100
  #
@@ -3702,6 +3739,11 @@ module Aws::SSM
3702
3739
  # @option params [required, String] :name
3703
3740
  # The name of the Systems Manager document.
3704
3741
  #
3742
+ # @option params [String] :version_name
3743
+ # An optional field specifying the version of the artifact associated
3744
+ # with the document. For example, "Release 12, Update 6". This value
3745
+ # is unique across all versions of a document, and cannot be changed.
3746
+ #
3705
3747
  # @option params [String] :document_version
3706
3748
  # The document version for which you want information.
3707
3749
  #
@@ -3712,15 +3754,20 @@ module Aws::SSM
3712
3754
  # @return [Types::GetDocumentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3713
3755
  #
3714
3756
  # * {Types::GetDocumentResult#name #name} => String
3757
+ # * {Types::GetDocumentResult#version_name #version_name} => String
3715
3758
  # * {Types::GetDocumentResult#document_version #document_version} => String
3759
+ # * {Types::GetDocumentResult#status #status} => String
3760
+ # * {Types::GetDocumentResult#status_information #status_information} => String
3716
3761
  # * {Types::GetDocumentResult#content #content} => String
3717
3762
  # * {Types::GetDocumentResult#document_type #document_type} => String
3718
3763
  # * {Types::GetDocumentResult#document_format #document_format} => String
3764
+ # * {Types::GetDocumentResult#attachments_content #attachments_content} => Array&lt;Types::AttachmentContent&gt;
3719
3765
  #
3720
3766
  # @example Request syntax with placeholder values
3721
3767
  #
3722
3768
  # resp = client.get_document({
3723
3769
  # name: "DocumentARN", # required
3770
+ # version_name: "DocumentVersionName",
3724
3771
  # document_version: "DocumentVersion",
3725
3772
  # document_format: "YAML", # accepts YAML, JSON
3726
3773
  # })
@@ -3728,10 +3775,19 @@ module Aws::SSM
3728
3775
  # @example Response structure
3729
3776
  #
3730
3777
  # resp.name #=> String
3778
+ # resp.version_name #=> String
3731
3779
  # resp.document_version #=> String
3780
+ # resp.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
3781
+ # resp.status_information #=> String
3732
3782
  # resp.content #=> String
3733
- # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
3783
+ # resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
3734
3784
  # resp.document_format #=> String, one of "YAML", "JSON"
3785
+ # resp.attachments_content #=> Array
3786
+ # resp.attachments_content[0].name #=> String
3787
+ # resp.attachments_content[0].size #=> Integer
3788
+ # resp.attachments_content[0].hash #=> String
3789
+ # resp.attachments_content[0].hash_type #=> String, one of "Sha256"
3790
+ # resp.attachments_content[0].url #=> String
3735
3791
  #
3736
3792
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
3737
3793
  #
@@ -5102,9 +5158,12 @@ module Aws::SSM
5102
5158
  # resp.document_versions #=> Array
5103
5159
  # resp.document_versions[0].name #=> String
5104
5160
  # resp.document_versions[0].document_version #=> String
5161
+ # resp.document_versions[0].version_name #=> String
5105
5162
  # resp.document_versions[0].created_date #=> Time
5106
5163
  # resp.document_versions[0].is_default_version #=> Boolean
5107
5164
  # resp.document_versions[0].document_format #=> String, one of "YAML", "JSON"
5165
+ # resp.document_versions[0].status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
5166
+ # resp.document_versions[0].status_information #=> String
5108
5167
  # resp.next_token #=> String
5109
5168
  #
5110
5169
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions AWS API Documentation
@@ -5164,10 +5223,11 @@ module Aws::SSM
5164
5223
  # resp.document_identifiers #=> Array
5165
5224
  # resp.document_identifiers[0].name #=> String
5166
5225
  # resp.document_identifiers[0].owner #=> String
5226
+ # resp.document_identifiers[0].version_name #=> String
5167
5227
  # resp.document_identifiers[0].platform_types #=> Array
5168
5228
  # resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
5169
5229
  # resp.document_identifiers[0].document_version #=> String
5170
- # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session"
5230
+ # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
5171
5231
  # resp.document_identifiers[0].schema_version #=> String
5172
5232
  # resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON"
5173
5233
  # resp.document_identifiers[0].target_type #=> String
@@ -6860,11 +6920,21 @@ module Aws::SSM
6860
6920
  # The document you want to update.
6861
6921
  #
6862
6922
  # @option params [required, String] :content
6863
- # The content in a document that you want to update.
6923
+ # A valid JSON or YAML string.
6924
+ #
6925
+ # @option params [Array<Types::AttachmentsSource>] :attachments
6926
+ # A list of key and value pairs that describe attachments to a version
6927
+ # of a document.
6864
6928
  #
6865
6929
  # @option params [required, String] :name
6866
6930
  # The name of the document that you want to update.
6867
6931
  #
6932
+ # @option params [String] :version_name
6933
+ # An optional field specifying the version of the artifact you are
6934
+ # updating with the document. For example, "Release 12, Update 6".
6935
+ # This value is unique across all versions of a document, and cannot be
6936
+ # changed.
6937
+ #
6868
6938
  # @option params [String] :document_version
6869
6939
  # The version of the document that you want to update.
6870
6940
  #
@@ -6883,7 +6953,14 @@ module Aws::SSM
6883
6953
  #
6884
6954
  # resp = client.update_document({
6885
6955
  # content: "DocumentContent", # required
6956
+ # attachments: [
6957
+ # {
6958
+ # key: "SourceUrl", # accepts SourceUrl
6959
+ # values: ["AttachmentsSourceValue"],
6960
+ # },
6961
+ # ],
6886
6962
  # name: "DocumentName", # required
6963
+ # version_name: "DocumentVersionName",
6887
6964
  # document_version: "DocumentVersion",
6888
6965
  # document_format: "YAML", # accepts YAML, JSON
6889
6966
  # target_type: "TargetType",
@@ -6895,9 +6972,11 @@ module Aws::SSM
6895
6972
  # resp.document_description.hash #=> String
6896
6973
  # resp.document_description.hash_type #=> String, one of "Sha256", "Sha1"
6897
6974
  # resp.document_description.name #=> String
6975
+ # resp.document_description.version_name #=> String
6898
6976
  # resp.document_description.owner #=> String
6899
6977
  # resp.document_description.created_date #=> Time
6900
- # resp.document_description.status #=> String, one of "Creating", "Active", "Updating", "Deleting"
6978
+ # resp.document_description.status #=> String, one of "Creating", "Active", "Updating", "Deleting", "Failed"
6979
+ # resp.document_description.status_information #=> String
6901
6980
  # resp.document_description.document_version #=> String
6902
6981
  # resp.document_description.description #=> String
6903
6982
  # resp.document_description.parameters #=> Array
@@ -6907,7 +6986,7 @@ module Aws::SSM
6907
6986
  # resp.document_description.parameters[0].default_value #=> String
6908
6987
  # resp.document_description.platform_types #=> Array
6909
6988
  # resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
6910
- # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
6989
+ # resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session", "Package"
6911
6990
  # resp.document_description.schema_version #=> String
6912
6991
  # resp.document_description.latest_version #=> String
6913
6992
  # resp.document_description.default_version #=> String
@@ -6916,6 +6995,8 @@ module Aws::SSM
6916
6995
  # resp.document_description.tags #=> Array
6917
6996
  # resp.document_description.tags[0].key #=> String
6918
6997
  # resp.document_description.tags[0].value #=> String
6998
+ # resp.document_description.attachments_information #=> Array
6999
+ # resp.document_description.attachments_information[0].name #=> String
6919
7000
  #
6920
7001
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
6921
7002
  #
@@ -6951,6 +7032,7 @@ module Aws::SSM
6951
7032
  #
6952
7033
  # resp.description.name #=> String
6953
7034
  # resp.description.default_version #=> String
7035
+ # resp.description.default_version_name #=> String
6954
7036
  #
6955
7037
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion AWS API Documentation
6956
7038
  #
@@ -7644,7 +7726,7 @@ module Aws::SSM
7644
7726
  params: params,
7645
7727
  config: config)
7646
7728
  context[:gem_name] = 'aws-sdk-ssm'
7647
- context[:gem_version] = '1.33.0'
7729
+ context[:gem_version] = '1.34.0'
7648
7730
  Seahorse::Client::Request.new(handlers, context)
7649
7731
  end
7650
7732
 
@@ -68,6 +68,19 @@ module Aws::SSM
68
68
  AssociationVersionInfo = Shapes::StructureShape.new(name: 'AssociationVersionInfo')
69
69
  AssociationVersionLimitExceeded = Shapes::StructureShape.new(name: 'AssociationVersionLimitExceeded')
70
70
  AssociationVersionList = Shapes::ListShape.new(name: 'AssociationVersionList')
71
+ AttachmentContent = Shapes::StructureShape.new(name: 'AttachmentContent')
72
+ AttachmentContentList = Shapes::ListShape.new(name: 'AttachmentContentList')
73
+ AttachmentHash = Shapes::StringShape.new(name: 'AttachmentHash')
74
+ AttachmentHashType = Shapes::StringShape.new(name: 'AttachmentHashType')
75
+ AttachmentInformation = Shapes::StructureShape.new(name: 'AttachmentInformation')
76
+ AttachmentInformationList = Shapes::ListShape.new(name: 'AttachmentInformationList')
77
+ AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
78
+ AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
79
+ AttachmentsSource = Shapes::StructureShape.new(name: 'AttachmentsSource')
80
+ AttachmentsSourceKey = Shapes::StringShape.new(name: 'AttachmentsSourceKey')
81
+ AttachmentsSourceList = Shapes::ListShape.new(name: 'AttachmentsSourceList')
82
+ AttachmentsSourceValue = Shapes::StringShape.new(name: 'AttachmentsSourceValue')
83
+ AttachmentsSourceValues = Shapes::ListShape.new(name: 'AttachmentsSourceValues')
71
84
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
72
85
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
73
86
  AutomationActionName = Shapes::StringShape.new(name: 'AutomationActionName')
@@ -154,6 +167,7 @@ module Aws::SSM
154
167
  CompliantSummary = Shapes::StructureShape.new(name: 'CompliantSummary')
155
168
  ComputerName = Shapes::StringShape.new(name: 'ComputerName')
156
169
  ConnectionStatus = Shapes::StringShape.new(name: 'ConnectionStatus')
170
+ ContentLength = Shapes::IntegerShape.new(name: 'ContentLength')
157
171
  CreateActivationRequest = Shapes::StructureShape.new(name: 'CreateActivationRequest')
158
172
  CreateActivationResult = Shapes::StructureShape.new(name: 'CreateActivationResult')
159
173
  CreateAssociationBatchRequest = Shapes::StructureShape.new(name: 'CreateAssociationBatchRequest')
@@ -299,15 +313,18 @@ module Aws::SSM
299
313
  DocumentSchemaVersion = Shapes::StringShape.new(name: 'DocumentSchemaVersion')
300
314
  DocumentSha1 = Shapes::StringShape.new(name: 'DocumentSha1')
301
315
  DocumentStatus = Shapes::StringShape.new(name: 'DocumentStatus')
316
+ DocumentStatusInformation = Shapes::StringShape.new(name: 'DocumentStatusInformation')
302
317
  DocumentType = Shapes::StringShape.new(name: 'DocumentType')
303
318
  DocumentVersion = Shapes::StringShape.new(name: 'DocumentVersion')
304
319
  DocumentVersionInfo = Shapes::StructureShape.new(name: 'DocumentVersionInfo')
305
320
  DocumentVersionLimitExceeded = Shapes::StructureShape.new(name: 'DocumentVersionLimitExceeded')
306
321
  DocumentVersionList = Shapes::ListShape.new(name: 'DocumentVersionList')
322
+ DocumentVersionName = Shapes::StringShape.new(name: 'DocumentVersionName')
307
323
  DocumentVersionNumber = Shapes::StringShape.new(name: 'DocumentVersionNumber')
308
324
  DoesNotExistException = Shapes::StructureShape.new(name: 'DoesNotExistException')
309
325
  DryRun = Shapes::BooleanShape.new(name: 'DryRun')
310
326
  DuplicateDocumentContent = Shapes::StructureShape.new(name: 'DuplicateDocumentContent')
327
+ DuplicateDocumentVersionName = Shapes::StructureShape.new(name: 'DuplicateDocumentVersionName')
311
328
  DuplicateInstanceId = Shapes::StructureShape.new(name: 'DuplicateInstanceId')
312
329
  EffectiveInstanceAssociationMaxResults = Shapes::IntegerShape.new(name: 'EffectiveInstanceAssociationMaxResults')
313
330
  EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
@@ -1026,6 +1043,28 @@ module Aws::SSM
1026
1043
 
1027
1044
  AssociationVersionList.member = Shapes::ShapeRef.new(shape: AssociationVersionInfo)
1028
1045
 
1046
+ AttachmentContent.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "Name"))
1047
+ AttachmentContent.add_member(:size, Shapes::ShapeRef.new(shape: ContentLength, location_name: "Size"))
1048
+ AttachmentContent.add_member(:hash, Shapes::ShapeRef.new(shape: AttachmentHash, location_name: "Hash"))
1049
+ AttachmentContent.add_member(:hash_type, Shapes::ShapeRef.new(shape: AttachmentHashType, location_name: "HashType"))
1050
+ AttachmentContent.add_member(:url, Shapes::ShapeRef.new(shape: AttachmentUrl, location_name: "Url"))
1051
+ AttachmentContent.struct_class = Types::AttachmentContent
1052
+
1053
+ AttachmentContentList.member = Shapes::ShapeRef.new(shape: AttachmentContent)
1054
+
1055
+ AttachmentInformation.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "Name"))
1056
+ AttachmentInformation.struct_class = Types::AttachmentInformation
1057
+
1058
+ AttachmentInformationList.member = Shapes::ShapeRef.new(shape: AttachmentInformation)
1059
+
1060
+ AttachmentsSource.add_member(:key, Shapes::ShapeRef.new(shape: AttachmentsSourceKey, location_name: "Key"))
1061
+ AttachmentsSource.add_member(:values, Shapes::ShapeRef.new(shape: AttachmentsSourceValues, location_name: "Values"))
1062
+ AttachmentsSource.struct_class = Types::AttachmentsSource
1063
+
1064
+ AttachmentsSourceList.member = Shapes::ShapeRef.new(shape: AttachmentsSource)
1065
+
1066
+ AttachmentsSourceValues.member = Shapes::ShapeRef.new(shape: AttachmentsSourceValue)
1067
+
1029
1068
  AutomationExecution.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
1030
1069
  AutomationExecution.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
1031
1070
  AutomationExecution.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
@@ -1281,7 +1320,9 @@ module Aws::SSM
1281
1320
  CreateAssociationResult.struct_class = Types::CreateAssociationResult
1282
1321
 
1283
1322
  CreateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
1323
+ CreateDocumentRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsSourceList, location_name: "Attachments"))
1284
1324
  CreateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
1325
+ CreateDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1285
1326
  CreateDocumentRequest.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1286
1327
  CreateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1287
1328
  CreateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
@@ -1498,6 +1539,7 @@ module Aws::SSM
1498
1539
 
1499
1540
  DescribeDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
1500
1541
  DescribeDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1542
+ DescribeDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1501
1543
  DescribeDocumentRequest.struct_class = Types::DescribeDocumentRequest
1502
1544
 
1503
1545
  DescribeDocumentResult.add_member(:document, Shapes::ShapeRef.new(shape: DocumentDescription, location_name: "Document"))
@@ -1712,15 +1754,18 @@ module Aws::SSM
1712
1754
 
1713
1755
  DocumentDefaultVersionDescription.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
1714
1756
  DocumentDefaultVersionDescription.add_member(:default_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DefaultVersion"))
1757
+ DocumentDefaultVersionDescription.add_member(:default_version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "DefaultVersionName"))
1715
1758
  DocumentDefaultVersionDescription.struct_class = Types::DocumentDefaultVersionDescription
1716
1759
 
1717
1760
  DocumentDescription.add_member(:sha_1, Shapes::ShapeRef.new(shape: DocumentSha1, location_name: "Sha1"))
1718
1761
  DocumentDescription.add_member(:hash, Shapes::ShapeRef.new(shape: DocumentHash, location_name: "Hash"))
1719
1762
  DocumentDescription.add_member(:hash_type, Shapes::ShapeRef.new(shape: DocumentHashType, location_name: "HashType"))
1720
1763
  DocumentDescription.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
1764
+ DocumentDescription.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1721
1765
  DocumentDescription.add_member(:owner, Shapes::ShapeRef.new(shape: DocumentOwner, location_name: "Owner"))
1722
1766
  DocumentDescription.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
1723
1767
  DocumentDescription.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "Status"))
1768
+ DocumentDescription.add_member(:status_information, Shapes::ShapeRef.new(shape: DocumentStatusInformation, location_name: "StatusInformation"))
1724
1769
  DocumentDescription.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1725
1770
  DocumentDescription.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionInDocument, location_name: "Description"))
1726
1771
  DocumentDescription.add_member(:parameters, Shapes::ShapeRef.new(shape: DocumentParameterList, location_name: "Parameters"))
@@ -1732,6 +1777,7 @@ module Aws::SSM
1732
1777
  DocumentDescription.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1733
1778
  DocumentDescription.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
1734
1779
  DocumentDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1780
+ DocumentDescription.add_member(:attachments_information, Shapes::ShapeRef.new(shape: AttachmentInformationList, location_name: "AttachmentsInformation"))
1735
1781
  DocumentDescription.struct_class = Types::DocumentDescription
1736
1782
 
1737
1783
  DocumentFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentFilterKey, required: true, location_name: "key"))
@@ -1742,6 +1788,7 @@ module Aws::SSM
1742
1788
 
1743
1789
  DocumentIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
1744
1790
  DocumentIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: DocumentOwner, location_name: "Owner"))
1791
+ DocumentIdentifier.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1745
1792
  DocumentIdentifier.add_member(:platform_types, Shapes::ShapeRef.new(shape: PlatformTypeList, location_name: "PlatformTypes"))
1746
1793
  DocumentIdentifier.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1747
1794
  DocumentIdentifier.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
@@ -1771,9 +1818,12 @@ module Aws::SSM
1771
1818
 
1772
1819
  DocumentVersionInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
1773
1820
  DocumentVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1821
+ DocumentVersionInfo.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1774
1822
  DocumentVersionInfo.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
1775
1823
  DocumentVersionInfo.add_member(:is_default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefaultVersion"))
1776
1824
  DocumentVersionInfo.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1825
+ DocumentVersionInfo.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "Status"))
1826
+ DocumentVersionInfo.add_member(:status_information, Shapes::ShapeRef.new(shape: DocumentStatusInformation, location_name: "StatusInformation"))
1777
1827
  DocumentVersionInfo.struct_class = Types::DocumentVersionInfo
1778
1828
 
1779
1829
  DocumentVersionList.member = Shapes::ShapeRef.new(shape: DocumentVersionInfo)
@@ -1851,15 +1901,20 @@ module Aws::SSM
1851
1901
  GetDeployablePatchSnapshotForInstanceResult.struct_class = Types::GetDeployablePatchSnapshotForInstanceResult
1852
1902
 
1853
1903
  GetDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
1904
+ GetDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1854
1905
  GetDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1855
1906
  GetDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1856
1907
  GetDocumentRequest.struct_class = Types::GetDocumentRequest
1857
1908
 
1858
1909
  GetDocumentResult.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
1910
+ GetDocumentResult.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
1859
1911
  GetDocumentResult.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1912
+ GetDocumentResult.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "Status"))
1913
+ GetDocumentResult.add_member(:status_information, Shapes::ShapeRef.new(shape: DocumentStatusInformation, location_name: "StatusInformation"))
1860
1914
  GetDocumentResult.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, location_name: "Content"))
1861
1915
  GetDocumentResult.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1862
1916
  GetDocumentResult.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
1917
+ GetDocumentResult.add_member(:attachments_content, Shapes::ShapeRef.new(shape: AttachmentContentList, location_name: "AttachmentsContent"))
1863
1918
  GetDocumentResult.struct_class = Types::GetDocumentResult
1864
1919
 
1865
1920
  GetInventoryRequest.add_member(:filters, Shapes::ShapeRef.new(shape: InventoryFilterList, location_name: "Filters"))
@@ -3051,7 +3106,9 @@ module Aws::SSM
3051
3106
  UpdateDocumentDefaultVersionResult.struct_class = Types::UpdateDocumentDefaultVersionResult
3052
3107
 
3053
3108
  UpdateDocumentRequest.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, required: true, location_name: "Content"))
3109
+ UpdateDocumentRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentsSourceList, location_name: "Attachments"))
3054
3110
  UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
3111
+ UpdateDocumentRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: DocumentVersionName, location_name: "VersionName"))
3055
3112
  UpdateDocumentRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
3056
3113
  UpdateDocumentRequest.add_member(:document_format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "DocumentFormat"))
3057
3114
  UpdateDocumentRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "TargetType"))
@@ -4465,10 +4522,12 @@ module Aws::SSM
4465
4522
  o.errors << Shapes::ShapeRef.new(shape: DocumentVersionLimitExceeded)
4466
4523
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4467
4524
  o.errors << Shapes::ShapeRef.new(shape: DuplicateDocumentContent)
4525
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateDocumentVersionName)
4468
4526
  o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentContent)
4469
4527
  o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentVersion)
4470
4528
  o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentSchemaVersion)
4471
4529
  o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
4530
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentOperation)
4472
4531
  end)
4473
4532
 
4474
4533
  api.add_operation(:update_document_default_version, Seahorse::Model::Operation.new.tap do |o|
@@ -682,6 +682,81 @@ module Aws::SSM
682
682
  include Aws::Structure
683
683
  end
684
684
 
685
+ # A structure that includes attributes that describe a document
686
+ # attachment.
687
+ #
688
+ # @!attribute [rw] name
689
+ # The name of an attachment.
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] size
693
+ # The size of an attachment in bytes.
694
+ # @return [Integer]
695
+ #
696
+ # @!attribute [rw] hash
697
+ # The cryptographic hash value of the document content.
698
+ # @return [String]
699
+ #
700
+ # @!attribute [rw] hash_type
701
+ # The hash algorithm used to calculate the hash value.
702
+ # @return [String]
703
+ #
704
+ # @!attribute [rw] url
705
+ # The URL location of the attachment content.
706
+ # @return [String]
707
+ #
708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AttachmentContent AWS API Documentation
709
+ #
710
+ class AttachmentContent < Struct.new(
711
+ :name,
712
+ :size,
713
+ :hash,
714
+ :hash_type,
715
+ :url)
716
+ include Aws::Structure
717
+ end
718
+
719
+ # An attribute of an attachment, such as the attachment name or size.
720
+ #
721
+ # @!attribute [rw] name
722
+ # @return [String]
723
+ #
724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AttachmentInformation AWS API Documentation
725
+ #
726
+ class AttachmentInformation < Struct.new(
727
+ :name)
728
+ include Aws::Structure
729
+ end
730
+
731
+ # A key and value pair that identifies the location of an attachment to
732
+ # a document.
733
+ #
734
+ # @note When making an API call, you may pass AttachmentsSource
735
+ # data as a hash:
736
+ #
737
+ # {
738
+ # key: "SourceUrl", # accepts SourceUrl
739
+ # values: ["AttachmentsSourceValue"],
740
+ # }
741
+ #
742
+ # @!attribute [rw] key
743
+ # The key of a key and value pair that identifies the location of an
744
+ # attachment to a document.
745
+ # @return [String]
746
+ #
747
+ # @!attribute [rw] values
748
+ # The URL of the location of a document attachment, such as the URL of
749
+ # an Amazon S3 bucket.
750
+ # @return [Array<String>]
751
+ #
752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AttachmentsSource AWS API Documentation
753
+ #
754
+ class AttachmentsSource < Struct.new(
755
+ :key,
756
+ :values)
757
+ include Aws::Structure
758
+ end
759
+
685
760
  # Detailed information about the current state of an individual
686
761
  # Automation execution.
687
762
  #
@@ -2277,8 +2352,15 @@ module Aws::SSM
2277
2352
  #
2278
2353
  # {
2279
2354
  # content: "DocumentContent", # required
2355
+ # attachments: [
2356
+ # {
2357
+ # key: "SourceUrl", # accepts SourceUrl
2358
+ # values: ["AttachmentsSourceValue"],
2359
+ # },
2360
+ # ],
2280
2361
  # name: "DocumentName", # required
2281
- # document_type: "Command", # accepts Command, Policy, Automation, Session
2362
+ # version_name: "DocumentVersionName",
2363
+ # document_type: "Command", # accepts Command, Policy, Automation, Session, Package
2282
2364
  # document_format: "YAML", # accepts YAML, JSON
2283
2365
  # target_type: "TargetType",
2284
2366
  # }
@@ -2287,6 +2369,11 @@ module Aws::SSM
2287
2369
  # A valid JSON or YAML string.
2288
2370
  # @return [String]
2289
2371
  #
2372
+ # @!attribute [rw] attachments
2373
+ # A list of key and value pairs that describe attachments to a version
2374
+ # of a document.
2375
+ # @return [Array<Types::AttachmentsSource>]
2376
+ #
2290
2377
  # @!attribute [rw] name
2291
2378
  # A name for the Systems Manager document.
2292
2379
  #
@@ -2300,9 +2387,16 @@ module Aws::SSM
2300
2387
  # * `amzn`
2301
2388
  # @return [String]
2302
2389
  #
2390
+ # @!attribute [rw] version_name
2391
+ # An optional field specifying the version of the artifact you are
2392
+ # creating with the document. For example, "Release 12, Update 6".
2393
+ # This value is unique across all versions of a document, and cannot
2394
+ # be changed.
2395
+ # @return [String]
2396
+ #
2303
2397
  # @!attribute [rw] document_type
2304
2398
  # The type of document to create. Valid document types include:
2305
- # Policy, Automation, and Command.
2399
+ # `Command`, `Policy`, `Automation`, `Session`, and `Package`.
2306
2400
  # @return [String]
2307
2401
  #
2308
2402
  # @!attribute [rw] document_format
@@ -2328,7 +2422,9 @@ module Aws::SSM
2328
2422
  #
2329
2423
  class CreateDocumentRequest < Struct.new(
2330
2424
  :content,
2425
+ :attachments,
2331
2426
  :name,
2427
+ :version_name,
2332
2428
  :document_type,
2333
2429
  :document_format,
2334
2430
  :target_type)
@@ -3606,6 +3702,7 @@ module Aws::SSM
3606
3702
  # {
3607
3703
  # name: "DocumentARN", # required
3608
3704
  # document_version: "DocumentVersion",
3705
+ # version_name: "DocumentVersionName",
3609
3706
  # }
3610
3707
  #
3611
3708
  # @!attribute [rw] name
@@ -3617,11 +3714,18 @@ module Aws::SSM
3617
3714
  # specific version or the default version.
3618
3715
  # @return [String]
3619
3716
  #
3717
+ # @!attribute [rw] version_name
3718
+ # An optional field specifying the version of the artifact associated
3719
+ # with the document. For example, "Release 12, Update 6". This value
3720
+ # is unique across all versions of a document, and cannot be changed.
3721
+ # @return [String]
3722
+ #
3620
3723
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest AWS API Documentation
3621
3724
  #
3622
3725
  class DescribeDocumentRequest < Struct.new(
3623
3726
  :name,
3624
- :document_version)
3727
+ :document_version,
3728
+ :version_name)
3625
3729
  include Aws::Structure
3626
3730
  end
3627
3731
 
@@ -4968,11 +5072,16 @@ module Aws::SSM
4968
5072
  # The default version of the document.
4969
5073
  # @return [String]
4970
5074
  #
5075
+ # @!attribute [rw] default_version_name
5076
+ # The default version of the artifact associated with the document.
5077
+ # @return [String]
5078
+ #
4971
5079
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDefaultVersionDescription AWS API Documentation
4972
5080
  #
4973
5081
  class DocumentDefaultVersionDescription < Struct.new(
4974
5082
  :name,
4975
- :default_version)
5083
+ :default_version,
5084
+ :default_version_name)
4976
5085
  include Aws::Structure
4977
5086
  end
4978
5087
 
@@ -4992,7 +5101,8 @@ module Aws::SSM
4992
5101
  # @return [String]
4993
5102
  #
4994
5103
  # @!attribute [rw] hash_type
4995
- # Sha256 or Sha1.
5104
+ # The hash type of the document. Valid values include `Sha256` or
5105
+ # `Sha1`.
4996
5106
  #
4997
5107
  # <note markdown="1"> Sha1 hashes have been deprecated.
4998
5108
  #
@@ -5003,6 +5113,10 @@ module Aws::SSM
5003
5113
  # The name of the Systems Manager document.
5004
5114
  # @return [String]
5005
5115
  #
5116
+ # @!attribute [rw] version_name
5117
+ # The version of the artifact associated with the document.
5118
+ # @return [String]
5119
+ #
5006
5120
  # @!attribute [rw] owner
5007
5121
  # The AWS user account that created the document.
5008
5122
  # @return [String]
@@ -5015,6 +5129,13 @@ module Aws::SSM
5015
5129
  # The status of the Systems Manager document.
5016
5130
  # @return [String]
5017
5131
  #
5132
+ # @!attribute [rw] status_information
5133
+ # A message returned by AWS Systems Manager that explains the `Status`
5134
+ # value. For example, a `Failed` status might be explained by the
5135
+ # `StatusInformation` message, "The specified S3 bucket does not
5136
+ # exist. Verify that the URL of the S3 bucket is correct."
5137
+ # @return [String]
5138
+ #
5018
5139
  # @!attribute [rw] document_version
5019
5140
  # The document version.
5020
5141
  # @return [String]
@@ -5067,6 +5188,11 @@ module Aws::SSM
5067
5188
  # The tags, or metadata, that have been applied to the document.
5068
5189
  # @return [Array<Types::Tag>]
5069
5190
  #
5191
+ # @!attribute [rw] attachments_information
5192
+ # Details about the document attachments, including names, locations,
5193
+ # sizes, etc.
5194
+ # @return [Array<Types::AttachmentInformation>]
5195
+ #
5070
5196
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
5071
5197
  #
5072
5198
  class DocumentDescription < Struct.new(
@@ -5074,9 +5200,11 @@ module Aws::SSM
5074
5200
  :hash,
5075
5201
  :hash_type,
5076
5202
  :name,
5203
+ :version_name,
5077
5204
  :owner,
5078
5205
  :created_date,
5079
5206
  :status,
5207
+ :status_information,
5080
5208
  :document_version,
5081
5209
  :description,
5082
5210
  :parameters,
@@ -5087,7 +5215,8 @@ module Aws::SSM
5087
5215
  :default_version,
5088
5216
  :document_format,
5089
5217
  :target_type,
5090
- :tags)
5218
+ :tags,
5219
+ :attachments_information)
5091
5220
  include Aws::Structure
5092
5221
  end
5093
5222
 
@@ -5127,6 +5256,12 @@ module Aws::SSM
5127
5256
  # The AWS user account that created the document.
5128
5257
  # @return [String]
5129
5258
  #
5259
+ # @!attribute [rw] version_name
5260
+ # An optional field specifying the version of the artifact associated
5261
+ # with the document. For example, "Release 12, Update 6". This value
5262
+ # is unique across all versions of a document, and cannot be changed.
5263
+ # @return [String]
5264
+ #
5130
5265
  # @!attribute [rw] platform_types
5131
5266
  # The operating system platform.
5132
5267
  # @return [Array<String>]
@@ -5167,6 +5302,7 @@ module Aws::SSM
5167
5302
  class DocumentIdentifier < Struct.new(
5168
5303
  :name,
5169
5304
  :owner,
5305
+ :version_name,
5170
5306
  :platform_types,
5171
5307
  :document_version,
5172
5308
  :document_type,
@@ -5275,6 +5411,12 @@ module Aws::SSM
5275
5411
  # The document version.
5276
5412
  # @return [String]
5277
5413
  #
5414
+ # @!attribute [rw] version_name
5415
+ # The version of the artifact associated with the document. For
5416
+ # example, "Release 12, Update 6". This value is unique across all
5417
+ # versions of a document, and cannot be changed.
5418
+ # @return [String]
5419
+ #
5278
5420
  # @!attribute [rw] created_date
5279
5421
  # The date the document was created.
5280
5422
  # @return [Time]
@@ -5287,14 +5429,29 @@ module Aws::SSM
5287
5429
  # The document format, either JSON or YAML.
5288
5430
  # @return [String]
5289
5431
  #
5432
+ # @!attribute [rw] status
5433
+ # The status of the Systems Manager document, such as `Creating`,
5434
+ # `Active`, `Failed`, and `Deleting`.
5435
+ # @return [String]
5436
+ #
5437
+ # @!attribute [rw] status_information
5438
+ # A message returned by AWS Systems Manager that explains the `Status`
5439
+ # value. For example, a `Failed` status might be explained by the
5440
+ # `StatusInformation` message, "The specified S3 bucket does not
5441
+ # exist. Verify that the URL of the S3 bucket is correct."
5442
+ # @return [String]
5443
+ #
5290
5444
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo AWS API Documentation
5291
5445
  #
5292
5446
  class DocumentVersionInfo < Struct.new(
5293
5447
  :name,
5294
5448
  :document_version,
5449
+ :version_name,
5295
5450
  :created_date,
5296
5451
  :is_default_version,
5297
- :document_format)
5452
+ :document_format,
5453
+ :status,
5454
+ :status_information)
5298
5455
  include Aws::Structure
5299
5456
  end
5300
5457
 
@@ -5745,6 +5902,7 @@ module Aws::SSM
5745
5902
  #
5746
5903
  # {
5747
5904
  # name: "DocumentARN", # required
5905
+ # version_name: "DocumentVersionName",
5748
5906
  # document_version: "DocumentVersion",
5749
5907
  # document_format: "YAML", # accepts YAML, JSON
5750
5908
  # }
@@ -5753,6 +5911,12 @@ module Aws::SSM
5753
5911
  # The name of the Systems Manager document.
5754
5912
  # @return [String]
5755
5913
  #
5914
+ # @!attribute [rw] version_name
5915
+ # An optional field specifying the version of the artifact associated
5916
+ # with the document. For example, "Release 12, Update 6". This value
5917
+ # is unique across all versions of a document, and cannot be changed.
5918
+ # @return [String]
5919
+ #
5756
5920
  # @!attribute [rw] document_version
5757
5921
  # The document version for which you want information.
5758
5922
  # @return [String]
@@ -5766,6 +5930,7 @@ module Aws::SSM
5766
5930
  #
5767
5931
  class GetDocumentRequest < Struct.new(
5768
5932
  :name,
5933
+ :version_name,
5769
5934
  :document_version,
5770
5935
  :document_format)
5771
5936
  include Aws::Structure
@@ -5775,10 +5940,28 @@ module Aws::SSM
5775
5940
  # The name of the Systems Manager document.
5776
5941
  # @return [String]
5777
5942
  #
5943
+ # @!attribute [rw] version_name
5944
+ # The version of the artifact associated with the document. For
5945
+ # example, "Release 12, Update 6". This value is unique across all
5946
+ # versions of a document, and cannot be changed.
5947
+ # @return [String]
5948
+ #
5778
5949
  # @!attribute [rw] document_version
5779
5950
  # The document version.
5780
5951
  # @return [String]
5781
5952
  #
5953
+ # @!attribute [rw] status
5954
+ # The status of the Systems Manager document, such as `Creating`,
5955
+ # `Active`, `Updating`, `Failed`, and `Deleting`.
5956
+ # @return [String]
5957
+ #
5958
+ # @!attribute [rw] status_information
5959
+ # A message returned by AWS Systems Manager that explains the `Status`
5960
+ # value. For example, a `Failed` status might be explained by the
5961
+ # `StatusInformation` message, "The specified S3 bucket does not
5962
+ # exist. Verify that the URL of the S3 bucket is correct."
5963
+ # @return [String]
5964
+ #
5782
5965
  # @!attribute [rw] content
5783
5966
  # The contents of the Systems Manager document.
5784
5967
  # @return [String]
@@ -5791,14 +5974,23 @@ module Aws::SSM
5791
5974
  # The document format, either JSON or YAML.
5792
5975
  # @return [String]
5793
5976
  #
5977
+ # @!attribute [rw] attachments_content
5978
+ # A description of the document attachments, including names,
5979
+ # locations, sizes, etc.
5980
+ # @return [Array<Types::AttachmentContent>]
5981
+ #
5794
5982
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult AWS API Documentation
5795
5983
  #
5796
5984
  class GetDocumentResult < Struct.new(
5797
5985
  :name,
5986
+ :version_name,
5798
5987
  :document_version,
5988
+ :status,
5989
+ :status_information,
5799
5990
  :content,
5800
5991
  :document_type,
5801
- :document_format)
5992
+ :document_format,
5993
+ :attachments_content)
5802
5994
  include Aws::Structure
5803
5995
  end
5804
5996
 
@@ -12825,20 +13017,39 @@ module Aws::SSM
12825
13017
  #
12826
13018
  # {
12827
13019
  # content: "DocumentContent", # required
13020
+ # attachments: [
13021
+ # {
13022
+ # key: "SourceUrl", # accepts SourceUrl
13023
+ # values: ["AttachmentsSourceValue"],
13024
+ # },
13025
+ # ],
12828
13026
  # name: "DocumentName", # required
13027
+ # version_name: "DocumentVersionName",
12829
13028
  # document_version: "DocumentVersion",
12830
13029
  # document_format: "YAML", # accepts YAML, JSON
12831
13030
  # target_type: "TargetType",
12832
13031
  # }
12833
13032
  #
12834
13033
  # @!attribute [rw] content
12835
- # The content in a document that you want to update.
13034
+ # A valid JSON or YAML string.
12836
13035
  # @return [String]
12837
13036
  #
13037
+ # @!attribute [rw] attachments
13038
+ # A list of key and value pairs that describe attachments to a version
13039
+ # of a document.
13040
+ # @return [Array<Types::AttachmentsSource>]
13041
+ #
12838
13042
  # @!attribute [rw] name
12839
13043
  # The name of the document that you want to update.
12840
13044
  # @return [String]
12841
13045
  #
13046
+ # @!attribute [rw] version_name
13047
+ # An optional field specifying the version of the artifact you are
13048
+ # updating with the document. For example, "Release 12, Update 6".
13049
+ # This value is unique across all versions of a document, and cannot
13050
+ # be changed.
13051
+ # @return [String]
13052
+ #
12842
13053
  # @!attribute [rw] document_version
12843
13054
  # The version of the document that you want to update.
12844
13055
  # @return [String]
@@ -12857,7 +13068,9 @@ module Aws::SSM
12857
13068
  #
12858
13069
  class UpdateDocumentRequest < Struct.new(
12859
13070
  :content,
13071
+ :attachments,
12860
13072
  :name,
13073
+ :version_name,
12861
13074
  :document_version,
12862
13075
  :document_format,
12863
13076
  :target_type)
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.33.0
4
+ version: 1.34.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: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.37.0
22
+ version: 3.39.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.37.0
32
+ version: 3.39.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement