aws-sdk-ssm 1.13.0 → 1.14.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: c718a15930868007a091cff895f77e16ed8cd9c5
4
- data.tar.gz: 2c73e1de95ee44d14cd8d9fd30b953ce2022ad11
3
+ metadata.gz: 869436f62de65176bf70fbc33cc3992cc23c6b42
4
+ data.tar.gz: b371d9ba3c00f1bbe4a1189f5daa58eee32c774e
5
5
  SHA512:
6
- metadata.gz: 225c162b5abea8bf6b62787eb36f2dc7fb9708f6ba268c0d0ba38d1b3f8b3abfd35d72bfaf2f86fb4dc5dda56c144ea6994725dd3beddb7430eca8b6581e64ea
7
- data.tar.gz: 6c9e00b99e7557158009242fa9205cf6e0a177a3df5cec6da3a9439ad60497afb84e827d192fb0e262825ba347db587a992644fb54d51500bf78d42038fa35f5
6
+ metadata.gz: 4fc1dd503bf3f58588ccc2da65c8ce167b83cbbd2b1359d85a74c4e3f9d961087e86a36a2ace9b818aba6d576177038f8907005427afea02819609fbbef4cc15
7
+ data.tar.gz: b9a7ff4f3cccfbdd54df2f8e644341d87974f30e875eaa9ea7735def7e1530be0fad875e28661876956f9eaa486f128c49e47f077cae48277bca5025d7d62f21
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -857,11 +857,12 @@ module Aws::SSM
857
857
  # We also recommend that you secure access to the Amazon S3 bucket by
858
858
  # creating a restrictive bucket policy. To view an example of a
859
859
  # restrictive Amazon S3 bucket policy for Resource Data Sync, see
860
- # [Configuring Resource Data Sync for Inventory][1].
860
+ # [Create a Resource Data Sync for Inventory][1] in the *AWS Systems
861
+ # Manager User Guide*.
861
862
  #
862
863
  #
863
864
  #
864
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-configuring.html#sysman-inventory-datasync
865
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync-create.html
865
866
  #
866
867
  # @option params [required, String] :sync_name
867
868
  # A name for the configuration.
@@ -1192,7 +1193,7 @@ module Aws::SSM
1192
1193
  # Removes the server or virtual machine from the list of registered
1193
1194
  # servers. You can reregister the instance again at any time. If you
1194
1195
  # don't plan to use Run Command on the server, we suggest uninstalling
1195
- # the SSM Agent first.
1196
+ # SSM Agent first.
1196
1197
  #
1197
1198
  # @option params [required, String] :instance_id
1198
1199
  # The ID assigned to the managed instance when you registered it using
@@ -2966,6 +2967,7 @@ module Aws::SSM
2966
2967
  # * {Types::GetCommandInvocationResult#standard_output_url #standard_output_url} => String
2967
2968
  # * {Types::GetCommandInvocationResult#standard_error_content #standard_error_content} => String
2968
2969
  # * {Types::GetCommandInvocationResult#standard_error_url #standard_error_url} => String
2970
+ # * {Types::GetCommandInvocationResult#cloud_watch_output_config #cloud_watch_output_config} => Types::CloudWatchOutputConfig
2969
2971
  #
2970
2972
  # @example Request syntax with placeholder values
2971
2973
  #
@@ -2993,6 +2995,8 @@ module Aws::SSM
2993
2995
  # resp.standard_output_url #=> String
2994
2996
  # resp.standard_error_content #=> String
2995
2997
  # resp.standard_error_url #=> String
2998
+ # resp.cloud_watch_output_config.cloud_watch_log_group_name #=> String
2999
+ # resp.cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
2996
3000
  #
2997
3001
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation AWS API Documentation
2998
3002
  #
@@ -3558,7 +3562,8 @@ module Aws::SSM
3558
3562
  req.send_request(options)
3559
3563
  end
3560
3564
 
3561
- # Get information about a parameter by using the parameter name.
3565
+ # Get information about a parameter by using the parameter name. Don't
3566
+ # confuse this API action with the GetParameters API action.
3562
3567
  #
3563
3568
  # @option params [required, String] :name
3564
3569
  # The name of the parameter you want to query.
@@ -3649,7 +3654,8 @@ module Aws::SSM
3649
3654
  req.send_request(options)
3650
3655
  end
3651
3656
 
3652
- # Get details of a parameter.
3657
+ # Get details of a parameter. Don't confuse this API action with the
3658
+ # GetParameter API action.
3653
3659
  #
3654
3660
  # @option params [required, Array<String>] :names
3655
3661
  # Names of the parameters for which you want to query information.
@@ -3691,7 +3697,8 @@ module Aws::SSM
3691
3697
  end
3692
3698
 
3693
3699
  # Retrieve parameters in a specific hierarchy. For more information, see
3694
- # [Working with Systems Manager Parameters][1].
3700
+ # [Working with Systems Manager Parameters][1] in the *AWS Systems
3701
+ # Manager User Guide*.
3695
3702
  #
3696
3703
  # Request results are returned on a best-effort basis. If you specify
3697
3704
  # `MaxResults` in the request, the response includes information up to
@@ -4100,6 +4107,8 @@ module Aws::SSM
4100
4107
  # resp.command_invocations[0].notification_config.notification_events #=> Array
