aws-sdk-ssm 1.107.0 → 1.108.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
  SHA256:
3
- metadata.gz: 46641ba985c87e79d902d0ee27cccc14bffe7303ae2e968e9613f1f947186b34
4
- data.tar.gz: 21d372c389ddab8df7829c4d660fdac62d7fcfadc27033e1aa6d1ab8590bb260
3
+ metadata.gz: 4453064342afb4d054c720f95bbf4039711d68e7842897c080c52c3d1b73852f
4
+ data.tar.gz: f210a5d5aca8e3b4c2c5f86aeabc67f78d74175cb59417019f0377cbad38be66
5
5
  SHA512:
6
- metadata.gz: a8a53c717323cf2a6a842082a27af7886e670ca1920da33f62c7f5f1e515bc45921bc3d357f207b246b6d1e14901c4d53d375add9f139f28df3c4f02d818a57c
7
- data.tar.gz: 173bd9d2865f68cfe58c60ec850eed1a675bdf040044fb5b372343296902928d76ae7b46d6aa7f09487ce7c87d78019f1105c20385345609eb98984b185a6e99
6
+ metadata.gz: 1f89fbad37163f91cc2e6783efbf397a9be890989b7df54e9281ac5c8a57b9424d0e824c29b1618b973c906744a546553a06cc18309399923a3851b16fefdbf3
7
+ data.tar.gz: 18cb99de813442392fc42a67486331c2d84bc4b23b1287a86b7a18fe18e066ffa2489a52016f6aa673b8c02c904b9b0f0f61908a0631b6b95d31dec379b016e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.108.0 (2021-04-06)
5
+ ------------------
6
+
7
+ * Feature - Supports removing a label or labels from a parameter, enables ScheduledEndTime and ChangeDetails for StartChangeRequestExecution API, supports critical/security/other noncompliant count for patch API.
8
+
4
9
  1.107.0 (2021-03-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.107.0
1
+ 1.108.0
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.107.0'
52
+ GEM_VERSION = '1.108.0'
53
53
 
54
54
  end
@@ -400,9 +400,7 @@ module Aws::SSM
400
400
  # </note>
401
401
  #
402
402
  # @option params [required, Array<Types::Tag>] :tags
403
- # One or more tags. The value parameter is required, but if you don't
404
- # want the tag to have a value, specify the parameter with no value, and
405
- # we set the value to an empty string.
403
+ # One or more tags. The value parameter is required.
406
404
  #
407
405
  # Do not enter personally identifiable information in this field.
408
406
  #
@@ -2729,7 +2727,7 @@ module Aws::SSM
2729
2727
  #
2730
2728
  # @option params [Boolean] :reverse_order
2731
2729
  # A boolean that indicates whether to list step executions in reverse
2732
- # order by start time. The default value is false.
2730
+ # order by start time. The default value is 'false'.
2733
2731
  #
2734
2732
  # @return [Types::DescribeAutomationStepExecutionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2735
2733
  #
@@ -3338,6 +3336,9 @@ module Aws::SSM
3338
3336
  # resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
3339
3337
  # resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
3340
3338
  # resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
3339
+ # resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
3340
+ # resp.instance_patch_states[0].security_non_compliant_count #=> Integer
3341
+ # resp.instance_patch_states[0].other_non_compliant_count #=> Integer
3341
3342
  # resp.next_token #=> String
3342
3343
  #
3343
3344
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates AWS API Documentation
@@ -3416,6 +3417,9 @@ module Aws::SSM
3416
3417
  # resp.instance_patch_states[0].operation #=> String, one of "Scan", "Install"
3417
3418
  # resp.instance_patch_states[0].last_no_reboot_install_operation_time #=> Time
3418
3419
  # resp.instance_patch_states[0].reboot_option #=> String, one of "RebootIfNeeded", "NoReboot"
3420
+ # resp.instance_patch_states[0].critical_non_compliant_count #=> Integer
3421
+ # resp.instance_patch_states[0].security_non_compliant_count #=> Integer
3422
+ # resp.instance_patch_states[0].other_non_compliant_count #=> Integer
3419
3423
  # resp.next_token #=> String
3420
3424
  #
3421
3425
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup AWS API Documentation
@@ -4379,6 +4383,9 @@ module Aws::SSM
4379
4383
  # * {Types::DescribePatchGroupStateResult#instances_with_failed_patches #instances_with_failed_patches} => Integer
4380
4384
  # * {Types::DescribePatchGroupStateResult#instances_with_not_applicable_patches #instances_with_not_applicable_patches} => Integer
4381
4385
  # * {Types::DescribePatchGroupStateResult#instances_with_unreported_not_applicable_patches #instances_with_unreported_not_applicable_patches} => Integer
4386
+ # * {Types::DescribePatchGroupStateResult#instances_with_critical_non_compliant_patches #instances_with_critical_non_compliant_patches} => Integer
4387
+ # * {Types::DescribePatchGroupStateResult#instances_with_security_non_compliant_patches #instances_with_security_non_compliant_patches} => Integer
4388
+ # * {Types::DescribePatchGroupStateResult#instances_with_other_non_compliant_patches #instances_with_other_non_compliant_patches} => Integer
4382
4389
  #
4383
4390
  # @example Request syntax with placeholder values
4384
4391
  #
@@ -4397,6 +4404,9 @@ module Aws::SSM
4397
4404
  # resp.instances_with_failed_patches #=> Integer
4398
4405
  # resp.instances_with_not_applicable_patches #=> Integer
4399
4406
  # resp.instances_with_unreported_not_applicable_patches #=> Integer
4407
+ # resp.instances_with_critical_non_compliant_patches #=> Integer
4408
+ # resp.instances_with_security_non_compliant_patches #=> Integer
4409
+ # resp.instances_with_other_non_compliant_patches #=> Integer
4400
4410
  #
4401
4411
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState AWS API Documentation
4402
4412
  #
@@ -4854,24 +4864,35 @@ module Aws::SSM
4854
4864
  # Returns detailed information about command execution for an invocation
4855
4865
  # or plugin.
4856
4866
  #
4867
+ # `GetCommandInvocation` only gives the execution status of a plugin in
4868
+ # a document. To get the command execution status on a specific
4869
+ # instance, use ListCommandInvocations. To get the command execution
4870
+ # status across instances, use ListCommands.
4871
+ #
4857
4872
  # @option params [required, String] :command_id
4858
4873
  # (Required) The parent command ID of the invocation plugin.
4859
4874
  #
4860
4875
  # @option params [required, String] :instance_id
4861
4876
  # (Required) The ID of the managed instance targeted by the command. A
4862
- # managed instance can be an EC2 instance or an instance in your hybrid
4863
- # environment that is configured for Systems Manager.
4877
+ # managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
4878
+ # instance or an instance in your hybrid environment that is configured
4879
+ # for AWS Systems Manager.
4864
4880
  #
4865
4881
  # @option params [String] :plugin_name
4866
4882
  # The name of the plugin for which you want detailed results. If the
4867
4883
  # document contains only one plugin, you can omit the name and details
4868
- # for that plugin are returned. If the document contains more than one
4869
- # plugin, you must specify the name of the plugin for which you want to
4870
- # view details.
4884
+ # for that plugin. If the document contains more than one plugin, you
4885
+ # must specify the name of the plugin for which you want to view
4886
+ # details.
4871
4887
  #
4872
4888
  # Plugin names are also referred to as *step names* in Systems Manager
4873
4889
  # documents. For example, `aws:RunShellScript` is a plugin.
4874
4890
  #
4891
+ # To find the `PluginName`, check the document content and find the name
4892
+ # of the plugin. Alternatively, use ListCommandInvocations with the
4893
+ # `CommandId` and `Details` parameters. The `PluginName` is the `Name`
4894
+ # attribute of the `CommandPlugin` object in the `CommandPlugins` list.
4895
+ #
4875
4896
  # @return [Types::GetCommandInvocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4876
4897
  #
4877
4898
  # * {Types::GetCommandInvocationResult#command_id #command_id} => String
@@ -6270,9 +6291,8 @@ module Aws::SSM
6270
6291
  # * You can't create a label when you create a new parameter. You must
6271
6292
  # attach a label to a specific version of a parameter.
6272
6293
  #
6273
- # * You can't delete a parameter label. If you no longer want to use a
6274
- # parameter label, then you must move it to a different version of a
6275
- # parameter.
6294
+ # * If you no longer want to use a parameter label, then you can either
6295
+ # delete it or move it to a different version of a parameter.
6276
6296
  #
6277
6297
  # * A label can have a maximum of 100 characters.
6278
6298
  #
@@ -6499,7 +6519,7 @@ module Aws::SSM
6499
6519
  #
6500
6520
  # @option params [Boolean] :details
6501
6521
  # (Optional) If set this returns the response of the command executions
6502
- # and any command output. By default this is set to False.
6522
+ # and any command output. The default value is 'false'.
6503
6523
  #
6504
6524
  # @return [Types::ListCommandInvocationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6505
6525
  #
@@ -7706,8 +7726,7 @@ module Aws::SSM
7706
7726
  # the `Key ID` parameter.
7707
7727
  #
7708
7728
  # @option params [Boolean] :overwrite
7709
- # Overwrite an existing parameter. If not specified, will default to
7710
- # "false".
7729
+ # Overwrite an existing parameter. The default value is 'false'.
7711
7730
  #
7712
7731
  # @option params [String] :allowed_pattern
7713
7732
  # A regular expression used to validate the parameter value. For
@@ -8947,6 +8966,16 @@ module Aws::SSM
8947
8966
  #
8948
8967
  # * `Key=Region,Value=us-east-2`
8949
8968
  #
8969
+ # @option params [Time,DateTime,Date,Integer,String] :scheduled_end_time
8970
+ # The time that the requester expects the runbook workflow related to
8971
+ # the change request to complete. The time is an estimate only that the
8972
+ # requester provides for reviewers.
8973
+ #
8974
+ # @option params [String] :change_details
8975
+ # User-provided details about the change. If no details are provided,
8976
+ # content specified in the **Template information** section of the
8977
+ # associated change template is added.
8978
+ #
8950
8979
  # @return [Types::StartChangeRequestExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8951
8980
  #
8952
8981
  # * {Types::StartChangeRequestExecutionResult#automation_execution_id #automation_execution_id} => String
@@ -8995,6 +9024,8 @@ module Aws::SSM
8995
9024
  # value: "TagValue", # required
8996
9025
  # },
8997
9026
  # ],
9027
+ # scheduled_end_time: Time.now,
9028
+ # change_details: "ChangeDetailsValue",
8998
9029
  # })
8999
9030
  #
9000
9031
  # @example Response structure
@@ -9129,6 +9160,47 @@ module Aws::SSM
9129
9160
  req.send_request(options)
9130
9161
  end
9131
9162
 
9163
+ # Remove a label or labels from a parameter.
9164
+ #
9165
+ # @option params [required, String] :name
9166
+ # The parameter name of which you want to delete one or more labels.
9167
+ #
9168
+ # @option params [required, Integer] :parameter_version
9169
+ # The specific version of the parameter which you want to delete one or
9170
+ # more labels from. If it is not present, the call will fail.
9171
+ #
9172
+ # @option params [required, Array<String>] :labels
9173
+ # One or more labels to delete from the specified parameter version.
9174
+ #
9175
+ # @return [Types::UnlabelParameterVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9176
+ #
9177
+ # * {Types::UnlabelParameterVersionResult#removed_labels #removed_labels} => Array&lt;String&gt;
9178
+ # * {Types::UnlabelParameterVersionResult#invalid_labels #invalid_labels} => Array&lt;String&gt;
9179
+ #
9180
+ # @example Request syntax with placeholder values
9181
+ #
9182
+ # resp = client.unlabel_parameter_version({
9183
+ # name: "PSParameterName", # required
9184
+ # parameter_version: 1, # required
9185
+ # labels: ["ParameterLabel"], # required
9186
+ # })
9187
+ #
9188
+ # @example Response structure
9189
+ #
9190
+ # resp.removed_labels #=> Array
9191
+ # resp.removed_labels[0] #=> String
9192
+ # resp.invalid_labels #=> Array
9193
+ # resp.invalid_labels[0] #=> String
9194
+ #
9195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersion AWS API Documentation
9196
+ #
9197
+ # @overload unlabel_parameter_version(params = {})
9198
+ # @param [Hash] params ({})
9199
+ def unlabel_parameter_version(params = {}, options = {})
9200
+ req = build_request(:unlabel_parameter_version, params)
9201
+ req.send_request(options)
9202
+ end
9203
+
9132
9204
  # Updates an association. You can update the association name and
9133
9205
  # version, the document version, schedule, parameters, and Amazon S3
9134
9206
  # output.
@@ -9471,10 +9543,10 @@ module Aws::SSM
9471
9543
  # changed.
9472
9544
  #
9473
9545
  # @option params [String] :document_version
9474
- # (Required) The latest version of the document that you want to update.
9475
- # The latest document version can be specified using the $LATEST
9476
- # variable or by the version number. Updating a previous version of a
9477
- # document is not supported.
9546
+ # The version of the document that you want to update. Currently,
9547
+ # Systems Manager supports updating only the latest version of the
9548
+ # document. You can specify the version number of the latest version or
9549
+ # use the `$LATEST` variable.
9478
9550
  #
9479
9551
  # @option params [String] :document_format
9480
9552
  # Specify the document format for the new document version. Systems
@@ -10739,7 +10811,7 @@ module Aws::SSM
10739
10811
  params: params,
10740
10812
  config: config)
