aws-sdk-ssm 1.94.0 → 1.99.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 +230 -18
- data/lib/aws-sdk-ssm/client_api.rb +174 -0
- data/lib/aws-sdk-ssm/errors.rb +96 -0
- data/lib/aws-sdk-ssm/types.rb +462 -20
- metadata +2 -2
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -110,6 +110,12 @@ module Aws::SSM
|
|
110
110
|
# * {OpsItemInvalidParameterException}
|
111
111
|
# * {OpsItemLimitExceededException}
|
112
112
|
# * {OpsItemNotFoundException}
|
113
|
+
# * {OpsMetadataAlreadyExistsException}
|
114
|
+
# * {OpsMetadataInvalidArgumentException}
|
115
|
+
# * {OpsMetadataKeyLimitExceededException}
|
116
|
+
# * {OpsMetadataLimitExceededException}
|
117
|
+
# * {OpsMetadataNotFoundException}
|
118
|
+
# * {OpsMetadataTooManyUpdatesException}
|
113
119
|
# * {ParameterAlreadyExists}
|
114
120
|
# * {ParameterLimitExceeded}
|
115
121
|
# * {ParameterMaxVersionLimitExceeded}
|
@@ -1372,6 +1378,96 @@ module Aws::SSM
|
|
1372
1378
|
end
|
1373
1379
|
end
|
1374
1380
|
|
1381
|
+
class OpsMetadataAlreadyExistsException < ServiceError
|
1382
|
+
|
1383
|
+
# @param [Seahorse::Client::RequestContext] context
|
1384
|
+
# @param [String] message
|
1385
|
+
# @param [Aws::SSM::Types::OpsMetadataAlreadyExistsException] data
|
1386
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1387
|
+
super(context, message, data)
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# @return [String]
|
1391
|
+
def message
|
1392
|
+
@message || @data[:message]
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
class OpsMetadataInvalidArgumentException < ServiceError
|
1397
|
+
|
1398
|
+
# @param [Seahorse::Client::RequestContext] context
|
1399
|
+
# @param [String] message
|
1400
|
+
# @param [Aws::SSM::Types::OpsMetadataInvalidArgumentException] data
|
1401
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1402
|
+
super(context, message, data)
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# @return [String]
|
1406
|
+
def message
|
1407
|
+
@message || @data[:message]
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class OpsMetadataKeyLimitExceededException < ServiceError
|
1412
|
+
|
1413
|
+
# @param [Seahorse::Client::RequestContext] context
|
1414
|
+
# @param [String] message
|
1415
|
+
# @param [Aws::SSM::Types::OpsMetadataKeyLimitExceededException] data
|
1416
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1417
|
+
super(context, message, data)
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# @return [String]
|
1421
|
+
def message
|
1422
|
+
@message || @data[:message]
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
class OpsMetadataLimitExceededException < ServiceError
|
1427
|
+
|
1428
|
+
# @param [Seahorse::Client::RequestContext] context
|
1429
|
+
# @param [String] message
|
1430
|
+
# @param [Aws::SSM::Types::OpsMetadataLimitExceededException] data
|
1431
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1432
|
+
super(context, message, data)
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# @return [String]
|
1436
|
+
def message
|
1437
|
+
@message || @data[:message]
|
1438
|
+
end
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
class OpsMetadataNotFoundException < ServiceError
|
1442
|
+
|
1443
|
+
# @param [Seahorse::Client::RequestContext] context
|
1444
|
+
# @param [String] message
|
1445
|
+
# @param [Aws::SSM::Types::OpsMetadataNotFoundException] data
|
1446
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1447
|
+
super(context, message, data)
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
# @return [String]
|
1451
|
+
def message
|
1452
|
+
@message || @data[:message]
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
class OpsMetadataTooManyUpdatesException < ServiceError
|
1457
|
+
|
1458
|
+
# @param [Seahorse::Client::RequestContext] context
|
1459
|
+
# @param [String] message
|
1460
|
+
# @param [Aws::SSM::Types::OpsMetadataTooManyUpdatesException] data
|
1461
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1462
|
+
super(context, message, data)
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# @return [String]
|
1466
|
+
def message
|
1467
|
+
@message || @data[:message]
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1375
1471
|
class ParameterAlreadyExists < ServiceError
|
1376
1472
|
|
1377
1473
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -384,7 +384,8 @@ module Aws::SSM
|
|
384
384
|
# By default, when you create a new associations, the system runs it
|
385
385
|
# immediately after it is created and then according to the schedule
|
386
386
|
# you specified. Specify this option if you don't want an association
|
387
|
-
# to run immediately after you create it.
|
387
|
+
# to run immediately after you create it. This parameter is not
|
388
|
+
# supported for rate expressions.
|
388
389
|
# @return [Boolean]
|
389
390
|
#
|
390
391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
@@ -620,6 +621,10 @@ module Aws::SSM
|
|
620
621
|
#
|
621
622
|
# @!attribute [rw] key
|
622
623
|
# The name of the filter.
|
624
|
+
#
|
625
|
+
# <note markdown="1"> `InstanceId` has been deprecated.
|
626
|
+
#
|
627
|
+
# </note>
|
623
628
|
# @return [String]
|
624
629
|
#
|
625
630
|
# @!attribute [rw] value
|
@@ -810,7 +815,8 @@ module Aws::SSM
|
|
810
815
|
# By default, when you create a new associations, the system runs it
|
811
816
|
# immediately after it is created and then according to the schedule
|
812
817
|
# you specified. Specify this option if you don't want an association
|
813
|
-
# to run immediately after you create it.
|
818
|
+
# to run immediately after you create it. This parameter is not
|
819
|
+
# supported for rate expressions.
|
814
820
|
# @return [Boolean]
|
815
821
|
#
|
816
822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
@@ -1142,14 +1148,15 @@ module Aws::SSM
|
|
1142
1148
|
# data as a hash:
|
1143
1149
|
#
|
1144
1150
|
# {
|
1145
|
-
# key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey
|
1151
|
+
# key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup
|
1146
1152
|
# values: ["AutomationExecutionFilterValue"], # required
|
1147
1153
|
# }
|
1148
1154
|
#
|
1149
1155
|
# @!attribute [rw] key
|
1150
1156
|
# One or more keys to limit the results. Valid filter keys include the
|
1151
1157
|
# following: DocumentNamePrefix, ExecutionStatus, ExecutionId,
|
1152
|
-
# ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter
|
1158
|
+
# ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter,
|
1159
|
+
# TargetResourceGroup.
|
1153
1160
|
# @return [String]
|
1154
1161
|
#
|
1155
1162
|
# @!attribute [rw] values
|
@@ -2592,7 +2599,8 @@ module Aws::SSM
|
|
2592
2599
|
# By default, when you create a new associations, the system runs it
|
2593
2600
|
# immediately after it is created and then according to the schedule
|
2594
2601
|
# you specified. Specify this option if you don't want an association
|
2595
|
-
# to run immediately after you create it.
|
2602
|
+
# to run immediately after you create it. This parameter is not
|
2603
|
+
# supported for rate expressions.
|
2596
2604
|
# @return [Boolean]
|
2597
2605
|
#
|
2598
2606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
@@ -2800,7 +2808,8 @@ module Aws::SSM
|
|
2800
2808
|
# By default, when you create a new associations, the system runs it
|
2801
2809
|
# immediately after it is created and then according to the schedule
|
2802
2810
|
# you specified. Specify this option if you don't want an association
|
2803
|
-
# to run immediately after you create it.
|
2811
|
+
# to run immediately after you create it. This parameter is not
|
2812
|
+
# supported for rate expressions.
|
2804
2813
|
# @return [Boolean]
|
2805
2814
|
#
|
2806
2815
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
@@ -3307,11 +3316,53 @@ module Aws::SSM
|
|
3307
3316
|
include Aws::Structure
|
3308
3317
|
end
|
3309
3318
|
|
3319
|
+
# @note When making an API call, you may pass CreateOpsMetadataRequest
|
3320
|
+
# data as a hash:
|
3321
|
+
#
|
3322
|
+
# {
|
3323
|
+
# resource_id: "OpsMetadataResourceId", # required
|
3324
|
+
# metadata: {
|
3325
|
+
# "MetadataKey" => {
|
3326
|
+
# value: "MetadataValueString",
|
3327
|
+
# },
|
3328
|
+
# },
|
3329
|
+
# }
|
3330
|
+
#
|
3331
|
+
# @!attribute [rw] resource_id
|
3332
|
+
# A resource ID for a new AppManager application.
|
3333
|
+
# @return [String]
|
3334
|
+
#
|
3335
|
+
# @!attribute [rw] metadata
|
3336
|
+
# Metadata for a new AppManager application.
|
3337
|
+
# @return [Hash<String,Types::MetadataValue>]
|
3338
|
+
#
|
3339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
|
3340
|
+
#
|
3341
|
+
class CreateOpsMetadataRequest < Struct.new(
|
3342
|
+
:resource_id,
|
3343
|
+
:metadata)
|
3344
|
+
SENSITIVE = []
|
3345
|
+
include Aws::Structure
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
# @!attribute [rw] ops_metadata_arn
|
3349
|
+
# The Amazon Resource Name (ARN) of the OpsMetadata Object or blob
|
3350
|
+
# created by the call.
|
3351
|
+
# @return [String]
|
3352
|
+
#
|
3353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataResult AWS API Documentation
|
3354
|
+
#
|
3355
|
+
class CreateOpsMetadataResult < Struct.new(
|
3356
|
+
:ops_metadata_arn)
|
3357
|
+
SENSITIVE = []
|
3358
|
+
include Aws::Structure
|
3359
|
+
end
|
3360
|
+
|
3310
3361
|
# @note When making an API call, you may pass CreatePatchBaselineRequest
|
3311
3362
|
# data as a hash:
|
3312
3363
|
#
|
3313
3364
|
# {
|
3314
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
3365
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
3315
3366
|
# name: "BaselineName", # required
|
3316
3367
|
# global_filters: {
|
3317
3368
|
# patch_filters: [ # required
|
@@ -3808,6 +3859,29 @@ module Aws::SSM
|
|
3808
3859
|
include Aws::Structure
|
3809
3860
|
end
|
3810
3861
|
|
3862
|
+
# @note When making an API call, you may pass DeleteOpsMetadataRequest
|
3863
|
+
# data as a hash:
|
3864
|
+
#
|
3865
|
+
# {
|
3866
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
3867
|
+
# }
|
3868
|
+
#
|
3869
|
+
# @!attribute [rw] ops_metadata_arn
|
3870
|
+
# The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.
|
3871
|
+
# @return [String]
|
3872
|
+
#
|
3873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataRequest AWS API Documentation
|
3874
|
+
#
|
3875
|
+
class DeleteOpsMetadataRequest < Struct.new(
|
3876
|
+
:ops_metadata_arn)
|
3877
|
+
SENSITIVE = []
|
3878
|
+
include Aws::Structure
|
3879
|
+
end
|
3880
|
+
|
3881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadataResult AWS API Documentation
|
3882
|
+
#
|
3883
|
+
class DeleteOpsMetadataResult < Aws::EmptyStructure; end
|
3884
|
+
|
3811
3885
|
# @note When making an API call, you may pass DeleteParameterRequest
|
3812
3886
|
# data as a hash:
|
3813
3887
|
#
|
@@ -4379,7 +4453,7 @@ module Aws::SSM
|
|
4379
4453
|
# {
|
4380
4454
|
# filters: [
|
4381
4455
|
# {
|
4382
|
-
# key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey
|
4456
|
+
# key: "DocumentNamePrefix", # required, accepts DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter, AutomationType, TagKey, TargetResourceGroup
|
4383
4457
|
# values: ["AutomationExecutionFilterValue"], # required
|
4384
4458
|
# },
|
4385
4459
|
# ],
|
@@ -6095,7 +6169,7 @@ module Aws::SSM
|
|
6095
6169
|
# data as a hash:
|
6096
6170
|
#
|
6097
6171
|
# {
|
6098
|
-
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
6172
|
+
# operating_system: "WINDOWS", # required, accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
6099
6173
|
# property: "PRODUCT", # required, accepts PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, MSRC_SEVERITY, PRIORITY, SEVERITY
|
6100
6174
|
# patch_set: "OS", # accepts OS, APPLICATION
|
6101
6175
|
# max_results: 1,
|
@@ -6112,8 +6186,8 @@ module Aws::SSM
|
|
6112
6186
|
#
|
6113
6187
|
# @!attribute [rw] patch_set
|
6114
6188
|
# Indicates whether to list patches for the Windows operating system
|
6115
|
-
# or for Microsoft applications. Not applicable for Linux
|
6116
|
-
# systems.
|
6189
|
+
# or for Microsoft applications. Not applicable for the Linux or macOS
|
6190
|
+
# operating systems.
|
6117
6191
|
# @return [String]
|
6118
6192
|
#
|
6119
6193
|
# @!attribute [rw] max_results
|
@@ -6167,7 +6241,7 @@ module Aws::SSM
|
|
6167
6241
|
# next_token: "NextToken",
|
6168
6242
|
# filters: [
|
6169
6243
|
# {
|
6170
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
|
6244
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
|
6171
6245
|
# value: "SessionFilterValue", # required
|
6172
6246
|
# },
|
6173
6247
|
# ],
|
@@ -7275,7 +7349,7 @@ module Aws::SSM
|
|
7275
7349
|
# data as a hash:
|
7276
7350
|
#
|
7277
7351
|
# {
|
7278
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
7352
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
7279
7353
|
# }
|
7280
7354
|
#
|
7281
7355
|
# @!attribute [rw] operating_system
|
@@ -8192,6 +8266,63 @@ module Aws::SSM
|
|
8192
8266
|
include Aws::Structure
|
8193
8267
|
end
|
8194
8268
|
|
8269
|
+
# @note When making an API call, you may pass GetOpsMetadataRequest
|
8270
|
+
# data as a hash:
|
8271
|
+
#
|
8272
|
+
# {
|
8273
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
8274
|
+
# max_results: 1,
|
8275
|
+
# next_token: "NextToken",
|
8276
|
+
# }
|
8277
|
+
#
|
8278
|
+
# @!attribute [rw] ops_metadata_arn
|
8279
|
+
# The Amazon Resource Name (ARN) of an OpsMetadata Object to view.
|
8280
|
+
# @return [String]
|
8281
|
+
#
|
8282
|
+
# @!attribute [rw] max_results
|
8283
|
+
# The maximum number of items to return for this call. The call also
|
8284
|
+
# returns a token that you can specify in a subsequent call to get the
|
8285
|
+
# next set of results.
|
8286
|
+
# @return [Integer]
|
8287
|
+
#
|
8288
|
+
# @!attribute [rw] next_token
|
8289
|
+
# A token to start the list. Use this token to get the next set of
|
8290
|
+
# results.
|
8291
|
+
# @return [String]
|
8292
|
+
#
|
8293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataRequest AWS API Documentation
|
8294
|
+
#
|
8295
|
+
class GetOpsMetadataRequest < Struct.new(
|
8296
|
+
:ops_metadata_arn,
|
8297
|
+
:max_results,
|
8298
|
+
:next_token)
|
8299
|
+
SENSITIVE = []
|
8300
|
+
include Aws::Structure
|
8301
|
+
end
|
8302
|
+
|
8303
|
+
# @!attribute [rw] resource_id
|
8304
|
+
# The resource ID of the AppManager application.
|
8305
|
+
# @return [String]
|
8306
|
+
#
|
8307
|
+
# @!attribute [rw] metadata
|
8308
|
+
# OpsMetadata for an AppManager application.
|
8309
|
+
# @return [Hash<String,Types::MetadataValue>]
|
8310
|
+
#
|
8311
|
+
# @!attribute [rw] next_token
|
8312
|
+
# The token for the next set of items to return. Use this token to get
|
8313
|
+
# the next set of results.
|
8314
|
+
# @return [String]
|
8315
|
+
#
|
8316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadataResult AWS API Documentation
|
8317
|
+
#
|
8318
|
+
class GetOpsMetadataResult < Struct.new(
|
8319
|
+
:resource_id,
|
8320
|
+
:metadata,
|
8321
|
+
:next_token)
|
8322
|
+
SENSITIVE = []
|
8323
|
+
include Aws::Structure
|
8324
|
+
end
|
8325
|
+
|
8195
8326
|
# @note When making an API call, you may pass GetOpsSummaryRequest
|
8196
8327
|
# data as a hash:
|
8197
8328
|
#
|
@@ -8533,7 +8664,7 @@ module Aws::SSM
|
|
8533
8664
|
#
|
8534
8665
|
# {
|
8535
8666
|
# patch_group: "PatchGroup", # required
|
8536
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN
|
8667
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
8537
8668
|
# }
|
8538
8669
|
#
|
8539
8670
|
# @!attribute [rw] patch_group
|
@@ -10606,6 +10737,13 @@ module Aws::SSM
|
|
10606
10737
|
# @!attribute [rw] association_filter_list
|
10607
10738
|
# One or more filters. Use a filter to return a more specific list of
|
10608
10739
|
# results.
|
10740
|
+
#
|
10741
|
+
# <note markdown="1"> Filtering associations using the `InstanceID` attribute only returns
|
10742
|
+
# legacy associations created using the `InstanceID` attribute.
|
10743
|
+
# Associations targeting the instance that are part of the Target
|
10744
|
+
# Attributes `ResourceGroup` or `Tags` are not returned.
|
10745
|
+
#
|
10746
|
+
# </note>
|
10609
10747
|
# @return [Array<Types::AssociationFilter>]
|
10610
10748
|
#
|
10611
10749
|
# @!attribute [rw] max_results
|
@@ -11155,6 +11293,64 @@ module Aws::SSM
|
|
11155
11293
|
include Aws::Structure
|
11156
11294
|
end
|
11157
11295
|
|
11296
|
+
# @note When making an API call, you may pass ListOpsMetadataRequest
|
11297
|
+
# data as a hash:
|
11298
|
+
#
|
11299
|
+
# {
|
11300
|
+
# filters: [
|
11301
|
+
# {
|
11302
|
+
# key: "OpsMetadataFilterKey", # required
|
11303
|
+
# values: ["OpsMetadataFilterValue"], # required
|
11304
|
+
# },
|
11305
|
+
# ],
|
11306
|
+
# max_results: 1,
|
11307
|
+
# next_token: "NextToken",
|
11308
|
+
# }
|
11309
|
+
#
|
11310
|
+
# @!attribute [rw] filters
|
11311
|
+
# One or more filters to limit the number of OpsMetadata objects
|
11312
|
+
# returned by the call.
|
11313
|
+
# @return [Array<Types::OpsMetadataFilter>]
|
11314
|
+
#
|
11315
|
+
# @!attribute [rw] max_results
|
11316
|
+
# The maximum number of items to return for this call. The call also
|
11317
|
+
# returns a token that you can specify in a subsequent call to get the
|
11318
|
+
# next set of results.
|
11319
|
+
# @return [Integer]
|
11320
|
+
#
|
11321
|
+
# @!attribute [rw] next_token
|
11322
|
+
# A token to start the list. Use this token to get the next set of
|
11323
|
+
# results.
|
11324
|
+
# @return [String]
|
11325
|
+
#
|
11326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataRequest AWS API Documentation
|
11327
|
+
#
|
11328
|
+
class ListOpsMetadataRequest < Struct.new(
|
11329
|
+
:filters,
|
11330
|
+
:max_results,
|
11331
|
+
:next_token)
|
11332
|
+
SENSITIVE = []
|
11333
|
+
include Aws::Structure
|
11334
|
+
end
|
11335
|
+
|
11336
|
+
# @!attribute [rw] ops_metadata_list
|
11337
|
+
# Returns a list of OpsMetadata objects.
|
11338
|
+
# @return [Array<Types::OpsMetadata>]
|
11339
|
+
#
|
11340
|
+
# @!attribute [rw] next_token
|
11341
|
+
# The token for the next set of items to return. Use this token to get
|
11342
|
+
# the next set of results.
|
11343
|
+
# @return [String]
|
11344
|
+
#
|
11345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadataResult AWS API Documentation
|
11346
|
+
#
|
11347
|
+
class ListOpsMetadataResult < Struct.new(
|
11348
|
+
:ops_metadata_list,
|
11349
|
+
:next_token)
|
11350
|
+
SENSITIVE = []
|
11351
|
+
include Aws::Structure
|
11352
|
+
end
|
11353
|
+
|
11158
11354
|
# @note When making an API call, you may pass ListResourceComplianceSummariesRequest
|
11159
11355
|
# data as a hash:
|
11160
11356
|
#
|
@@ -12198,6 +12394,27 @@ module Aws::SSM
|
|
12198
12394
|
include Aws::Structure
|
12199
12395
|
end
|
12200
12396
|
|
12397
|
+
# Metadata to assign to an AppManager application.
|
12398
|
+
#
|
12399
|
+
# @note When making an API call, you may pass MetadataValue
|
12400
|
+
# data as a hash:
|
12401
|
+
#
|
12402
|
+
# {
|
12403
|
+
# value: "MetadataValueString",
|
12404
|
+
# }
|
12405
|
+
#
|
12406
|
+
# @!attribute [rw] value
|
12407
|
+
# Metadata value to assign to an AppManager application.
|
12408
|
+
# @return [String]
|
12409
|
+
#
|
12410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MetadataValue AWS API Documentation
|
12411
|
+
#
|
12412
|
+
class MetadataValue < Struct.new(
|
12413
|
+
:value)
|
12414
|
+
SENSITIVE = []
|
12415
|
+
include Aws::Structure
|
12416
|
+
end
|
12417
|
+
|
12201
12418
|
# @note When making an API call, you may pass ModifyDocumentPermissionRequest
|
12202
12419
|
# data as a hash:
|
12203
12420
|
#
|
@@ -12846,6 +13063,149 @@ module Aws::SSM
|
|
12846
13063
|
include Aws::Structure
|
12847
13064
|
end
|
12848
13065
|
|
13066
|
+
# Operational metadata for an application in AppManager.
|
13067
|
+
#
|
13068
|
+
# @!attribute [rw] resource_id
|
13069
|
+
# The ID of the AppManager application.
|
13070
|
+
# @return [String]
|
13071
|
+
#
|
13072
|
+
# @!attribute [rw] ops_metadata_arn
|
13073
|
+
# The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.
|
13074
|
+
# @return [String]
|
13075
|
+
#
|
13076
|
+
# @!attribute [rw] last_modified_date
|
13077
|
+
# The date the OpsMetadata object was last updated.
|
13078
|
+
# @return [Time]
|
13079
|
+
#
|
13080
|
+
# @!attribute [rw] last_modified_user
|
13081
|
+
# The user name who last updated the OpsMetadata object.
|
13082
|
+
# @return [String]
|
13083
|
+
#
|
13084
|
+
# @!attribute [rw] creation_date
|
13085
|
+
# The date the OpsMetadata objects was created.
|
13086
|
+
# @return [Time]
|
13087
|
+
#
|
13088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadata AWS API Documentation
|
13089
|
+
#
|
13090
|
+
class OpsMetadata < Struct.new(
|
13091
|
+
:resource_id,
|
13092
|
+
:ops_metadata_arn,
|
13093
|
+
:last_modified_date,
|
13094
|
+
:last_modified_user,
|
13095
|
+
:creation_date)
|
13096
|
+
SENSITIVE = []
|
13097
|
+
include Aws::Structure
|
13098
|
+
end
|
13099
|
+
|
13100
|
+
# An OpsMetadata object already exists for the selected resource.
|
13101
|
+
#
|
13102
|
+
# @!attribute [rw] message
|
13103
|
+
# @return [String]
|
13104
|
+
#
|
13105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataAlreadyExistsException AWS API Documentation
|
13106
|
+
#
|
13107
|
+
class OpsMetadataAlreadyExistsException < Struct.new(
|
13108
|
+
:message)
|
13109
|
+
SENSITIVE = []
|
13110
|
+
include Aws::Structure
|
13111
|
+
end
|
13112
|
+
|
13113
|
+
# A filter to limit the number of OpsMetadata objects displayed.
|
13114
|
+
#
|
13115
|
+
# @note When making an API call, you may pass OpsMetadataFilter
|
13116
|
+
# data as a hash:
|
13117
|
+
#
|
13118
|
+
# {
|
13119
|
+
# key: "OpsMetadataFilterKey", # required
|
13120
|
+
# values: ["OpsMetadataFilterValue"], # required
|
13121
|
+
# }
|
13122
|
+
#
|
13123
|
+
# @!attribute [rw] key
|
13124
|
+
# A filter key.
|
13125
|
+
# @return [String]
|
13126
|
+
#
|
13127
|
+
# @!attribute [rw] values
|
13128
|
+
# A filter value.
|
13129
|
+
# @return [Array<String>]
|
13130
|
+
#
|
13131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataFilter AWS API Documentation
|
13132
|
+
#
|
13133
|
+
class OpsMetadataFilter < Struct.new(
|
13134
|
+
:key,
|
13135
|
+
:values)
|
13136
|
+
SENSITIVE = []
|
13137
|
+
include Aws::Structure
|
13138
|
+
end
|
13139
|
+
|
13140
|
+
# One of the arguments passed is invalid.
|
13141
|
+
#
|
13142
|
+
# @!attribute [rw] message
|
13143
|
+
# @return [String]
|
13144
|
+
#
|
13145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataInvalidArgumentException AWS API Documentation
|
13146
|
+
#
|
13147
|
+
class OpsMetadataInvalidArgumentException < Struct.new(
|
13148
|
+
:message)
|
13149
|
+
SENSITIVE = []
|
13150
|
+
include Aws::Structure
|
13151
|
+
end
|
13152
|
+
|
13153
|
+
# The OpsMetadata object exceeds the maximum number of OpsMetadata keys
|
13154
|
+
# that you can assign to an application in AppManager.
|
13155
|
+
#
|
13156
|
+
# @!attribute [rw] message
|
13157
|
+
# @return [String]
|
13158
|
+
#
|
13159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataKeyLimitExceededException AWS API Documentation
|
13160
|
+
#
|
13161
|
+
class OpsMetadataKeyLimitExceededException < Struct.new(
|
13162
|
+
:message)
|
13163
|
+
SENSITIVE = []
|
13164
|
+
include Aws::Structure
|
13165
|
+
end
|
13166
|
+
|
13167
|
+
# Your account reached the maximum number of OpsMetadata objects allowed
|
13168
|
+
# by AppManager. The maximum is 200 OpsMetadata objects. Delete one or
|
13169
|
+
# more OpsMetadata object and try again.
|
13170
|
+
#
|
13171
|
+
# @!attribute [rw] message
|
13172
|
+
# @return [String]
|
13173
|
+
#
|
13174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataLimitExceededException AWS API Documentation
|
13175
|
+
#
|
13176
|
+
class OpsMetadataLimitExceededException < Struct.new(
|
13177
|
+
:message)
|
13178
|
+
SENSITIVE = []
|
13179
|
+
include Aws::Structure
|
13180
|
+
end
|
13181
|
+
|
13182
|
+
# The OpsMetadata object does not exist.
|
13183
|
+
#
|
13184
|
+
# @!attribute [rw] message
|
13185
|
+
# @return [String]
|
13186
|
+
#
|
13187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataNotFoundException AWS API Documentation
|
13188
|
+
#
|
13189
|
+
class OpsMetadataNotFoundException < Struct.new(
|
13190
|
+
:message)
|
13191
|
+
SENSITIVE = []
|
13192
|
+
include Aws::Structure
|
13193
|
+
end
|
13194
|
+
|
13195
|
+
# The system is processing too many concurrent updates. Wait a few
|
13196
|
+
# moments and try again.
|
13197
|
+
#
|
13198
|
+
# @!attribute [rw] message
|
13199
|
+
# @return [String]
|
13200
|
+
#
|
13201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsMetadataTooManyUpdatesException AWS API Documentation
|
13202
|
+
#
|
13203
|
+
class OpsMetadataTooManyUpdatesException < Struct.new(
|
13204
|
+
:message)
|
13205
|
+
SENSITIVE = []
|
13206
|
+
include Aws::Structure
|
13207
|
+
end
|
13208
|
+
|
12849
13209
|
# The OpsItem data type to return.
|
12850
13210
|
#
|
12851
13211
|
# @note When making an API call, you may pass OpsResultAttribute
|
@@ -13095,7 +13455,31 @@ module Aws::SSM
|
|
13095
13455
|
include Aws::Structure
|
13096
13456
|
end
|
13097
13457
|
|
13098
|
-
#
|
13458
|
+
# Parameter Store retains the 100 most recently created versions of a
|
13459
|
+
# parameter. After this number of versions has been created, Parameter
|
13460
|
+
# Store deletes the oldest version when a new one is created. However,
|
13461
|
+
# if the oldest version has a *label* attached to it, Parameter Store
|
13462
|
+
# will not delete the version and instead presents this error message:
|
13463
|
+
#
|
13464
|
+
# `An error occurred (ParameterMaxVersionLimitExceeded) when calling the
|
13465
|
+
# PutParameter operation: You attempted to create a new version of
|
13466
|
+
# parameter-name by calling the PutParameter API with the overwrite
|
13467
|
+
# flag. Version version-number, the oldest version, can't be deleted
|
13468
|
+
# because it has a label associated with it. Move the label to another
|
13469
|
+
# version of the parameter, and try again.`
|
13470
|
+
#
|
13471
|
+
# This safeguard is to prevent parameter versions with mission critical
|
13472
|
+
# labels assigned to them from being deleted. To continue creating new
|
13473
|
+
# parameters, first move the label from the oldest version of the
|
13474
|
+
# parameter to a newer one for use in your operations. For information
|
13475
|
+
# about moving parameter labels, see [Move a parameter label
|
13476
|
+
# (console)][1] or [Move a parameter label (CLI) ][2] in the *AWS
|
13477
|
+
# Systems Manager User Guide*.
|
13478
|
+
#
|
13479
|
+
#
|
13480
|
+
#
|
13481
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-console-move
|
13482
|
+
# [2]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-cli-move
|
13099
13483
|
#
|
13100
13484
|
# @!attribute [rw] message
|
13101
13485
|
# @return [String]
|
@@ -13397,7 +13781,7 @@ module Aws::SSM
|
|
13397
13781
|
#
|
13398
13782
|
# @!attribute [rw] cve_ids
|
13399
13783
|
# The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
|
13400
|
-
# example, `CVE-
|
13784
|
+
# example, `CVE-2011-3192`. Applies to Linux-based instances only.
|
13401
13785
|
# @return [Array<String>]
|
13402
13786
|
#
|
13403
13787
|
# @!attribute [rw] name
|
@@ -13544,6 +13928,11 @@ module Aws::SSM
|
|
13544
13928
|
# all operating systems provide this level of information.
|
13545
13929
|
# @return [Time]
|
13546
13930
|
#
|
13931
|
+
# @!attribute [rw] cve_ids
|
13932
|
+
# The IDs of one or more Common Vulnerabilities and Exposure (CVE)
|
13933
|
+
# issues that are resolved by the patch.
|
13934
|
+
# @return [String]
|
13935
|
+
#
|
13547
13936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData AWS API Documentation
|
13548
13937
|
#
|
13549
13938
|
class PatchComplianceData < Struct.new(
|
@@ -13552,7 +13941,8 @@ module Aws::SSM
|
|
13552
13941
|
:classification,
|
13553
13942
|
:severity,
|
13554
13943
|
:state,
|
13555
|
-
:installed_time
|
13944
|
+
:installed_time,
|
13945
|
+
:cve_ids)
|
13556
13946
|
SENSITIVE = []
|
13557
13947
|
include Aws::Structure
|
13558
13948
|
end
|
@@ -14142,7 +14532,7 @@ module Aws::SSM
|
|
14142
14532
|
# The type of parameter that you want to add to the system.
|
14143
14533
|
#
|
14144
14534
|
# <note markdown="1"> `SecureString` is not currently supported for AWS CloudFormation
|
14145
|
-
# templates
|
14535
|
+
# templates.
|
14146
14536
|
#
|
14147
14537
|
# </note>
|
14148
14538
|
#
|
@@ -15979,7 +16369,7 @@ module Aws::SSM
|
|
15979
16369
|
# data as a hash:
|
15980
16370
|
#
|
15981
16371
|
# {
|
15982
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
|
16372
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status, SessionId
|
15983
16373
|
# value: "SessionFilterValue", # required
|
15984
16374
|
# }
|
15985
16375
|
#
|
@@ -16018,6 +16408,9 @@ module Aws::SSM
|
|
16018
16408
|
# * Terminating
|
16019
16409
|
#
|
16020
16410
|
# * Failed
|
16411
|
+
#
|
16412
|
+
# * SessionId: Specify a session ID to return details about the
|
16413
|
+
# session.
|
16021
16414
|
# @return [String]
|
16022
16415
|
#
|
16023
16416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SessionFilter AWS API Documentation
|
@@ -17117,7 +17510,8 @@ module Aws::SSM
|
|
17117
17510
|
# By default, when you update an association, the system runs it
|
17118
17511
|
# immediately after it is updated and then according to the schedule
|
17119
17512
|
# you specified. Specify this option if you don't want an association
|
17120
|
-
# to run immediately after you update it.
|
17513
|
+
# to run immediately after you update it. This parameter is not
|
17514
|
+
# supported for rate expressions.
|
17121
17515
|
#
|
17122
17516
|
# Also, if you specified this option when you created the association,
|
17123
17517
|
# you can reset it. To do so, specify the
|
@@ -18112,6 +18506,54 @@ module Aws::SSM
|
|
18112
18506
|
#
|
18113
18507
|
class UpdateOpsItemResponse < Aws::EmptyStructure; end
|
18114
18508
|
|
18509
|
+
# @note When making an API call, you may pass UpdateOpsMetadataRequest
|
18510
|
+
# data as a hash:
|
18511
|
+
#
|
18512
|
+
# {
|
18513
|
+
# ops_metadata_arn: "OpsMetadataArn", # required
|
18514
|
+
# metadata_to_update: {
|
18515
|
+
# "MetadataKey" => {
|
18516
|
+
# value: "MetadataValueString",
|
18517
|
+
# },
|
18518
|
+
# },
|
18519
|
+
# keys_to_delete: ["MetadataKey"],
|
18520
|
+
# }
|
18521
|
+
#
|
18522
|
+
# @!attribute [rw] ops_metadata_arn
|
18523
|
+
# The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.
|
18524
|
+
# @return [String]
|
18525
|
+
#
|
18526
|
+
# @!attribute [rw] metadata_to_update
|
18527
|
+
# Metadata to add to an OpsMetadata object.
|
18528
|
+
# @return [Hash<String,Types::MetadataValue>]
|
18529
|
+
#
|
18530
|
+
# @!attribute [rw] keys_to_delete
|
18531
|
+
# The metadata keys to delete from the OpsMetadata object.
|
18532
|
+
# @return [Array<String>]
|
18533
|
+
#
|
18534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataRequest AWS API Documentation
|
18535
|
+
#
|
18536
|
+
class UpdateOpsMetadataRequest < Struct.new(
|
18537
|
+
:ops_metadata_arn,
|
18538
|
+
:metadata_to_update,
|
18539
|
+
:keys_to_delete)
|
18540
|
+
SENSITIVE = []
|
18541
|
+
include Aws::Structure
|
18542
|
+
end
|
18543
|
+
|
18544
|
+
# @!attribute [rw] ops_metadata_arn
|
18545
|
+
# The Amazon Resource Name (ARN) of the OpsMetadata Object that was
|
18546
|
+
# updated.
|
18547
|
+
# @return [String]
|
18548
|
+
#
|
18549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadataResult AWS API Documentation
|
18550
|
+
#
|
18551
|
+
class UpdateOpsMetadataResult < Struct.new(
|
18552
|
+
:ops_metadata_arn)
|
18553
|
+
SENSITIVE = []
|
18554
|
+
include Aws::Structure
|
18555
|
+
end
|
18556
|
+
|
18115
18557
|
# @note When making an API call, you may pass UpdatePatchBaselineRequest
|
18116
18558
|
# data as a hash:
|
18117
18559
|
#
|