4101
4108
  # resp.command_invocations[0].notification_config.notification_events[0] #=> String, one of "All", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
4102
4109
  # resp.command_invocations[0].notification_config.notification_type #=> String, one of "Command", "Invocation"
4110
+ # resp.command_invocations[0].cloud_watch_output_config.cloud_watch_log_group_name #=> String
4111
+ # resp.command_invocations[0].cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
4103
4112
  # resp.next_token #=> String
4104
4113
  #
4105
4114
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations AWS API Documentation
@@ -4180,11 +4189,14 @@ module Aws::SSM
4180
4189
  # resp.commands[0].target_count #=> Integer
4181
4190
  # resp.commands[0].completed_count #=> Integer
4182
4191
  # resp.commands[0].error_count #=> Integer
4192
+ # resp.commands[0].delivery_timed_out_count #=> Integer
4183
4193
  # resp.commands[0].service_role #=> String
4184
4194
  # resp.commands[0].notification_config.notification_arn #=> String
4185
4195
  # resp.commands[0].notification_config.notification_events #=> Array
4186
4196
  # resp.commands[0].notification_config.notification_events[0] #=> String, one of "All", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
4187
4197
  # resp.commands[0].notification_config.notification_type #=> String, one of "Command", "Invocation"
4198
+ # resp.commands[0].cloud_watch_output_config.cloud_watch_log_group_name #=> String
4199
+ # resp.commands[0].cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
4188
4200
  # resp.next_token #=> String
4189
4201
  #
4190
4202
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands AWS API Documentation
@@ -4894,7 +4906,7 @@ module Aws::SSM
4894
4906
  # `/Dev/DBServer/MySQL/db-string13`
4895
4907
  #
4896
4908
  # For information about parameter name requirements and restrictions,
4897
- # see [About Creating Systems Manager Parameters][1] in the *AWS Systems
4909
+ # see [Creating Systems Manager Parameters][1] in the *AWS Systems
4898
4910
  # Manager User Guide*.
4899
4911
  #
4900
4912
  # <note markdown="1"> The maximum length constraint listed below includes capacity for
@@ -4906,7 +4918,7 @@ module Aws::SSM
4906
4918
  #
4907
4919
  #
4908
4920
  #
4909
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramstore-su-create-about
4921
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
4910
4922
  #
4911
4923
  # @option params [String] :description
4912
4924
  # Information about the parameter that you want to add to the system.
@@ -5355,7 +5367,8 @@ module Aws::SSM
5355
5367
  # maximum of 50 IDs. If you prefer not to list individual instance IDs,
5356
5368
  # you can instead send commands to a fleet of instances using the
5357
5369
  # Targets parameter, which accepts EC2 tags. For more information about
5358
- # how to use Targets, see [Sending Commands to a Fleet][1].
5370
+ # how to use Targets, see [Sending Commands to a Fleet][1] in the *AWS
5371
+ # Systems Manager User Guide*.
5359
5372
  #
5360
5373
  #
5361
5374
  #
@@ -5366,7 +5379,7 @@ module Aws::SSM
5366
5379
  # Key,Value combination that you specify. Targets is required if you
5367
5380
  # don't provide one or more instance IDs in the call. For more
5368
5381
  # information about how to use Targets, see [Sending Commands to a
5369
- # Fleet][1].
5382
+ # Fleet][1] in the *AWS Systems Manager User Guide*.
5370
5383
  #
5371
5384
  #
5372
5385
  #
@@ -5378,7 +5391,16 @@ module Aws::SSM
5378
5391
  #
5379
5392
  # @option params [String] :document_version
5380
5393
  # The SSM document version to use in the request. You can specify
5381
- # Default, Latest, or a specific version number.
5394
+ # $DEFAULT, $LATEST, or a specific version number. If you execute
5395
+ # commands by using the AWS CLI, then you must escape the first two
5396
+ # options by using a backslash. If you specify a version number, then
5397
+ # you don't need to use the backslash. For example:
5398
+ #
5399
+ # --document-version "\\$DEFAULT"
5400
+ #
5401
+ # --document-version "\\$LATEST"
5402
+ #
5403
+ # --document-version "3"
5382
5404
  #
5383
5405
  # @option params [String] :document_hash
5384
5406
  # The Sha256 or Sha1 hash created by the system when the document was
@@ -5424,11 +5446,12 @@ module Aws::SSM
5424
5446
  # (Optional) The maximum number of instances that are allowed to execute
5425
5447
  # the command at the same time. You can specify a number such as 10 or a
5426
5448
  # percentage such as 10%. The default value is 50. For more information
5427
- # about how to use MaxConcurrency, see [Using Concurrency Controls][1].
5449
+ # about how to use MaxConcurrency, see [Using Concurrency Controls][1]
5450
+ # in the *AWS Systems Manager User Guide*.
5428
5451
  #
5429
5452
  #
5430
5453
  #
5431
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-velocity.html
5454
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-velocity
5432
5455
  #
5433
5456
  # @option params [String] :max_errors
5434
5457
  # The maximum number of errors allowed without the command failing. When
@@ -5436,11 +5459,11 @@ module Aws::SSM
5436
5459
  # systems stops sending the command to additional targets. You can
5437
5460
  # specify a number like 10 or a percentage like 10%. The default value
5438
5461
  # is 0. For more information about how to use MaxErrors, see [Using