10741
10813
  context[:gem_name] = 'aws-sdk-ssm'
10742
- context[:gem_version] = '1.107.0'
10814
+ context[:gem_version] = '1.108.0'
10743
10815
  Seahorse::Client::Request.new(handlers, context)
10744
10816
  end
10745
10817
 
@@ -127,6 +127,7 @@ module Aws::SSM
127
127
  CancelCommandResult = Shapes::StructureShape.new(name: 'CancelCommandResult')
128
128
  CancelMaintenanceWindowExecutionRequest = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionRequest')
129
129
  CancelMaintenanceWindowExecutionResult = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionResult')
130
+ ChangeDetailsValue = Shapes::StringShape.new(name: 'ChangeDetailsValue')
130
131
  ChangeRequestName = Shapes::StringShape.new(name: 'ChangeRequestName')
131
132
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
132
133
  CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
@@ -844,6 +845,7 @@ module Aws::SSM
844
845
  PatchComplianceLevel = Shapes::StringShape.new(name: 'PatchComplianceLevel')
845
846
  PatchComplianceMaxResults = Shapes::IntegerShape.new(name: 'PatchComplianceMaxResults')
846
847
  PatchContentUrl = Shapes::StringShape.new(name: 'PatchContentUrl')
848
+ PatchCriticalNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchCriticalNonCompliantCount')
847
849
  PatchDeploymentStatus = Shapes::StringShape.new(name: 'PatchDeploymentStatus')
