aws-sdk-ssm 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +74 -4
- data/lib/aws-sdk-ssm/client_api.rb +1 -1
- data/lib/aws-sdk-ssm/types.rb +48 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3d9e5004ff6d8d5e45e77d16ccf3106d651d5ac
|
4
|
+
data.tar.gz: '0861f7b5198b87fc9012a28bcf58132090f760c8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 391fc55adc679b78ed6975b7d0f3f3530dbe67667983e937f0b11710bcdc478a20e88074ee16bee45590279ec09b6e81d31e5e7078af79dbfc6ee3adc2144c4a
|
7
|
+
data.tar.gz: 6fb19042e4234c41c6c78430fc2a3f4d688b58b8dd3001768bafbd1316af56cecbcbdf1389214b1e467753832277f360b46f25d7cc790d98698079a911d7361b
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -4082,11 +4082,49 @@ module Aws::SSM
|
|
4082
4082
|
req.send_request(options)
|
4083
4083
|
end
|
4084
4084
|
|
4085
|
+
# A parameter label is a user-defined alias to help you manage different
|
4086
|
+
# versions of a parameter. When you modify a parameter, Systems Manager
|
4087
|
+
# automatically saves a new version and increments the version number by
|
4088
|
+
# one. A label can help you remember the purpose of a parameter when
|
4089
|
+
# there are multiple versions.
|
4090
|
+
#
|
4091
|
+
# Parameter labels have the following requirements and restrictions.
|
4092
|
+
#
|
4093
|
+
# * A version of a parameter can have a maximum of 10 labels.
|
4094
|
+
#
|
4095
|
+
# * You can't attach the same label to different versions of the same
|
4096
|
+
# parameter. For example, if version 1 has the label Production, then
|
4097
|
+
# you can't attach Production to version 2.
|
4098
|
+
#
|
4099
|
+
# * You can move a label from one version of a parameter to another.
|
4100
|
+
#
|
4101
|
+
# * You can't create a label when you create a new parameter. You must
|
4102
|
+
# attach a label to a specific version of a parameter.
|
4103
|
+
#
|
4104
|
+
# * You can't delete a parameter label. If you no longer want to use a
|
4105
|
+
# parameter label, then you must move it to a different version of a
|
4106
|
+
# parameter.
|
4107
|
+
#
|
4108
|
+
# * A label can have a maximum of 100 characters.
|
4109
|
+
#
|
4110
|
+
# * Labels can contain letters (case sensitive), numbers, periods (.),
|
4111
|
+
# hyphens (-), or underscores (\_).
|
4112
|
+
#
|
4113
|
+
# * Labels can't begin with a number, "aws," or "ssm" (not case
|
4114
|
+
# sensitive). If a label fails to meet these requirements, then the
|
4115
|
+
# label is not associated with a parameter and the system displays it
|
4116
|
+
# in the list of InvalidLabels.
|
4117
|
+
#
|
4085
4118
|
# @option params [required, String] :name
|
4119
|
+
# The parameter name on which you want to attach one or more labels.
|
4086
4120
|
#
|
4087
4121
|
# @option params [Integer] :parameter_version
|
4122
|
+
# The specific version of the parameter on which you want to attach one
|
4123
|
+
# or more labels. If no version is specified, the system attaches the
|
4124
|
+
# label to the latest version.)
|
4088
4125
|
#
|
4089
4126
|
# @option params [required, Array<String>] :labels
|
4127
|
+
# One or more labels to attach to the specified parameter version.
|
4090
4128
|
#
|
4091
4129
|
# @return [Types::LabelParameterVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4092
4130
|
#
|
@@ -5383,8 +5421,24 @@ module Aws::SSM
|
|
5383
5421
|
# @option params [required, String] :task_arn
|
5384
5422
|
# The ARN of the task to execute
|
5385
5423
|
#
|
5386
|
-
# @option params [
|
5387
|
-
# The role
|
5424
|
+
# @option params [String] :service_role_arn
|
5425
|
+
# The role to assume when running the Maintenance Window task.
|
5426
|
+
#
|
5427
|
+
# If you do not specify a service role ARN, Systems Manager will use
|
5428
|
+
# your account's service-linked role for Systems Manager by default. If
|
5429
|
+
# no service-linked role for Systems Manager exists in your account, it
|
5430
|
+
# will be created when you run `RegisterTaskWithMaintenanceWindow`
|
5431
|
+
# without specifying a service role ARN.
|
5432
|
+
#
|
5433
|
+
# For more information, see [Service-Linked Role Permissions for Systems
|
5434
|
+
# Manager][1] and [Should I Use a Service-Linked Role or a Custom
|
5435
|
+
# Service Role to Run Maintenance Window Tasks? ][2] in the *AWS Systems
|
5436
|
+
# Manager User Guide*.
|
5437
|
+
#
|
5438
|
+
#
|
5439
|
+
#
|
5440
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
|
5441
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
|
5388
5442
|
#
|
5389
5443
|
# @option params [required, String] :task_type
|
5390
5444
|
# The type of task being registered.
|
@@ -5458,7 +5512,7 @@ module Aws::SSM
|
|
5458
5512
|
# },
|
5459
5513
|
# ],
|
5460
5514
|
# task_arn: "MaintenanceWindowTaskArn", # required
|
5461
|
-
# service_role_arn: "ServiceRole",
|
5515
|
+
# service_role_arn: "ServiceRole",
|
5462
5516
|
# task_type: "RUN_COMMAND", # required, accepts RUN_COMMAND, AUTOMATION, STEP_FUNCTIONS, LAMBDA
|
5463
5517
|
# task_parameters: {
|
5464
5518
|
# "MaintenanceWindowTaskParameterName" => {
|
@@ -6447,6 +6501,22 @@ module Aws::SSM
|
|
6447
6501
|
# The IAM service role ARN to modify. The system assumes this role
|
6448
6502
|
# during task execution.
|
6449
6503
|
#
|
6504
|
+
# If you do not specify a service role ARN, Systems Manager will use
|
6505
|
+
# your account's service-linked role for Systems Manager by default. If
|
6506
|
+
# no service-linked role for Systems Manager exists in your account, it
|
6507
|
+
# will be created when you run `RegisterTaskWithMaintenanceWindow`
|
6508
|
+
# without specifying a service role ARN.
|
6509
|
+
#
|
6510
|
+
# For more information, see [Service-Linked Role Permissions for Systems
|
6511
|
+
# Manager][1] and [Should I Use a Service-Linked Role or a Custom
|
6512
|
+
# Service Role to Run Maintenance Window Tasks? ][2] in the *AWS Systems
|
6513
|
+
# Manager User Guide*.
|
6514
|
+
#
|
6515
|
+
#
|
6516
|
+
#
|
6517
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
|
6518
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
|
6519
|
+
#
|
6450
6520
|
# @option params [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>] :task_parameters
|
6451
6521
|
# The parameters to modify.
|
6452
6522
|
#
|
@@ -6851,7 +6921,7 @@ module Aws::SSM
|
|
6851
6921
|
params: params,
|
6852
6922
|
config: config)
|
6853
6923
|
context[:gem_name] = 'aws-sdk-ssm'
|
6854
|
-
context[:gem_version] = '1.
|
6924
|
+
context[:gem_version] = '1.20.0'
|
6855
6925
|
Seahorse::Client::Request.new(handlers, context)
|
6856
6926
|
end
|
6857
6927
|
|
@@ -2583,7 +2583,7 @@ module Aws::SSM
|
|
2583
2583
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, required: true, location_name: "WindowId"))
|
2584
2584
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "Targets"))
|
2585
2585
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskArn, required: true, location_name: "TaskArn"))
|
2586
|
-
RegisterTaskWithMaintenanceWindowRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRole,
|
2586
|
+
RegisterTaskWithMaintenanceWindowRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "ServiceRoleArn"))
|
2587
2587
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskType, required: true, location_name: "TaskType"))
|
2588
2588
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:task_parameters, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskParameters, location_name: "TaskParameters"))
|
2589
2589
|
RegisterTaskWithMaintenanceWindowRequest.add_member(:task_invocation_parameters, Shapes::ShapeRef.new(shape: MaintenanceWindowTaskInvocationParameters, location_name: "TaskInvocationParameters"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -7023,12 +7023,17 @@ module Aws::SSM
|
|
7023
7023
|
# }
|
7024
7024
|
#
|
7025
7025
|
# @!attribute [rw] name
|
7026
|
+
# The parameter name on which you want to attach one or more labels.
|
7026
7027
|
# @return [String]
|
7027
7028
|
#
|
7028
7029
|
# @!attribute [rw] parameter_version
|
7030
|
+
# The specific version of the parameter on which you want to attach
|
7031
|
+
# one or more labels. If no version is specified, the system attaches
|
7032
|
+
# the label to the latest version.)
|
7029
7033
|
# @return [Integer]
|
7030
7034
|
#
|
7031
7035
|
# @!attribute [rw] labels
|
7036
|
+
# One or more labels to attach to the specified parameter version.
|
7032
7037
|
# @return [Array<String>]
|
7033
7038
|
#
|
7034
7039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersionRequest AWS API Documentation
|
@@ -7041,6 +7046,13 @@ module Aws::SSM
|
|
7041
7046
|
end
|
7042
7047
|
|
7043
7048
|
# @!attribute [rw] invalid_labels
|
7049
|
+
# The label does not meet the requirements. For information about
|
7050
|
+
# parameter label requirements, see [Labeling Parameters][1] in the
|
7051
|
+
# *AWS Systems Manager User Guide*.
|
7052
|
+
#
|
7053
|
+
#
|
7054
|
+
#
|
7055
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html
|
7044
7056
|
# @return [Array<String>]
|
7045
7057
|
#
|
7046
7058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersionResult AWS API Documentation
|
@@ -10179,7 +10191,7 @@ module Aws::SSM
|
|
10179
10191
|
# },
|
10180
10192
|
# ],
|
10181
10193
|
# task_arn: "MaintenanceWindowTaskArn", # required
|
10182
|
-
# service_role_arn: "ServiceRole",
|
10194
|
+
# service_role_arn: "ServiceRole",
|
10183
10195
|
# task_type: "RUN_COMMAND", # required, accepts RUN_COMMAND, AUTOMATION, STEP_FUNCTIONS, LAMBDA
|
10184
10196
|
# task_parameters: {
|
10185
10197
|
# "MaintenanceWindowTaskParameterName" => {
|
@@ -10254,7 +10266,24 @@ module Aws::SSM
|
|
10254
10266
|
# @return [String]
|
10255
10267
|
#
|
10256
10268
|
# @!attribute [rw] service_role_arn
|
10257
|
-
# The role
|
10269
|
+
# The role to assume when running the Maintenance Window task.
|
10270
|
+
#
|
10271
|
+
# If you do not specify a service role ARN, Systems Manager will use
|
10272
|
+
# your account's service-linked role for Systems Manager by default.
|
10273
|
+
# If no service-linked role for Systems Manager exists in your
|
10274
|
+
# account, it will be created when you run
|
10275
|
+
# `RegisterTaskWithMaintenanceWindow` without specifying a service
|
10276
|
+
# role ARN.
|
10277
|
+
#
|
10278
|
+
# For more information, see [Service-Linked Role Permissions for
|
10279
|
+
# Systems Manager][1] and [Should I Use a Service-Linked Role or a
|
10280
|
+
# Custom Service Role to Run Maintenance Window Tasks? ][2] in the
|
10281
|
+
# *AWS Systems Manager User Guide*.
|
10282
|
+
#
|
10283
|
+
#
|
10284
|
+
#
|
10285
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
|
10286
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
|
10258
10287
|
# @return [String]
|
10259
10288
|
#
|
10260
10289
|
# @!attribute [rw] task_type
|
@@ -11869,6 +11898,23 @@ module Aws::SSM
|
|
11869
11898
|
# @!attribute [rw] service_role_arn
|
11870
11899
|
# The IAM service role ARN to modify. The system assumes this role
|
11871
11900
|
# during task execution.
|
11901
|
+
#
|
11902
|
+
# If you do not specify a service role ARN, Systems Manager will use
|
11903
|
+
# your account's service-linked role for Systems Manager by default.
|
11904
|
+
# If no service-linked role for Systems Manager exists in your
|
11905
|
+
# account, it will be created when you run
|
11906
|
+
# `RegisterTaskWithMaintenanceWindow` without specifying a service
|
11907
|
+
# role ARN.
|
11908
|
+
#
|
11909
|
+
# For more information, see [Service-Linked Role Permissions for
|
11910
|
+
# Systems Manager][1] and [Should I Use a Service-Linked Role or a
|
11911
|
+
# Custom Service Role to Run Maintenance Window Tasks? ][2] in the
|
11912
|
+
# *AWS Systems Manager User Guide*.
|
11913
|
+
#
|
11914
|
+
#
|
11915
|
+
#
|
11916
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html#slr-permissions
|
11917
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html#maintenance-window-tasks-service-role
|
11872
11918
|
# @return [String]
|
11873
11919
|
#
|
11874
11920
|
# @!attribute [rw] task_parameters
|
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.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|