5439
- # Error Controls][1].
5462
+ # Error Controls][1] in the *AWS Systems Manager User Guide*.
5440
5463
  #
5441
5464
  #
5442
5465
  #
5443
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-maxerrors.html
5466
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-maxerrors
5444
5467
  #
5445
5468
  # @option params [String] :service_role_arn
5446
5469
  # The IAM role that Systems Manager uses to send notifications.
@@ -5448,6 +5471,10 @@ module Aws::SSM
5448
5471
  # @option params [Types::NotificationConfig] :notification_config
5449
5472
  # Configurations for sending notifications.
5450
5473
  #
5474
+ # @option params [Types::CloudWatchOutputConfig] :cloud_watch_output_config
5475
+ # Enables Systems Manager to send Run Command output to Amazon
5476
+ # CloudWatch Logs.
5477
+ #
5451
5478
  # @return [Types::SendCommandResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5452
5479
  #
5453
5480
  # * {Types::SendCommandResult#command #command} => Types::Command
@@ -5482,6 +5509,10 @@ module Aws::SSM
5482
5509
  # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
5483
5510
  # notification_type: "Command", # accepts Command, Invocation
5484
5511
  # },
5512
+ # cloud_watch_output_config: {
5513
+ # cloud_watch_log_group_name: "CloudWatchLogGroupName",
5514
+ # cloud_watch_output_enabled: false,
5515
+ # },
5485
5516
  # })
5486
5517
  #
5487
5518
  # @example Response structure
@@ -5511,11 +5542,14 @@ module Aws::SSM
5511
5542
  # resp.command.target_count #=> Integer
5512
5543
  # resp.command.completed_count #=> Integer
5513
5544
  # resp.command.error_count #=> Integer
5545
+ # resp.command.delivery_timed_out_count #=> Integer
5514
5546
  # resp.command.service_role #=> String
5515
5547
  # resp.command.notification_config.notification_arn #=> String
5516
5548
  # resp.command.notification_config.notification_events #=> Array
5517
5549
  # resp.command.notification_config.notification_events[0] #=> String, one of "All", "InProgress", "Success", "TimedOut", "Cancelled", "Failed"
5518
5550
  # resp.command.notification_config.notification_type #=> String, one of "Command", "Invocation"
5551
+ # resp.command.cloud_watch_output_config.cloud_watch_log_group_name #=> String
5552
+ # resp.command.cloud_watch_output_config.cloud_watch_output_enabled #=> Boolean
5519
5553
  #
5520
5554
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand AWS API Documentation
5521
5555
  #
@@ -6539,7 +6573,7 @@ module Aws::SSM
6539
6573
  params: params,
6540
6574
  config: config)
6541
6575
  context[:gem_name] = 'aws-sdk-ssm'
6542
- context[:gem_version] = '1.13.0'
6576
+ context[:gem_version] = '1.14.0'
6543
6577
  Seahorse::Client::Request.new(handlers, context)
6544
6578
  end
6545
6579
 
@@ -77,6 +77,9 @@ module Aws::SSM
77
77
  CancelCommandRequest = Shapes::StructureShape.new(name: 'CancelCommandRequest')
78
78
  CancelCommandResult = Shapes::StructureShape.new(name: 'CancelCommandResult')
79
79
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
80
+ CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
81
+ CloudWatchOutputConfig = Shapes::StructureShape.new(name: 'CloudWatchOutputConfig')
82
+ CloudWatchOutputEnabled = Shapes::BooleanShape.new(name: 'CloudWatchOutputEnabled')
80
83
  Command = Shapes::StructureShape.new(name: 'Command')
81
84
  CommandFilter = Shapes::StructureShape.new(name: 'CommandFilter')
82
85
  CommandFilterKey = Shapes::StringShape.new(name: 'CommandFilterKey')
@@ -165,6 +168,7 @@ module Aws::SSM
165
168
  DeletePatchBaselineResult = Shapes::StructureShape.new(name: 'DeletePatchBaselineResult')
166
169
  DeleteResourceDataSyncRequest = Shapes::StructureShape.new(name: 'DeleteResourceDataSyncRequest')
167
170
  DeleteResourceDataSyncResult = Shapes::StructureShape.new(name: 'DeleteResourceDataSyncResult')
171
+ DeliveryTimedOutCount = Shapes::IntegerShape.new(name: 'DeliveryTimedOutCount')
168
172
  DeregisterManagedInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceRequest')
169
173
  DeregisterManagedInstanceResult = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceResult')
170
174
  DeregisterPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'DeregisterPatchBaselineForPatchGroupRequest')
@@ -933,6 +937,10 @@ module Aws::SSM
933
937
 
934
938
  CancelCommandResult.struct_class = Types::CancelCommandResult
935
939
 
940
+ CloudWatchOutputConfig.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "CloudWatchLogGroupName"))
941
+ CloudWatchOutputConfig.add_member(:cloud_watch_output_enabled, Shapes::ShapeRef.new(shape: CloudWatchOutputEnabled, location_name: "CloudWatchOutputEnabled"))
942
+ CloudWatchOutputConfig.struct_class = Types::CloudWatchOutputConfig
943
+
936
944
  Command.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "CommandId"))
937
945
  Command.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
938
946
  Command.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