848
850
  PatchDescription = Shapes::StringShape.new(name: 'PatchDescription')
849
851
  PatchEpoch = Shapes::IntegerShape.new(name: 'PatchEpoch')
@@ -878,6 +880,7 @@ module Aws::SSM
878
880
  PatchOrchestratorFilterList = Shapes::ListShape.new(name: 'PatchOrchestratorFilterList')
879
881
  PatchOrchestratorFilterValue = Shapes::StringShape.new(name: 'PatchOrchestratorFilterValue')
880
882
  PatchOrchestratorFilterValues = Shapes::ListShape.new(name: 'PatchOrchestratorFilterValues')
883
+ PatchOtherNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchOtherNonCompliantCount')
881
884
  PatchProduct = Shapes::StringShape.new(name: 'PatchProduct')
882
885
  PatchProductFamily = Shapes::StringShape.new(name: 'PatchProductFamily')
883
886
  PatchPropertiesList = Shapes::ListShape.new(name: 'PatchPropertiesList')
@@ -888,6 +891,7 @@ module Aws::SSM
888
891
  PatchRule = Shapes::StructureShape.new(name: 'PatchRule')
889
892
  PatchRuleGroup = Shapes::StructureShape.new(name: 'PatchRuleGroup')
890
893
  PatchRuleList = Shapes::ListShape.new(name: 'PatchRuleList')
