aws-sdk-ssm 1.11.0 → 1.12.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: c3c461846c4f48c60b26110d05d9c7a45222c2ae
4
- data.tar.gz: 1467cc37af75334941c4048277ee767611081987
3
+ metadata.gz: 8f254256c5b96e7839c141cb26f21c17042e20c2
4
+ data.tar.gz: 3c8eab37cbcd130b1ef3503cc32ddfdc79fd8de9
5
5
  SHA512:
6
- metadata.gz: 135995834c68bbb55815485c3251dc54edcec176183d30722fbd953df961738200cce68817df6f642ef6aa1251226d6df9f15688bf3cdebced418eda7dffb73a
7
- data.tar.gz: f7029a794da3a62fd23180c6f2fd93c854d9ccbf22252b18cf5e8b9b939c5a16f8f3ea61053984a2fc3b2bc038954a126e3e248fec5199cf3445d2f2d24ea2db
6
+ metadata.gz: cc64d81fecda650fe02f03a5152568c4acf0f14329a3a0907a5c2ead800604b7a6e519695067647c992c427dbb37e2cbac6e9650af471789adf2dc1755bd7d80
7
+ data.tar.gz: 93c4bf29d6cdb71ac9b75217a165ae86d104a90c3940e04d6e008861c16d2eb3647a2a22c84e59c33349e10444e8f80cc04dd7284325a57c3b1f0dcc45884d14
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.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -199,6 +199,8 @@ module Aws::SSM
199
199
  # want the tag to have a value, specify the parameter with no value, and
200
200
  # we set the value to an empty string.
201
201
  #
202
+ # Do not enter personally identifiable information in this field.
203
+ #
202
204
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
203
205
  #
204
206
  # @example Request syntax with placeholder values
@@ -268,11 +270,15 @@ module Aws::SSM
268
270
  # A userdefined description of the resource that you want to register
269
271
  # with Amazon EC2.
270
272
  #
273
+ # Do not enter personally identifiable information in this field.
274
+ #
271
275
  # @option params [String] :default_instance_name
272
276
  # The name of the registered, managed instance as it will appear in the
273
277
  # Amazon EC2 console or when you use the AWS command line tools to list
274
278
  # EC2 resources.
275
279
  #
280
+ # Do not enter personally identifiable information in this field.
281
+ #
276
282
  # @option params [required, String] :iam_role
277
283
  # The Amazon Identity and Access Management (IAM) role that you want to
278
284
  # assign to the managed instance.
@@ -945,6 +951,76 @@ module Aws::SSM
945
951
  req.send_request(options)
946
952
  end
947
953
 
954
+ # Delete a custom inventory type, or the data associated with a custom
955
+ # Inventory type. Deleting a custom inventory type is also referred to
956
+ # as deleting a custom inventory schema.
957
+ #
958
+ # @option params [required, String] :type_name
959
+ # The name of the custom inventory type for which you want to delete
960
+ # either all previously collected data, or the inventory type itself.
961
+ #
962
+ # @option params [String] :schema_delete_option
963
+ # Use the `SchemaDeleteOption` to delete a custom inventory type
964
+ # (schema). If you don't choose this option, the system only deletes
965
+ # existing inventory data associated with the custom inventory type.
966
+ # Choose one of the following options:
967
+ #
968
+ # DisableSchema: If you choose this option, the system ignores all
969
+ # inventory data for the specified version, and any earlier versions. To
970
+ # enable this schema again, you must call the `PutInventory` action for
971
+ # a version greater than the disbled version.
972
+ #
973
+ # DeleteSchema: This option deletes the specified custom type from the
974
+ # Inventory service. You can recreate the schema later, if you want.
975
+ #
976
+ # @option params [Boolean] :dry_run
977
+ # Use this option to view a summary of the deletion request without
978
+ # deleting any data or the data type. This option is useful when you
979
+ # only want to understand what will be deleted. Once you validate that
980
+ # the data to be deleted is what you intend to delete, you can run the
981
+ # same command without specifying the `DryRun` option.
982
+ #
983
+ # @option params [String] :client_token
984
+ # User-provided idempotency token.
985
+ #
986
+ # **A suitable default value is auto-generated.** You should normally
987
+ # not need to pass this option.**
988
+ #
989
+ # @return [Types::DeleteInventoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
990
+ #
991
+ # * {Types::DeleteInventoryResult#deletion_id #deletion_id} => String
992
+ # * {Types::DeleteInventoryResult#type_name #type_name} => String
993
+ # * {Types::DeleteInventoryResult#deletion_summary #deletion_summary} => Types::InventoryDeletionSummary
994
+ #
995
+ # @example Request syntax with placeholder values
996
+ #
997
+ # resp = client.delete_inventory({
998
+ # type_name: "InventoryItemTypeName", # required
999
+ # schema_delete_option: "DisableSchema", # accepts DisableSchema, DeleteSchema
1000
+ # dry_run: false,
1001
+ # client_token: "ClientToken",
1002
+ # })
1003
+ #
1004
+ # @example Response structure
1005
+ #
1006
+ # resp.deletion_id #=> String
1007
+ # resp.type_name #=> String
1008
+ # resp.deletion_summary.total_count #=> Integer
1009
+ # resp.deletion_summary.remaining_count #=> Integer
1010
+ # resp.deletion_summary.summary_items #=> Array
1011
+ # resp.deletion_summary.summary_items[0].version #=> String
1012
+ # resp.deletion_summary.summary_items[0].count #=> Integer
1013
+ # resp.deletion_summary.summary_items[0].remaining_count #=> Integer
1014
+ #
1015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventory AWS API Documentation
1016
+ #
1017
+ # @overload delete_inventory(params = {})
1018
+ # @param [Hash] params ({})
1019
+ def delete_inventory(params = {}, options = {})
1020
+ req = build_request(:delete_inventory, params)
1021
+ req.send_request(options)
1022
+ end
1023
+
948
1024
  # Deletes a Maintenance Window.
949
1025
  #
950
1026
  # @option params [required, String] :window_id
@@ -2082,6 +2158,60 @@ module Aws::SSM
2082
2158
  req.send_request(options)
2083
2159
  end
2084
2160
 
2161
+ # Describes a specific delete inventory operation.
2162
+ #
2163
+ # @option params [String] :deletion_id
2164
+ # Specify the delete inventory ID for which you want information. This
2165
+ # ID was returned by the `DeleteInventory` action.
2166
+ #
2167
+ # @option params [String] :next_token
2168
+ # A token to start the list. Use this token to get the next set of
2169
+ # results.
2170
+ #
2171
+ # @option params [Integer] :max_results
2172
+ # The maximum number of items to return for this call. The call also
2173
+ # returns a token that you can specify in a subsequent call to get the
2174
+ # next set of results.
2175
+ #
2176
+ # @return [Types::DescribeInventoryDeletionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2177
+ #
2178
+ # * {Types::DescribeInventoryDeletionsResult#inventory_deletions #inventory_deletions} => Array<Types::InventoryDeletionStatusItem>
2179
+ # * {Types::DescribeInventoryDeletionsResult#next_token #next_token} => String
2180
+ #
2181
+ # @example Request syntax with placeholder values
2182
+ #
2183
+ # resp = client.describe_inventory_deletions({
2184
+ # deletion_id: "InventoryDeletionId",
2185
+ # next_token: "NextToken",
2186
+ # max_results: 1,
2187
+ # })
2188
+ #
2189
+ # @example Response structure
2190
+ #
2191
+ # resp.inventory_deletions #=> Array
2192
+ # resp.inventory_deletions[0].deletion_id #=> String
2193
+ # resp.inventory_deletions[0].type_name #=> String
2194
+ # resp.inventory_deletions[0].deletion_start_time #=> Time
2195
+ # resp.inventory_deletions[0].last_status #=> String, one of "InProgress", "Complete"
2196
+ # resp.inventory_deletions[0].last_status_message #=> String
2197
+ # resp.inventory_deletions[0].deletion_summary.total_count #=> Integer
2198
+ # resp.inventory_deletions[0].deletion_summary.remaining_count #=> Integer
2199
+ # resp.inventory_deletions[0].deletion_summary.summary_items #=> Array
2200
+ # resp.inventory_deletions[0].deletion_summary.summary_items[0].version #=> String
2201
+ # resp.inventory_deletions[0].deletion_summary.summary_items[0].count #=> Integer
2202
+ # resp.inventory_deletions[0].deletion_summary.summary_items[0].remaining_count #=> Integer
2203
+ # resp.inventory_deletions[0].last_status_update_time #=> Time
2204
+ # resp.next_token #=> String
2205
+ #
2206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletions AWS API Documentation
2207
+ #
2208
+ # @overload describe_inventory_deletions(params = {})
2209
+ # @param [Hash] params ({})
2210
+ def describe_inventory_deletions(params = {}, options = {})
2211
+ req = build_request(:describe_inventory_deletions, params)
2212
+ req.send_request(options)
2213
+ end
2214
+
2085
2215
  # Retrieves the individual task executions (one per target) for a
