aws-sdk-ssm 1.164.0 → 1.166.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -703,6 +703,7 @@ module Aws::SSM
703
703
  MaintenanceWindowTaskType = Shapes::StringShape.new(name: 'MaintenanceWindowTaskType')
704
704
  MaintenanceWindowTimezone = Shapes::StringShape.new(name: 'MaintenanceWindowTimezone')
705
705
  MaintenanceWindowsForTargetList = Shapes::ListShape.new(name: 'MaintenanceWindowsForTargetList')
706
+ MalformedResourcePolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedResourcePolicyDocumentException')
706
707
  ManagedInstanceId = Shapes::StringShape.new(name: 'ManagedInstanceId')
707
708
  MaxConcurrency = Shapes::StringShape.new(name: 'MaxConcurrency')
708
709
  MaxDocumentSizeExceeded = Shapes::StructureShape.new(name: 'MaxDocumentSizeExceeded')
@@ -1040,10 +1041,12 @@ module Aws::SSM
1040
1041
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
1041
1042
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
1042
1043
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
1044
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
1043
1045
  ResourcePolicyConflictException = Shapes::StructureShape.new(name: 'ResourcePolicyConflictException')
1044
1046
  ResourcePolicyInvalidParameterException = Shapes::StructureShape.new(name: 'ResourcePolicyInvalidParameterException')
1045
1047
  ResourcePolicyLimitExceededException = Shapes::StructureShape.new(name: 'ResourcePolicyLimitExceededException')
1046
1048
  ResourcePolicyMaxResults = Shapes::IntegerShape.new(name: 'ResourcePolicyMaxResults')
1049
+ ResourcePolicyNotFoundException = Shapes::StructureShape.new(name: 'ResourcePolicyNotFoundException')
1047
1050
  ResourcePolicyParameterNamesList = Shapes::ListShape.new(name: 'ResourcePolicyParameterNamesList')
1048
1051
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
1049
1052
  ResourceTypeForTagging = Shapes::StringShape.new(name: 'ResourceTypeForTagging')
@@ -2233,6 +2236,7 @@ module Aws::SSM
2233
2236
  DescribeParametersRequest.add_member(:parameter_filters, Shapes::ShapeRef.new(shape: ParameterStringFilterList, location_name: "ParameterFilters"))
2234
2237
  DescribeParametersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
2235
2238
  DescribeParametersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2239
+ DescribeParametersRequest.add_member(:shared, Shapes::ShapeRef.new(shape: Boolean, location_name: "Shared", metadata: {"box"=>true}))
2236
2240
  DescribeParametersRequest.struct_class = Types::DescribeParametersRequest
2237
2241
 
2238
2242
  DescribeParametersResult.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMetadataList, location_name: "Parameters"))
@@ -3480,6 +3484,9 @@ module Aws::SSM
3480
3484
 
3481
3485
  MaintenanceWindowsForTargetList.member = Shapes::ShapeRef.new(shape: MaintenanceWindowIdentityForTarget)
3482
3486
 
3487
+ MalformedResourcePolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3488
+ MalformedResourcePolicyDocumentException.struct_class = Types::MalformedResourcePolicyDocumentException
3489
+
3483
3490
  MaxDocumentSizeExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
3484
3491
  MaxDocumentSizeExceeded.struct_class = Types::MaxDocumentSizeExceeded
3485
3492
 
@@ -3791,6 +3798,7 @@ module Aws::SSM
3791
3798
  ParameterMaxVersionLimitExceeded.struct_class = Types::ParameterMaxVersionLimitExceeded
3792
3799
 
3793
3800
  ParameterMetadata.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
3801
+ ParameterMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
3794
3802
  ParameterMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
3795
3803
  ParameterMetadata.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
3796
3804
  ParameterMetadata.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
@@ -4183,6 +4191,9 @@ module Aws::SSM
4183
4191
  ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4184
4192
  ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
4185
4193
 
4194
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4195
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
4196
+
4186
4197
  ResourcePolicyConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4187
4198
  ResourcePolicyConflictException.struct_class = Types::ResourcePolicyConflictException
4188
4199
 
@@ -4195,6 +4206,9 @@ module Aws::SSM
4195
4206
  ResourcePolicyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4196
4207
  ResourcePolicyLimitExceededException.struct_class = Types::ResourcePolicyLimitExceededException
4197
4208
 
4209
+ ResourcePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4210
+ ResourcePolicyNotFoundException.struct_class = Types::ResourcePolicyNotFoundException
4211
+
4198
4212
  ResourcePolicyParameterNamesList.member = Shapes::ShapeRef.new(shape: String)
4199
4213
 
4200
4214
  ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