894
+ PatchSecurityNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchSecurityNonCompliantCount')
891
895
  PatchSet = Shapes::StringShape.new(name: 'PatchSet')
892
896
  PatchSeverity = Shapes::StringShape.new(name: 'PatchSeverity')
893
897
  PatchSource = Shapes::StructureShape.new(name: 'PatchSource')
@@ -1090,6 +1094,8 @@ module Aws::SSM
1090
1094
  TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
1091
1095
  TotalSizeLimitExceededException = Shapes::StructureShape.new(name: 'TotalSizeLimitExceededException')
1092
1096
  UUID = Shapes::StringShape.new(name: 'UUID')
1097
+ UnlabelParameterVersionRequest = Shapes::StructureShape.new(name: 'UnlabelParameterVersionRequest')
1098
+ UnlabelParameterVersionResult = Shapes::StructureShape.new(name: 'UnlabelParameterVersionResult')
1093
1099
  UnsupportedCalendarException = Shapes::StructureShape.new(name: 'UnsupportedCalendarException')
1094
1100
  UnsupportedFeatureRequiredException = Shapes::StructureShape.new(name: 'UnsupportedFeatureRequiredException')
1095
1101
  UnsupportedInventoryItemContextException = Shapes::StructureShape.new(name: 'UnsupportedInventoryItemContextException')