2086
2216
  # particular task executed as part of a Maintenance Window execution.
2087
2217
  #
@@ -3552,9 +3682,19 @@ module Aws::SSM
3552
3682
  # @option params [Boolean] :recursive
3553
3683
  # Retrieve all parameters within a hierarchy.
3554
3684
  #
3685
+ # If a user has access to a path, then the user can access all levels of
3686
+ # that path. For example, if a user has permission to access path /a,
3687
+ # then the user can also access /a/b. Even if a user has explicitly been
3688
+ # denied access in IAM for parameter /a, they can still call the
3689
+ # GetParametersByPath API action recursively and view /a/b.
3690
+ #
3555
3691
  # @option params [Array<Types::ParameterStringFilter>] :parameter_filters
3556
3692
  # Filters to limit the request results.
3557
3693
  #
3694
+ # <note markdown="1"> You can't filter using the parameter name.
3695
+ #
3696
+ # </note>
3697
+ #
3558
3698
  # @option params [Boolean] :with_decryption
3559
3699
  # Retrieve all parameters in a hierarchy with their value decrypted.
3560
3700
  #
@@ -4667,7 +4807,9 @@ module Aws::SSM
4667
4807
  # @option params [required, Array<Types::InventoryItem>] :items
4668
4808
  # The inventory items that you want to add or update on instances.
4669
4809
  #
4670
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4810
+ # @return [Types::PutInventoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4811
+ #
4812
+ # * {Types::PutInventoryResult#message #message} => String
4671
4813
  #
4672
4814
  # @example Request syntax with placeholder values
4673
4815
  #
@@ -4691,6 +4833,10 @@ module Aws::SSM
4691
4833
  # ],
4692
4834
  # })
4693
4835
  #
4836
+ # @example Response structure
4837
+ #
4838
+ # resp.message #=> String
4839
+ #
4694
4840
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory AWS API Documentation
4695
4841
  #
4696
4842
  # @overload put_inventory(params = {})
@@ -4726,6 +4872,8 @@ module Aws::SSM
4726
4872
  # @option params [String] :description
4727
4873
  # Information about the parameter that you want to add to the system.
4728
4874
  #
4875
+ # Do not enter personally identifiable information in this field.
4876
+ #
4729
4877
  # @option params [required, String] :value
4730
4878
  # The parameter value that you want to add to the system.
4731
4879
  #
@@ -4925,6 +5073,14 @@ module Aws::SSM
4925
5073
  # @option params [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>] :task_parameters
4926
5074
  # The parameters that should be passed to the task when it is executed.
4927
5075
  #
5076
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass to
5077
+ # a task when it runs, instead use the `Parameters` option in the
5078
+ # `TaskInvocationParameters` structure. For information about how
5079
+ # Systems Manager handles these options for the supported Maintenance
5080
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
5081
+ #
5082
+ # </note>
5083
+ #
4928
5084
  # @option params [Types::MaintenanceWindowTaskInvocationParameters] :task_invocation_parameters
4929
5085
  # The parameters that the task should use during execution. Populate
4930
5086
  # only the fields that match the task type. All other fields should be
@@ -4947,6 +5103,15 @@ module Aws::SSM
4947
5103
  # A structure containing information about an Amazon S3 bucket to write
4948
5104
  # instance-level logs to.
4949
5105
  #
5106
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
5107
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
5108
+ # options in the `TaskInvocationParameters` structure. For information
5109
+ # about how Systems Manager handles these options for the supported
5110
+ # Maintenance Window task types, see
5111
+ # MaintenanceWindowTaskInvocationParameters.
5112
+ #
5113
+ # </note>
5114
+ #
4950
5115
  # @option params [String] :name
4951
5116
  # An optional name for the task.
4952
5117
  #
@@ -5152,7 +5317,7 @@ module Aws::SSM
5152
5317
  #
5153
5318
  # @option params [Integer] :timeout_seconds
5154
5319
  # If this time is reached and the command has not already started
5155
- # executing, it will not execute.
5320
+ # executing, it will not run.
5156
5321
  #
5157
5322
  # @option params [String] :comment
5158
5323
  # User-specified information about the command, such as a brief
@@ -5852,18 +6017,18 @@ module Aws::SSM
5852
6017
  # Modifies a task assigned to a Maintenance Window. You can't change
5853
6018
  # the task type, but you can change the following values:
5854
6019
  #
5855
- # Task ARN. For example, you can change a RUN\_COMMAND task from
5856
- # AWS-RunPowerShellScript to AWS-RunShellScript.
6020
+ # * TaskARN. For example, you can change a RUN\_COMMAND task from
6021
+ # AWS-RunPowerShellScript to AWS-RunShellScript.
5857
6022
  #
5858
- # Service role ARN.
6023
+ # * ServiceRoleArn
5859
6024
  #
5860
- # Task parameters.
6025
+ # * TaskInvocationParameters
5861
6026
  #
5862
- # Task priority.
6027
+ # * Priority
5863
6028
  #
5864
- # Task MaxConcurrency and MaxErrors.
6029
+ # * MaxConcurrency
5865
6030
  #
5866
- # Log location.
6031
+ # * MaxErrors
5867
6032
  #
5868
6033
  # If a parameter is null, then the corresponding field is not modified.
5869
6034
  # Also, if you set Replace to true, then all fields required by the
@@ -5889,7 +6054,17 @@ module Aws::SSM
5889
6054
  # during task execution.
5890
6055
  #
5891
6056
  # @option params [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>] :task_parameters
5892
- # The parameters to modify. The map has the following format:
6057
+ # The parameters to modify.
6058
+ #
6059
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass to
6060
+ # a task when it runs, instead use the `Parameters` option in the
6061
+ # `TaskInvocationParameters` structure. For information about how
6062
+ # Systems Manager handles these options for the supported Maintenance
6063
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
6064
+ #
6065
+ # </note>
6066
+ #
6067
+ # The map has the following format:
5893
6068
  #
5894
6069
  # Key: string, between 1 and 255 characters
5895
6070
  #
@@ -5918,6 +6093,15 @@ module Aws::SSM
5918
6093
  # @option params [Types::LoggingInfo] :logging_info
5919
6094
  # The new logging location in Amazon S3 to specify.
5920
6095
  #
6096
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
6097
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
6098
+ # options in the `TaskInvocationParameters` structure. For information
6099
+ # about how Systems Manager handles these options for the supported
6100
+ # Maintenance Window task types, see
6101
+ # MaintenanceWindowTaskInvocationParameters.
6102
+ #
6103
+ # </note>
6104
+ #
5921
6105
  # @option params [String] :name
5922
6106
  # The new task name to specify.
5923
6107
  #
@@ -6257,7 +6441,7 @@ module Aws::SSM
6257
6441
  params: params,
6258
6442
  config: config)
6259
6443
  context[:gem_name] = 'aws-sdk-ssm'
6260
- context[:gem_version] = '1.11.0'
6444
+ context[:gem_version] = '1.12.0'
6261
6445
  Seahorse::Client::Request.new(handlers, context)