@@ -952,8 +960,10 @@ module Aws::SSM
952
960
  Command.add_member(:target_count, Shapes::ShapeRef.new(shape: TargetCount, location_name: "TargetCount"))
953
961
  Command.add_member(:completed_count, Shapes::ShapeRef.new(shape: CompletedCount, location_name: "CompletedCount"))
954
962
  Command.add_member(:error_count, Shapes::ShapeRef.new(shape: ErrorCount, location_name: "ErrorCount"))
963
+ Command.add_member(:delivery_timed_out_count, Shapes::ShapeRef.new(shape: DeliveryTimedOutCount, location_name: "DeliveryTimedOutCount"))
955
964
  Command.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRole"))
956
965
  Command.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
966
+ Command.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
957
967
  Command.struct_class = Types::Command
958
968
 
959
969
  CommandFilter.add_member(:key, Shapes::ShapeRef.new(shape: CommandFilterKey, required: true, location_name: "key"))
@@ -977,6 +987,7 @@ module Aws::SSM
977
987
  CommandInvocation.add_member(:command_plugins, Shapes::ShapeRef.new(shape: CommandPluginList, location_name: "CommandPlugins"))
978
988
  CommandInvocation.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRole"))
979
989
  CommandInvocation.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
990
+ CommandInvocation.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
980
991
  CommandInvocation.struct_class = Types::CommandInvocation
981
992
 
982
993
  CommandInvocationList.member = Shapes::ShapeRef.new(shape: CommandInvocation)
@@ -1581,6 +1592,7 @@ module Aws::SSM
1581
1592
  GetCommandInvocationResult.add_member(:standard_output_url, Shapes::ShapeRef.new(shape: Url, location_name: "StandardOutputUrl"))
1582
1593
  GetCommandInvocationResult.add_member(:standard_error_content, Shapes::ShapeRef.new(shape: StandardErrorContent, location_name: "StandardErrorContent"))
1583
1594
  GetCommandInvocationResult.add_member(:standard_error_url, Shapes::ShapeRef.new(shape: Url, location_name: "StandardErrorUrl"))
1595
+ GetCommandInvocationResult.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
1584
1596
  GetCommandInvocationResult.struct_class = Types::GetCommandInvocationResult
1585
1597
 
1586
1598
  GetDefaultPatchBaselineRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
@@ -2547,6 +2559,7 @@ module Aws::SSM
2547
2559
  SendCommandRequest.add_member(:max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "MaxErrors"))
2548
2560
  SendCommandRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRoleArn"))
2549
2561
  SendCommandRequest.add_member(:notification_config, Shapes::ShapeRef.new(shape: NotificationConfig, location_name: "NotificationConfig"))
2562
+ SendCommandRequest.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
2550
2563
  SendCommandRequest.struct_class = Types::SendCommandRequest
2551
2564
 
2552
2565
  SendCommandResult.add_member(:command, Shapes::ShapeRef.new(shape: Command, location_name: "Command"))
@@ -745,6 +745,35 @@ module Aws::SSM
745
745
  #
746
746
  class CancelCommandResult < Aws::EmptyStructure; end
747
747
 
748
+ # Configuration options for sending command output to CloudWatch Logs.
749
+ #
750
+ # @note When making an API call, you may pass CloudWatchOutputConfig
751
+ # data as a hash:
752
+ #
753
+ # {
754
+ # cloud_watch_log_group_name: "CloudWatchLogGroupName",
755
+ # cloud_watch_output_enabled: false,
756
+ # }
757
+ #
758
+ # @!attribute [rw] cloud_watch_log_group_name
759
+ # The name of the CloudWatch log group where you want to send command
760
+ # output. If you don't specify a group name, Systems Manager
761
+ # automatically creates a log group for you. The log group uses the
762
+ # following naming format: aws/ssm/*SystemsManagerDocumentName*.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] cloud_watch_output_enabled
766
+ # Enables Systems Manager to send command output to CloudWatch Logs.
767
+ # @return [Boolean]
768
+ #
769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CloudWatchOutputConfig AWS API Documentation
770
+ #
771
+ class CloudWatchOutputConfig < Struct.new(
772
+ :cloud_watch_log_group_name,
773
+ :cloud_watch_output_enabled)
774
+ include Aws::Structure
775
+ end
776
+
748
777
  # Describes a command request.
749
778
  #
750
779
  # @!attribute [rw] command_id
@@ -798,8 +827,9 @@ module Aws::SSM
798
827
  # more information than Status because it includes states resulting
799
828
  # from error and concurrency control parameters. StatusDetails can
800
829
  # show different results than Status. For more information about these
801
- # statuses, see [Run Command Status][1]. StatusDetails can be one of
802
- # the following values:
830
+ # statuses, see [Understanding Command Statuses][1] in the *AWS
831
+ # Systems Manager User Guide*. StatusDetails can be one of the
832
+ # following values:
803
833
  #
804
834
  # * Pending: The command has not been sent to any instances.
805
835
  #
@@ -835,7 +865,7 @@ module Aws::SSM
835
865
  #
836
866
  #
837
867
  #
838
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-about-status.html
868
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
839
869
  # @return [String]
840
870
  #
841
871
  # @!attribute [rw] output_s3_region
@@ -860,7 +890,8 @@ module Aws::SSM
860
890
  # command at the same time. You can specify a number of instances,