@@ -2107,6 +2113,9 @@ module Aws::SSM
2107
2113
  DescribePatchGroupStateResult.add_member(:instances_with_failed_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithFailedPatches"))
2108
2114
  DescribePatchGroupStateResult.add_member(:instances_with_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithNotApplicablePatches"))
2109
2115
  DescribePatchGroupStateResult.add_member(:instances_with_unreported_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithUnreportedNotApplicablePatches", metadata: {"box"=>true}))
2116
+ DescribePatchGroupStateResult.add_member(:instances_with_critical_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithCriticalNonCompliantPatches", metadata: {"box"=>true}))
2117
+ DescribePatchGroupStateResult.add_member(:instances_with_security_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithSecurityNonCompliantPatches", metadata: {"box"=>true}))
2118
+ DescribePatchGroupStateResult.add_member(:instances_with_other_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithOtherNonCompliantPatches", metadata: {"box"=>true}))
2110
2119
  DescribePatchGroupStateResult.struct_class = Types::DescribePatchGroupStateResult
2111
2120
 
2112
2121
  DescribePatchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -2698,6 +2707,9 @@ module Aws::SSM
2698
2707
  InstancePatchState.add_member(:operation, Shapes::ShapeRef.new(shape: PatchOperationType, required: true, location_name: "Operation"))
2699
2708
  InstancePatchState.add_member(:last_no_reboot_install_operation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastNoRebootInstallOperationTime"))
2700
2709
  InstancePatchState.add_member(:reboot_option, Shapes::ShapeRef.new(shape: RebootOption, location_name: "RebootOption"))
2710
+ InstancePatchState.add_member(:critical_non_compliant_count, Shapes::ShapeRef.new(shape: PatchCriticalNonCompliantCount, location_name: "CriticalNonCompliantCount", metadata: {"box"=>true}))
2711
+ InstancePatchState.add_member(:security_non_compliant_count, Shapes::ShapeRef.new(shape: PatchSecurityNonCompliantCount, location_name: "SecurityNonCompliantCount", metadata: {"box"=>true}))
2712
+ InstancePatchState.add_member(:other_non_compliant_count, Shapes::ShapeRef.new(shape: PatchOtherNonCompliantCount, location_name: "OtherNonCompliantCount", metadata: {"box"=>true}))
2701
2713
  InstancePatchState.struct_class = Types::InstancePatchState
2702
2714
 
2703
2715
  InstancePatchStateFilter.add_member(:key, Shapes::ShapeRef.new(shape: InstancePatchStateFilterKey, required: true, location_name: "Key"))
@@ -4056,6 +4068,8 @@ module Aws::SSM
4056
4068
  StartChangeRequestExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
4057
4069
  StartChangeRequestExecutionRequest.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, required: true, location_name: "Runbooks"))
4058
4070
  StartChangeRequestExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
4071
+ StartChangeRequestExecutionRequest.add_member(:scheduled_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledEndTime"))
4072
+ StartChangeRequestExecutionRequest.add_member(:change_details, Shapes::ShapeRef.new(shape: ChangeDetailsValue, location_name: "ChangeDetails"))
4059
4073
  StartChangeRequestExecutionRequest.struct_class = Types::StartChangeRequestExecutionRequest
4060
4074
 
4061
4075
  StartChangeRequestExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -4170,6 +4184,15 @@ module Aws::SSM
4170
4184
  TotalSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4171
4185
  TotalSizeLimitExceededException.struct_class = Types::TotalSizeLimitExceededException
4172
4186
 
4187
+ UnlabelParameterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
4188
+ UnlabelParameterVersionRequest.add_member(:parameter_version, Shapes::ShapeRef.new(shape: PSParameterVersion, required: true, location_name: "ParameterVersion", metadata: {"box"=>true}))
4189
+ UnlabelParameterVersionRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, required: true, location_name: "Labels"))
4190
+ UnlabelParameterVersionRequest.struct_class = Types::UnlabelParameterVersionRequest
4191
+
4192
+ UnlabelParameterVersionResult.add_member(:removed_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "RemovedLabels"))
4193
+ UnlabelParameterVersionResult.add_member(:invalid_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "InvalidLabels"))
4194
+ UnlabelParameterVersionResult.struct_class = Types::UnlabelParameterVersionResult
4195
+
4173
4196
  UnsupportedCalendarException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4174
4197
  UnsupportedCalendarException.struct_class = Types::UnsupportedCalendarException
4175
4198
 
@@ -6046,6 +6069,18 @@ module Aws::SSM
6046
6069
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
6047
6070
  end)
6048
6071
 
6072
+ api.add_operation(:unlabel_parameter_version, Seahorse::Model::Operation.new.tap do |o|
6073
+ o.name = "UnlabelParameterVersion"
6074
+ o.http_method = "POST"
6075
+ o.http_request_uri = "/"
6076
+ o.input = Shapes::ShapeRef.new(shape: UnlabelParameterVersionRequest)
6077
+ o.output = Shapes::ShapeRef.new(shape: UnlabelParameterVersionResult)
6078
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
6079
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
6080
+ o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
6081
+ o.errors << Shapes::ShapeRef.new(shape: ParameterVersionNotFound)
6082
+ end)
6083
+
6049
6084
  api.add_operation(:update_association, Seahorse::Model::Operation.new.tap do |o|
6050
6085
  o.name = "UpdateAssociation"
6051
6086
  o.http_method = "POST"
@@ -152,9 +152,7 @@ module Aws::SSM
152
152
  # @return [String]
153
153
  #
154
154
  # @!attribute [rw] tags
155
- # One or more tags. The value parameter is required, but if you don't
156
- # want the tag to have a value, specify the parameter with no value,
157
- # and we set the value to an empty string.
155
+ # One or more tags. The value parameter is required.
158
156
  #
159
157
  # Do not enter personally identifiable information in this field.
160
158
  # @return [Array<Types::Tag>]
@@ -234,7 +232,7 @@ module Aws::SSM
234
232
  #
235
233
  # @!attribute [rw] schedule_expression
236
234
  # A cron expression that specifies a schedule when the association
237
- # runs.
235
+ # runs. The schedule runs in Coordinated Universal Time (UTC).
238
236
  # @return [String]
239
237
  #
240
238
  # @!attribute [rw] association_name
@@ -4882,7 +4880,7 @@ module Aws::SSM
4882
4880
  #
4883
4881
  # @!attribute [rw] reverse_order
4884
4882
  # A boolean that indicates whether to list step executions in reverse
4885
- # order by start time. The default value is false.
4883
+ # order by start time. The default value is 'false'.
4886
4884
  # @return [Boolean]
4887
4885
  #
4888
4886
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest AWS API Documentation
@@ -6431,6 +6429,28 @@ module Aws::SSM
6431
6429
  # Inventory.
6432
6430
  # @return [Integer]
6433
6431
  #
6432
+ # @!attribute [rw] instances_with_critical_non_compliant_patches
6433
+ # The number of instances where patches that are specified as
6434
+ # "Critical" for compliance reporting in the patch baseline are not
6435
+ # installed. These patches might be missing, have failed installation,
6436
+ # were rejected, or were installed but awaiting a required instance
6437
+ # reboot. The status of these instances is `NON_COMPLIANT`.
6438
+ # @return [Integer]
6439
+ #
6440
+ # @!attribute [rw] instances_with_security_non_compliant_patches
6441
+ # The number of instances where patches that are specified as
6442
+ # "Security" in a patch advisory are not installed. These patches
6443
+ # might be missing, have failed installation, were rejected, or were
6444
+ # installed but awaiting a required instance reboot. The status of
6445
+ # these instances is `NON_COMPLIANT`.
6446
+ # @return [Integer]
6447
+ #
6448
+ # @!attribute [rw] instances_with_other_non_compliant_patches
6449
+ # The number of instances with patches installed that are specified as
6450
+ # other than "Critical" or "Security" but are not compliant with
6451
+ # the patch baseline. The status of these instances is NON\_COMPLIANT.
6452
+ # @return [Integer]
6453
+ #
6434
6454
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult AWS API Documentation
6435
6455
  #
6436
6456
  class DescribePatchGroupStateResult < Struct.new(
@@ -6442,7 +6462,10 @@ module Aws::SSM
6442
6462
  :instances_with_missing_patches,
6443
6463
  :instances_with_failed_patches,
6444
6464
  :instances_with_not_applicable_patches,
6445
- :instances_with_unreported_not_applicable_patches)
6465
+ :instances_with_unreported_not_applicable_patches,
6466
+ :instances_with_critical_non_compliant_patches,
6467
+ :instances_with_security_non_compliant_patches,
6468
+ :instances_with_other_non_compliant_patches)
6446
6469
  SENSITIVE = []
6447
6470
  include Aws::Structure
6448
6471
  end
@@ -7631,19 +7654,26 @@ module Aws::SSM
7631
7654
  #
7632
7655
  # @!attribute [rw] instance_id
7633
7656
  # (Required) The ID of the managed instance targeted by the command. A
7634
- # managed instance can be an EC2 instance or an instance in your
7635
- # hybrid environment that is configured for Systems Manager.
7657
+ # managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
7658
+ # instance or an instance in your hybrid environment that is
7659
+ # configured for AWS Systems Manager.
7636
7660
  # @return [String]
7637
7661
  #
7638
7662
  # @!attribute [rw] plugin_name
7639
7663
  # The name of the plugin for which you want detailed results. If the
7640
7664
  # document contains only one plugin, you can omit the name and details
7641
- # for that plugin are returned. If the document contains more than one
7642
- # plugin, you must specify the name of the plugin for which you want
7643
- # to view details.
7665
+ # for that plugin. If the document contains more than one plugin, you
7666
+ # must specify the name of the plugin for which you want to view
7667
+ # details.
7644
7668
  #
7645
7669
  # Plugin names are also referred to as *step names* in Systems Manager
7646
7670
  # documents. For example, `aws:RunShellScript` is a plugin.
7671
+ #
7672
+ # To find the `PluginName`, check the document content and find the
7673
+ # name of the plugin. Alternatively, use ListCommandInvocations with
7674
+ # the `CommandId` and `Details` parameters. The `PluginName` is the
7675
+ # `Name` attribute of the `CommandPlugin` object in the
7676
+ # `CommandPlugins` list.
7647
7677
  # @return [String]
7648
7678
  #
7649
7679
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
@@ -7672,7 +7702,7 @@ module Aws::SSM
7672
7702
  #
7673
7703
  # @!attribute [rw] document_name
7674
7704
  # The name of the document that was run. For example,
7675
- # AWS-RunShellScript.
7705
+ # `AWS-RunShellScript`.
7676
7706
  # @return [String]
7677
7707
  #
7678
7708
  # @!attribute [rw] document_version
@@ -7686,7 +7716,7 @@ module Aws::SSM
7686
7716
  #
7687
7717
  # @!attribute [rw] response_code
7688
7718
  # The error level response code for the plugin script. If the response
7689
- # code is -1, then the command has not started running on the
7719
+ # code is `-1`, then the command has not started running on the
7690
7720
  # instance, or it was not received by the instance.
7691
7721
  # @return [Integer]
7692
7722
  #
@@ -7703,11 +7733,11 @@ module Aws::SSM
7703
7733
  # @return [String]
7704
7734
  #
7705
7735
  # @!attribute [rw] execution_elapsed_time
7706
- # Duration since ExecutionStartDateTime.
7736
+ # Duration since `ExecutionStartDateTime`.
7707
7737
  # @return [String]
7708
7738
  #
7709
7739
  # @!attribute [rw] execution_end_date_time
7710
- # The date and time the plugin was finished running. Date and time are
7740
+ # The date and time the plugin finished running. Date and time are
7711
7741
  # written in ISO 8601 format. For example, June 7, 2017 is represented
7712
7742
  # as 2017-06-7. The following sample AWS CLI command uses the
7713
7743
  # `InvokedAfter` filter.
@@ -7720,17 +7750,17 @@ module Aws::SSM
7720
7750
  #
7721
7751
  # @!attribute [rw] status
7722
7752
  # The status of this invocation plugin. This status can be different
7723
- # than StatusDetails.
7753
+ # than `StatusDetails`.
7724
7754
  # @return [String]
7725
7755
  #
7726
7756
  # @!attribute [rw] status_details
7727
7757
  # A detailed status of the command execution for an invocation.
7728
- # StatusDetails includes more information than Status because it
7758
+ # `StatusDetails` includes more information than `Status` because it
7729
7759
  # includes states resulting from error and concurrency control
7730
- # parameters. StatusDetails can show different results than Status.
7731
- # For more information about these statuses, see [Understanding
7732
- # command statuses][1] in the *AWS Systems Manager User Guide*.
7733
- # StatusDetails can be one of the following values:
7760
+ # parameters. `StatusDetails` can show different results than
7761
+ # `Status`. For more information about these statuses, see
7762
+ # [Understanding command statuses][1] in the *AWS Systems Manager User
7763
+ # Guide*. `StatusDetails` can be one of the following values:
7734
7764
  #
7735
7765
  # * Pending: The command has not been sent to the instance.
7736
7766
  #
@@ -7748,20 +7778,20 @@ module Aws::SSM
7748
7778
  #
7749
7779
  # * Delivery Timed Out: The command was not delivered to the instance
7750
7780
  # before the delivery timeout expired. Delivery timeouts do not
7751
- # count against the parent command's MaxErrors limit, but they do
7781
+ # count against the parent command's `MaxErrors` limit, but they do
7752
7782
  # contribute to whether the parent command status is Success or
7753
7783
  # Incomplete. This is a terminal state.
7754
7784
  #
7755
7785
  # * Execution Timed Out: The command started to run on the instance,
7756
7786
  # but the execution was not complete before the timeout expired.
7757
- # Execution timeouts count against the MaxErrors limit of the parent
7758
- # command. This is a terminal state.
7787
+ # Execution timeouts count against the `MaxErrors` limit of the
7788
+ # parent command. This is a terminal state.
7759
7789
  #
7760
7790
  # * Failed: The command wasn't run successfully on the instance. For
7761
7791
  # a plugin, this indicates that the result code was not zero. For a
7762
7792
  # command invocation, this indicates that the result code for one or
7763
7793
  # more plugins was not zero. Invocation failures count against the
7764
- # MaxErrors limit of the parent command. This is a terminal state.
7794
+ # `MaxErrors` limit of the parent command. This is a terminal state.
7765
7795
  #
7766
7796
  # * Canceled: The command was terminated before it was completed. This
7767
7797
  # is a terminal state.
@@ -7769,11 +7799,11 @@ module Aws::SSM
7769
7799
  # * Undeliverable: The command can't be delivered to the instance.
7770
7800
  # The instance might not exist or might not be responding.
7771
7801
  # Undeliverable invocations don't count against the parent
7772
- # command's MaxErrors limit and don't contribute to whether the
7802
+ # command's `MaxErrors` limit and don't contribute to whether the
7773
7803
  # parent command status is Success or Incomplete. This is a terminal
7774
7804
  # state.
7775
7805
  #
7776
- # * Terminated: The parent command exceeded its MaxErrors limit and
7806
+ # * Terminated: The parent command exceeded its `MaxErrors` limit and
7777
7807
  # subsequent command invocations were canceled by the system. This
7778
7808
  # is a terminal state.
7779
7809
  #
@@ -7783,24 +7813,24 @@ module Aws::SSM
7783
7813
  # @return [String]
7784
7814
  #
7785
7815
  # @!attribute [rw] standard_output_content
7786
- # The first 24,000 characters written by the plugin to stdout. If the
7787
- # command has not finished running, if ExecutionStatus is neither
7788
- # Succeeded nor Failed, then this string is empty.
7816
+ # The first 24,000 characters written by the plugin to `stdout`. If
7817
+ # the command has not finished running, if `ExecutionStatus` is
7818
+ # neither Succeeded nor Failed, then this string is empty.
7789
7819
  # @return [String]
7790
7820
  #
7791
7821
  # @!attribute [rw] standard_output_url
7792
- # The URL for the complete text written by the plugin to stdout in
7793
- # Amazon S3. If an S3 bucket was not specified, then this string is
7794
- # empty.
7822
+ # The URL for the complete text written by the plugin to `stdout` in
7823
+ # Amazon Simple Storage Service (Amazon S3). If an S3 bucket was not
7824
+ # specified, then this string is empty.
7795
7825
  # @return [String]
7796
7826
  #
7797
7827
  # @!attribute [rw] standard_error_content
7798
- # The first 8,000 characters written by the plugin to stderr. If the
7828
+ # The first 8,000 characters written by the plugin to `stderr`. If the
7799
7829
  # command has not finished running, then this string is empty.
7800
7830
  # @return [String]
7801
7831
  #
7802
7832
  # @!attribute [rw] standard_error_url
7803
- # The URL for the complete text written by the plugin to stderr. If
7833
+ # The URL for the complete text written by the plugin to `stderr`. If
7804
7834
  # the command has not finished running, then this string is empty.
7805
7835
  # @return [String]
7806
7836
  #
@@ -10055,6 +10085,28 @@ module Aws::SSM
10055
10085
  # patches might not be in effect until a reboot is performed.
10056
10086
  # @return [String]
10057
10087
  #
10088
+ # @!attribute [rw] critical_non_compliant_count
10089
+ # The number of instances where patches that are specified as
10090
+ # "Critical" for compliance reporting in the patch baseline are not
10091
+ # installed. These patches might be missing, have failed installation,
10092
+ # were rejected, or were installed but awaiting a required instance
10093
+ # reboot. The status of these instances is `NON_COMPLIANT`.
10094
+ # @return [Integer]
10095
+ #
10096
+ # @!attribute [rw] security_non_compliant_count
10097
+ # The number of instances where patches that are specified as
10098
+ # "Security" in a patch advisory are not installed. These patches
10099
+ # might be missing, have failed installation, were rejected, or were
10100
+ # installed but awaiting a required instance reboot. The status of
10101
+ # these instances is `NON_COMPLIANT`.
10102
+ # @return [Integer]
10103
+ #
10104
+ # @!attribute [rw] other_non_compliant_count
10105
+ # The number of instances with patches installed that are specified as
10106
+ # other than "Critical" or "Security" but are not compliant with
10107
+ # the patch baseline. The status of these instances is NON\_COMPLIANT.
10108
+ # @return [Integer]
10109
+ #
10058
10110
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchState AWS API Documentation
10059
10111
  #
10060
10112
  class InstancePatchState < Struct.new(
@@ -10076,7 +10128,10 @@ module Aws::SSM
10076
10128
  :operation_end_time,
10077
10129
  :operation,
10078
10130
  :last_no_reboot_install_operation_time,
10079
- :reboot_option)
10131
+ :reboot_option,
10132
+ :critical_non_compliant_count,
10133
+ :security_non_compliant_count,
10134
+ :other_non_compliant_count)
10080
10135
  SENSITIVE = [:owner_information]