6262
6446
  end
6263
6447
 
@@ -153,6 +153,8 @@ module Aws::SSM
153
153
  DeleteAssociationResult = Shapes::StructureShape.new(name: 'DeleteAssociationResult')
154
154
  DeleteDocumentRequest = Shapes::StructureShape.new(name: 'DeleteDocumentRequest')
155
155
  DeleteDocumentResult = Shapes::StructureShape.new(name: 'DeleteDocumentResult')
156
+ DeleteInventoryRequest = Shapes::StructureShape.new(name: 'DeleteInventoryRequest')
157
+ DeleteInventoryResult = Shapes::StructureShape.new(name: 'DeleteInventoryResult')
156
158
  DeleteMaintenanceWindowRequest = Shapes::StructureShape.new(name: 'DeleteMaintenanceWindowRequest')
157
159
  DeleteMaintenanceWindowResult = Shapes::StructureShape.new(name: 'DeleteMaintenanceWindowResult')
158
160
  DeleteParameterRequest = Shapes::StructureShape.new(name: 'DeleteParameterRequest')
@@ -202,6 +204,8 @@ module Aws::SSM
202
204
  DescribeInstancePatchStatesResult = Shapes::StructureShape.new(name: 'DescribeInstancePatchStatesResult')
203
205
  DescribeInstancePatchesRequest = Shapes::StructureShape.new(name: 'DescribeInstancePatchesRequest')
204
206
  DescribeInstancePatchesResult = Shapes::StructureShape.new(name: 'DescribeInstancePatchesResult')
207
+ DescribeInventoryDeletionsRequest = Shapes::StructureShape.new(name: 'DescribeInventoryDeletionsRequest')
208
+ DescribeInventoryDeletionsResult = Shapes::StructureShape.new(name: 'DescribeInventoryDeletionsResult')
205
209
  DescribeMaintenanceWindowExecutionTaskInvocationsRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionTaskInvocationsRequest')
206
210
  DescribeMaintenanceWindowExecutionTaskInvocationsResult = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionTaskInvocationsResult')
207
211
  DescribeMaintenanceWindowExecutionTasksRequest = Shapes::StructureShape.new(name: 'DescribeMaintenanceWindowExecutionTasksRequest')
@@ -263,6 +267,7 @@ module Aws::SSM
263
267
  DocumentVersionList = Shapes::ListShape.new(name: 'DocumentVersionList')
264
268
  DocumentVersionNumber = Shapes::StringShape.new(name: 'DocumentVersionNumber')
265
269
  DoesNotExistException = Shapes::StructureShape.new(name: 'DoesNotExistException')
270
+ DryRun = Shapes::BooleanShape.new(name: 'DryRun')
266
271
  DuplicateDocumentContent = Shapes::StructureShape.new(name: 'DuplicateDocumentContent')
267
272
  DuplicateInstanceId = Shapes::StructureShape.new(name: 'DuplicateInstanceId')
268
273
  EffectiveInstanceAssociationMaxResults = Shapes::IntegerShape.new(name: 'EffectiveInstanceAssociationMaxResults')
@@ -362,6 +367,8 @@ module Aws::SSM
362
367
  InvalidAutomationSignalException = Shapes::StructureShape.new(name: 'InvalidAutomationSignalException')
363
368
  InvalidAutomationStatusUpdateException = Shapes::StructureShape.new(name: 'InvalidAutomationStatusUpdateException')
364
369
  InvalidCommandId = Shapes::StructureShape.new(name: 'InvalidCommandId')
370
+ InvalidDeleteInventoryParametersException = Shapes::StructureShape.new(name: 'InvalidDeleteInventoryParametersException')
371
+ InvalidDeletionIdException = Shapes::StructureShape.new(name: 'InvalidDeletionIdException')
365
372
  InvalidDocument = Shapes::StructureShape.new(name: 'InvalidDocument')
366
373
  InvalidDocumentContent = Shapes::StructureShape.new(name: 'InvalidDocumentContent')
367
374
  InvalidDocumentOperation = Shapes::StructureShape.new(name: 'InvalidDocumentOperation')
@@ -374,10 +381,12 @@ module Aws::SSM
374
381
  InvalidInstanceId = Shapes::StructureShape.new(name: 'InvalidInstanceId')
375
382
  InvalidInstanceInformationFilterValue = Shapes::StructureShape.new(name: 'InvalidInstanceInformationFilterValue')
376
383
  InvalidInventoryItemContextException = Shapes::StructureShape.new(name: 'InvalidInventoryItemContextException')
384
+ InvalidInventoryRequestException = Shapes::StructureShape.new(name: 'InvalidInventoryRequestException')
377
385
  InvalidItemContentException = Shapes::StructureShape.new(name: 'InvalidItemContentException')
378
386
  InvalidKeyId = Shapes::StructureShape.new(name: 'InvalidKeyId')
379
387
  InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken')
380
388
  InvalidNotificationConfig = Shapes::StructureShape.new(name: 'InvalidNotificationConfig')
389
+ InvalidOptionException = Shapes::StructureShape.new(name: 'InvalidOptionException')
381
390
  InvalidOutputFolder = Shapes::StructureShape.new(name: 'InvalidOutputFolder')
382
391
  InvalidOutputLocation = Shapes::StructureShape.new(name: 'InvalidOutputLocation')
383
392
  InvalidParameters = Shapes::StructureShape.new(name: 'InvalidParameters')
@@ -395,6 +404,16 @@ module Aws::SSM
395
404
  InventoryAggregatorExpression = Shapes::StringShape.new(name: 'InventoryAggregatorExpression')
396
405
  InventoryAggregatorList = Shapes::ListShape.new(name: 'InventoryAggregatorList')
397
406
  InventoryAttributeDataType = Shapes::StringShape.new(name: 'InventoryAttributeDataType')
407
+ InventoryDeletionId = Shapes::StringShape.new(name: 'InventoryDeletionId')
408
+ InventoryDeletionLastStatusMessage = Shapes::StringShape.new(name: 'InventoryDeletionLastStatusMessage')
409
+ InventoryDeletionLastStatusUpdateTime = Shapes::TimestampShape.new(name: 'InventoryDeletionLastStatusUpdateTime')
410
+ InventoryDeletionStartTime = Shapes::TimestampShape.new(name: 'InventoryDeletionStartTime')
411
+ InventoryDeletionStatus = Shapes::StringShape.new(name: 'InventoryDeletionStatus')
412
+ InventoryDeletionStatusItem = Shapes::StructureShape.new(name: 'InventoryDeletionStatusItem')
413
+ InventoryDeletionSummary = Shapes::StructureShape.new(name: 'InventoryDeletionSummary')
414
+ InventoryDeletionSummaryItem = Shapes::StructureShape.new(name: 'InventoryDeletionSummaryItem')
415
+ InventoryDeletionSummaryItems = Shapes::ListShape.new(name: 'InventoryDeletionSummaryItems')
416
+ InventoryDeletionsList = Shapes::ListShape.new(name: 'InventoryDeletionsList')
398
417
  InventoryFilter = Shapes::StructureShape.new(name: 'InventoryFilter')
399
418
  InventoryFilterKey = Shapes::StringShape.new(name: 'InventoryFilterKey')
400
419
  InventoryFilterList = Shapes::ListShape.new(name: 'InventoryFilterList')
@@ -422,6 +441,7 @@ module Aws::SSM
422
441
  InventoryResultItem = Shapes::StructureShape.new(name: 'InventoryResultItem')
423
442
  InventoryResultItemKey = Shapes::StringShape.new(name: 'InventoryResultItemKey')
424
443
  InventoryResultItemMap = Shapes::MapShape.new(name: 'InventoryResultItemMap')
444
+ InventorySchemaDeleteOption = Shapes::StringShape.new(name: 'InventorySchemaDeleteOption')
425
445
  InventoryTypeDisplayName = Shapes::StringShape.new(name: 'InventoryTypeDisplayName')
426
446
  InvocationDoesNotExist = Shapes::StructureShape.new(name: 'InvocationDoesNotExist')