@@ -5050,6 +5064,9 @@ module Aws::SSM
5050
5064
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5051
5065
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5052
5066
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyConflictException)
5067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5068
+ o.errors << Shapes::ShapeRef.new(shape: MalformedResourcePolicyDocumentException)
5069
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
5053
5070
  end)
5054
5071
 
5055
5072
  api.add_operation(:deregister_managed_instance, Seahorse::Model::Operation.new.tap do |o|
@@ -5910,6 +5927,7 @@ module Aws::SSM
5910
5927
  o.output = Shapes::ShapeRef.new(shape: GetResourcePoliciesResponse)
5911
5928
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
5912
5929
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
5930
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5913
5931
  o[:pager] = Aws::Pager.new(
5914
5932
  limit_key: "max_results",
5915
5933
  tokens: {
@@ -6283,6 +6301,9 @@ module Aws::SSM
6283
6301
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyInvalidParameterException)
6284
6302
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyLimitExceededException)
6285
6303
  o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyConflictException)
6304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6305
+ o.errors << Shapes::ShapeRef.new(shape: MalformedResourcePolicyDocumentException)
6306
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
6286
6307
  end)
6287
6308
 
6288
6309
  api.add_operation(:register_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
@@ -108,6 +108,7 @@ module Aws::SSM
108
108
  # * {InvocationDoesNotExist}
109
109
  # * {ItemContentMismatchException}
110
110
  # * {ItemSizeLimitExceededException}
111
+ # * {MalformedResourcePolicyDocumentException}
111
112
  # * {MaxDocumentSizeExceeded}
112
113
  # * {OpsItemAccessDeniedException}
113
114
  # * {OpsItemAlreadyExistsException}
@@ -138,9 +139,11 @@ module Aws::SSM
138
139
  # * {ResourceDataSyncNotFoundException}
139
140
  # * {ResourceInUseException}
140
141
  # * {ResourceLimitExceededException}
142
+ # * {ResourceNotFoundException}
141
143
  # * {ResourcePolicyConflictException}
142
144
  # * {ResourcePolicyInvalidParameterException}
143
145
  # * {ResourcePolicyLimitExceededException}
146
+ # * {ResourcePolicyNotFoundException}
144
147
  # * {ServiceSettingNotFound}
145
148
  # * {StatusUnchanged}
146
149
  # * {SubTypeCountLimitExceededException}
@@ -1333,6 +1336,21 @@ module Aws::SSM
1333
1336
  end
1334
1337
  end
1335
1338
 
1339
+ class MalformedResourcePolicyDocumentException < ServiceError
1340
+
1341
+ # @param [Seahorse::Client::RequestContext] context
1342
+ # @param [String] message
1343
+ # @param [Aws::SSM::Types::MalformedResourcePolicyDocumentException] data
1344
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1345
+ super(context, message, data)
1346
+ end
1347
+
1348
+ # @return [String]
1349
+ def message
1350
+ @message || @data[:message]
1351
+ end
1352
+ end
1353
+
1336
1354
  class MaxDocumentSizeExceeded < ServiceError
1337
1355
 
1338
1356
  # @param [Seahorse::Client::RequestContext] context
@@ -1828,6 +1846,21 @@ module Aws::SSM
1828
1846
  end
1829
1847
  end
1830
1848
 
1849
+ class ResourceNotFoundException < ServiceError
1850
+
1851
+ # @param [Seahorse::Client::RequestContext] context
1852
+ # @param [String] message
1853
+ # @param [Aws::SSM::Types::ResourceNotFoundException] data
1854
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1855
+ super(context, message, data)
1856
+ end
1857
+
1858
+ # @return [String]
1859
+ def message
1860
+ @message || @data[:message]
1861
+ end
1862
+ end
1863
+
1831
1864
  class ResourcePolicyConflictException < ServiceError
1832
1865
 
1833
1866
  # @param [Seahorse::Client::RequestContext] context
@@ -1888,6 +1921,21 @@ module Aws::SSM
1888
1921
  end
1889
1922
  end
1890
1923
 
1924
+ class ResourcePolicyNotFoundException < ServiceError
1925
+
1926
+ # @param [Seahorse::Client::RequestContext] context
1927
+ # @param [String] message
1928
+ # @param [Aws::SSM::Types::ResourcePolicyNotFoundException] data
1929
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1930
+ super(context, message, data)
1931
+ end
1932
+
1933
+ # @return [String]
1934
+ def message
1935
+ @message || @data[:message]
1936
+ end
1937
+ end
1938
+
1891
1939
  class ServiceSettingNotFound < ServiceError
1892
1940
 
1893
1941
  # @param [Seahorse::Client::RequestContext] context