10081
10136
  include Aws::Structure
10082
10137
  end
@@ -11447,7 +11502,7 @@ module Aws::SSM
11447
11502
  #
11448
11503
  # @!attribute [rw] details
11449
11504
  # (Optional) If set this returns the response of the command
11450
- # executions and any command output. By default this is set to False.
11505
+ # executions and any command output. The default value is 'false'.
11451
11506
  # @return [Boolean]
11452
11507
  #
11453
11508
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest AWS API Documentation
@@ -15506,8 +15561,7 @@ module Aws::SSM
15506
15561
  # @return [String]
15507
15562
  #
15508
15563
  # @!attribute [rw] overwrite
15509
- # Overwrite an existing parameter. If not specified, will default to
15510
- # "false".
15564
+ # Overwrite an existing parameter. The default value is 'false'.
15511
15565
  # @return [Boolean]
15512
15566
  #
15513
15567
  # @!attribute [rw] allowed_pattern
@@ -17879,6 +17933,8 @@ module Aws::SSM
17879
17933
  # value: "TagValue", # required
17880
17934
  # },
17881
17935
  # ],
17936
+ # scheduled_end_time: Time.now,
17937
+ # change_details: "ChangeDetailsValue",
17882
17938
  # }
17883
17939
  #
17884
17940
  # @!attribute [rw] scheduled_time