427
447
  InvocationTraceOutput = Shapes::StringShape.new(name: 'InvocationTraceOutput')
@@ -630,6 +650,7 @@ module Aws::SSM
630
650
  Product = Shapes::StringShape.new(name: 'Product')
631
651
  PutComplianceItemsRequest = Shapes::StructureShape.new(name: 'PutComplianceItemsRequest')
632
652
  PutComplianceItemsResult = Shapes::StructureShape.new(name: 'PutComplianceItemsResult')
653
+ PutInventoryMessage = Shapes::StringShape.new(name: 'PutInventoryMessage')
633
654
  PutInventoryRequest = Shapes::StructureShape.new(name: 'PutInventoryRequest')
634
655
  PutInventoryResult = Shapes::StructureShape.new(name: 'PutInventoryResult')
635
656
  PutParameterRequest = Shapes::StructureShape.new(name: 'PutParameterRequest')
@@ -644,11 +665,13 @@ module Aws::SSM
644
665
  RegisterTaskWithMaintenanceWindowResult = Shapes::StructureShape.new(name: 'RegisterTaskWithMaintenanceWindowResult')
645
666
  RegistrationLimit = Shapes::IntegerShape.new(name: 'RegistrationLimit')
646
667
  RegistrationsCount = Shapes::IntegerShape.new(name: 'RegistrationsCount')
668
+ RemainingCount = Shapes::IntegerShape.new(name: 'RemainingCount')
647
669
  RemoveTagsFromResourceRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceRequest')
648
670
  RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
649
671
  ResolvedTargets = Shapes::StructureShape.new(name: 'ResolvedTargets')
650
672
  ResourceComplianceSummaryItem = Shapes::StructureShape.new(name: 'ResourceComplianceSummaryItem')
651
673
  ResourceComplianceSummaryItemList = Shapes::ListShape.new(name: 'ResourceComplianceSummaryItemList')
674
+ ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
652
675
  ResourceDataSyncAWSKMSKeyARN = Shapes::StringShape.new(name: 'ResourceDataSyncAWSKMSKeyARN')
653
676
  ResourceDataSyncAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceDataSyncAlreadyExistsException')
654
677
  ResourceDataSyncCountExceededException = Shapes::StructureShape.new(name: 'ResourceDataSyncCountExceededException')
@@ -725,6 +748,7 @@ module Aws::SSM
725
748
  TimeoutSeconds = Shapes::IntegerShape.new(name: 'TimeoutSeconds')
726
749
  TooManyTagsError = Shapes::StructureShape.new(name: 'TooManyTagsError')
727
750
  TooManyUpdates = Shapes::StructureShape.new(name: 'TooManyUpdates')
751
+ TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
728
752
  TotalSizeLimitExceededException = Shapes::StructureShape.new(name: 'TotalSizeLimitExceededException')
729
753
  UnsupportedInventoryItemContextException = Shapes::StructureShape.new(name: 'UnsupportedInventoryItemContextException')
730
754
  UnsupportedInventorySchemaVersionException = Shapes::StructureShape.new(name: 'UnsupportedInventorySchemaVersionException')
@@ -1131,6 +1155,17 @@ module Aws::SSM
1131
1155
 
1132
1156
  DeleteDocumentResult.struct_class = Types::DeleteDocumentResult
1133
1157
 
1158
+ DeleteInventoryRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
1159
+ DeleteInventoryRequest.add_member(:schema_delete_option, Shapes::ShapeRef.new(shape: InventorySchemaDeleteOption, location_name: "SchemaDeleteOption"))
1160
+ DeleteInventoryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1161
+ DeleteInventoryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1162
+ DeleteInventoryRequest.struct_class = Types::DeleteInventoryRequest
1163
+
1164
+ DeleteInventoryResult.add_member(:deletion_id, Shapes::ShapeRef.new(shape: InventoryDeletionId, location_name: "DeletionId"))
1165
+ DeleteInventoryResult.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, location_name: "TypeName"))
1166
+ DeleteInventoryResult.add_member(:deletion_summary, Shapes::ShapeRef.new(shape: InventoryDeletionSummary, location_name: "DeletionSummary"))
1167
+ DeleteInventoryResult.struct_class = Types::DeleteInventoryResult
1168
+
1134
1169
  DeleteMaintenanceWindowRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
1135
1170
  DeleteMaintenanceWindowRequest.struct_class = Types::DeleteMaintenanceWindowRequest
1136
1171
 
@@ -1323,6 +1358,15 @@ module Aws::SSM
1323
1358
  DescribeInstancePatchesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1324
1359
  DescribeInstancePatchesResult.struct_class = Types::DescribeInstancePatchesResult
1325
1360
 
1361
+ DescribeInventoryDeletionsRequest.add_member(:deletion_id, Shapes::ShapeRef.new(shape: InventoryDeletionId, location_name: "DeletionId"))
1362
+ DescribeInventoryDeletionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1363
+ DescribeInventoryDeletionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1364
+ DescribeInventoryDeletionsRequest.struct_class = Types::DescribeInventoryDeletionsRequest
1365
+
1366
+ DescribeInventoryDeletionsResult.add_member(:inventory_deletions, Shapes::ShapeRef.new(shape: InventoryDeletionsList, location_name: "InventoryDeletions"))
1367
+ DescribeInventoryDeletionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1368
+ DescribeInventoryDeletionsResult.struct_class = Types::DescribeInventoryDeletionsResult
1369
+
1326
1370
  DescribeMaintenanceWindowExecutionTaskInvocationsRequest.add_member(:window_execution_id, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionId, required: true, location_name: "WindowExecutionId"))
1327
1371
  DescribeMaintenanceWindowExecutionTaskInvocationsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionTaskId, required: true, location_name: "TaskId"))
1328
1372
  DescribeMaintenanceWindowExecutionTaskInvocationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: MaintenanceWindowFilterList, location_name: "Filters"))
@@ -1846,6 +1890,29 @@ module Aws::SSM
1846
1890
 
1847
1891
  InventoryAggregatorList.member = Shapes::ShapeRef.new(shape: InventoryAggregator)
1848
1892
 
1893
+ InventoryDeletionStatusItem.add_member(:deletion_id, Shapes::ShapeRef.new(shape: InventoryDeletionId, location_name: "DeletionId"))
1894
+ InventoryDeletionStatusItem.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, location_name: "TypeName"))
1895
+ InventoryDeletionStatusItem.add_member(:deletion_start_time, Shapes::ShapeRef.new(shape: InventoryDeletionStartTime, location_name: "DeletionStartTime"))
1896
+ InventoryDeletionStatusItem.add_member(:last_status, Shapes::ShapeRef.new(shape: InventoryDeletionStatus, location_name: "LastStatus"))
1897
+ InventoryDeletionStatusItem.add_member(:last_status_message, Shapes::ShapeRef.new(shape: InventoryDeletionLastStatusMessage, location_name: "LastStatusMessage"))
1898
+ InventoryDeletionStatusItem.add_member(:deletion_summary, Shapes::ShapeRef.new(shape: InventoryDeletionSummary, location_name: "DeletionSummary"))
1899
+ InventoryDeletionStatusItem.add_member(:last_status_update_time, Shapes::ShapeRef.new(shape: InventoryDeletionLastStatusUpdateTime, location_name: "LastStatusUpdateTime"))
1900
+ InventoryDeletionStatusItem.struct_class = Types::InventoryDeletionStatusItem
1901
+
1902
+ InventoryDeletionSummary.add_member(:total_count, Shapes::ShapeRef.new(shape: TotalCount, location_name: "TotalCount"))
1903
+ InventoryDeletionSummary.add_member(:remaining_count, Shapes::ShapeRef.new(shape: RemainingCount, location_name: "RemainingCount"))
1904
+ InventoryDeletionSummary.add_member(:summary_items, Shapes::ShapeRef.new(shape: InventoryDeletionSummaryItems, location_name: "SummaryItems"))
1905
+ InventoryDeletionSummary.struct_class = Types::InventoryDeletionSummary
1906
+
1907
+ InventoryDeletionSummaryItem.add_member(:version, Shapes::ShapeRef.new(shape: InventoryItemSchemaVersion, location_name: "Version"))
1908
+ InventoryDeletionSummaryItem.add_member(:count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "Count"))
1909
+ InventoryDeletionSummaryItem.add_member(:remaining_count, Shapes::ShapeRef.new(shape: RemainingCount, location_name: "RemainingCount"))
1910
+ InventoryDeletionSummaryItem.struct_class = Types::InventoryDeletionSummaryItem
1911
+
1912
+ InventoryDeletionSummaryItems.member = Shapes::ShapeRef.new(shape: InventoryDeletionSummaryItem)
1913
+
1914
+ InventoryDeletionsList.member = Shapes::ShapeRef.new(shape: InventoryDeletionStatusItem)
1915
+
1849
1916
  InventoryFilter.add_member(:key, Shapes::ShapeRef.new(shape: InventoryFilterKey, required: true, location_name: "Key"))