861
891
  # such as 10, or a percentage of instances, such as 10%. The default
862
892
  # value is 50. For more information about how to use MaxConcurrency,
863
- # see [Executing a Command Using Systems Manager Run Command][1].
893
+ # see [Executing Commands Using Systems Manager Run Command][1] in the
894
+ # *AWS Systems Manager User Guide*.
864
895
  #
865
896
  #
866
897
  #
@@ -872,7 +903,8 @@ module Aws::SSM
872
903
  # the command to additional targets. You can specify a number of
873
904
  # errors, such as 10, or a percentage or errors, such as 10%. The
874
905
  # default value is 0. For more information about how to use MaxErrors,
875
- # see [Executing a Command Using Systems Manager Run Command][1].
906
+ # see [Executing Commands Using Systems Manager Run Command][1] in the
907
+ # *AWS Systems Manager User Guide*.
876
908
  #
877
909
  #
878
910
  #
@@ -895,6 +927,10 @@ module Aws::SSM
895
927
  # Timed Out.
896
928
  # @return [Integer]
897
929
  #
930
+ # @!attribute [rw] delivery_timed_out_count
931
+ # The number of targets for which the status is Delivery Timed Out.
932
+ # @return [Integer]
933
+ #
898
934
  # @!attribute [rw] service_role
899
935
  # The IAM service role that Run Command uses to act on your behalf
900
936
  # when sending notifications about command status changes.
@@ -905,6 +941,11 @@ module Aws::SSM
905
941
  # changes.
906
942
  # @return [Types::NotificationConfig]
907
943
  #
944
+ # @!attribute [rw] cloud_watch_output_config
945
+ # CloudWatch Logs information where you want Systems Manager to send
946
+ # the command output.
947
+ # @return [Types::CloudWatchOutputConfig]
948
+ #
908
949
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Command AWS API Documentation
909
950
  #
910
951
  class Command < Struct.new(
@@ -927,8 +968,10 @@ module Aws::SSM
927
968
  :target_count,
928
969
  :completed_count,
929
970
  :error_count,
971
+ :delivery_timed_out_count,
930
972
  :service_role,
931
- :notification_config)
973
+ :notification_config,
974
+ :cloud_watch_output_config)
932
975
  include Aws::Structure
933
976
  end
934
977
 
@@ -1006,8 +1049,9 @@ module Aws::SSM
1006
1049
  # information than Status because it includes states resulting from
1007
1050
  # error and concurrency control parameters. StatusDetails can show
1008
1051
  # different results than Status. For more information about these
1009
- # statuses, see [Run Command Status][1]. StatusDetails can be one of
1010
- # the following values:
1052
+ # statuses, see [Understanding Command Statuses][1] in the *AWS
1053
+ # Systems Manager User Guide*. StatusDetails can be one of the
1054
+ # following values:
1011
1055
  #
1012
1056
  # * Pending: The command has not been sent to the instance.
1013
1057
  #
@@ -1050,7 +1094,7 @@ module Aws::SSM
1050
1094
  #
1051
1095
  #
1052
1096
  #
1053
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-about-status.html
1097
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
1054
1098
  # @return [String]
1055
1099
  #
1056
1100
  # @!attribute [rw] trace_output
@@ -1087,6 +1131,11 @@ module Aws::SSM
1087
1131
  # changes on a per instance basis.
1088
1132
  # @return [Types::NotificationConfig]
1089
1133
  #
1134
+ # @!attribute [rw] cloud_watch_output_config
1135
+ # CloudWatch Logs information where you want Systems Manager to send
1136
+ # the command output.
1137
+ # @return [Types::CloudWatchOutputConfig]
1138
+ #
1090
1139
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandInvocation AWS API Documentation
1091
1140
  #
1092
1141
  class CommandInvocation < Struct.new(
@@ -1104,7 +1153,8 @@ module Aws::SSM
1104
1153
  :standard_error_url,
1105
1154
  :command_plugins,
1106
1155
  :service_role,
1107
- :notification_config)
1156
+ :notification_config,
1157
+ :cloud_watch_output_config)
1108
1158
  include Aws::Structure
1109
1159
  end
1110
1160
 
@@ -1127,8 +1177,9 @@ module Aws::SSM
1127
1177
  # more information than Status because it includes states resulting
1128
1178
  # from error and concurrency control parameters. StatusDetails can
1129
1179
  # show different results than Status. For more information about these
1130
- # statuses, see [Run Command Status][1]. StatusDetails can be one of
1131
- # the following values:
1180
+ # statuses, see [Understanding Command Statuses][1] in the *AWS
1181
+ # Systems Manager User Guide*. StatusDetails can be one of the
1182
+ # following values:
1132
1183
  #
1133
1184
  # * Pending: The command has not been sent to the instance.
1134
1185
  #
@@ -1171,7 +1222,7 @@ module Aws::SSM
1171
1222
  #
1172
1223
  #
1173
1224
  #
1174
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-about-status.html
1225
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
1175
1226
  # @return [String]
1176
1227
  #
1177
1228
  # @!attribute [rw] response_code
@@ -2267,7 +2318,8 @@ module Aws::SSM
2267
2318
  #
2268
2319
  # @!attribute [rw] deletion_summary
2269
2320
  # A summary of the delete operation. For more information about this