@@ -17941,6 +17997,18 @@ module Aws::SSM
17941
17997
  # * `Key=Region,Value=us-east-2`
17942
17998
  # @return [Array<Types::Tag>]
17943
17999
  #
18000
+ # @!attribute [rw] scheduled_end_time
18001
+ # The time that the requester expects the runbook workflow related to
18002
+ # the change request to complete. The time is an estimate only that
18003
+ # the requester provides for reviewers.
18004
+ # @return [Time]
18005
+ #
18006
+ # @!attribute [rw] change_details
18007
+ # User-provided details about the change. If no details are provided,
18008
+ # content specified in the **Template information** section of the
18009
+ # associated change template is added.
18010
+ # @return [String]
18011
+ #
17944
18012
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
17945
18013
  #
17946
18014
  class StartChangeRequestExecutionRequest < Struct.new(
@@ -17951,7 +18019,9 @@ module Aws::SSM
17951
18019
  :change_request_name,
17952
18020
  :client_token,
17953
18021
  :runbooks,
17954
- :tags)
18022
+ :tags,
18023
+ :scheduled_end_time,
18024
+ :change_details)
17955
18025
  SENSITIVE = []
17956
18026
  include Aws::Structure
17957
18027
  end
@@ -18543,6 +18613,55 @@ module Aws::SSM
18543
18613
  include Aws::Structure