1850
1917
  InventoryFilter.add_member(:values, Shapes::ShapeRef.new(shape: InventoryFilterValueList, required: true, location_name: "Values"))
1851
1918
  InventoryFilter.add_member(:type, Shapes::ShapeRef.new(shape: InventoryQueryOperatorType, location_name: "Type"))
@@ -2340,6 +2407,7 @@ module Aws::SSM
2340
2407
  PutInventoryRequest.add_member(:items, Shapes::ShapeRef.new(shape: InventoryItemList, required: true, location_name: "Items"))
2341
2408
  PutInventoryRequest.struct_class = Types::PutInventoryRequest
2342
2409
 
2410
+ PutInventoryResult.add_member(:message, Shapes::ShapeRef.new(shape: PutInventoryMessage, location_name: "Message"))
2343
2411
  PutInventoryResult.struct_class = Types::PutInventoryResult
2344
2412
 
2345
2413
  PutParameterRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
@@ -2868,6 +2936,19 @@ module Aws::SSM
2868
2936
  o.errors << Shapes::ShapeRef.new(shape: AssociatedInstances)
2869
2937
  end)
2870
2938
 
2939
+ api.add_operation(:delete_inventory, Seahorse::Model::Operation.new.tap do |o|
2940
+ o.name = "DeleteInventory"
2941
+ o.http_method = "POST"
2942
+ o.http_request_uri = "/"
2943
+ o.input = Shapes::ShapeRef.new(shape: DeleteInventoryRequest)
2944
+ o.output = Shapes::ShapeRef.new(shape: DeleteInventoryResult)
2945
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeNameException)
2947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOptionException)
2948
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeleteInventoryParametersException)
2949
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInventoryRequestException)
2950
+ end)
2951
+
2871
2952
  api.add_operation(:delete_maintenance_window, Seahorse::Model::Operation.new.tap do |o|
2872
2953
  o.name = "DeleteMaintenanceWindow"
2873
2954
  o.http_method = "POST"
@@ -3129,6 +3210,17 @@ module Aws::SSM
3129
3210
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
3130
3211
  end)
3131
3212
 
