aws-sdk-ssm 1.104.0 → 1.106.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +618 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ssm.rb +2 -2
- data/lib/aws-sdk-ssm/client.rb +123 -17
- data/lib/aws-sdk-ssm/client_api.rb +15 -1
- data/lib/aws-sdk-ssm/errors.rb +1 -1
- data/lib/aws-sdk-ssm/resource.rb +1 -1
- data/lib/aws-sdk-ssm/types.rb +274 -22
- data/lib/aws-sdk-ssm/waiters.rb +1 -1
- metadata +6 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -117,6 +117,7 @@ module Aws::SSM
|
|
117
117
|
BaselineDescription = Shapes::StringShape.new(name: 'BaselineDescription')
|
118
118
|
BaselineId = Shapes::StringShape.new(name: 'BaselineId')
|
119
119
|
BaselineName = Shapes::StringShape.new(name: 'BaselineName')
|
120
|
+
BaselineOverride = Shapes::StructureShape.new(name: 'BaselineOverride')
|
120
121
|
BatchErrorMessage = Shapes::StringShape.new(name: 'BatchErrorMessage')
|
121
122
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
122
123
|
CalendarNameOrARN = Shapes::StringShape.new(name: 'CalendarNameOrARN')
|
@@ -1417,6 +1418,17 @@ module Aws::SSM
|
|
1417
1418
|
AutomationStepNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1418
1419
|
AutomationStepNotFoundException.struct_class = Types::AutomationStepNotFoundException
|
1419
1420
|
|
1421
|
+
BaselineOverride.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
|
1422
|
+
BaselineOverride.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
|
1423
|
+
BaselineOverride.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
1424
|
+
BaselineOverride.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
1425
|
+
BaselineOverride.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
1426
|
+
BaselineOverride.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
1427
|
+
BaselineOverride.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
1428
|
+
BaselineOverride.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity"))
|
1429
|
+
BaselineOverride.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
1430
|
+
BaselineOverride.struct_class = Types::BaselineOverride
|
1431
|
+
|
1420
1432
|
CalendarNameOrARNList.member = Shapes::ShapeRef.new(shape: CalendarNameOrARN)
|
1421
1433
|
|
1422
1434
|
CancelCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location_name: "CommandId"))
|
@@ -1673,6 +1685,7 @@ module Aws::SSM
|
|
1673
1685
|
|
1674
1686
|
CreateOpsMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: OpsMetadataResourceId, required: true, location_name: "ResourceId"))
|
1675
1687
|
CreateOpsMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "Metadata"))
|
1688
|
+
CreateOpsMetadataRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1676
1689
|
CreateOpsMetadataRequest.struct_class = Types::CreateOpsMetadataRequest
|
1677
1690
|
|
1678
1691
|
CreateOpsMetadataResult.add_member(:ops_metadata_arn, Shapes::ShapeRef.new(shape: OpsMetadataArn, location_name: "OpsMetadataArn"))
|
@@ -2338,6 +2351,7 @@ module Aws::SSM
|
|
2338
2351
|
|
2339
2352
|
GetDeployablePatchSnapshotForInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
2340
2353
|
GetDeployablePatchSnapshotForInstanceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
|
2354
|
+
GetDeployablePatchSnapshotForInstanceRequest.add_member(:baseline_override, Shapes::ShapeRef.new(shape: BaselineOverride, location_name: "BaselineOverride"))
|
2341
2355
|
GetDeployablePatchSnapshotForInstanceRequest.struct_class = Types::GetDeployablePatchSnapshotForInstanceRequest
|
2342
2356
|
|
2343
2357
|
GetDeployablePatchSnapshotForInstanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ssm/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -100,7 +100,7 @@ module Aws::SSM
|
|
100
100
|
# data as a hash:
|
101
101
|
#
|
102
102
|
# {
|
103
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
103
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
104
104
|
# resource_id: "ResourceId", # required
|
105
105
|
# tags: [ # required
|
106
106
|
# {
|
@@ -132,6 +132,15 @@ module Aws::SSM
|
|
132
132
|
#
|
133
133
|
# PatchBaseline: pb-012345abcde
|
134
134
|
#
|
135
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
136
|
+
# Amazon Resource Name (ARN) for the object. Specifically,
|
137
|
+
# `ResourceID` is created from the strings that come after the word
|
138
|
+
# `opsmetadata` in the ARN. For example, an OpsMetadata object with an
|
139
|
+
# ARN of
|
140
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
141
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
142
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
143
|
+
#
|
135
144
|
# For the Document and Parameter values, use the name of the resource.
|
136
145
|
#
|
137
146
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -1449,6 +1458,132 @@ module Aws::SSM
|
|
1449
1458
|
include Aws::Structure
|
1450
1459
|
end
|
1451
1460
|
|
1461
|
+
# Defines the basic information about a patch baseline override.
|
1462
|
+
#
|
1463
|
+
# @note When making an API call, you may pass BaselineOverride
|
1464
|
+
# data as a hash:
|
1465
|
+
#
|
1466
|
+
# {
|
1467
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
1468
|
+
# global_filters: {
|
1469
|
+
# patch_filters: [ # required
|
1470
|
+
# {
|
1471
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
1472
|
+
# values: ["PatchFilterValue"], # required
|
1473
|
+
# },
|
1474
|
+
# ],
|
1475
|
+
# },
|
1476
|
+
# approval_rules: {
|
1477
|
+
# patch_rules: [ # required
|
1478
|
+
# {
|
1479
|
+
# patch_filter_group: { # required
|
1480
|
+
# patch_filters: [ # required
|
1481
|
+
# {
|
1482
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
1483
|
+
# values: ["PatchFilterValue"], # required
|
1484
|
+
# },
|
1485
|
+
# ],
|
1486
|
+
# },
|
1487
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1488
|
+
# approve_after_days: 1,
|
1489
|
+
# approve_until_date: "PatchStringDateTime",
|
1490
|
+
# enable_non_security: false,
|
1491
|
+
# },
|
1492
|
+
# ],
|
1493
|
+
# },
|
1494
|
+
# approved_patches: ["PatchId"],
|
1495
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1496
|
+
# rejected_patches: ["PatchId"],
|
1497
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
1498
|
+
# approved_patches_enable_non_security: false,
|
1499
|
+
# sources: [
|
1500
|
+
# {
|
1501
|
+
# name: "PatchSourceName", # required
|
1502
|
+
# products: ["PatchSourceProduct"], # required
|
1503
|
+
# configuration: "PatchSourceConfiguration", # required
|
1504
|
+
# },
|
1505
|
+
# ],
|
1506
|
+
# }
|
1507
|
+
#
|
1508
|
+
# @!attribute [rw] operating_system
|
1509
|
+
# The operating system rule used by the patch baseline override.
|
1510
|
+
# @return [String]
|
1511
|
+
#
|
1512
|
+
# @!attribute [rw] global_filters
|
1513
|
+
# A set of patch filters, typically used for approval rules.
|
1514
|
+
# @return [Types::PatchFilterGroup]
|
1515
|
+
#
|
1516
|
+
# @!attribute [rw] approval_rules
|
1517
|
+
# A set of rules defining the approval rules for a patch baseline.
|
1518
|
+
# @return [Types::PatchRuleGroup]
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] approved_patches
|
1521
|
+
# A list of explicitly approved patches for the baseline.
|
1522
|
+
#
|
1523
|
+
# For information about accepted formats for lists of approved patches
|
1524
|
+
# and rejected patches, see [About package name formats for approved
|
1525
|
+
# and rejected patch lists][1] in the *AWS Systems Manager User
|
1526
|
+
# Guide*.
|
1527
|
+
#
|
1528
|
+
#
|
1529
|
+
#
|
1530
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1531
|
+
# @return [Array<String>]
|
1532
|
+
#
|
1533
|
+
# @!attribute [rw] approved_patches_compliance_level
|
1534
|
+
# Defines the compliance level for approved patches. When an approved
|
1535
|
+
# patch is reported as missing, this value describes the severity of
|
1536
|
+
# the compliance violation.
|
1537
|
+
# @return [String]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] rejected_patches
|
1540
|
+
# A list of explicitly rejected patches for the baseline.
|
1541
|
+
#
|
1542
|
+
# For information about accepted formats for lists of approved patches
|
1543
|
+
# and rejected patches, see [About package name formats for approved
|
1544
|
+
# and rejected patch lists][1] in the *AWS Systems Manager User
|
1545
|
+
# Guide*.
|
1546
|
+
#
|
1547
|
+
#
|
1548
|
+
#
|
1549
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1550
|
+
# @return [Array<String>]
|
1551
|
+
#
|
1552
|
+
# @!attribute [rw] rejected_patches_action
|
1553
|
+
# The action for Patch Manager to take on patches included in the
|
1554
|
+
# RejectedPackages list. A patch can be allowed only if it is a
|
1555
|
+
# dependency of another package, or blocked entirely along with
|
1556
|
+
# packages that include it as a dependency.
|
1557
|
+
# @return [String]
|
1558
|
+
#
|
1559
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
1560
|
+
# Indicates whether the list of approved patches includes non-security
|
1561
|
+
# updates that should be applied to the instances. The default value
|
1562
|
+
# is 'false'. Applies to Linux instances only.
|
1563
|
+
# @return [Boolean]
|
1564
|
+
#
|
1565
|
+
# @!attribute [rw] sources
|
1566
|
+
# Information about the patches to use to update the instances,
|
1567
|
+
# including target operating systems and source repositories. Applies
|
1568
|
+
# to Linux instances only.
|
1569
|
+
# @return [Array<Types::PatchSource>]
|
1570
|
+
#
|
1571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/BaselineOverride AWS API Documentation
|
1572
|
+
#
|
1573
|
+
class BaselineOverride < Struct.new(
|
1574
|
+
:operating_system,
|
1575
|
+
:global_filters,
|
1576
|
+
:approval_rules,
|
1577
|
+
:approved_patches,
|
1578
|
+
:approved_patches_compliance_level,
|
1579
|
+
:rejected_patches,
|
1580
|
+
:rejected_patches_action,
|
1581
|
+
:approved_patches_enable_non_security,
|
1582
|
+
:sources)
|
1583
|
+
SENSITIVE = []
|
1584
|
+
include Aws::Structure
|
1585
|
+
end
|
1586
|
+
|
1452
1587
|
# @note When making an API call, you may pass CancelCommandRequest
|
1453
1588
|
# data as a hash:
|
1454
1589
|
#
|
@@ -3506,6 +3641,12 @@ module Aws::SSM
|
|
3506
3641
|
# value: "MetadataValueString",
|
3507
3642
|
# },
|
3508
3643
|
# },
|
3644
|
+
# tags: [
|
3645
|
+
# {
|
3646
|
+
# key: "TagKey", # required
|
3647
|
+
# value: "TagValue", # required
|
3648
|
+
# },
|
3649
|
+
# ],
|
3509
3650
|
# }
|
3510
3651
|
#
|
3511
3652
|
# @!attribute [rw] resource_id
|
@@ -3516,11 +3657,25 @@ module Aws::SSM
|
|
3516
3657
|
# Metadata for a new Application Manager application.
|
3517
3658
|
# @return [Hash<String,Types::MetadataValue>]
|
3518
3659
|
#
|
3660
|
+
# @!attribute [rw] tags
|
3661
|
+
# Optional metadata that you assign to a resource. You can specify a
|
3662
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
3663
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
3664
|
+
# or environment. For example, you might want to tag an OpsMetadata
|
3665
|
+
# object to identify an environment or target AWS Region. In this
|
3666
|
+
# case, you could specify the following key-value pairs:
|
3667
|
+
#
|
3668
|
+
# * `Key=Environment,Value=Production`
|
3669
|
+
#
|
3670
|
+
# * `Key=Region,Value=us-east-2`
|
3671
|
+
# @return [Array<Types::Tag>]
|
3672
|
+
#
|
3519
3673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
|
3520
3674
|
#
|
3521
3675
|
class CreateOpsMetadataRequest < Struct.new(
|
3522
3676
|
:resource_id,
|
3523
|
-
:metadata
|
3677
|
+
:metadata,
|
3678
|
+
:tags)
|
3524
3679
|
SENSITIVE = []
|
3525
3680
|
include Aws::Structure
|
3526
3681
|
end
|
@@ -3623,8 +3778,8 @@ module Aws::SSM
|
|
3623
3778
|
# @return [Array<String>]
|
3624
3779
|
#
|
3625
3780
|
# @!attribute [rw] approved_patches_compliance_level
|
3626
|
-
# Defines the compliance level for approved patches.
|
3627
|
-
#
|
3781
|
+
# Defines the compliance level for approved patches. When an approved
|
3782
|
+
# patch is reported as missing, this value describes the severity of
|
3628
3783
|
# the compliance violation. The default value is UNSPECIFIED.
|
3629
3784
|
# @return [String]
|
3630
3785
|
#
|
@@ -7478,12 +7633,14 @@ module Aws::SSM
|
|
7478
7633
|
# @return [String]
|
7479
7634
|
#
|
7480
7635
|
# @!attribute [rw] plugin_name
|
7481
|
-
#
|
7482
|
-
#
|
7483
|
-
#
|
7636
|
+
# The name of the plugin for which you want detailed results. If the
|
7637
|
+
# document contains only one plugin, you can omit the name and details
|
7638
|
+
# for that plugin are returned. If the document contains more than one
|
7639
|
+
# plugin, you must specify the name of the plugin for which you want
|
7640
|
+
# to view details.
|
7484
7641
|
#
|
7485
|
-
# Plugin names are also referred to as step names in Systems Manager
|
7486
|
-
# documents.
|
7642
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
7643
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
7487
7644
|
# @return [String]
|
7488
7645
|
#
|
7489
7646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
|
@@ -7520,8 +7677,8 @@ module Aws::SSM
|
|
7520
7677
|
# @return [String]
|
7521
7678
|
#
|
7522
7679
|
# @!attribute [rw] plugin_name
|
7523
|
-
# The name of the plugin
|
7524
|
-
# example, aws:RunShellScript is a plugin.
|
7680
|
+
# The name of the plugin, or *step name*, for which details are
|
7681
|
+
# reported. For example, `aws:RunShellScript` is a plugin.
|
7525
7682
|
# @return [String]
|
7526
7683
|
#
|
7527
7684
|
# @!attribute [rw] response_code
|
@@ -7753,6 +7910,47 @@ module Aws::SSM
|
|
7753
7910
|
# {
|
7754
7911
|
# instance_id: "InstanceId", # required
|
7755
7912
|
# snapshot_id: "SnapshotId", # required
|
7913
|
+
# baseline_override: {
|
7914
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
7915
|
+
# global_filters: {
|
7916
|
+
# patch_filters: [ # required
|
7917
|
+
# {
|
7918
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
7919
|
+
# values: ["PatchFilterValue"], # required
|
7920
|
+
# },
|
7921
|
+
# ],
|
7922
|
+
# },
|
7923
|
+
# approval_rules: {
|
7924
|
+
# patch_rules: [ # required
|
7925
|
+
# {
|
7926
|
+
# patch_filter_group: { # required
|
7927
|
+
# patch_filters: [ # required
|
7928
|
+
# {
|
7929
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
7930
|
+
# values: ["PatchFilterValue"], # required
|
7931
|
+
# },
|
7932
|
+
# ],
|
7933
|
+
# },
|
7934
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
7935
|
+
# approve_after_days: 1,
|
7936
|
+
# approve_until_date: "PatchStringDateTime",
|
7937
|
+
# enable_non_security: false,
|
7938
|
+
# },
|
7939
|
+
# ],
|
7940
|
+
# },
|
7941
|
+
# approved_patches: ["PatchId"],
|
7942
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
7943
|
+
# rejected_patches: ["PatchId"],
|
7944
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
7945
|
+
# approved_patches_enable_non_security: false,
|
7946
|
+
# sources: [
|
7947
|
+
# {
|
7948
|
+
# name: "PatchSourceName", # required
|
7949
|
+
# products: ["PatchSourceProduct"], # required
|
7950
|
+
# configuration: "PatchSourceConfiguration", # required
|
7951
|
+
# },
|
7952
|
+
# ],
|
7953
|
+
# },
|
7756
7954
|
# }
|
7757
7955
|
#
|
7758
7956
|
# @!attribute [rw] instance_id
|
@@ -7764,11 +7962,16 @@ module Aws::SSM
|
|
7764
7962
|
# The user-defined snapshot ID.
|
7765
7963
|
# @return [String]
|
7766
7964
|
#
|
7965
|
+
# @!attribute [rw] baseline_override
|
7966
|
+
# Defines the basic information about a patch baseline override.
|
7967
|
+
# @return [Types::BaselineOverride]
|
7968
|
+
#
|
7767
7969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest AWS API Documentation
|
7768
7970
|
#
|
7769
7971
|
class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
|
7770
7972
|
:instance_id,
|
7771
|
-
:snapshot_id
|
7973
|
+
:snapshot_id,
|
7974
|
+
:baseline_override)
|
7772
7975
|
SENSITIVE = []
|
7773
7976
|
include Aws::Structure
|
7774
7977
|
end
|
@@ -9227,6 +9430,8 @@ module Aws::SSM
|
|
9227
9430
|
#
|
9228
9431
|
# @!attribute [rw] setting_id
|
9229
9432
|
# The ID of the service setting to get. The setting ID can be
|
9433
|
+
# `/ssm/automation/customer-script-log-destination`,
|
9434
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
9230
9435
|
# `/ssm/parameter-store/default-parameter-tier`,
|
9231
9436
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
9232
9437
|
# `/ssm/managed-instance/activation-tier`.
|
@@ -9380,6 +9585,14 @@ module Aws::SSM
|
|
9380
9585
|
|
9381
9586
|
# An S3 bucket where you want to store the results of this request.
|
9382
9587
|
#
|
9588
|
+
# For the minimal permissions required to enable Amazon S3 output for an
|
9589
|
+
# association, see [Creating associations][1] in the *Systems Manager
|
9590
|
+
# User Guide*.
|
9591
|
+
#
|
9592
|
+
#
|
9593
|
+
#
|
9594
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html
|
9595
|
+
#
|
9383
9596
|
# @note When making an API call, you may pass InstanceAssociationOutputLocation
|
9384
9597
|
# data as a hash:
|
9385
9598
|
#
|
@@ -9684,6 +9897,11 @@ module Aws::SSM
|
|
9684
9897
|
#
|
9685
9898
|
# "InstanceIds"\|"AgentVersion"\|"PingStatus"\|"PlatformTypes"\|"ActivationIds"\|"IamRole"\|"ResourceType"\|"AssociationStatus"\|"Tag
|
9686
9899
|
# Key"
|
9900
|
+
#
|
9901
|
+
# `Tag key` is not a valid filter. You must specify either `tag-key`
|
9902
|
+
# or `tag:keyname` and a string. Here are some valid examples:
|
9903
|
+
# tag-key, tag:123, tag:al!, tag:Windows. Here are some *invalid*
|
9904
|
+
# examples: tag-keys, Tag Key, tag:, tagKey, abc:keyname.
|
9687
9905
|
# @return [String]
|
9688
9906
|
#
|
9689
9907
|
# @!attribute [rw] values
|
@@ -12019,7 +12237,7 @@ module Aws::SSM
|
|
12019
12237
|
# data as a hash:
|
12020
12238
|
#
|
12021
12239
|
# {
|
12022
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
12240
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
12023
12241
|
# resource_id: "ResourceId", # required
|
12024
12242
|
# }
|
12025
12243
|
#
|
@@ -14808,13 +15026,14 @@ module Aws::SSM
|
|
14808
15026
|
# The number of days after the release date of each patch matched by
|
14809
15027
|
# the rule that the patch is marked as approved in the patch baseline.
|
14810
15028
|
# For example, a value of `7` means that patches are approved seven
|
14811
|
-
# days after they are released. Not supported on
|
15029
|
+
# days after they are released. Not supported on Debian Server or
|
15030
|
+
# Ubuntu Server.
|
14812
15031
|
# @return [Integer]
|
14813
15032
|
#
|
14814
15033
|
# @!attribute [rw] approve_until_date
|
14815
15034
|
# The cutoff date for auto approval of released patches. Any patches
|
14816
15035
|
# released on or before this date are installed automatically. Not
|
14817
|
-
# supported on Ubuntu Server.
|
15036
|
+
# supported on Debian Server or Ubuntu Server.
|
14818
15037
|
#
|
14819
15038
|
# Enter dates in the format `YYYY-MM-DD`. For example, `2020-12-31`.
|
14820
15039
|
# @return [String]
|
@@ -15198,7 +15417,11 @@ module Aws::SSM
|
|
15198
15417
|
# (case-insensitive).
|
15199
15418
|
#
|
15200
15419
|
# * Parameter names can include only the following symbols and
|
15201
|
-
# letters: `a-zA-Z0-9_
|
15420
|
+
# letters: `a-zA-Z0-9_.-`
|
15421
|
+
#
|
15422
|
+
# In addition, the slash character ( / ) is used to delineate
|
15423
|
+
# hierarchies in parameter names. For example:
|
15424
|
+
# `/Dev/Production/East/Project-ABC/MyParameter`
|
15202
15425
|
#
|
15203
15426
|
# * A parameter name can't include spaces.
|
15204
15427
|
#
|
@@ -15206,8 +15429,8 @@ module Aws::SSM
|
|
15206
15429
|
# levels.
|
15207
15430
|
#
|
15208
15431
|
# For additional information about valid values for parameter names,
|
15209
|
-
# see [
|
15210
|
-
#
|
15432
|
+
# see [Creating Systems Manager parameters][1] in the *AWS Systems
|
15433
|
+
# Manager User Guide*.
|
15211
15434
|
#
|
15212
15435
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
15213
15436
|
# additional system attributes that are not part of the name. The
|
@@ -15221,7 +15444,7 @@ module Aws::SSM
|
|
15221
15444
|
#
|
15222
15445
|
#
|
15223
15446
|
#
|
15224
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-
|
15447
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
|
15225
15448
|
# @return [String]
|
15226
15449
|
#
|
15227
15450
|
# @!attribute [rw] description
|
@@ -15587,6 +15810,14 @@ module Aws::SSM
|
|
15587
15810
|
# The targets to register with the maintenance window. In other words,
|
15588
15811
|
# the instances to run commands on when the maintenance window runs.
|
15589
15812
|
#
|
15813
|
+
# <note markdown="1"> If a single maintenance window task is registered with multiple
|
15814
|
+
# targets, its task invocations occur sequentially and not in
|
15815
|
+
# parallel. If your task must run on multiple targets at the same
|
15816
|
+
# time, register a task for each target individually and assign each
|
15817
|
+
# task the same priority level.
|
15818
|
+
#
|
15819
|
+
# </note>
|
15820
|
+
#
|
15590
15821
|
# You can specify targets using instance IDs, resource group names, or
|
15591
15822
|
# tags that have been applied to instances.
|
15592
15823
|
#
|
@@ -15942,7 +16173,7 @@ module Aws::SSM
|
|
15942
16173
|
# data as a hash:
|
15943
16174
|
#
|
15944
16175
|
# {
|
15945
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
16176
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
15946
16177
|
# resource_id: "ResourceId", # required
|
15947
16178
|
# tag_keys: ["TagKey"], # required
|
15948
16179
|
# }
|
@@ -15967,6 +16198,15 @@ module Aws::SSM
|
|
15967
16198
|
#
|
15968
16199
|
# PatchBaseline: pb-012345abcde
|
15969
16200
|
#
|
16201
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
16202
|
+
# Amazon Resource Name (ARN) for the object. Specifically,
|
16203
|
+
# `ResourceID` is created from the strings that come after the word
|
16204
|
+
# `opsmetadata` in the ARN. For example, an OpsMetadata object with an
|
16205
|
+
# ARN of
|
16206
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
16207
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
16208
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
16209
|
+
#
|
15970
16210
|
# For the Document and Parameter values, use the name of the resource.
|
15971
16211
|
#
|
15972
16212
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -16005,7 +16245,9 @@ module Aws::SSM
|
|
16005
16245
|
#
|
16006
16246
|
# @!attribute [rw] setting_id
|
16007
16247
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
16008
|
-
# setting ID can be `/ssm/
|
16248
|
+
# setting ID can be `/ssm/automation/customer-script-log-destination`,
|
16249
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
16250
|
+
# `/ssm/parameter-store/default-parameter-tier`,
|
16009
16251
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
16010
16252
|
# `/ssm/managed-instance/activation-tier`. For example,
|
16011
16253
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
@@ -19997,6 +20239,10 @@ module Aws::SSM
|
|
19997
20239
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
19998
20240
|
# The setting ID can be one of the following.
|
19999
20241
|
#
|
20242
|
+
# * `/ssm/automation/customer-script-log-destination`
|
20243
|
+
#
|
20244
|
+
# * `/ssm/automation/customer-script-log-group-name`
|
20245
|
+
#
|
20000
20246
|
# * `/ssm/parameter-store/default-parameter-tier`
|
20001
20247
|
#
|
20002
20248
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
@@ -20018,6 +20264,12 @@ module Aws::SSM
|
|
20018
20264
|
# For the `/ssm/parameter-store/high-throughput-enabled`, and
|
20019
20265
|
# `/ssm/managed-instance/activation-tier` setting IDs, the setting
|
20020
20266
|
# value can be true or false.
|
20267
|
+
#
|
20268
|
+
# For the `/ssm/automation/customer-script-log-destination` setting
|
20269
|
+
# ID, the setting value can be CloudWatch.
|
20270
|
+
#
|
20271
|
+
# For the `/ssm/automation/customer-script-log-group-name` setting ID,
|
20272
|
+
# the setting value can be the name of a CloudWatch Logs log group.
|
20021
20273
|
# @return [String]
|
20022
20274
|
#
|
20023
20275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
|