18544
18614
  end
18545
18615
 
18616
+ # @note When making an API call, you may pass UnlabelParameterVersionRequest
18617
+ # data as a hash:
18618
+ #
18619
+ # {
18620
+ # name: "PSParameterName", # required
18621
+ # parameter_version: 1, # required
18622
+ # labels: ["ParameterLabel"], # required
18623
+ # }
18624
+ #
18625
+ # @!attribute [rw] name
18626
+ # The parameter name of which you want to delete one or more labels.
18627
+ # @return [String]
18628
+ #
18629
+ # @!attribute [rw] parameter_version
18630
+ # The specific version of the parameter which you want to delete one
18631
+ # or more labels from. If it is not present, the call will fail.
18632
+ # @return [Integer]
18633
+ #
18634
+ # @!attribute [rw] labels
18635
+ # One or more labels to delete from the specified parameter version.
18636
+ # @return [Array<String>]
18637
+ #
18638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionRequest AWS API Documentation
18639
+ #
18640
+ class UnlabelParameterVersionRequest < Struct.new(
18641
+ :name,
18642
+ :parameter_version,
18643
+ :labels)
18644
+ SENSITIVE = []
18645
+ include Aws::Structure
18646
+ end
18647
+
18648
+ # @!attribute [rw] removed_labels
18649
+ # A list of all labels deleted from the parameter.
18650
+ # @return [Array<String>]
18651
+ #
18652
+ # @!attribute [rw] invalid_labels
18653
+ # The labels that are not attached to the given parameter version.
18654
+ # @return [Array<String>]
18655
+ #
18656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionResult AWS API Documentation
18657
+ #
18658
+ class UnlabelParameterVersionResult < Struct.new(
18659
+ :removed_labels,
18660
+ :invalid_labels)
18661
+ SENSITIVE = []
18662
+ include Aws::Structure
18663
+ end
18664
+
18546
18665
  # The calendar entry contained in the specified Systems Manager document
18547
18666
  # is not supported.
18548
18667
  #
@@ -19042,10 +19161,10 @@ module Aws::SSM
19042
19161
  # @return [String]
19043
19162
  #
19044
19163
  # @!attribute [rw] document_version
19045
- # (Required) The latest version of the document that you want to
19046
- # update. The latest document version can be specified using the
19047
- # $LATEST variable or by the version number. Updating a previous
19048
- # version of a document is not supported.
19164
+ # The version of the document that you want to update. Currently,
19165
+ # Systems Manager supports updating only the latest version of the
19166
+ # document. You can specify the version number of the latest version
19167
+ # or use the `$LATEST` variable.
19049
19168
  # @return [String]
19050
19169
  #
19051
19170
  # @!attribute [rw] document_format
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.107.0
4
+ version: 1.108.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: 2021-03-24 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core