2270
- # summary, see [Understanding the Delete Inventory Summary][1].
2321
+ # summary, see [Understanding the Delete Inventory Summary][1] in the
2322
+ # *AWS Systems Manager User Guide*.
2271
2323
  #
2272
2324
  #
2273
2325
  #
@@ -4604,8 +4656,9 @@ module Aws::SSM
4604
4656
  # StatusDetails includes more information than Status because it
4605
4657
  # includes states resulting from error and concurrency control
4606
4658
  # parameters. StatusDetails can show different results than Status.
4607
- # For more information about these statuses, see [Run Command
4608
- # Status][1]. StatusDetails can be one of the following values:
4659
+ # For more information about these statuses, see [Understanding
4660
+ # Command Statuses][1] in the *AWS Systems Manager User Guide*.
4661
+ # StatusDetails can be one of the following values:
4609
4662
  #
4610
4663
  # * Pending: The command has not been sent to the instance.
4611
4664
  #
@@ -4654,7 +4707,7 @@ module Aws::SSM
4654
4707
  #
4655
4708
  #
4656
4709
  #
4657
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-about-status.html
4710
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
4658
4711
  # @return [String]
4659
4712
  #
4660
4713
  # @!attribute [rw] standard_output_content
@@ -4679,6 +4732,11 @@ module Aws::SSM
4679
4732
  # the command has not finished executing, then this string is empty.
4680
4733
  # @return [String]
4681
4734
  #
4735
+ # @!attribute [rw] cloud_watch_output_config
4736
+ # CloudWatch Logs information where Systems Manager sent the command
4737
+ # output.
4738
+ # @return [Types::CloudWatchOutputConfig]
4739
+ #
4682
4740
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationResult AWS API Documentation
4683
4741
  #
4684
4742
  class GetCommandInvocationResult < Struct.new(
@@ -4697,7 +4755,8 @@ module Aws::SSM
4697
4755
  :standard_output_content,
4698
4756
  :standard_output_url,
4699
4757
  :standard_error_content,
4700
- :standard_error_url)
4758
+ :standard_error_url,
4759
+ :cloud_watch_output_config)
4701
4760
  include Aws::Structure
4702
4761
  end
4703
4762
 
@@ -6009,7 +6068,7 @@ module Aws::SSM
6009
6068
  # @return [String]
6010
6069
  #
6011
6070
  # @!attribute [rw] ping_status
6012
- # Connection status of the SSM Agent.
6071
+ # Connection status of SSM Agent.
6013
6072
  # @return [String]
6014
6073
  #
6015
6074
  # @!attribute [rw] last_ping_date_time
@@ -6017,11 +6076,11 @@ module Aws::SSM
6017
6076
  # @return [Time]
6018
6077
  #
6019
6078
  # @!attribute [rw] agent_version
6020
- # The version of the SSM Agent running on your Linux instance.
6079
+ # The version of SSM Agent running on your Linux instance.
6021
6080
  # @return [String]
6022
6081
  #
6023
6082
  # @!attribute [rw] is_latest_version
6024
- # Indicates whether latest version of the SSM Agent is running on your
6083
+ # Indicates whether latest version of SSM Agent is running on your
6025
6084
  # instance. Some older versions of Windows Server use the EC2Config
6026
6085
  # service to process SSM requests. For this reason, this field does
6027
6086
  # not indicate whether or not the latest version is installed on
@@ -6046,8 +6105,9 @@ module Aws::SSM
6046
6105
  # @return [String]
6047
6106
  #
6048
6107
  # @!attribute [rw] iam_role
6049
- # The Amazon Identity and Access Management (IAM) role assigned to EC2
6050
- # instances or managed instances.
6108
+ # The Amazon Identity and Access Management (IAM) role assigned to the
6109
+ # on-premises Systems Manager managed instances. This call does not
6110
+ # return the IAM role for Amazon EC2 instances.
6051
6111
  # @return [String]
6052
6112
  #
6053
6113
  # @!attribute [rw] registration_date
@@ -6355,7 +6415,8 @@ module Aws::SSM
6355
6415
  #
6356
6416
  # @!attribute [rw] deletion_summary
6357
6417
  # Information about the delete operation. For more information about
6358
- # this summary, see [Understanding the Delete Inventory Summary][1].
6418
+ # this summary, see [Understanding the Delete Inventory Summary][1] in
6419
+ # the *AWS Systems Manager User Guide*.
6359
6420
  #
6360
6421
  #
6361
6422
  #
@@ -8222,12 +8283,12 @@ module Aws::SSM
8222
8283
  # The different events for which you can receive notifications. These
8223
8284
  # events include the following: All (events), InProgress, Success,
8224
8285
  # TimedOut, Cancelled, Failed. To learn more about these events, see
8225
- # [Setting Up Events and Notifications][1] in the *AWS Systems Manager
8226
- # User Guide*.
8286
+ # [Configuring Amazon SNS Notifications for Run Command][1] in the
8287
+ # *AWS Systems Manager User Guide*.
8227
8288
  #
8228
8289
  #
8229
8290
  #
8230
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
8291
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html
8231
8292
  # @return [Array<String>]
8232
8293
  #
8233
8294
  # @!attribute [rw] notification_type
@@ -8387,6 +8448,11 @@ module Aws::SSM
8387
8448
  # One or more filters. Use a filter to return a more specific list of
