aws-sdk-ssm 1.6.0 → 1.7.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 +89 -10
- data/lib/aws-sdk-ssm/client_api.rb +25 -0
- data/lib/aws-sdk-ssm/types.rb +219 -7
- 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: 42a86c186aa086ad4e5a2a6d048f6a023507606c
|
4
|
+
data.tar.gz: 060d9550ea0bf5f5168e1b10b431008faa3ebbf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ba5870481364dc15372e316a9da7a52aba019490f7cd9f48d42941fec94876e13778e4c0234d28398ff65443aad24a59bb9ac65ec6a7019f9dca6caa11a7d16
|
7
|
+
data.tar.gz: e65fc3d25109a22575558b0cf6079fa900cdeeecba44024cbae84592303d52e0b910a1939aa005ec2782d380a3619adf590cd3fcb71fe21af4f7ad394d167855
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -543,6 +543,15 @@ module Aws::SSM
|
|
543
543
|
# @option params [required, String] :name
|
544
544
|
# A name for the Systems Manager document.
|
545
545
|
#
|
546
|
+
# Do not use the following to begin the names of documents you create.
|
547
|
+
# They are reserved by AWS for use as document prefixes:
|
548
|
+
#
|
549
|
+
# * `aws`
|
550
|
+
#
|
551
|
+
# * `amazon`
|
552
|
+
#
|
553
|
+
# * `amzn`
|
554
|
+
#
|
546
555
|
# @option params [String] :document_type
|
547
556
|
# The type of document to create. Valid document types include: Policy,
|
548
557
|
# Automation, and Command.
|
@@ -715,12 +724,22 @@ module Aws::SSM
|
|
715
724
|
# following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED.
|
716
725
|
# The default value is UNSPECIFIED.
|
717
726
|
#
|
727
|
+
# @option params [Boolean] :approved_patches_enable_non_security
|
728
|
+
# Indicates whether the list of approved patches includes non-security
|
729
|
+
# updates that should be applied to the instances. The default value is
|
730
|
+
# 'false'. Applies to Linux instances only.
|
731
|
+
#
|
718
732
|
# @option params [Array<String>] :rejected_patches
|
719
733
|
# A list of explicitly rejected patches for the baseline.
|
720
734
|
#
|
721
735
|
# @option params [String] :description
|
722
736
|
# A description of the patch baseline.
|
723
737
|
#
|
738
|
+
# @option params [Array<Types::PatchSource>] :sources
|
739
|
+
# Information about the patches to use to update the instances,
|
740
|
+
# including target operating systems and source repositories. Applies to
|
741
|
+
# Linux instances only.
|
742
|
+
#
|
724
743
|
# @option params [String] :client_token
|
725
744
|
# User-provided idempotency token.
|
726
745
|
#
|
@@ -734,7 +753,7 @@ module Aws::SSM
|
|
734
753
|
# @example Request syntax with placeholder values
|
735
754
|
#
|
736
755
|
# resp = client.create_patch_baseline({
|
737
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
756
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
738
757
|
# name: "BaselineName", # required
|
739
758
|
# global_filters: {
|
740
759
|
# patch_filters: [ # required
|
@@ -757,13 +776,22 @@ module Aws::SSM
|
|
757
776
|
# },
|
758
777
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
759
778
|
# approve_after_days: 1, # required
|
779
|
+
# enable_non_security: false,
|
760
780
|
# },
|
761
781
|
# ],
|
762
782
|
# },
|
763
783
|
# approved_patches: ["PatchId"],
|
764
784
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
785
|
+
# approved_patches_enable_non_security: false,
|
765
786
|
# rejected_patches: ["PatchId"],
|
766
787
|
# description: "BaselineDescription",
|
788
|
+
# sources: [
|
789
|
+
# {
|
790
|
+
# name: "PatchSourceName", # required
|
791
|
+
# products: ["PatchSourceProduct"], # required
|
792
|
+
# configuration: "PatchSourceConfiguration", # required
|
793
|
+
# },
|
794
|
+
# ],
|
767
795
|
# client_token: "ClientToken",
|
768
796
|
# })
|
769
797
|
#
|
@@ -2553,7 +2581,7 @@ module Aws::SSM
|
|
2553
2581
|
# resp.baseline_identities #=> Array
|
2554
2582
|
# resp.baseline_identities[0].baseline_id #=> String
|
2555
2583
|
# resp.baseline_identities[0].baseline_name #=> String
|
2556
|
-
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
2584
|
+
# resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
2557
2585
|
# resp.baseline_identities[0].baseline_description #=> String
|
2558
2586
|
# resp.baseline_identities[0].default_baseline #=> Boolean
|
2559
2587
|
# resp.next_token #=> String
|
@@ -2643,7 +2671,7 @@ module Aws::SSM
|
|
2643
2671
|
# resp.mappings[0].patch_group #=> String
|
2644
2672
|
# resp.mappings[0].baseline_identity.baseline_id #=> String
|
2645
2673
|
# resp.mappings[0].baseline_identity.baseline_name #=> String
|
2646
|
-
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
2674
|
+
# resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
2647
2675
|
# resp.mappings[0].baseline_identity.baseline_description #=> String
|
2648
2676
|
# resp.mappings[0].baseline_identity.default_baseline #=> Boolean
|
2649
2677
|
# resp.next_token #=> String
|
@@ -2826,13 +2854,13 @@ module Aws::SSM
|
|
2826
2854
|
# @example Request syntax with placeholder values
|
2827
2855
|
#
|
2828
2856
|
# resp = client.get_default_patch_baseline({
|
2829
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
2857
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
2830
2858
|
# })
|
2831
2859
|
#
|
2832
2860
|
# @example Response structure
|
2833
2861
|
#
|
2834
2862
|
# resp.baseline_id #=> String
|
2835
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
2863
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
2836
2864
|
#
|
2837
2865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
|
2838
2866
|
#
|
@@ -3593,11 +3621,13 @@ module Aws::SSM
|
|
3593
3621
|
# * {Types::GetPatchBaselineResult#approval_rules #approval_rules} => Types::PatchRuleGroup
|
3594
3622
|
# * {Types::GetPatchBaselineResult#approved_patches #approved_patches} => Array<String>
|
3595
3623
|
# * {Types::GetPatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
|
3624
|
+
# * {Types::GetPatchBaselineResult#approved_patches_enable_non_security #approved_patches_enable_non_security} => Boolean
|
3596
3625
|
# * {Types::GetPatchBaselineResult#rejected_patches #rejected_patches} => Array<String>
|
3597
3626
|
# * {Types::GetPatchBaselineResult#patch_groups #patch_groups} => Array<String>
|
3598
3627
|
# * {Types::GetPatchBaselineResult#created_date #created_date} => Time
|
3599
3628
|
# * {Types::GetPatchBaselineResult#modified_date #modified_date} => Time
|
3600
3629
|
# * {Types::GetPatchBaselineResult#description #description} => String
|
3630
|
+
# * {Types::GetPatchBaselineResult#sources #sources} => Array<Types::PatchSource>
|
3601
3631
|
#
|
3602
3632
|
# @example Request syntax with placeholder values
|
3603
3633
|
#
|
@@ -3609,7 +3639,7 @@ module Aws::SSM
|
|
3609
3639
|
#
|
3610
3640
|
# resp.baseline_id #=> String
|
3611
3641
|
# resp.name #=> String
|
3612
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
3642
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
3613
3643
|
# resp.global_filters.patch_filters #=> Array
|
3614
3644
|
# resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
|
3615
3645
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -3621,9 +3651,11 @@ module Aws::SSM
|
|
3621
3651
|
# resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values[0] #=> String
|
3622
3652
|
# resp.approval_rules.patch_rules[0].compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
|
3623
3653
|
# resp.approval_rules.patch_rules[0].approve_after_days #=> Integer
|
3654
|
+
# resp.approval_rules.patch_rules[0].enable_non_security #=> Boolean
|
3624
3655
|
# resp.approved_patches #=> Array
|
3625
3656
|
# resp.approved_patches[0] #=> String
|
3626
3657
|
# resp.approved_patches_compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
|
3658
|
+
# resp.approved_patches_enable_non_security #=> Boolean
|
3627
3659
|
# resp.rejected_patches #=> Array
|
3628
3660
|
# resp.rejected_patches[0] #=> String
|
3629
3661
|
# resp.patch_groups #=> Array
|
@@ -3631,6 +3663,11 @@ module Aws::SSM
|
|
3631
3663
|
# resp.created_date #=> Time
|
3632
3664
|
# resp.modified_date #=> Time
|
3633
3665
|
# resp.description #=> String
|
3666
|
+
# resp.sources #=> Array
|
3667
|
+
# resp.sources[0].name #=> String
|
3668
|
+
# resp.sources[0].products #=> Array
|
3669
|
+
# resp.sources[0].products[0] #=> String
|
3670
|
+
# resp.sources[0].configuration #=> String
|
3634
3671
|
#
|
3635
3672
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline AWS API Documentation
|
3636
3673
|
#
|
@@ -3661,14 +3698,14 @@ module Aws::SSM
|
|
3661
3698
|
#
|
3662
3699
|
# resp = client.get_patch_baseline_for_patch_group({
|
3663
3700
|
# patch_group: "PatchGroup", # required
|
3664
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
3701
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
3665
3702
|
# })
|
3666
3703
|
#
|
3667
3704
|
# @example Response structure
|
3668
3705
|
#
|
3669
3706
|
# resp.baseline_id #=> String
|
3670
3707
|
# resp.patch_group #=> String
|
3671
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
3708
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
3672
3709
|
#
|
3673
3710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
|
3674
3711
|
#
|
@@ -4670,6 +4707,10 @@ module Aws::SSM
|
|
4670
4707
|
# the parameter path and name. For example:
|
4671
4708
|
# `/Dev/DBServer/MySQL/db-string13`
|
4672
4709
|
#
|
4710
|
+
# For information about parameter name requirements and restrictions,
|
4711
|
+
# see [About Creating Systems Manager Parameters][1] in the *AWS Systems
|
4712
|
+
# Manager User Guide*.
|
4713
|
+
#
|
4673
4714
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
4674
4715
|
# additional system attributes that are not part of the name. The
|
4675
4716
|
# maximum length for the fully qualified parameter name is 1011
|
@@ -4677,6 +4718,10 @@ module Aws::SSM
|
|
4677
4718
|
#
|
4678
4719
|
# </note>
|
4679
4720
|
#
|
4721
|
+
#
|
4722
|
+
#
|
4723
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramstore-su-create-about
|
4724
|
+
#
|
4680
4725
|
# @option params [String] :description
|
4681
4726
|
# Information about the parameter that you want to add to the system.
|
4682
4727
|
#
|
@@ -6075,12 +6120,27 @@ module Aws::SSM
|
|
6075
6120
|
# @option params [String] :approved_patches_compliance_level
|
6076
6121
|
# Assigns a new compliance severity level to an existing patch baseline.
|
6077
6122
|
#
|
6123
|
+
# @option params [Boolean] :approved_patches_enable_non_security
|
6124
|
+
# Indicates whether the list of approved patches includes non-security
|
6125
|
+
# updates that should be applied to the instances. The default value is
|
6126
|
+
# 'false'. Applies to Linux instances only.
|
6127
|
+
#
|
6078
6128
|
# @option params [Array<String>] :rejected_patches
|
6079
6129
|
# A list of explicitly rejected patches for the baseline.
|
6080
6130
|
#
|
6081
6131
|
# @option params [String] :description
|
6082
6132
|
# A description of the patch baseline.
|
6083
6133
|
#
|
6134
|
+
# @option params [Array<Types::PatchSource>] :sources
|
6135
|
+
# Information about the patches to use to update the instances,
|
6136
|
+
# including target operating systems and source repositories. Applies to
|
6137
|
+
# Linux instances only.
|
6138
|
+
#
|
6139
|
+
# @option params [Boolean] :replace
|
6140
|
+
# If True, then all fields that are required by the CreatePatchBaseline
|
6141
|
+
# action are also required for this API request. Optional fields that
|
6142
|
+
# are not specified are set to null.
|
6143
|
+
#
|
6084
6144
|
# @return [Types::UpdatePatchBaselineResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6085
6145
|
#
|
6086
6146
|
# * {Types::UpdatePatchBaselineResult#baseline_id #baseline_id} => String
|
@@ -6090,10 +6150,12 @@ module Aws::SSM
|
|
6090
6150
|
# * {Types::UpdatePatchBaselineResult#approval_rules #approval_rules} => Types::PatchRuleGroup
|
6091
6151
|
# * {Types::UpdatePatchBaselineResult#approved_patches #approved_patches} => Array<String>
|
6092
6152
|
# * {Types::UpdatePatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
|
6153
|
+
# * {Types::UpdatePatchBaselineResult#approved_patches_enable_non_security #approved_patches_enable_non_security} => Boolean
|
6093
6154
|
# * {Types::UpdatePatchBaselineResult#rejected_patches #rejected_patches} => Array<String>
|
6094
6155
|
# * {Types::UpdatePatchBaselineResult#created_date #created_date} => Time
|
6095
6156
|
# * {Types::UpdatePatchBaselineResult#modified_date #modified_date} => Time
|
6096
6157
|
# * {Types::UpdatePatchBaselineResult#description #description} => String
|
6158
|
+
# * {Types::UpdatePatchBaselineResult#sources #sources} => Array<Types::PatchSource>
|
6097
6159
|
#
|
6098
6160
|
# @example Request syntax with placeholder values
|
6099
6161
|
#
|
@@ -6121,20 +6183,30 @@ module Aws::SSM
|
|
6121
6183
|
# },
|
6122
6184
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
6123
6185
|
# approve_after_days: 1, # required
|
6186
|
+
# enable_non_security: false,
|
6124
6187
|
# },
|
6125
6188
|
# ],
|
6126
6189
|
# },
|
6127
6190
|
# approved_patches: ["PatchId"],
|
6128
6191
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
6192
|
+
# approved_patches_enable_non_security: false,
|
6129
6193
|
# rejected_patches: ["PatchId"],
|
6130
6194
|
# description: "BaselineDescription",
|
6195
|
+
# sources: [
|
6196
|
+
# {
|
6197
|
+
# name: "PatchSourceName", # required
|
6198
|
+
# products: ["PatchSourceProduct"], # required
|
6199
|
+
# configuration: "PatchSourceConfiguration", # required
|
6200
|
+
# },
|
6201
|
+
# ],
|
6202
|
+
# replace: false,
|
6131
6203
|
# })
|
6132
6204
|
#
|
6133
6205
|
# @example Response structure
|
6134
6206
|
#
|
6135
6207
|
# resp.baseline_id #=> String
|
6136
6208
|
# resp.name #=> String
|
6137
|
-
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
|
6209
|
+
# resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX", "SUSE"
|
6138
6210
|
# resp.global_filters.patch_filters #=> Array
|
6139
6211
|
# resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
|
6140
6212
|
# resp.global_filters.patch_filters[0].values #=> Array
|
@@ -6146,14 +6218,21 @@ module Aws::SSM
|
|
6146
6218
|
# resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values[0] #=> String
|
6147
6219
|
# resp.approval_rules.patch_rules[0].compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
|
6148
6220
|
# resp.approval_rules.patch_rules[0].approve_after_days #=> Integer
|
6221
|
+
# resp.approval_rules.patch_rules[0].enable_non_security #=> Boolean
|
6149
6222
|
# resp.approved_patches #=> Array
|
6150
6223
|
# resp.approved_patches[0] #=> String
|
6151
6224
|
# resp.approved_patches_compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
|
6225
|
+
# resp.approved_patches_enable_non_security #=> Boolean
|
6152
6226
|
# resp.rejected_patches #=> Array
|
6153
6227
|
# resp.rejected_patches[0] #=> String
|
6154
6228
|
# resp.created_date #=> Time
|
6155
6229
|
# resp.modified_date #=> Time
|
6156
6230
|
# resp.description #=> String
|
6231
|
+
# resp.sources #=> Array
|
6232
|
+
# resp.sources[0].name #=> String
|
6233
|
+
# resp.sources[0].products #=> Array
|
6234
|
+
# resp.sources[0].products[0] #=> String
|
6235
|
+
# resp.sources[0].configuration #=> String
|
6157
6236
|
#
|
6158
6237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline AWS API Documentation
|
6159
6238
|
#
|
@@ -6177,7 +6256,7 @@ module Aws::SSM
|
|
6177
6256
|
params: params,
|
6178
6257
|
config: config)
|
6179
6258
|
context[:gem_name] = 'aws-sdk-ssm'
|
6180
|
-
context[:gem_version] = '1.
|
6259
|
+
context[:gem_version] = '1.7.0'
|
6181
6260
|
Seahorse::Client::Request.new(handlers, context)
|
6182
6261
|
end
|
6183
6262
|
|
@@ -614,6 +614,12 @@ module Aws::SSM
|
|
614
614
|
PatchRuleGroup = Shapes::StructureShape.new(name: 'PatchRuleGroup')
|
615
615
|
PatchRuleList = Shapes::ListShape.new(name: 'PatchRuleList')
|
616
616
|
PatchSeverity = Shapes::StringShape.new(name: 'PatchSeverity')
|
617
|
+
PatchSource = Shapes::StructureShape.new(name: 'PatchSource')
|
618
|
+
PatchSourceConfiguration = Shapes::StringShape.new(name: 'PatchSourceConfiguration')
|
619
|
+
PatchSourceList = Shapes::ListShape.new(name: 'PatchSourceList')
|
620
|
+
PatchSourceName = Shapes::StringShape.new(name: 'PatchSourceName')
|
621
|
+
PatchSourceProduct = Shapes::StringShape.new(name: 'PatchSourceProduct')
|
622
|
+
PatchSourceProductList = Shapes::ListShape.new(name: 'PatchSourceProductList')
|
617
623
|
PatchStatus = Shapes::StructureShape.new(name: 'PatchStatus')
|
618
624
|
PatchTitle = Shapes::StringShape.new(name: 'PatchTitle')
|
619
625
|
PatchVendor = Shapes::StringShape.new(name: 'PatchVendor')
|
@@ -1091,8 +1097,10 @@ module Aws::SSM
|
|
1091
1097
|
CreatePatchBaselineRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
1092
1098
|
CreatePatchBaselineRequest.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
1093
1099
|
CreatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
1100
|
+
CreatePatchBaselineRequest.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
1094
1101
|
CreatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
1095
1102
|
CreatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
1103
|
+
CreatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
1096
1104
|
CreatePatchBaselineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1097
1105
|
CreatePatchBaselineRequest.struct_class = Types::CreatePatchBaselineRequest
|
1098
1106
|
|
@@ -1718,11 +1726,13 @@ module Aws::SSM
|
|
1718
1726
|
GetPatchBaselineResult.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
1719
1727
|
GetPatchBaselineResult.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
1720
1728
|
GetPatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
1729
|
+
GetPatchBaselineResult.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
1721
1730
|
GetPatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
1722
1731
|
GetPatchBaselineResult.add_member(:patch_groups, Shapes::ShapeRef.new(shape: PatchGroupList, location_name: "PatchGroups"))
|
1723
1732
|
GetPatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
|
1724
1733
|
GetPatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
|
1725
1734
|
GetPatchBaselineResult.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
1735
|
+
GetPatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
1726
1736
|
GetPatchBaselineResult.struct_class = Types::GetPatchBaselineResult
|
1727
1737
|
|
1728
1738
|
InstanceAggregatedAssociationOverview.add_member(:detailed_status, Shapes::ShapeRef.new(shape: StatusName, location_name: "DetailedStatus"))
|
@@ -2291,6 +2301,7 @@ module Aws::SSM
|
|
2291
2301
|
PatchRule.add_member(:patch_filter_group, Shapes::ShapeRef.new(shape: PatchFilterGroup, required: true, location_name: "PatchFilterGroup"))
|
2292
2302
|
PatchRule.add_member(:compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ComplianceLevel"))
|
2293
2303
|
PatchRule.add_member(:approve_after_days, Shapes::ShapeRef.new(shape: ApproveAfterDays, required: true, location_name: "ApproveAfterDays", metadata: {"box"=>true}))
|
2304
|
+
PatchRule.add_member(:enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableNonSecurity", metadata: {"box"=>true}))
|
2294
2305
|
PatchRule.struct_class = Types::PatchRule
|
2295
2306
|
|
2296
2307
|
PatchRuleGroup.add_member(:patch_rules, Shapes::ShapeRef.new(shape: PatchRuleList, required: true, location_name: "PatchRules"))
|
@@ -2298,6 +2309,15 @@ module Aws::SSM
|
|
2298
2309
|
|
2299
2310
|
PatchRuleList.member = Shapes::ShapeRef.new(shape: PatchRule)
|
2300
2311
|
|
2312
|
+
PatchSource.add_member(:name, Shapes::ShapeRef.new(shape: PatchSourceName, required: true, location_name: "Name"))
|
2313
|
+
PatchSource.add_member(:products, Shapes::ShapeRef.new(shape: PatchSourceProductList, required: true, location_name: "Products"))
|
2314
|
+
PatchSource.add_member(:configuration, Shapes::ShapeRef.new(shape: PatchSourceConfiguration, required: true, location_name: "Configuration"))
|
2315
|
+
PatchSource.struct_class = Types::PatchSource
|
2316
|
+
|
2317
|
+
PatchSourceList.member = Shapes::ShapeRef.new(shape: PatchSource)
|
2318
|
+
|
2319
|
+
PatchSourceProductList.member = Shapes::ShapeRef.new(shape: PatchSourceProduct)
|
2320
|
+
|
2301
2321
|
PatchStatus.add_member(:deployment_status, Shapes::ShapeRef.new(shape: PatchDeploymentStatus, location_name: "DeploymentStatus"))
|
2302
2322
|
PatchStatus.add_member(:compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ComplianceLevel"))
|
2303
2323
|
PatchStatus.add_member(:approval_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ApprovalDate"))
|
@@ -2652,8 +2672,11 @@ module Aws::SSM
|
|
2652
2672
|
UpdatePatchBaselineRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
2653
2673
|
UpdatePatchBaselineRequest.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
2654
2674
|
UpdatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
2675
|
+
UpdatePatchBaselineRequest.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
2655
2676
|
UpdatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
2656
2677
|
UpdatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
2678
|
+
UpdatePatchBaselineRequest.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
2679
|
+
UpdatePatchBaselineRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace", metadata: {"box"=>true}))
|
2657
2680
|
UpdatePatchBaselineRequest.struct_class = Types::UpdatePatchBaselineRequest
|
2658
2681
|
|
2659
2682
|
UpdatePatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
|
@@ -2663,10 +2686,12 @@ module Aws::SSM
|
|
2663
2686
|
UpdatePatchBaselineResult.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
2664
2687
|
UpdatePatchBaselineResult.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
2665
2688
|
UpdatePatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
2689
|
+
UpdatePatchBaselineResult.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity", metadata: {"box"=>true}))
|
2666
2690
|
UpdatePatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
2667
2691
|
UpdatePatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
|
2668
2692
|
UpdatePatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
|
2669
2693
|
UpdatePatchBaselineResult.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
|
2694
|
+
UpdatePatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
2670
2695
|
UpdatePatchBaselineResult.struct_class = Types::UpdatePatchBaselineResult
|
2671
2696
|
|
2672
2697
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1774,6 +1774,15 @@ module Aws::SSM
|
|
1774
1774
|
#
|
1775
1775
|
# @!attribute [rw] name
|
1776
1776
|
# A name for the Systems Manager document.
|
1777
|
+
#
|
1778
|
+
# Do not use the following to begin the names of documents you create.
|
1779
|
+
# They are reserved by AWS for use as document prefixes:
|
1780
|
+
#
|
1781
|
+
# * `aws`
|
1782
|
+
#
|
1783
|
+
# * `amazon`
|
1784
|
+
#
|
1785
|
+
# * `amzn`
|
1777
1786
|
# @return [String]
|
1778
1787
|
#
|
1779
1788
|
# @!attribute [rw] document_type
|
@@ -1905,7 +1914,7 @@ module Aws::SSM
|
|
1905
1914
|
# data as a hash:
|
1906
1915
|
#
|
1907
1916
|
# {
|
1908
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
1917
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
1909
1918
|
# name: "BaselineName", # required
|
1910
1919
|
# global_filters: {
|
1911
1920
|
# patch_filters: [ # required
|
@@ -1928,13 +1937,22 @@ module Aws::SSM
|
|
1928
1937
|
# },
|
1929
1938
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1930
1939
|
# approve_after_days: 1, # required
|
1940
|
+
# enable_non_security: false,
|
1931
1941
|
# },
|
1932
1942
|
# ],
|
1933
1943
|
# },
|
1934
1944
|
# approved_patches: ["PatchId"],
|
1935
1945
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1946
|
+
# approved_patches_enable_non_security: false,
|
1936
1947
|
# rejected_patches: ["PatchId"],
|
1937
1948
|
# description: "BaselineDescription",
|
1949
|
+
# sources: [
|
1950
|
+
# {
|
1951
|
+
# name: "PatchSourceName", # required
|
1952
|
+
# products: ["PatchSourceProduct"], # required
|
1953
|
+
# configuration: "PatchSourceConfiguration", # required
|
1954
|
+
# },
|
1955
|
+
# ],
|
1938
1956
|
# client_token: "ClientToken",
|
1939
1957
|
# }
|
1940
1958
|
#
|
@@ -1967,6 +1985,12 @@ module Aws::SSM
|
|
1967
1985
|
# UNSPECIFIED. The default value is UNSPECIFIED.
|
1968
1986
|
# @return [String]
|
1969
1987
|
#
|
1988
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
1989
|
+
# Indicates whether the list of approved patches includes non-security
|
1990
|
+
# updates that should be applied to the instances. The default value
|
1991
|
+
# is 'false'. Applies to Linux instances only.
|
1992
|
+
# @return [Boolean]
|
1993
|
+
#
|
1970
1994
|
# @!attribute [rw] rejected_patches
|
1971
1995
|
# A list of explicitly rejected patches for the baseline.
|
1972
1996
|
# @return [Array<String>]
|
@@ -1975,6 +1999,12 @@ module Aws::SSM
|
|
1975
1999
|
# A description of the patch baseline.
|
1976
2000
|
# @return [String]
|
1977
2001
|
#
|
2002
|
+
# @!attribute [rw] sources
|
2003
|
+
# Information about the patches to use to update the instances,
|
2004
|
+
# including target operating systems and source repositories. Applies
|
2005
|
+
# to Linux instances only.
|
2006
|
+
# @return [Array<Types::PatchSource>]
|
2007
|
+
#
|
1978
2008
|
# @!attribute [rw] client_token
|
1979
2009
|
# User-provided idempotency token.
|
1980
2010
|
#
|
@@ -1991,8 +2021,10 @@ module Aws::SSM
|
|
1991
2021
|
:approval_rules,
|
1992
2022
|
:approved_patches,
|
1993
2023
|
:approved_patches_compliance_level,
|
2024
|
+
:approved_patches_enable_non_security,
|
1994
2025
|
:rejected_patches,
|
1995
2026
|
:description,
|
2027
|
+
:sources,
|
1996
2028
|
:client_token)
|
1997
2029
|
include Aws::Structure
|
1998
2030
|
end
|
@@ -4486,7 +4518,7 @@ module Aws::SSM
|
|
4486
4518
|
# data as a hash:
|
4487
4519
|
#
|
4488
4520
|
# {
|
4489
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
4521
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
4490
4522
|
# }
|
4491
4523
|
#
|
4492
4524
|
# @!attribute [rw] operating_system
|
@@ -5447,7 +5479,7 @@ module Aws::SSM
|
|
5447
5479
|
#
|
5448
5480
|
# {
|
5449
5481
|
# patch_group: "PatchGroup", # required
|
5450
|
-
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
|
5482
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE
|
5451
5483
|
# }
|
5452
5484
|
#
|
5453
5485
|
# @!attribute [rw] patch_group
|
@@ -5538,6 +5570,12 @@ module Aws::SSM
|
|
5538
5570
|
# in the patch baseline.
|
5539
5571
|
# @return [String]
|
5540
5572
|
#
|
5573
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
5574
|
+
# Indicates whether the list of approved patches includes non-security
|
5575
|
+
# updates that should be applied to the instances. The default value
|
5576
|
+
# is 'false'. Applies to Linux instances only.
|
5577
|
+
# @return [Boolean]
|
5578
|
+
#
|
5541
5579
|
# @!attribute [rw] rejected_patches
|
5542
5580
|
# A list of explicitly rejected patches for the baseline.
|
5543
5581
|
# @return [Array<String>]
|
@@ -5558,6 +5596,12 @@ module Aws::SSM
|
|
5558
5596
|
# A description of the patch baseline.
|
5559
5597
|
# @return [String]
|
5560
5598
|
#
|
5599
|
+
# @!attribute [rw] sources
|
5600
|
+
# Information about the patches to use to update the instances,
|
5601
|
+
# including target operating systems and source repositories. Applies
|
5602
|
+
# to Linux instances only.
|
5603
|
+
# @return [Array<Types::PatchSource>]
|
5604
|
+
#
|
5561
5605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineResult AWS API Documentation
|
5562
5606
|
#
|
5563
5607
|
class GetPatchBaselineResult < Struct.new(
|
@@ -5568,11 +5612,13 @@ module Aws::SSM
|
|
5568
5612
|
:approval_rules,
|
5569
5613
|
:approved_patches,
|
5570
5614
|
:approved_patches_compliance_level,
|
5615
|
+
:approved_patches_enable_non_security,
|
5571
5616
|
:rejected_patches,
|
5572
5617
|
:patch_groups,
|
5573
5618
|
:created_date,
|
5574
5619
|
:modified_date,
|
5575
|
-
:description
|
5620
|
+
:description,
|
5621
|
+
:sources)
|
5576
5622
|
include Aws::Structure
|
5577
5623
|
end
|
5578
5624
|
|
@@ -8351,6 +8397,64 @@ module Aws::SSM
|
|
8351
8397
|
#
|
8352
8398
|
# * `Low`
|
8353
8399
|
#
|
8400
|
+
# **SUSE Linux Enterprise Server (SUSE) Operating Systems**
|
8401
|
+
#
|
8402
|
+
# The supported keys for SUSE operating systems are `PRODUCT`,
|
8403
|
+
# `CLASSIFICATION`, and `SEVERITY`. See the following lists for valid
|
8404
|
+
# values for each of these keys.
|
8405
|
+
#
|
8406
|
+
# *Supported key:* `PRODUCT`
|
8407
|
+
#
|
8408
|
+
# *Supported values:*
|
8409
|
+
#
|
8410
|
+
# * `Suse12.0`
|
8411
|
+
#
|
8412
|
+
# * `Suse12.1`
|
8413
|
+
#
|
8414
|
+
# * `Suse12.2`
|
8415
|
+
#
|
8416
|
+
# * `Suse12.3`
|
8417
|
+
#
|
8418
|
+
# * `Suse12.4`
|
8419
|
+
#
|
8420
|
+
# * `Suse12.5`
|
8421
|
+
#
|
8422
|
+
# * `Suse12.6`
|
8423
|
+
#
|
8424
|
+
# * `Suse12.7`
|
8425
|
+
#
|
8426
|
+
# * `Suse12.8`
|
8427
|
+
#
|
8428
|
+
# * `Suse12.9`
|
8429
|
+
#
|
8430
|
+
# *Supported key:* `CLASSIFICATION`
|
8431
|
+
#
|
8432
|
+
# *Supported values:*
|
8433
|
+
#
|
8434
|
+
# * `Security`
|
8435
|
+
#
|
8436
|
+
# * `Recommended`
|
8437
|
+
#
|
8438
|
+
# * `Optional`
|
8439
|
+
#
|
8440
|
+
# * `Feature`
|
8441
|
+
#
|
8442
|
+
# * `Document`
|
8443
|
+
#
|
8444
|
+
# * `Yast`
|
8445
|
+
#
|
8446
|
+
# *Supported key:* `SEVERITY`
|
8447
|
+
#
|
8448
|
+
# *Supported values:*
|
8449
|
+
#
|
8450
|
+
# * `Critical`
|
8451
|
+
#
|
8452
|
+
# * `Important`
|
8453
|
+
#
|
8454
|
+
# * `Moderate`
|
8455
|
+
#
|
8456
|
+
# * `Low`
|
8457
|
+
#
|
8354
8458
|
# @note When making an API call, you may pass PatchFilter
|
8355
8459
|
# data as a hash:
|
8356
8460
|
#
|
@@ -8467,6 +8571,7 @@ module Aws::SSM
|
|
8467
8571
|
# },
|
8468
8572
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
8469
8573
|
# approve_after_days: 1, # required
|
8574
|
+
# enable_non_security: false,
|
8470
8575
|
# }
|
8471
8576
|
#
|
8472
8577
|
# @!attribute [rw] patch_filter_group
|
@@ -8484,12 +8589,20 @@ module Aws::SSM
|
|
8484
8589
|
# the rule the patch is marked as approved in the patch baseline.
|
8485
8590
|
# @return [Integer]
|
8486
8591
|
#
|
8592
|
+
# @!attribute [rw] enable_non_security
|
8593
|
+
# For instances identified by the approval rule filters, enables a
|
8594
|
+
# patch baseline to apply non-security updates available in the
|
8595
|
+
# specified repository. The default value is 'false'. Applies to
|
8596
|
+
# Linux instances only.
|
8597
|
+
# @return [Boolean]
|
8598
|
+
#
|
8487
8599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRule AWS API Documentation
|
8488
8600
|
#
|
8489
8601
|
class PatchRule < Struct.new(
|
8490
8602
|
:patch_filter_group,
|
8491
8603
|
:compliance_level,
|
8492
|
-
:approve_after_days
|
8604
|
+
:approve_after_days,
|
8605
|
+
:enable_non_security)
|
8493
8606
|
include Aws::Structure
|
8494
8607
|
end
|
8495
8608
|
|
@@ -8511,6 +8624,7 @@ module Aws::SSM
|
|
8511
8624
|
# },
|
8512
8625
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
8513
8626
|
# approve_after_days: 1, # required
|
8627
|
+
# enable_non_security: false,
|
8514
8628
|
# },
|
8515
8629
|
# ],
|
8516
8630
|
# }
|
@@ -8526,6 +8640,51 @@ module Aws::SSM
|
|
8526
8640
|
include Aws::Structure
|
8527
8641
|
end
|
8528
8642
|
|
8643
|
+
# Information about the patches to use to update the instances,
|
8644
|
+
# including target operating systems and source repository. Applies to
|
8645
|
+
# Linux instances only.
|
8646
|
+
#
|
8647
|
+
# @note When making an API call, you may pass PatchSource
|
8648
|
+
# data as a hash:
|
8649
|
+
#
|
8650
|
+
# {
|
8651
|
+
# name: "PatchSourceName", # required
|
8652
|
+
# products: ["PatchSourceProduct"], # required
|
8653
|
+
# configuration: "PatchSourceConfiguration", # required
|
8654
|
+
# }
|
8655
|
+
#
|
8656
|
+
# @!attribute [rw] name
|
8657
|
+
# The name specified to identify the patch source.
|
8658
|
+
# @return [String]
|
8659
|
+
#
|
8660
|
+
# @!attribute [rw] products
|
8661
|
+
# The specific operating system versions a patch repository applies
|
8662
|
+
# to, such as "Ubuntu16.04", "AmazonLinux2016.09",
|
8663
|
+
# "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported
|
8664
|
+
# product values, see PatchFilter.
|
8665
|
+
# @return [Array<String>]
|
8666
|
+
#
|
8667
|
+
# @!attribute [rw] configuration
|
8668
|
+
# The value of the yum repo configuration. For example:
|
8669
|
+
#
|
8670
|
+
# `cachedir=/var/cache/yum/$basesearch`
|
8671
|
+
#
|
8672
|
+
# `$releasever`
|
8673
|
+
#
|
8674
|
+
# `keepcache=0`
|
8675
|
+
#
|
8676
|
+
# `debualevel=2`
|
8677
|
+
# @return [String]
|
8678
|
+
#
|
8679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchSource AWS API Documentation
|
8680
|
+
#
|
8681
|
+
class PatchSource < Struct.new(
|
8682
|
+
:name,
|
8683
|
+
:products,
|
8684
|
+
:configuration)
|
8685
|
+
include Aws::Structure
|
8686
|
+
end
|
8687
|
+
|
8529
8688
|
# Information about the approval status of a patch.
|
8530
8689
|
#
|
8531
8690
|
# @!attribute [rw] deployment_status
|
@@ -8691,12 +8850,20 @@ module Aws::SSM
|
|
8691
8850
|
# of the parameter path and name. For example:
|
8692
8851
|
# `/Dev/DBServer/MySQL/db-string13`
|
8693
8852
|
#
|
8853
|
+
# For information about parameter name requirements and restrictions,
|
8854
|
+
# see [About Creating Systems Manager Parameters][1] in the *AWS
|
8855
|
+
# Systems Manager User Guide*.
|
8856
|
+
#
|
8694
8857
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
8695
8858
|
# additional system attributes that are not part of the name. The
|
8696
8859
|
# maximum length for the fully qualified parameter name is 1011
|
8697
8860
|
# characters.
|
8698
8861
|
#
|
8699
8862
|
# </note>
|
8863
|
+
#
|
8864
|
+
#
|
8865
|
+
#
|
8866
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramstore-su-create-about
|
8700
8867
|
# @return [String]
|
8701
8868
|
#
|
8702
8869
|
# @!attribute [rw] description
|
@@ -10682,13 +10849,23 @@ module Aws::SSM
|
|
10682
10849
|
# },
|
10683
10850
|
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
10684
10851
|
# approve_after_days: 1, # required
|
10852
|
+
# enable_non_security: false,
|
10685
10853
|
# },
|
10686
10854
|
# ],
|
10687
10855
|
# },
|
10688
10856
|
# approved_patches: ["PatchId"],
|
10689
10857
|
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
10858
|
+
# approved_patches_enable_non_security: false,
|
10690
10859
|
# rejected_patches: ["PatchId"],
|
10691
10860
|
# description: "BaselineDescription",
|
10861
|
+
# sources: [
|
10862
|
+
# {
|
10863
|
+
# name: "PatchSourceName", # required
|
10864
|
+
# products: ["PatchSourceProduct"], # required
|
10865
|
+
# configuration: "PatchSourceConfiguration", # required
|
10866
|
+
# },
|
10867
|
+
# ],
|
10868
|
+
# replace: false,
|
10692
10869
|
# }
|
10693
10870
|
#
|
10694
10871
|
# @!attribute [rw] baseline_id
|
@@ -10716,6 +10893,12 @@ module Aws::SSM
|
|
10716
10893
|
# baseline.
|
10717
10894
|
# @return [String]
|
10718
10895
|
#
|
10896
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
10897
|
+
# Indicates whether the list of approved patches includes non-security
|
10898
|
+
# updates that should be applied to the instances. The default value
|
10899
|
+
# is 'false'. Applies to Linux instances only.
|
10900
|
+
# @return [Boolean]
|
10901
|
+
#
|
10719
10902
|
# @!attribute [rw] rejected_patches
|
10720
10903
|
# A list of explicitly rejected patches for the baseline.
|
10721
10904
|
# @return [Array<String>]
|
@@ -10724,6 +10907,18 @@ module Aws::SSM
|
|
10724
10907
|
# A description of the patch baseline.
|
10725
10908
|
# @return [String]
|
10726
10909
|
#
|
10910
|
+
# @!attribute [rw] sources
|
10911
|
+
# Information about the patches to use to update the instances,
|
10912
|
+
# including target operating systems and source repositories. Applies
|
10913
|
+
# to Linux instances only.
|
10914
|
+
# @return [Array<Types::PatchSource>]
|
10915
|
+
#
|
10916
|
+
# @!attribute [rw] replace
|
10917
|
+
# If True, then all fields that are required by the
|
10918
|
+
# CreatePatchBaseline action are also required for this API request.
|
10919
|
+
# Optional fields that are not specified are set to null.
|
10920
|
+
# @return [Boolean]
|
10921
|
+
#
|
10727
10922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineRequest AWS API Documentation
|
10728
10923
|
#
|
10729
10924
|
class UpdatePatchBaselineRequest < Struct.new(
|
@@ -10733,8 +10928,11 @@ module Aws::SSM
|
|
10733
10928
|
:approval_rules,
|
10734
10929
|
:approved_patches,
|
10735
10930
|
:approved_patches_compliance_level,
|
10931
|
+
:approved_patches_enable_non_security,
|
10736
10932
|
:rejected_patches,
|
10737
|
-
:description
|
10933
|
+
:description,
|
10934
|
+
:sources,
|
10935
|
+
:replace)
|
10738
10936
|
include Aws::Structure
|
10739
10937
|
end
|
10740
10938
|
|
@@ -10767,6 +10965,12 @@ module Aws::SSM
|
|
10767
10965
|
# the update completed.
|
10768
10966
|
# @return [String]
|
10769
10967
|
#
|
10968
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
10969
|
+
# Indicates whether the list of approved patches includes non-security
|
10970
|
+
# updates that should be applied to the instances. The default value
|
10971
|
+
# is 'false'. Applies to Linux instances only.
|
10972
|
+
# @return [Boolean]
|
10973
|
+
#
|
10770
10974
|
# @!attribute [rw] rejected_patches
|
10771
10975
|
# A list of explicitly rejected patches for the baseline.
|
10772
10976
|
# @return [Array<String>]
|
@@ -10783,6 +10987,12 @@ module Aws::SSM
|
|
10783
10987
|
# A description of the Patch Baseline.
|
10784
10988
|
# @return [String]
|
10785
10989
|
#
|
10990
|
+
# @!attribute [rw] sources
|
10991
|
+
# Information about the patches to use to update the instances,
|
10992
|
+
# including target operating systems and source repositories. Applies
|
10993
|
+
# to Linux instances only.
|
10994
|
+
# @return [Array<Types::PatchSource>]
|
10995
|
+
#
|
10786
10996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineResult AWS API Documentation
|
10787
10997
|
#
|
10788
10998
|
class UpdatePatchBaselineResult < Struct.new(
|
@@ -10793,10 +11003,12 @@ module Aws::SSM
|
|
10793
11003
|
:approval_rules,
|
10794
11004
|
:approved_patches,
|
10795
11005
|
:approved_patches_compliance_level,
|
11006
|
+
:approved_patches_enable_non_security,
|
10796
11007
|
:rejected_patches,
|
10797
11008
|
:created_date,
|
10798
11009
|
:modified_date,
|
10799
|
-
:description
|
11010
|
+
:description,
|
11011
|
+
:sources)
|
10800
11012
|
include Aws::Structure
|
10801
11013
|
end
|
10802
11014
|
|
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.7.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-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|