3213
+ api.add_operation(:describe_inventory_deletions, Seahorse::Model::Operation.new.tap do |o|
3214
+ o.name = "DescribeInventoryDeletions"
3215
+ o.http_method = "POST"
3216
+ o.http_request_uri = "/"
3217
+ o.input = Shapes::ShapeRef.new(shape: DescribeInventoryDeletionsRequest)
3218
+ o.output = Shapes::ShapeRef.new(shape: DescribeInventoryDeletionsResult)
3219
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3220
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeletionIdException)
3221
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
3222
+ end)
3223
+
3132
3224
  api.add_operation(:describe_maintenance_window_execution_task_invocations, Seahorse::Model::Operation.new.tap do |o|
3133
3225
  o.name = "DescribeMaintenanceWindowExecutionTaskInvocations"
3134
3226
  o.http_method = "POST"
@@ -100,6 +100,8 @@ module Aws::SSM
100
100
  # One or more tags. The value parameter is required, but if you don't
101
101
  # want the tag to have a value, specify the parameter with no value,
102
102
  # and we set the value to an empty string.
103
+ #
104
+ # Do not enter personally identifiable information in this field.
103
105
  # @return [Array<Types::Tag>]
104
106
  #
105
107
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceRequest AWS API Documentation
@@ -742,7 +744,7 @@ module Aws::SSM
742
744
  #
743
745
  # @!attribute [rw] expires_after
744
746
  # If this time is reached and the command has not already started
745
- # executing, it will not execute. Calculated based on the ExpiresAfter
747
+ # executing, it will not run. Calculated based on the ExpiresAfter
746
748
  # user input provided as part of the SendCommand API.
747
749
  # @return [Time]
748
750
  #
@@ -1480,12 +1482,16 @@ module Aws::SSM
1480
1482
  # @!attribute [rw] description
1481
1483
  # A userdefined description of the resource that you want to register
1482
1484
  # with Amazon EC2.
1485
+ #
1486
+ # Do not enter personally identifiable information in this field.
1483
1487
  # @return [String]
1484
1488
  #
1485
1489
  # @!attribute [rw] default_instance_name
1486
1490
  # The name of the registered, managed instance as it will appear in
1487
1491
  # the Amazon EC2 console or when you use the AWS command line tools to
1488
1492
  # list EC2 resources.
1493
+ #
1494
+ # Do not enter personally identifiable information in this field.
1489
1495
  # @return [String]
1490
1496
  #
1491
1497
  # @!attribute [rw] iam_role
@@ -2151,6 +2157,90 @@ module Aws::SSM
2151
2157
  #
2152
2158
  class DeleteDocumentResult < Aws::EmptyStructure; end
2153
2159
 
2160
+ # @note When making an API call, you may pass DeleteInventoryRequest
2161
+ # data as a hash:
2162
+ #
2163
+ # {
2164
+ # type_name: "InventoryItemTypeName", # required
2165
+ # schema_delete_option: "DisableSchema", # accepts DisableSchema, DeleteSchema
2166
+ # dry_run: false,
2167
+ # client_token: "ClientToken",
2168
+ # }
2169
+ #
2170
+ # @!attribute [rw] type_name
2171
+ # The name of the custom inventory type for which you want to delete
2172
+ # either all previously collected data, or the inventory type itself.
2173
+ # @return [String]
2174
+ #
2175
+ # @!attribute [rw] schema_delete_option
2176
+ # Use the `SchemaDeleteOption` to delete a custom inventory type
2177
+ # (schema). If you don't choose this option, the system only deletes
2178
+ # existing inventory data associated with the custom inventory type.
2179
+ # Choose one of the following options:
2180
+ #
2181
+ # DisableSchema: If you choose this option, the system ignores all
2182
+ # inventory data for the specified version, and any earlier versions.
2183
+ # To enable this schema again, you must call the `PutInventory` action
2184
+ # for a version greater than the disbled version.
2185
+ #
2186
+ # DeleteSchema: This option deletes the specified custom type from the
2187
+ # Inventory service. You can recreate the schema later, if you want.
2188
+ # @return [String]
2189
+ #
2190
+ # @!attribute [rw] dry_run
2191
+ # Use this option to view a summary of the deletion request without
2192
+ # deleting any data or the data type. This option is useful when you
2193
+ # only want to understand what will be deleted. Once you validate that
2194
+ # the data to be deleted is what you intend to delete, you can run the
2195
+ # same command without specifying the `DryRun` option.
2196
+ # @return [Boolean]
2197
+ #
2198
+ # @!attribute [rw] client_token
2199
+ # User-provided idempotency token.
2200
+ #
2201
+ # **A suitable default value is auto-generated.** You should normally
2202
+ # not need to pass this option.
2203
+ # @return [String]
2204
+ #
2205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventoryRequest AWS API Documentation
2206
+ #
2207
+ class DeleteInventoryRequest < Struct.new(
2208
+ :type_name,
2209
+ :schema_delete_option,
2210
+ :dry_run,
2211
+ :client_token)
2212
+ include Aws::Structure
2213
+ end
2214
+
2215
+ # @!attribute [rw] deletion_id
2216
+ # Every `DeleteInventory` action is assigned a unique ID. This option
2217
+ # returns a unique ID. You can use this ID to query the status of a
2218
+ # delete operation. This option is useful for ensuring that a delete
2219
+ # operation has completed before you begin other actions.
2220
+ # @return [String]
2221
+ #
2222
+ # @!attribute [rw] type_name
2223
+ # The name of the inventory data type specified in the request.
2224
+ # @return [String]
2225
+ #
2226
+ # @!attribute [rw] deletion_summary
2227
+ # A summary of the delete operation. For more information about this
2228
+ # summary, see [Understanding the Delete Inventory Summary][1].
2229
+ #
2230
+ #
2231
+ #
2232
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-delete.html#sysman-inventory-delete-summary
2233
+ # @return [Types::InventoryDeletionSummary]
2234
+ #
2235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventoryResult AWS API Documentation
2236
+ #
2237
+ class DeleteInventoryResult < Struct.new(
2238
+ :deletion_id,
2239
+ :type_name,
2240
+ :deletion_summary)
2241
+ include Aws::Structure
2242
+ end
2243
+
2154
2244
  # @note When making an API call, you may pass DeleteMaintenanceWindowRequest
2155
2245
  # data as a hash:
2156
2246
  #
@@ -3236,6 +3326,57 @@ module Aws::SSM
3236
3326
  include Aws::Structure
3237
3327
  end
3238
3328
 
3329
+ # @note When making an API call, you may pass DescribeInventoryDeletionsRequest
3330
+ # data as a hash:
3331
+ #
3332
+ # {
3333
+ # deletion_id: "InventoryDeletionId",
3334
+ # next_token: "NextToken",
3335
+ # max_results: 1,
3336
+ # }
3337
+ #
3338
+ # @!attribute [rw] deletion_id
3339
+ # Specify the delete inventory ID for which you want information. This
3340
+ # ID was returned by the `DeleteInventory` action.
3341
+ # @return [String]
3342
+ #
3343
+ # @!attribute [rw] next_token
3344
+ # A token to start the list. Use this token to get the next set of
3345
+ # results.
3346
+ # @return [String]
3347
+ #
3348
+ # @!attribute [rw] max_results
3349
+ # The maximum number of items to return for this call. The call also
3350
+ # returns a token that you can specify in a subsequent call to get the
3351
+ # next set of results.
3352
+ # @return [Integer]
3353
+ #
3354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletionsRequest AWS API Documentation
3355
+ #
3356
+ class DescribeInventoryDeletionsRequest < Struct.new(
3357
+ :deletion_id,
3358
+ :next_token,
3359
+ :max_results)
3360
+ include Aws::Structure
3361
+ end
3362
+
3363
+ # @!attribute [rw] inventory_deletions
3364
+ # A list of status items for deleted inventory.
3365
+ # @return [Array<Types::InventoryDeletionStatusItem>]
3366
+ #
3367
+ # @!attribute [rw] next_token
3368
+ # The token for the next set of items to return. Use this token to get
3369
+ # the next set of results.
3370
+ # @return [String]
3371
+ #
3372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletionsResult AWS API Documentation
3373
+ #
3374
+ class DescribeInventoryDeletionsResult < Struct.new(
3375
+ :inventory_deletions,
3376
+ :next_token)
3377
+ include Aws::Structure
3378
+ end
3379
+
3239
3380
  # @note When making an API call, you may pass DescribeMaintenanceWindowExecutionTaskInvocationsRequest
3240
3381
  # data as a hash:
3241
3382
  #
@@ -4408,8 +4549,8 @@ module Aws::SSM
4408
4549
  # @return [String]
4409
4550
  #
4410
4551
  # @!attribute [rw] status
4411
- # The status of the parent command for this invocation. This status
4412
- # can be different than StatusDetails.
4552
+ # The status of this invocation plugin. This status can be different
4553
+ # than StatusDetails.
4413
4554
  # @return [String]
4414
4555
  #
4415
4556
  # @!attribute [rw] status_details
@@ -5017,8 +5158,17 @@ module Aws::SSM
5017
5158
  # @return [String]
5018
5159
  #
5019
5160
  # @!attribute [rw] task_parameters
5020
- # The parameters passed to the task when it was executed. The map has
5021
- # the following format:
5161
+ # The parameters passed to the task when it was executed.
5162
+ #
5163
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
5164
+ # to a task when it runs, instead use the `Parameters` option in the
5165
+ # `TaskInvocationParameters` structure. For information about how
5166
+ # Systems Manager handles these options for the supported Maintenance
5167
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
5168
+ #
5169
+ # </note>
5170
+ #
5171
+ # The map has the following format:
5022
5172
  #
5023
5173
  # Key: string, between 1 and 255 characters
5024
5174
  #
@@ -5207,6 +5357,14 @@ module Aws::SSM
5207
5357
  #
5208
5358
  # @!attribute [rw] task_parameters
5209
5359
  # The parameters to pass to the task when it executes.
5360
+ #
5361
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
5362
+ # to a task when it runs, instead use the `Parameters` option in the
5363
+ # `TaskInvocationParameters` structure. For information about how
5364
+ # Systems Manager handles these options for the supported Maintenance
5365
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
5366
+ #
5367
+ # </note>
5210
5368
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
5211
5369
  #
5212
5370
  # @!attribute [rw] task_invocation_parameters
@@ -5230,6 +5388,15 @@ module Aws::SSM
5230
5388
  #
5231
5389
  # @!attribute [rw] logging_info
5232
5390
  # The location in Amazon S3 where the task results are logged.
5391
+ #
5392
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
5393
+ # contain logs, instead use the `OutputS3BucketName` and
5394
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
5395
+ # structure. For information about how Systems Manager handles these
5396
+ # options for the supported Maintenance Window task types, see
5397
+ # MaintenanceWindowTaskInvocationParameters.
5398
+ #
5399
+ # </note>
5233
5400
  # @return [Types::LoggingInfo]
5234
5401
  #
5235
5402
  # @!attribute [rw] name
@@ -5380,10 +5547,21 @@ module Aws::SSM
5380
5547
  #
5381
5548
  # @!attribute [rw] recursive
5382
5549
  # Retrieve all parameters within a hierarchy.
5550
+ #
5551
+ # If a user has access to a path, then the user can access all levels
5552
+ # of that path. For example, if a user has permission to access path
5553
+ # /a, then the user can also access /a/b. Even if a user has
5554
+ # explicitly been denied access in IAM for parameter /a, they can
5555
+ # still call the GetParametersByPath API action recursively and view
5556
+ # /a/b.
5383
5557
  # @return [Boolean]
5384
5558
  #
5385
5559
  # @!attribute [rw] parameter_filters
5386
5560
  # Filters to limit the request results.
5561
+ #
5562
+ # <note markdown="1"> You can't filter using the parameter name.
5563
+ #
5564
+ # </note>
5387
5565
  # @return [Array<Types::ParameterStringFilter>]
5388
5566
  #
5389
5567
  # @!attribute [rw] with_decryption
@@ -6105,6 +6283,103 @@ module Aws::SSM
6105
6283
  include Aws::Structure
6106
6284
  end
6107
6285
 
6286
+ # Status information returned by the `DeleteInventory` action.
6287
+ #
6288
+ # @!attribute [rw] deletion_id
6289
+ # The deletion ID returned by the `DeleteInventory` action.
6290
+ # @return [String]
6291
+ #
6292
+ # @!attribute [rw] type_name
6293
+ # The name of the inventory data type.
6294
+ # @return [String]
6295
+ #
6296
+ # @!attribute [rw] deletion_start_time
6297
+ # The UTC timestamp when the delete operation started.
6298
+ # @return [Time]
6299
+ #
6300
+ # @!attribute [rw] last_status
6301
+ # The status of the operation. Possible values are InProgress and
6302
+ # Complete.
6303
+ # @return [String]
6304
+ #
6305
+ # @!attribute [rw] last_status_message
6306
+ # Information about the status.
6307
+ # @return [String]
6308
+ #
6309
+ # @!attribute [rw] deletion_summary
6310
+ # Information about the delete operation. For more information about
6311
+ # this summary, see [Understanding the Delete Inventory Summary][1].
6312
+ #
6313
+ #
6314
+ #
6315
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-delete.html#sysman-inventory-delete-summary
6316
+ # @return [Types::InventoryDeletionSummary]
6317
+ #
6318
+ # @!attribute [rw] last_status_update_time
6319
+ # The UTC timestamp of when the last status report.
6320
+ # @return [Time]
6321
+ #
6322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryDeletionStatusItem AWS API Documentation
6323
+ #
6324
+ class InventoryDeletionStatusItem < Struct.new(
6325
+ :deletion_id,
6326
+ :type_name,
6327
+ :deletion_start_time,
6328
+ :last_status,
6329
+ :last_status_message,
6330
+ :deletion_summary,
6331
+ :last_status_update_time)
6332
+ include Aws::Structure
6333
+ end
6334
+
6335
+ # Information about the delete operation.
6336
+ #
6337
+ # @!attribute [rw] total_count
6338
+ # The total number of items to delete. This count does not change
6339
+ # during the delete operation.
6340
+ # @return [Integer]
6341
+ #
6342
+ # @!attribute [rw] remaining_count
6343
+ # Remaining number of items to delete.
6344
+ # @return [Integer]
6345
+ #
6346
+ # @!attribute [rw] summary_items
6347
+ # A list of counts and versions for deleted items.
6348
+ # @return [Array<Types::InventoryDeletionSummaryItem>]
6349
+ #
6350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryDeletionSummary AWS API Documentation
6351
+ #
6352
+ class InventoryDeletionSummary < Struct.new(
6353
+ :total_count,
6354
+ :remaining_count,
6355
+ :summary_items)
6356
+ include Aws::Structure
6357
+ end
6358
+
6359
+ # Either a count, remaining count, or a version number in a delete
6360
+ # inventory summary.
6361
+ #
6362
+ # @!attribute [rw] version
6363
+ # The inventory type version.
6364
+ # @return [String]
6365
+ #
6366
+ # @!attribute [rw] count
6367
+ # A count of the number of deleted items.
6368
+ # @return [Integer]
6369
+ #
6370
+ # @!attribute [rw] remaining_count
6371
+ # The remaining number of items to delete.
6372
+ # @return [Integer]
6373
+ #
6374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryDeletionSummaryItem AWS API Documentation
6375
+ #
6376
+ class InventoryDeletionSummaryItem < Struct.new(
6377
+ :version,
6378
+ :count,
6379
+ :remaining_count)
6380
+ include Aws::Structure
6381
+ end
6382
+
6108
6383
  # One or more filters. Use a filter to return a more specific list of
6109
6384
  # results.
6110
6385
  #
@@ -7052,6 +7327,15 @@ module Aws::SSM
7052
7327
 
7053
7328
  # Information about an Amazon S3 bucket to write instance-level logs to.
7054
7329
  #
7330
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
7331
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
7332
+ # options in the `TaskInvocationParameters` structure. For information
7333
+ # about how Systems Manager handles these options for the supported
7334
+ # Maintenance Window task types, see
7335
+ # MaintenanceWindowTaskInvocationParameters.
7336
+ #
7337
+ # </note>
7338
+ #
7055
7339
  # @note When making an API call, you may pass LoggingInfo
7056
7340
  # data as a hash:
7057
7341
  #
@@ -7100,6 +7384,27 @@ module Aws::SSM
7100
7384
  #
7101
7385
  # @!attribute [rw] parameters
7102
7386
  # The parameters for the AUTOMATION task.
7387
+ #
7388
+ # For information about specifying and updating task parameters, see
7389
+ # RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
7390
+ #
7391
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
7392
+ # contain logs, instead use the `OutputS3BucketName` and
7393
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
7394
+ # structure. For information about how Systems Manager handles these
7395
+ # options for the supported Maintenance Window task types, see
7396
+ # MaintenanceWindowTaskInvocationParameters.
7397
+ #
7398
+ # `TaskParameters` has been deprecated. To specify parameters to pass
7399
+ # to a task when it runs, instead use the `Parameters` option in the
7400
+ # `TaskInvocationParameters` structure. For information about how
7401
+ # Systems Manager handles these options for the supported Maintenance
7402
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
7403
+ #
7404
+ # For AUTOMATION task types, Systems Manager ignores any values
7405
+ # specified for these parameters.
7406
+ #
7407
+ # </note>
7103
7408
  # @return [Hash<String,Array<String>>]
7104
7409
  #
7105
7410
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters AWS API Documentation
@@ -7345,6 +7650,27 @@ module Aws::SSM
7345
7650
 
7346
7651
  # The parameters for a LAMBDA task type.
7347
7652
  #
7653
+ # For information about specifying and updating task parameters, see
7654
+ # RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
7655
+ #
7656
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
7657
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
7658
+ # options in the `TaskInvocationParameters` structure. For information
7659
+ # about how Systems Manager handles these options for the supported
7660
+ # Maintenance Window task types, see
7661
+ # MaintenanceWindowTaskInvocationParameters.
7662
+ #
7663
+ # `TaskParameters` has been deprecated. To specify parameters to pass to
7664
+ # a task when it runs, instead use the `Parameters` option in the
7665
+ # `TaskInvocationParameters` structure. For information about how
7666
+ # Systems Manager handles these options for the supported Maintenance
7667
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
7668
+ #
7669
+ # For Lambda tasks, Systems Manager ignores any values specified for
7670
+ # TaskParameters and LoggingInfo.
7671
+ #
7672
+ # </note>
7673
+ #
7348
7674
  # @note When making an API call, you may pass MaintenanceWindowLambdaParameters
7349
7675
  # data as a hash:
7350
7676
  #
@@ -7383,6 +7709,28 @@ module Aws::SSM
7383
7709
 
7384
7710
  # The parameters for a RUN\_COMMAND task type.
7385
7711
  #
7712
+ # For information about specifying and updating task parameters, see
7713
+ # RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
7714
+ #
7715
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
7716
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
7717
+ # options in the `TaskInvocationParameters` structure. For information
7718
+ # about how Systems Manager handles these options for the supported
7719
+ # Maintenance Window task types, see
7720
+ # MaintenanceWindowTaskInvocationParameters.
7721
+ #
7722
+ # `TaskParameters` has been deprecated. To specify parameters to pass to
7723
+ # a task when it runs, instead use the `Parameters` option in the
7724
+ # `TaskInvocationParameters` structure. For information about how
7725
+ # Systems Manager handles these options for the supported Maintenance
7726
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
7727
+ #
7728
+ # For Run Command tasks, Systems Manager uses specified values for
7729
+ # `TaskParameters` and `LoggingInfo` only if no values are specified for
7730
+ # `TaskInvocationParameters`.
7731
+ #
7732
+ # </note>
7733
+ #
7386
7734
  # @note When making an API call, you may pass MaintenanceWindowRunCommandParameters
7387
7735
  # data as a hash:
7388
7736
  #
@@ -7458,7 +7806,28 @@ module Aws::SSM
7458
7806
  include Aws::Structure
7459
7807
  end
7460
7808
 
7461
- # The parameters for the STEP\_FUNCTION execution.
7809
+ # The parameters for a STEP\_FUNCTION task.
7810
+ #
7811
+ # For information about specifying and updating task parameters, see
7812
+ # RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
7813
+ #
7814
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to contain
7815
+ # logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix`
7816
+ # options in the `TaskInvocationParameters` structure. For information
7817
+ # about how Systems Manager handles these options for the supported
7818
+ # Maintenance Window task types, see
7819
+ # MaintenanceWindowTaskInvocationParameters.
7820
+ #
7821
+ # `TaskParameters` has been deprecated. To specify parameters to pass to
7822
+ # a task when it runs, instead use the `Parameters` option in the
7823
+ # `TaskInvocationParameters` structure. For information about how
7824
+ # Systems Manager handles these options for the supported Maintenance
7825
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
7826
+ #
7827
+ # For Step Functions tasks, Systems Manager ignores any values specified
7828
+ # for `TaskParameters` and `LoggingInfo`.
7829
+ #
7830
+ # </note>
7462
7831
  #
7463
7832
  # @note When making an API call, you may pass MaintenanceWindowStepFunctionsParameters
7464
7833
  # data as a hash:
@@ -7564,6 +7933,14 @@ module Aws::SSM
7564
7933
  # @!attribute [rw] task_parameters
7565
7934
  # The parameters that should be passed to the task when it is
7566
7935
  # executed.
7936
+ #
7937
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
7938
+ # to a task when it runs, instead use the `Parameters` option in the
7939
+ # `TaskInvocationParameters` structure. For information about how
7940
+ # Systems Manager handles these options for the supported Maintenance
7941
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
7942
+ #
7943
+ # </note>
7567
7944
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
7568
7945
  #
7569
7946
  # @!attribute [rw] priority
@@ -7574,6 +7951,15 @@ module Aws::SSM
7574
7951
  #
7575
7952
  # @!attribute [rw] logging_info
7576
7953
  # Information about an Amazon S3 bucket to write task-level logs to.
7954
+ #
7955
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
7956
+ # contain logs, instead use the `OutputS3BucketName` and
7957
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
7958
+ # structure. For information about how Systems Manager handles these
7959
+ # options for the supported Maintenance Window task types, see
7960
+ # MaintenanceWindowTaskInvocationParameters.
7961
+ #
7962
+ # </note>
7577
7963
  # @return [Types::LoggingInfo]
7578
7964
  #
7579
7965
  # @!attribute [rw] service_role_arn
@@ -7661,7 +8047,7 @@ module Aws::SSM
7661
8047
  # @return [Types::MaintenanceWindowRunCommandParameters]
7662
8048
  #
7663
8049
  # @!attribute [rw] automation
7664
- # The parameters for a AUTOMATION task type.
8050
+ # The parameters for an AUTOMATION task type.
7665
8051
  # @return [Types::MaintenanceWindowAutomationParameters]
7666
8052
  #
7667
8053
  # @!attribute [rw] step_functions
@@ -8829,9 +9215,16 @@ module Aws::SSM
8829
9215
  include Aws::Structure
8830
9216
  end
8831
9217
 
9218
+ # @!attribute [rw] message
9219
+ # Information about the request.
9220
+ # @return [String]
9221
+ #
8832
9222
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryResult AWS API Documentation
8833
9223
  #
8834
- class PutInventoryResult < Aws::EmptyStructure; end
9224
+ class PutInventoryResult < Struct.new(
9225
+ :message)
9226
+ include Aws::Structure
9227
+ end
8835
9228
 
8836
9229
  # @note When making an API call, you may pass PutParameterRequest
8837
9230
  # data as a hash:
@@ -8870,6 +9263,8 @@ module Aws::SSM
8870
9263
  #
8871
9264
  # @!attribute [rw] description
8872
9265
  # Information about the parameter that you want to add to the system.
9266
+ #
9267
+ # Do not enter personally identifiable information in this field.
8873
9268
  # @return [String]
8874
9269
  #
8875
9270
  # @!attribute [rw] value
@@ -9169,6 +9564,14 @@ module Aws::SSM
9169
9564
  # @!attribute [rw] task_parameters
9170
9565
  # The parameters that should be passed to the task when it is
9171
9566
  # executed.
9567
+ #
9568
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
9569
+ # to a task when it runs, instead use the `Parameters` option in the
9570
+ # `TaskInvocationParameters` structure. For information about how
9571
+ # Systems Manager handles these options for the supported Maintenance
9572
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
9573
+ #
9574
+ # </note>
9172
9575
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
9173
9576
  #
9174
9577
  # @!attribute [rw] task_invocation_parameters
@@ -9196,6 +9599,15 @@ module Aws::SSM
9196
9599
  # @!attribute [rw] logging_info
9197
9600
  # A structure containing information about an Amazon S3 bucket to
9198
9601
  # write instance-level logs to.
9602
+ #
9603
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
9604
+ # contain logs, instead use the `OutputS3BucketName` and
9605
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
9606
+ # structure. For information about how Systems Manager handles these
9607
+ # options for the supported Maintenance Window task types, see
9608
+ # MaintenanceWindowTaskInvocationParameters.
9609
+ #
9610
+ # </note>
9199
9611
  # @return [Types::LoggingInfo]
9200
9612
  #
9201
9613
  # @!attribute [rw] name
@@ -9632,7 +10044,7 @@ module Aws::SSM
9632
10044
  #
9633
10045
  # @!attribute [rw] timeout_seconds
9634
10046
  # If this time is reached and the command has not already started
9635
- # executing, it will not execute.
10047
+ # executing, it will not run.
9636
10048
  # @return [Integer]
9637
10049
  #
9638
10050
  # @!attribute [rw] comment
@@ -10660,7 +11072,17 @@ module Aws::SSM
10660
11072
  # @return [String]
10661
11073
  #
10662
11074
  # @!attribute [rw] task_parameters
10663
- # The parameters to modify. The map has the following format:
11075
+ # The parameters to modify.
11076
+ #
11077
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
11078
+ # to a task when it runs, instead use the `Parameters` option in the
11079
+ # `TaskInvocationParameters` structure. For information about how
11080
+ # Systems Manager handles these options for the supported Maintenance
11081
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
11082
+ #
11083
+ # </note>
11084
+ #
11085
+ # The map has the following format:
10664
11086
  #
10665
11087
  # Key: string, between 1 and 255 characters
10666
11088
  #
@@ -10694,6 +11116,15 @@ module Aws::SSM
10694
11116
  #
10695
11117
  # @!attribute [rw] logging_info
10696
11118
  # The new logging location in Amazon S3 to specify.
11119
+ #
11120
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
11121
+ # contain logs, instead use the `OutputS3BucketName` and
11122
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
11123
+ # structure. For information about how Systems Manager handles these
11124
+ # options for the supported Maintenance Window task types, see
11125
+ # MaintenanceWindowTaskInvocationParameters.
11126
+ #
11127
+ # </note>
10697
11128
  # @return [Types::LoggingInfo]
10698
11129
  #
10699
11130
  # @!attribute [rw] name
@@ -10752,6 +11183,14 @@ module Aws::SSM
10752
11183
  #
10753
11184
  # @!attribute [rw] task_parameters
10754
11185
  # The updated parameter values.
11186
+ #
11187
+ # <note markdown="1"> `TaskParameters` has been deprecated. To specify parameters to pass
11188
+ # to a task when it runs, instead use the `Parameters` option in the
11189
+ # `TaskInvocationParameters` structure. For information about how
11190
+ # Systems Manager handles these options for the supported Maintenance
11191
+ # Window task types, see MaintenanceWindowTaskInvocationParameters.
11192
+ #
11193
+ # </note>
10755
11194
  # @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
10756
11195
  #
10757
11196
  # @!attribute [rw] task_invocation_parameters
@@ -10772,6 +11211,15 @@ module Aws::SSM
10772
11211
  #
10773
11212
  # @!attribute [rw] logging_info
10774
11213
  # The updated logging information in Amazon S3.
11214
+ #
11215
+ # <note markdown="1"> `LoggingInfo` has been deprecated. To specify an S3 bucket to
11216
+ # contain logs, instead use the `OutputS3BucketName` and
11217
+ # `OutputS3KeyPrefix` options in the `TaskInvocationParameters`
11218
+ # structure. For information about how Systems Manager handles these
11219
+ # options for the supported Maintenance Window task types, see
11220
+ # MaintenanceWindowTaskInvocationParameters.
11221
+ #
11222
+ # </note>
10775
11223
  # @return [Types::LoggingInfo]
10776
11224
  #
10777
11225
  # @!attribute [rw] name
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.11.0
4
+ version: 1.12.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-04-10 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core