8388
8449
  # results.
8389
8450
  #
8451
+ # <note markdown="1"> The `Name` field can't be used with the GetParametersByPath API
8452
+ # action.
8453
+ #
8454
+ # </note>
8455
+ #
8390
8456
  # @note When making an API call, you may pass ParameterStringFilter
8391
8457
  # data as a hash:
8392
8458
  #
@@ -8645,6 +8711,11 @@ module Aws::SSM
8645
8711
  #
8646
8712
  # * `WindowsServer2016`
8647
8713
  #
8714
+ # * `*`
8715
+ #
8716
+ # *Use a wildcard character (*) to target all supported operating
8717
+ # system versions.*
8718
+ #
8648
8719
  # *Supported key:* `CLASSIFICATION`
8649
8720
  #
8650
8721
  # *Supported values:*
@@ -8697,6 +8768,11 @@ module Aws::SSM
8697
8768
  #
8698
8769
  # * `Ubuntu16.04`
8699
8770
  #
8771
+ # * `*`
8772
+ #
8773
+ # *Use a wildcard character (*) to target all supported operating
8774
+ # system versions.*
8775
+ #
8700
8776
  # *Supported key:* `PRIORITY`
8701
8777
  #
8702
8778
  # *Supported values:*
@@ -8750,6 +8826,11 @@ module Aws::SSM
8750
8826
  #
8751
8827
  # * `AmazonLinux2017.09`
8752
8828
  #
8829
+ # * `*`
8830
+ #
8831
+ # *Use a wildcard character (*) to target all supported operating
8832
+ # system versions.*
8833
+ #
8753
8834
  # *Supported key:* `CLASSIFICATION`
8754
8835
  #
8755
8836
  # *Supported values:*
@@ -8806,6 +8887,11 @@ module Aws::SSM
8806
8887
  #
8807
8888
  # * `RedhatEnterpriseLinux7.4`
8808
8889
  #
8890
+ # * `*`
8891
+ #
8892
+ # *Use a wildcard character (*) to target all supported operating
8893
+ # system versions.*
8894
+ #
8809
8895
  # *Supported key:* `CLASSIFICATION`
8810
8896
  #
8811
8897
  # *Supported values:*
@@ -8862,6 +8948,11 @@ module Aws::SSM
8862
8948
  #
8863
8949
  # * `Suse12.9`
8864
8950
  #
8951
+ # * `*`
8952
+ #
8953
+ # *Use a wildcard character (*) to target all supported operating
8954
+ # system versions.*
8955
+ #
8865
8956
  # *Supported key:* `CLASSIFICATION`
8866
8957
  #
8867
8958
  # *Supported values:*
@@ -8920,6 +9011,11 @@ module Aws::SSM
8920
9011
  #
8921
9012
  # * `CentOS7.4`
8922
9013
  #
9014
+ # * `*`
9015
+ #
9016
+ # *Use a wildcard character (*) to target all supported operating
9017
+ # system versions.*
9018
+ #
8923
9019
  # *Supported key:* `CLASSIFICATION`
8924
9020
  #
8925
9021
  # *Supported values:*
@@ -9077,7 +9173,9 @@ module Aws::SSM
9077
9173
  #
9078
9174
  # @!attribute [rw] approve_after_days
9079
9175
  # The number of days after the release date of each patch matched by
9080
- # the rule the patch is marked as approved in the patch baseline.
9176
+ # the rule that the patch is marked as approved in the patch baseline.
9177
+ # For example, a value of `7` means that patches are approved seven
9178
+ # days after they are released.
9081
9179
  # @return [Integer]
9082
9180
  #
9083
9181
  # @!attribute [rw] enable_non_security
@@ -9349,8 +9447,8 @@ module Aws::SSM
9349
9447
  # `/Dev/DBServer/MySQL/db-string13`
9350
9448
  #
9351
9449
  # For information about parameter name requirements and restrictions,
9352
- # see [About Creating Systems Manager Parameters][1] in the *AWS
9353
- # Systems Manager User Guide*.
9450
+ # see [Creating Systems Manager Parameters][1] in the *AWS Systems
9451
+ # Manager User Guide*.
9354
9452
  #
9355
9453
  # <note markdown="1"> The maximum length constraint listed below includes capacity for
9356
9454
  # additional system attributes that are not part of the name. The
@@ -9361,7 +9459,7 @@ module Aws::SSM
9361
9459
  #
9362
9460
  #
9363
9461
  #
9364
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramstore-su-create-about
9462
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
9365
9463
  # @return [String]
9366
9464
  #
9367
9465
  # @!attribute [rw] description
@@ -10133,6 +10231,10 @@ module Aws::SSM
10133
10231
  # notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
10134
10232
  # notification_type: "Command", # accepts Command, Invocation
10135
10233
  # },
10234
+ # cloud_watch_output_config: {
10235
+ # cloud_watch_log_group_name: "CloudWatchLogGroupName",
10236
+ # cloud_watch_output_enabled: false,
10237
+ # },
10136
10238
  # }
10137
10239
  #
10138
10240
  # @!attribute [rw] instance_ids
@@ -10140,7 +10242,8 @@ module Aws::SSM
10140
10242
  # maximum of 50 IDs. If you prefer not to list individual instance
10141
10243
  # IDs, you can instead send commands to a fleet of instances using the
