aws-sdk-ssm 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +47 -3
- data/lib/aws-sdk-ssm/client_api.rb +11 -0
- data/lib/aws-sdk-ssm/types.rb +100 -1
- 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: 2791f0879e0708d2efece83454d826f60becf76e
|
|
4
|
+
data.tar.gz: 1582c96e7e8417cb7c55a33f3822a71636a7d108
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3e4d906e55cb9cb1b393a5a4504adfa830ffbdf7682a1c7dfab045db47493782ce151f85abe780abda251fab9674e91a6bab312869207d2f3a17c4678023619
|
|
7
|
+
data.tar.gz: 16f35ddb8a035d2596d8eb2c068326e56fbf77dc7a5d4d3fcc65ce608327dbb7dcb692754a0860be93a738464b7bf05ad07eab644774a4c6f7fba616720b170c
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
|
@@ -801,6 +801,22 @@ module Aws::SSM
|
|
|
801
801
|
#
|
|
802
802
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
|
803
803
|
#
|
|
804
|
+
# @option params [String] :rejected_patches_action
|
|
805
|
+
# The action for Patch Manager to take on patches included in the
|
|
806
|
+
# RejectedPackages list.
|
|
807
|
+
#
|
|
808
|
+
# * **ALLOW\_AS\_DEPENDENCY**\: A package in the Rejected patches list
|
|
809
|
+
# is installed only if it is a dependency of another package. It is
|
|
810
|
+
# considered compliant with the patch baseline, and its status is
|
|
811
|
+
# reported as *InstalledOther*. This is the default action if no
|
|
812
|
+
# option is specified.
|
|
813
|
+
#
|
|
814
|
+
# * **BLOCK**\: Packages in the RejectedPatches list, and packages that
|
|
815
|
+
# include them as dependencies, are not installed under any
|
|
816
|
+
# circumstances. If a package was installed before it was added to the
|
|
817
|
+
# Rejected patches list, it is considered non-compliant with the patch
|
|
818
|
+
# baseline, and its status is reported as *InstalledRejected*.
|
|
819
|
+
#
|
|
804
820
|
# @option params [String] :description
|
|
805
821
|
# A description of the patch baseline.
|
|
806
822
|
#
|
|
@@ -853,6 +869,7 @@ module Aws::SSM
|
|
|
853
869
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
|
854
870
|
# approved_patches_enable_non_security: false,
|
|
855
871
|
# rejected_patches: ["PatchId"],
|
|
872
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
|
856
873
|
# description: "BaselineDescription",
|
|
857
874
|
# sources: [
|
|
858
875
|
# {
|
|
@@ -2233,9 +2250,11 @@ module Aws::SSM
|
|
|
2233
2250
|
# resp.instance_patch_states[0].patch_group #=> String
|
|
2234
2251
|
# resp.instance_patch_states[0].baseline_id #=> String
|
|
2235
2252
|
# resp.instance_patch_states[0].snapshot_id #=> String
|
|
2253
|
+
# resp.instance_patch_states[0].install_override_list #=> String
|
|
2236
2254
|
# resp.instance_patch_states[0].owner_information #=> String
|
|
2237
2255
|
# resp.instance_patch_states[0].installed_count #=> Integer
|
|
2238
2256
|
# resp.instance_patch_states[0].installed_other_count #=> Integer
|
|
2257
|
+
# resp.instance_patch_states[0].installed_rejected_count #=> Integer
|
|
2239
2258
|
# resp.instance_patch_states[0].missing_count #=> Integer
|
|
2240
2259
|
# resp.instance_patch_states[0].failed_count #=> Integer
|
|
2241
2260
|
# resp.instance_patch_states[0].not_applicable_count #=> Integer
|
|
@@ -2303,9 +2322,11 @@ module Aws::SSM
|
|
|
2303
2322
|
# resp.instance_patch_states[0].patch_group #=> String
|
|
2304
2323
|
# resp.instance_patch_states[0].baseline_id #=> String
|
|
2305
2324
|
# resp.instance_patch_states[0].snapshot_id #=> String
|
|
2325
|
+
# resp.instance_patch_states[0].install_override_list #=> String
|
|
2306
2326
|
# resp.instance_patch_states[0].owner_information #=> String
|
|
2307
2327
|
# resp.instance_patch_states[0].installed_count #=> Integer
|
|
2308
2328
|
# resp.instance_patch_states[0].installed_other_count #=> Integer
|
|
2329
|
+
# resp.instance_patch_states[0].installed_rejected_count #=> Integer
|
|
2309
2330
|
# resp.instance_patch_states[0].missing_count #=> Integer
|
|
2310
2331
|
# resp.instance_patch_states[0].failed_count #=> Integer
|
|
2311
2332
|
# resp.instance_patch_states[0].not_applicable_count #=> Integer
|
|
@@ -2371,7 +2392,7 @@ module Aws::SSM
|
|
|
2371
2392
|
# resp.patches[0].kb_id #=> String
|
|
2372
2393
|
# resp.patches[0].classification #=> String
|
|
2373
2394
|
# resp.patches[0].severity #=> String
|
|
2374
|
-
# resp.patches[0].state #=> String, one of "INSTALLED", "INSTALLED_OTHER", "MISSING", "NOT_APPLICABLE", "FAILED"
|
|
2395
|
+
# resp.patches[0].state #=> String, one of "INSTALLED", "INSTALLED_OTHER", "INSTALLED_REJECTED", "MISSING", "NOT_APPLICABLE", "FAILED"
|
|
2375
2396
|
# resp.patches[0].installed_time #=> Time
|
|
2376
2397
|
# resp.next_token #=> String
|
|
2377
2398
|
#
|
|
@@ -2962,6 +2983,7 @@ module Aws::SSM
|
|
|
2962
2983
|
# * {Types::DescribePatchGroupStateResult#instances #instances} => Integer
|
|
2963
2984
|
# * {Types::DescribePatchGroupStateResult#instances_with_installed_patches #instances_with_installed_patches} => Integer
|
|
2964
2985
|
# * {Types::DescribePatchGroupStateResult#instances_with_installed_other_patches #instances_with_installed_other_patches} => Integer
|
|
2986
|
+
# * {Types::DescribePatchGroupStateResult#instances_with_installed_rejected_patches #instances_with_installed_rejected_patches} => Integer
|
|
2965
2987
|
# * {Types::DescribePatchGroupStateResult#instances_with_missing_patches #instances_with_missing_patches} => Integer
|
|
2966
2988
|
# * {Types::DescribePatchGroupStateResult#instances_with_failed_patches #instances_with_failed_patches} => Integer
|
|
2967
2989
|
# * {Types::DescribePatchGroupStateResult#instances_with_not_applicable_patches #instances_with_not_applicable_patches} => Integer
|
|
@@ -2977,6 +2999,7 @@ module Aws::SSM
|
|
|
2977
2999
|
# resp.instances #=> Integer
|
|
2978
3000
|
# resp.instances_with_installed_patches #=> Integer
|
|
2979
3001
|
# resp.instances_with_installed_other_patches #=> Integer
|
|
3002
|
+
# resp.instances_with_installed_rejected_patches #=> Integer
|
|
2980
3003
|
# resp.instances_with_missing_patches #=> Integer
|
|
2981
3004
|
# resp.instances_with_failed_patches #=> Integer
|
|
2982
3005
|
# resp.instances_with_not_applicable_patches #=> Integer
|
|
@@ -3046,7 +3069,7 @@ module Aws::SSM
|
|
|
3046
3069
|
#
|
|
3047
3070
|
# @option params [required, String] :state
|
|
3048
3071
|
# The session status to retrieve a list of sessions for. For example,
|
|
3049
|
-
# "
|
|
3072
|
+
# "Active".
|
|
3050
3073
|
#
|
|
3051
3074
|
# @option params [Integer] :max_results
|
|
3052
3075
|
# The maximum number of items to return for this call. The call also
|
|
@@ -4130,6 +4153,7 @@ module Aws::SSM
|
|
|
4130
4153
|
# * {Types::GetPatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
|
|
4131
4154
|
# * {Types::GetPatchBaselineResult#approved_patches_enable_non_security #approved_patches_enable_non_security} => Boolean
|
|
4132
4155
|
# * {Types::GetPatchBaselineResult#rejected_patches #rejected_patches} => Array<String>
|
|
4156
|
+
# * {Types::GetPatchBaselineResult#rejected_patches_action #rejected_patches_action} => String
|
|
4133
4157
|
# * {Types::GetPatchBaselineResult#patch_groups #patch_groups} => Array<String>
|
|
4134
4158
|
# * {Types::GetPatchBaselineResult#created_date #created_date} => Time
|
|
4135
4159
|
# * {Types::GetPatchBaselineResult#modified_date #modified_date} => Time
|
|
@@ -4165,6 +4189,7 @@ module Aws::SSM
|
|
|
4165
4189
|
# resp.approved_patches_enable_non_security #=> Boolean
|
|
4166
4190
|
# resp.rejected_patches #=> Array
|
|
4167
4191
|
# resp.rejected_patches[0] #=> String
|
|
4192
|
+
# resp.rejected_patches_action #=> String, one of "ALLOW_AS_DEPENDENCY", "BLOCK"
|
|
4168
4193
|
# resp.patch_groups #=> Array
|
|
4169
4194
|
# resp.patch_groups[0] #=> String
|
|
4170
4195
|
# resp.created_date #=> Time
|
|
@@ -7071,6 +7096,22 @@ module Aws::SSM
|
|
|
7071
7096
|
#
|
|
7072
7097
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
|
7073
7098
|
#
|
|
7099
|
+
# @option params [String] :rejected_patches_action
|
|
7100
|
+
# The action for Patch Manager to take on patches included in the
|
|
7101
|
+
# RejectedPackages list.
|
|
7102
|
+
#
|
|
7103
|
+
# * **ALLOW\_AS\_DEPENDENCY**\: A package in the Rejected patches list
|
|
7104
|
+
# is installed only if it is a dependency of another package. It is
|
|
7105
|
+
# considered compliant with the patch baseline, and its status is
|
|
7106
|
+
# reported as *InstalledOther*. This is the default action if no
|
|
7107
|
+
# option is specified.
|
|
7108
|
+
#
|
|
7109
|
+
# * **BLOCK**\: Packages in the RejectedPatches list, and packages that
|
|
7110
|
+
# include them as dependencies, are not installed under any
|
|
7111
|
+
# circumstances. If a package was installed before it was added to the
|
|
7112
|
+
# Rejected patches list, it is considered non-compliant with the patch
|
|
7113
|
+
# baseline, and its status is reported as *InstalledRejected*.
|
|
7114
|
+
#
|
|
7074
7115
|
# @option params [String] :description
|
|
7075
7116
|
# A description of the patch baseline.
|
|
7076
7117
|
#
|
|
@@ -7095,6 +7136,7 @@ module Aws::SSM
|
|
|
7095
7136
|
# * {Types::UpdatePatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
|
|
7096
7137
|
# * {Types::UpdatePatchBaselineResult#approved_patches_enable_non_security #approved_patches_enable_non_security} => Boolean
|
|
7097
7138
|
# * {Types::UpdatePatchBaselineResult#rejected_patches #rejected_patches} => Array<String>
|
|
7139
|
+
# * {Types::UpdatePatchBaselineResult#rejected_patches_action #rejected_patches_action} => String
|
|
7098
7140
|
# * {Types::UpdatePatchBaselineResult#created_date #created_date} => Time
|
|
7099
7141
|
# * {Types::UpdatePatchBaselineResult#modified_date #modified_date} => Time
|
|
7100
7142
|
# * {Types::UpdatePatchBaselineResult#description #description} => String
|
|
@@ -7134,6 +7176,7 @@ module Aws::SSM
|
|
|
7134
7176
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
|
7135
7177
|
# approved_patches_enable_non_security: false,
|
|
7136
7178
|
# rejected_patches: ["PatchId"],
|
|
7179
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
|
7137
7180
|
# description: "BaselineDescription",
|
|
7138
7181
|
# sources: [
|
|
7139
7182
|
# {
|
|
@@ -7168,6 +7211,7 @@ module Aws::SSM
|
|
|
7168
7211
|
# resp.approved_patches_enable_non_security #=> Boolean
|
|
7169
7212
|
# resp.rejected_patches #=> Array
|
|
7170
7213
|
# resp.rejected_patches[0] #=> String
|
|
7214
|
+
# resp.rejected_patches_action #=> String, one of "ALLOW_AS_DEPENDENCY", "BLOCK"
|
|
7171
7215
|
# resp.created_date #=> Time
|
|
7172
7216
|
# resp.modified_date #=> Time
|
|
7173
7217
|
# resp.description #=> String
|
|
@@ -7199,7 +7243,7 @@ module Aws::SSM
|
|
|
7199
7243
|
params: params,
|
|
7200
7244
|
config: config)
|
|
7201
7245
|
context[:gem_name] = 'aws-sdk-ssm'
|
|
7202
|
-
context[:gem_version] = '1.
|
|
7246
|
+
context[:gem_version] = '1.27.0'
|
|
7203
7247
|
Seahorse::Client::Request.new(handlers, context)
|
|
7204
7248
|
end
|
|
7205
7249
|
|
|
@@ -356,6 +356,7 @@ module Aws::SSM
|
|
|
356
356
|
IamRole = Shapes::StringShape.new(name: 'IamRole')
|
|
357
357
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
|
358
358
|
IdempotentParameterMismatch = Shapes::StructureShape.new(name: 'IdempotentParameterMismatch')
|
|
359
|
+
InstallOverrideList = Shapes::StringShape.new(name: 'InstallOverrideList')
|
|
359
360
|
InstanceAggregatedAssociationOverview = Shapes::StructureShape.new(name: 'InstanceAggregatedAssociationOverview')
|
|
360
361
|
InstanceAssociation = Shapes::StructureShape.new(name: 'InstanceAssociation')
|
|
361
362
|
InstanceAssociationExecutionSummary = Shapes::StringShape.new(name: 'InstanceAssociationExecutionSummary')
|
|
@@ -388,6 +389,7 @@ module Aws::SSM
|
|
|
388
389
|
InstancePatchStateOperatorType = Shapes::StringShape.new(name: 'InstancePatchStateOperatorType')
|
|
389
390
|
InstancePatchStatesList = Shapes::ListShape.new(name: 'InstancePatchStatesList')
|
|
390
391
|
InstanceTagName = Shapes::StringShape.new(name: 'InstanceTagName')
|
|
392
|
+
InstancesCount = Shapes::IntegerShape.new(name: 'InstancesCount')
|
|
391
393
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
392
394
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
|
393
395
|
InvalidActivation = Shapes::StructureShape.new(name: 'InvalidActivation')
|
|
@@ -635,6 +637,7 @@ module Aws::SSM
|
|
|
635
637
|
ParametersFilterValue = Shapes::StringShape.new(name: 'ParametersFilterValue')
|
|
636
638
|
ParametersFilterValueList = Shapes::ListShape.new(name: 'ParametersFilterValueList')
|
|
637
639
|
Patch = Shapes::StructureShape.new(name: 'Patch')
|
|
640
|
+
PatchAction = Shapes::StringShape.new(name: 'PatchAction')
|
|
638
641
|
PatchBaselineIdentity = Shapes::StructureShape.new(name: 'PatchBaselineIdentity')
|
|
639
642
|
PatchBaselineIdentityList = Shapes::ListShape.new(name: 'PatchBaselineIdentityList')
|
|
640
643
|
PatchBaselineMaxResults = Shapes::IntegerShape.new(name: 'PatchBaselineMaxResults')
|
|
@@ -662,6 +665,7 @@ module Aws::SSM
|
|
|
662
665
|
PatchIdList = Shapes::ListShape.new(name: 'PatchIdList')
|
|
663
666
|
PatchInstalledCount = Shapes::IntegerShape.new(name: 'PatchInstalledCount')
|
|
664
667
|
PatchInstalledOtherCount = Shapes::IntegerShape.new(name: 'PatchInstalledOtherCount')
|
|
668
|
+
PatchInstalledRejectedCount = Shapes::IntegerShape.new(name: 'PatchInstalledRejectedCount')
|
|
665
669
|
PatchKbNumber = Shapes::StringShape.new(name: 'PatchKbNumber')
|
|
666
670
|
PatchLanguage = Shapes::StringShape.new(name: 'PatchLanguage')
|
|
667
671
|
PatchList = Shapes::ListShape.new(name: 'PatchList')
|
|
@@ -1260,6 +1264,7 @@ module Aws::SSM
|
|
|
1260
1264
|
CreatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
|
1261
1265
|
CreatePatchBaselineRequest.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
|
1262
1266
|
CreatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
|
1267
|
+
CreatePatchBaselineRequest.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
|
1263
1268
|
CreatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
|
1264
1269
|
CreatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
|
1265
1270
|
CreatePatchBaselineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
|
@@ -1609,6 +1614,7 @@ module Aws::SSM
|
|
|
1609
1614
|
DescribePatchGroupStateResult.add_member(:instances, Shapes::ShapeRef.new(shape: Integer, location_name: "Instances"))
|
|
1610
1615
|
DescribePatchGroupStateResult.add_member(:instances_with_installed_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithInstalledPatches"))
|
|
1611
1616
|
DescribePatchGroupStateResult.add_member(:instances_with_installed_other_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithInstalledOtherPatches"))
|
|
1617
|
+
DescribePatchGroupStateResult.add_member(:instances_with_installed_rejected_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithInstalledRejectedPatches", metadata: {"box"=>true}))
|
|
1612
1618
|
DescribePatchGroupStateResult.add_member(:instances_with_missing_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithMissingPatches"))
|
|
1613
1619
|
DescribePatchGroupStateResult.add_member(:instances_with_failed_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithFailedPatches"))
|
|
1614
1620
|
DescribePatchGroupStateResult.add_member(:instances_with_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithNotApplicablePatches"))
|
|
@@ -1949,6 +1955,7 @@ module Aws::SSM
|
|
|
1949
1955
|
GetPatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
|
1950
1956
|
GetPatchBaselineResult.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
|
1951
1957
|
GetPatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
|
1958
|
+
GetPatchBaselineResult.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
|
1952
1959
|
GetPatchBaselineResult.add_member(:patch_groups, Shapes::ShapeRef.new(shape: PatchGroupList, location_name: "PatchGroups"))
|
|
1953
1960
|
GetPatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
|
|
1954
1961
|
GetPatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
|
|
@@ -2036,9 +2043,11 @@ module Aws::SSM
|
|
|
2036
2043
|
InstancePatchState.add_member(:patch_group, Shapes::ShapeRef.new(shape: PatchGroup, required: true, location_name: "PatchGroup"))
|
|
2037
2044
|
InstancePatchState.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
|
|
2038
2045
|
InstancePatchState.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
|
|
2046
|
+
InstancePatchState.add_member(:install_override_list, Shapes::ShapeRef.new(shape: InstallOverrideList, location_name: "InstallOverrideList"))
|
|
2039
2047
|
InstancePatchState.add_member(:owner_information, Shapes::ShapeRef.new(shape: OwnerInformation, location_name: "OwnerInformation"))
|
|
2040
2048
|
InstancePatchState.add_member(:installed_count, Shapes::ShapeRef.new(shape: PatchInstalledCount, location_name: "InstalledCount"))
|
|
2041
2049
|
InstancePatchState.add_member(:installed_other_count, Shapes::ShapeRef.new(shape: PatchInstalledOtherCount, location_name: "InstalledOtherCount"))
|
|
2050
|
+
InstancePatchState.add_member(:installed_rejected_count, Shapes::ShapeRef.new(shape: PatchInstalledRejectedCount, location_name: "InstalledRejectedCount", metadata: {"box"=>true}))
|
|
2042
2051
|
InstancePatchState.add_member(:missing_count, Shapes::ShapeRef.new(shape: PatchMissingCount, location_name: "MissingCount"))
|
|
2043
2052
|
InstancePatchState.add_member(:failed_count, Shapes::ShapeRef.new(shape: PatchFailedCount, location_name: "FailedCount"))
|
|
2044
2053
|
InstancePatchState.add_member(:not_applicable_count, Shapes::ShapeRef.new(shape: PatchNotApplicableCount, location_name: "NotApplicableCount"))
|
|
@@ -3017,6 +3026,7 @@ module Aws::SSM
|
|
|
3017
3026
|
UpdatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
|
3018
3027
|
UpdatePatchBaselineRequest.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
|
3019
3028
|
UpdatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
|
3029
|
+
UpdatePatchBaselineRequest.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
|
3020
3030
|
UpdatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
|
3021
3031
|
UpdatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
|
3022
3032
|
UpdatePatchBaselineRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
|
|
@@ -3031,6 +3041,7 @@ module Aws::SSM
|
|
|
3031
3041
|
UpdatePatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
|
3032
3042
|
UpdatePatchBaselineResult.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
|
3033
3043
|
UpdatePatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
|
3044
|
+
UpdatePatchBaselineResult.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
|
3034
3045
|
UpdatePatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
|
|
3035
3046
|
UpdatePatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
|
|
3036
3047
|
UpdatePatchBaselineResult.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
|
@@ -2247,6 +2247,7 @@ module Aws::SSM
|
|
|
2247
2247
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
|
2248
2248
|
# approved_patches_enable_non_security: false,
|
|
2249
2249
|
# rejected_patches: ["PatchId"],
|
|
2250
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
|
2250
2251
|
# description: "BaselineDescription",
|
|
2251
2252
|
# sources: [
|
|
2252
2253
|
# {
|
|
@@ -2311,6 +2312,23 @@ module Aws::SSM
|
|
|
2311
2312
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
|
2312
2313
|
# @return [Array<String>]
|
|
2313
2314
|
#
|
|
2315
|
+
# @!attribute [rw] rejected_patches_action
|
|
2316
|
+
# The action for Patch Manager to take on patches included in the
|
|
2317
|
+
# RejectedPackages list.
|
|
2318
|
+
#
|
|
2319
|
+
# * **ALLOW\_AS\_DEPENDENCY**\: A package in the Rejected patches list
|
|
2320
|
+
# is installed only if it is a dependency of another package. It is
|
|
2321
|
+
# considered compliant with the patch baseline, and its status is
|
|
2322
|
+
# reported as *InstalledOther*. This is the default action if no
|
|
2323
|
+
# option is specified.
|
|
2324
|
+
#
|
|
2325
|
+
# * **BLOCK**\: Packages in the RejectedPatches list, and packages
|
|
2326
|
+
# that include them as dependencies, are not installed under any
|
|
2327
|
+
# circumstances. If a package was installed before it was added to
|
|
2328
|
+
# the Rejected patches list, it is considered non-compliant with the
|
|
2329
|
+
# patch baseline, and its status is reported as *InstalledRejected*.
|
|
2330
|
+
# @return [String]
|
|
2331
|
+
#
|
|
2314
2332
|
# @!attribute [rw] description
|
|
2315
2333
|
# A description of the patch baseline.
|
|
2316
2334
|
# @return [String]
|
|
@@ -2339,6 +2357,7 @@ module Aws::SSM
|
|
|
2339
2357
|
:approved_patches_compliance_level,
|
|
2340
2358
|
:approved_patches_enable_non_security,
|
|
2341
2359
|
:rejected_patches,
|
|
2360
|
+
:rejected_patches_action,
|
|
2342
2361
|
:description,
|
|
2343
2362
|
:sources,
|
|
2344
2363
|
:client_token)
|
|
@@ -4386,6 +4405,19 @@ module Aws::SSM
|
|
|
4386
4405
|
# in the patch baseline.
|
|
4387
4406
|
# @return [Integer]
|
|
4388
4407
|
#
|
|
4408
|
+
# @!attribute [rw] instances_with_installed_rejected_patches
|
|
4409
|
+
# The number of instances with patches installed that are specified in
|
|
4410
|
+
# a RejectedPatches list. Patches with a status of *InstalledRejected*
|
|
4411
|
+
# were typically installed before they were added to a RejectedPatches
|
|
4412
|
+
# list.
|
|
4413
|
+
#
|
|
4414
|
+
# <note markdown="1"> If ALLOW\_AS\_DEPENDENCY is the specified option for
|
|
4415
|
+
# RejectedPatchesAction, the value of
|
|
4416
|
+
# InstancesWithInstalledRejectedPatches will always be 0 (zero).
|
|
4417
|
+
#
|
|
4418
|
+
# </note>
|
|
4419
|
+
# @return [Integer]
|
|
4420
|
+
#
|
|
4389
4421
|
# @!attribute [rw] instances_with_missing_patches
|
|
4390
4422
|
# The number of instances with missing patches from the patch
|
|
4391
4423
|
# baseline.
|
|
@@ -4406,6 +4438,7 @@ module Aws::SSM
|
|
|
4406
4438
|
:instances,
|
|
4407
4439
|
:instances_with_installed_patches,
|
|
4408
4440
|
:instances_with_installed_other_patches,
|
|
4441
|
+
:instances_with_installed_rejected_patches,
|
|
4409
4442
|
:instances_with_missing_patches,
|
|
4410
4443
|
:instances_with_failed_patches,
|
|
4411
4444
|
:instances_with_not_applicable_patches)
|
|
@@ -4488,7 +4521,7 @@ module Aws::SSM
|
|
|
4488
4521
|
#
|
|
4489
4522
|
# @!attribute [rw] state
|
|
4490
4523
|
# The session status to retrieve a list of sessions for. For example,
|
|
4491
|
-
# "
|
|
4524
|
+
# "Active".
|
|
4492
4525
|
# @return [String]
|
|
4493
4526
|
#
|
|
4494
4527
|
# @!attribute [rw] max_results
|
|
@@ -6342,6 +6375,13 @@ module Aws::SSM
|
|
|
6342
6375
|
# A list of explicitly rejected patches for the baseline.
|
|
6343
6376
|
# @return [Array<String>]
|
|
6344
6377
|
#
|
|
6378
|
+
# @!attribute [rw] rejected_patches_action
|
|
6379
|
+
# The action specified to take on patches included in the
|
|
6380
|
+
# RejectedPatches list. A patch can be allowed only if it is a
|
|
6381
|
+
# dependency of another package, or blocked entirely along with
|
|
6382
|
+
# packages that include it as a dependency.
|
|
6383
|
+
# @return [String]
|
|
6384
|
+
#
|
|
6345
6385
|
# @!attribute [rw] patch_groups
|
|
6346
6386
|
# Patch groups included in the patch baseline.
|
|
6347
6387
|
# @return [Array<String>]
|
|
@@ -6376,6 +6416,7 @@ module Aws::SSM
|
|
|
6376
6416
|
:approved_patches_compliance_level,
|
|
6377
6417
|
:approved_patches_enable_non_security,
|
|
6378
6418
|
:rejected_patches,
|
|
6419
|
+
:rejected_patches_action,
|
|
6379
6420
|
:patch_groups,
|
|
6380
6421
|
:created_date,
|
|
6381
6422
|
:modified_date,
|
|
@@ -6738,6 +6779,22 @@ module Aws::SSM
|
|
|
6738
6779
|
# operation when this compliance data was collected.
|
|
6739
6780
|
# @return [String]
|
|
6740
6781
|
#
|
|
6782
|
+
# @!attribute [rw] install_override_list
|
|
6783
|
+
# An https URL or an Amazon S3 path-style URL to a list of patches to
|
|
6784
|
+
# be installed. This patch installation list, which you maintain in an
|
|
6785
|
+
# Amazon S3 bucket in YAML format and specify in the SSM document
|
|
6786
|
+
# `AWS-RunPatchBaseline`, overrides the patches specified by the
|
|
6787
|
+
# default patch baseline.
|
|
6788
|
+
#
|
|
6789
|
+
# For more information about the `InstallOverrideList` parameter, see
|
|
6790
|
+
# [About the SSM Document AWS-RunPatchBaseline][1] in the *AWS Systems
|
|
6791
|
+
# Manager User Guide*.
|
|
6792
|
+
#
|
|
6793
|
+
#
|
|
6794
|
+
#
|
|
6795
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-about-aws-runpatchbaseline.html
|
|
6796
|
+
# @return [String]
|
|
6797
|
+
#
|
|
6741
6798
|
# @!attribute [rw] owner_information
|
|
6742
6799
|
# Placeholder information. This field will always be empty in the
|
|
6743
6800
|
# current release of the service.
|
|
@@ -6753,6 +6810,19 @@ module Aws::SSM
|
|
|
6753
6810
|
# installed on the instance.
|
|
6754
6811
|
# @return [Integer]
|
|
6755
6812
|
#
|
|
6813
|
+
# @!attribute [rw] installed_rejected_count
|
|
6814
|
+
# The number of instances with patches installed that are specified in
|
|
6815
|
+
# a RejectedPatches list. Patches with a status of *InstalledRejected*
|
|
6816
|
+
# were typically installed before they were added to a RejectedPatches
|
|
6817
|
+
# list.
|
|
6818
|
+
#
|
|
6819
|
+
# <note markdown="1"> If ALLOW\_AS\_DEPENDENCY is the specified option for
|
|
6820
|
+
# RejectedPatchesAction, the value of InstalledRejectedCount will
|
|
6821
|
+
# always be 0 (zero).
|
|
6822
|
+
#
|
|
6823
|
+
# </note>
|
|
6824
|
+
# @return [Integer]
|
|
6825
|
+
#
|
|
6756
6826
|
# @!attribute [rw] missing_count
|
|
6757
6827
|
# The number of patches from the patch baseline that are applicable
|
|
6758
6828
|
# for the instance but aren't currently installed.
|
|
@@ -6792,9 +6862,11 @@ module Aws::SSM
|
|
|
6792
6862
|
:patch_group,
|
|
6793
6863
|
:baseline_id,
|
|
6794
6864
|
:snapshot_id,
|
|
6865
|
+
:install_override_list,
|
|
6795
6866
|
:owner_information,
|
|
6796
6867
|
:installed_count,
|
|
6797
6868
|
:installed_other_count,
|
|
6869
|
+
:installed_rejected_count,
|
|
6798
6870
|
:missing_count,
|
|
6799
6871
|
:failed_count,
|
|
6800
6872
|
:not_applicable_count,
|
|
@@ -12702,6 +12774,7 @@ module Aws::SSM
|
|
|
12702
12774
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
|
12703
12775
|
# approved_patches_enable_non_security: false,
|
|
12704
12776
|
# rejected_patches: ["PatchId"],
|
|
12777
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
|
12705
12778
|
# description: "BaselineDescription",
|
|
12706
12779
|
# sources: [
|
|
12707
12780
|
# {
|
|
@@ -12764,6 +12837,23 @@ module Aws::SSM
|
|
|
12764
12837
|
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
|
12765
12838
|
# @return [Array<String>]
|
|
12766
12839
|
#
|
|
12840
|
+
# @!attribute [rw] rejected_patches_action
|
|
12841
|
+
# The action for Patch Manager to take on patches included in the
|
|
12842
|
+
# RejectedPackages list.
|
|
12843
|
+
#
|
|
12844
|
+
# * **ALLOW\_AS\_DEPENDENCY**\: A package in the Rejected patches list
|
|
12845
|
+
# is installed only if it is a dependency of another package. It is
|
|
12846
|
+
# considered compliant with the patch baseline, and its status is
|
|
12847
|
+
# reported as *InstalledOther*. This is the default action if no
|
|
12848
|
+
# option is specified.
|
|
12849
|
+
#
|
|
12850
|
+
# * **BLOCK**\: Packages in the RejectedPatches list, and packages
|
|
12851
|
+
# that include them as dependencies, are not installed under any
|
|
12852
|
+
# circumstances. If a package was installed before it was added to
|
|
12853
|
+
# the Rejected patches list, it is considered non-compliant with the
|
|
12854
|
+
# patch baseline, and its status is reported as *InstalledRejected*.
|
|
12855
|
+
# @return [String]
|
|
12856
|
+
#
|
|
12767
12857
|
# @!attribute [rw] description
|
|
12768
12858
|
# A description of the patch baseline.
|
|
12769
12859
|
# @return [String]
|
|
@@ -12791,6 +12881,7 @@ module Aws::SSM
|
|
|
12791
12881
|
:approved_patches_compliance_level,
|
|
12792
12882
|
:approved_patches_enable_non_security,
|
|
12793
12883
|
:rejected_patches,
|
|
12884
|
+
:rejected_patches_action,
|
|
12794
12885
|
:description,
|
|
12795
12886
|
:sources,
|
|
12796
12887
|
:replace)
|
|
@@ -12836,6 +12927,13 @@ module Aws::SSM
|
|
|
12836
12927
|
# A list of explicitly rejected patches for the baseline.
|
|
12837
12928
|
# @return [Array<String>]
|
|
12838
12929
|
#
|
|
12930
|
+
# @!attribute [rw] rejected_patches_action
|
|
12931
|
+
# The action specified to take on patches included in the
|
|
12932
|
+
# RejectedPatches list. A patch can be allowed only if it is a
|
|
12933
|
+
# dependency of another package, or blocked entirely along with
|
|
12934
|
+
# packages that include it as a dependency.
|
|
12935
|
+
# @return [String]
|
|
12936
|
+
#
|
|
12839
12937
|
# @!attribute [rw] created_date
|
|
12840
12938
|
# The date when the patch baseline was created.
|
|
12841
12939
|
# @return [Time]
|
|
@@ -12866,6 +12964,7 @@ module Aws::SSM
|
|
|
12866
12964
|
:approved_patches_compliance_level,
|
|
12867
12965
|
:approved_patches_enable_non_security,
|
|
12868
12966
|
:rejected_patches,
|
|
12967
|
+
:rejected_patches_action,
|
|
12869
12968
|
:created_date,
|
|
12870
12969
|
:modified_date,
|
|
12871
12970
|
:description,
|
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.27.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-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|