10142
10244
  # Targets parameter, which accepts EC2 tags. For more information
10143
- # about how to use Targets, see [Sending Commands to a Fleet][1].
10245
+ # about how to use Targets, see [Sending Commands to a Fleet][1] in
10246
+ # the *AWS Systems Manager User Guide*.
10144
10247
  #
10145
10248
  #
10146
10249
  #
@@ -10152,7 +10255,7 @@ module Aws::SSM
10152
10255
  # a Key,Value combination that you specify. Targets is required if you
10153
10256
  # don't provide one or more instance IDs in the call. For more
10154
10257
  # information about how to use Targets, see [Sending Commands to a
10155
- # Fleet][1].
10258
+ # Fleet][1] in the *AWS Systems Manager User Guide*.
10156
10259
  #
10157
10260
  #
10158
10261
  #
@@ -10166,7 +10269,16 @@ module Aws::SSM
10166
10269
  #
10167
10270
  # @!attribute [rw] document_version
10168
10271
  # The SSM document version to use in the request. You can specify
10169
- # Default, Latest, or a specific version number.
10272
+ # $DEFAULT, $LATEST, or a specific version number. If you execute
10273
+ # commands by using the AWS CLI, then you must escape the first two
10274
+ # options by using a backslash. If you specify a version number, then
10275
+ # you don't need to use the backslash. For example:
10276
+ #
10277
+ # --document-version "\\$DEFAULT"
10278
+ #
10279
+ # --document-version "\\$LATEST"
10280
+ #
10281
+ # --document-version "3"
10170
10282
  # @return [String]
10171
10283
  #
10172
10284
  # @!attribute [rw] document_hash
@@ -10222,11 +10334,11 @@ module Aws::SSM
10222
10334
  # execute the command at the same time. You can specify a number such
10223
10335
  # as 10 or a percentage such as 10%. The default value is 50. For more
10224
10336
  # information about how to use MaxConcurrency, see [Using Concurrency
10225
- # Controls][1].
10337
+ # Controls][1] in the *AWS Systems Manager User Guide*.
10226
10338
  #
10227
10339
  #
10228
10340
  #
10229
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-velocity.html
10341
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-velocity
10230
10342
  # @return [String]
10231
10343
  #
10232
10344
  # @!attribute [rw] max_errors
@@ -10235,11 +10347,11 @@ module Aws::SSM
10235
10347
  # the systems stops sending the command to additional targets. You can
10236
10348
  # specify a number like 10 or a percentage like 10%. The default value
10237
10349
  # is 0. For more information about how to use MaxErrors, see [Using
10238
- # Error Controls][1].
10350
+ # Error Controls][1] in the *AWS Systems Manager User Guide*.
10239
10351
  #
10240
10352
  #
10241
10353
  #
10242
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-maxerrors.html
10354
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-maxerrors
10243
10355
  # @return [String]
10244
10356
  #
10245
10357
  # @!attribute [rw] service_role_arn
@@ -10250,6 +10362,11 @@ module Aws::SSM
10250
10362
  # Configurations for sending notifications.
10251
10363
  # @return [Types::NotificationConfig]
10252
10364
  #
10365
+ # @!attribute [rw] cloud_watch_output_config
10366
+ # Enables Systems Manager to send Run Command output to Amazon
10367
+ # CloudWatch Logs.
10368
+ # @return [Types::CloudWatchOutputConfig]
10369
+ #
10253
10370
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandRequest AWS API Documentation
10254
10371
  #
10255
10372
  class SendCommandRequest < Struct.new(
@@ -10268,7 +10385,8 @@ module Aws::SSM
10268
10385
  :max_concurrency,
10269
10386
  :max_errors,
10270
10387
  :service_role_arn,
10271
- :notification_config)
10388
+ :notification_config,
10389
+ :cloud_watch_output_config)
10272
10390
  include Aws::Structure
10273
10391
  end
10274
10392
 
@@ -10642,12 +10760,12 @@ module Aws::SSM
10642
10760
  # User-defined criteria for sending commands that target instances
10643
10761
  # that meet the criteria. Key can be tag:&lt;Amazon EC2 tag&gt; or
10644
10762
  # InstanceIds. For more information about how to send commands that
10645
- # target instances using Key,Value parameters, see [Executing a
10646
- # Command Using Systems Manager Run Command][1].
10763
+ # target instances using Key,Value parameters, see [Targeting Multiple
10764
+ # Instances][1] in the *AWS Systems Manager User Guide*.
10647
10765
  #
10648
10766
  #
10649
10767
  #
10650
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
10768
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
10651
10769
  # @return [String]
10652
10770
  #
10653
10771
  # @!attribute [rw] values
@@ -10656,7 +10774,8 @@ module Aws::SSM
10656
10774
  # execute a command on instances that include Amazon EC2 tags of
10657
10775
  # ServerRole,WebServer. For more information about how to send
10658
10776
  # commands that target instances using Key,Value parameters, see
10659
- # [Executing a Command Using Systems Manager Run Command][1].
10777
+ # [Sending Commands to a Fleet][1] in the *AWS Systems Manager User
10778
+ # Guide*.
10660
10779
  #
10661
10780
  #
10662
10781
  #
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.13.0
4
+ version: 1.14.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-05-02 00:00:00.000000000 Z
11
+ date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core