aws-sdk-ssm 1.0.0.rc9 → 1.0.0.rc10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 577a0c99ecd85a0943086d0ef2e7100f1f12b8e3
4
- data.tar.gz: cdcaf1c5be7b9680cd7a98536c73b7b09efe549b
3
+ metadata.gz: 06d1e53a4af246ff4dba1fb1f2cc6eb5e5500299
4
+ data.tar.gz: 3f311306badc341eb569016a14a3f2ac1c415a90
5
5
  SHA512:
6
- metadata.gz: 28f7f6b769d2267b1000bb0d98630360ca718cd62a396c556ed09e62051b14c71dcdc243c5cb5ac783bbaef64ccab73522fbb42c562de326281e086a30628bb8
7
- data.tar.gz: 856e5757ac6d3fe7aca74d1686923c01d0c6d274e42917fef40517d77b643336ca260df0972ebfafba587b1662b12f054a65095e57b7a2041832ac80303b90dc
6
+ metadata.gz: bea46aad0edfda032c8efe7fa16e2010c1827477f674a6fd90e71c26c1f435f5de7acae076d84dff2057941f1244d3aa50e81c072d194a63acafaeb3fe850009
7
+ data.tar.gz: 4c5392be45ccc9d3d8b130f986e13a1715dfe8a840b52cc51f5ca0f94bc444c9ef7940fd05d15c1d3b8549c49019d2238c4b89e90d926fca91b033e96ee8000d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.0.0.rc9'
45
+ GEM_VERSION = '1.0.0.rc10'
46
46
 
47
47
  end
@@ -631,6 +631,11 @@ module Aws::SSM
631
631
 
632
632
  # Creates a patch baseline.
633
633
  #
634
+ # @option params [String] :operating_system
635
+ # Defines the operating system the patch baseline applies to. Supported
636
+ # operating systems include WINDOWS, AMAZON\_LINUX, UBUNTU and
637
+ # REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
638
+ #
634
639
  # @option params [required, String] :name
635
640
  # The name of the patch baseline.
636
641
  #
@@ -643,6 +648,13 @@ module Aws::SSM
643
648
  # @option params [Array<String>] :approved_patches
644
649
  # A list of explicitly approved patches for the baseline.
645
650
  #
651
+ # @option params [String] :approved_patches_compliance_level
652
+ # Defines the compliance level for approved patches. This means that if
653
+ # an approved patch is reported as missing, this is the severity of the
654
+ # compliance violation. Valid compliance severity levels include the
655
+ # following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED.
656
+ # The default value is UNSPECIFIED.
657
+ #
646
658
  # @option params [Array<String>] :rejected_patches
647
659
  # A list of explicitly rejected patches for the baseline.
648
660
  #
@@ -662,11 +674,12 @@ module Aws::SSM
662
674
  # @example Request syntax with placeholder values
663
675
  #
664
676
  # resp = client.create_patch_baseline({
677
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
665
678
  # name: "BaselineName", # required
666
679
  # global_filters: {
667
680
  # patch_filters: [ # required
668
681
  # {
669
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
682
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
670
683
  # values: ["PatchFilterValue"], # required
671
684
  # },
672
685
  # ],
@@ -677,16 +690,18 @@ module Aws::SSM
677
690
  # patch_filter_group: { # required
678
691
  # patch_filters: [ # required
679
692
  # {
680
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
693
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
681
694
  # values: ["PatchFilterValue"], # required
682
695
  # },
683
696
  # ],
684
697
  # },
698
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
685
699
  # approve_after_days: 1, # required
686
700
  # },
687
701
  # ],
688
702
  # },
689
703
  # approved_patches: ["PatchId"],
704
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
690
705
  # rejected_patches: ["PatchId"],
691
706
  # description: "BaselineDescription",
692
707
  # client_token: "ClientToken",
@@ -717,11 +732,11 @@ module Aws::SSM
717
732
  # We also recommend that you secure access to the Amazon S3 bucket by
718
733
  # creating a restrictive bucket policy. To view an example of a
719
734
  # restrictive Amazon S3 bucket policy for Resource Data Sync, see
720
- # [Creating a Resource Data Sync][1].
735
+ # [Configuring Resource Data Sync for Inventory][1].
721
736
  #
722
737
  #
723
738
  #
724
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync-create.html
739
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-configuring.html#sysman-inventory-datasync
725
740
  #
726
741
  # @option params [required, String] :sync_name
727
742
  # A name for the configuration.
@@ -1476,7 +1491,8 @@ module Aws::SSM
1476
1491
  end
1477
1492
 
1478
1493
  # Retrieves the current effective patches (the patch and the approval
1479
- # state) for the specified patch baseline.
1494
+ # state) for the specified patch baseline. Note that this API applies
1495
+ # only to Windows patch baselines.
1480
1496
  #
1481
1497
  # @option params [required, String] :baseline_id
1482
1498
  # The ID of the patch baseline to retrieve the effective patches for.
@@ -1518,6 +1534,7 @@ module Aws::SSM
1518
1534
  # resp.effective_patches[0].patch.msrc_number #=> String
1519
1535
  # resp.effective_patches[0].patch.language #=> String
1520
1536
  # resp.effective_patches[0].patch_status.deployment_status #=> String, one of "APPROVED", "PENDING_APPROVAL", "EXPLICIT_APPROVED", "EXPLICIT_REJECTED"
1537
+ # resp.effective_patches[0].patch_status.compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
1521
1538
  # resp.effective_patches[0].patch_status.approval_date #=> Time
1522
1539
  # resp.next_token #=> String
1523
1540
  #
@@ -2332,6 +2349,7 @@ module Aws::SSM
2332
2349
  # resp.baseline_identities #=> Array
2333
2350
  # resp.baseline_identities[0].baseline_id #=> String
2334
2351
  # resp.baseline_identities[0].baseline_name #=> String
2352
+ # resp.baseline_identities[0].operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
2335
2353
  # resp.baseline_identities[0].baseline_description #=> String
2336
2354
  # resp.baseline_identities[0].default_baseline #=> Boolean
2337
2355
  # resp.next_token #=> String
@@ -2389,6 +2407,10 @@ module Aws::SSM
2389
2407
  # @option params [Integer] :max_results
2390
2408
  # The maximum number of patch groups to return (per page).
2391
2409
  #
2410
+ # @option params [Array<Types::PatchOrchestratorFilter>] :filters
2411
+ # One or more filters. Use a filter to return a more specific list of
2412
+ # results.
2413
+ #
2392
2414
  # @option params [String] :next_token
2393
2415
  # The token for the next set of items to return. (You received this
2394
2416
  # token from a previous call.)
@@ -2402,6 +2424,12 @@ module Aws::SSM
2402
2424
  #
2403
2425
  # resp = client.describe_patch_groups({
2404
2426
  # max_results: 1,
2427
+ # filters: [
2428
+ # {
2429
+ # key: "PatchOrchestratorFilterKey",
2430
+ # values: ["PatchOrchestratorFilterValue"],
2431
+ # },
2432
+ # ],
2405
2433
  # next_token: "NextToken",
2406
2434
  # })
2407
2435
  #
@@ -2411,6 +2439,7 @@ module Aws::SSM
2411
2439
  # resp.mappings[0].patch_group #=> String
2412
2440
  # resp.mappings[0].baseline_identity.baseline_id #=> String
2413
2441
  # resp.mappings[0].baseline_identity.baseline_name #=> String
2442
+ # resp.mappings[0].baseline_identity.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
2414
2443
  # resp.mappings[0].baseline_identity.baseline_description #=> String
2415
2444
  # resp.mappings[0].baseline_identity.default_baseline #=> Boolean
2416
2445
  # resp.next_token #=> String
@@ -2554,15 +2583,28 @@ module Aws::SSM
2554
2583
  req.send_request(options)
2555
2584
  end
2556
2585
 
2557
- # Retrieves the default patch baseline.
2586
+ # Retrieves the default patch baseline. Note that Systems Manager
2587
+ # supports creating multiple default patch baselines. For example, you
2588
+ # can create a default patch baseline for each operating system.
2589
+ #
2590
+ # @option params [String] :operating_system
2591
+ # Returns the default patch baseline for the specified operating system.
2558
2592
  #
2559
2593
  # @return [Types::GetDefaultPatchBaselineResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2560
2594
  #
2561
2595
  # * {Types::GetDefaultPatchBaselineResult#baseline_id #baseline_id} => String
2596
+ # * {Types::GetDefaultPatchBaselineResult#operating_system #operating_system} => String
2597
+ #
2598
+ # @example Request syntax with placeholder values
2599
+ #
2600
+ # resp = client.get_default_patch_baseline({
2601
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
2602
+ # })
2562
2603
  #
2563
2604
  # @example Response structure
2564
2605
  #
2565
2606
  # resp.baseline_id #=> String
2607
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
2566
2608
  #
2567
2609
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline AWS API Documentation
2568
2610
  #
@@ -2574,7 +2616,7 @@ module Aws::SSM
2574
2616
  end
2575
2617
 
2576
2618
  # Retrieves the current snapshot for the patch baseline the instance
2577
- # uses. This API is primarily used by the AWS-ApplyPatchBaseline Systems
2619
+ # uses. This API is primarily used by the AWS-RunPatchBaseline Systems
2578
2620
  # Manager document.
2579
2621
  #
2580
2622
  # @option params [required, String] :instance_id
@@ -2589,6 +2631,7 @@ module Aws::SSM
2589
2631
  # * {Types::GetDeployablePatchSnapshotForInstanceResult#instance_id #instance_id} => String
2590
2632
  # * {Types::GetDeployablePatchSnapshotForInstanceResult#snapshot_id #snapshot_id} => String
2591
2633
  # * {Types::GetDeployablePatchSnapshotForInstanceResult#snapshot_download_url #snapshot_download_url} => String
2634
+ # * {Types::GetDeployablePatchSnapshotForInstanceResult#product #product} => String
2592
2635
  #
2593
2636
  # @example Request syntax with placeholder values
2594
2637
  #
@@ -2602,6 +2645,7 @@ module Aws::SSM
2602
2645
  # resp.instance_id #=> String
2603
2646
  # resp.snapshot_id #=> String
2604
2647
  # resp.snapshot_download_url #=> String
2648
+ # resp.product #=> String
2605
2649
  #
2606
2650
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance AWS API Documentation
2607
2651
  #
@@ -3116,9 +3160,11 @@ module Aws::SSM
3116
3160
  #
3117
3161
  # * {Types::GetPatchBaselineResult#baseline_id #baseline_id} => String
3118
3162
  # * {Types::GetPatchBaselineResult#name #name} => String
3163
+ # * {Types::GetPatchBaselineResult#operating_system #operating_system} => String
3119
3164
  # * {Types::GetPatchBaselineResult#global_filters #global_filters} => Types::PatchFilterGroup
3120
3165
  # * {Types::GetPatchBaselineResult#approval_rules #approval_rules} => Types::PatchRuleGroup
3121
3166
  # * {Types::GetPatchBaselineResult#approved_patches #approved_patches} => Array&lt;String&gt;
3167
+ # * {Types::GetPatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
3122
3168
  # * {Types::GetPatchBaselineResult#rejected_patches #rejected_patches} => Array&lt;String&gt;
3123
3169
  # * {Types::GetPatchBaselineResult#patch_groups #patch_groups} => Array&lt;String&gt;
3124
3170
  # * {Types::GetPatchBaselineResult#created_date #created_date} => Time
@@ -3135,18 +3181,21 @@ module Aws::SSM
3135
3181
  #
3136
3182
  # resp.baseline_id #=> String
3137
3183
  # resp.name #=> String
3184
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
3138
3185
  # resp.global_filters.patch_filters #=> Array
3139
- # resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID"
3186
+ # resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
3140
3187
  # resp.global_filters.patch_filters[0].values #=> Array
3141
3188
  # resp.global_filters.patch_filters[0].values[0] #=> String
3142
3189
  # resp.approval_rules.patch_rules #=> Array
3143
3190
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters #=> Array
3144
- # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID"
3191
+ # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
3145
3192
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values #=> Array
3146
3193
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values[0] #=> String
3194
+ # resp.approval_rules.patch_rules[0].compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
3147
3195
  # resp.approval_rules.patch_rules[0].approve_after_days #=> Integer
3148
3196
  # resp.approved_patches #=> Array
3149
3197
  # resp.approved_patches[0] #=> String
3198
+ # resp.approved_patches_compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
3150
3199
  # resp.rejected_patches #=> Array
3151
3200
  # resp.rejected_patches[0] #=> String
3152
3201
  # resp.patch_groups #=> Array
@@ -3170,21 +3219,28 @@ module Aws::SSM
3170
3219
  # @option params [required, String] :patch_group
3171
3220
  # The name of the patch group whose patch baseline should be retrieved.
3172
3221
  #
3222
+ # @option params [String] :operating_system
3223
+ # Returns he operating system rule specified for patch groups using the
3224
+ # patch baseline.
3225
+ #
3173
3226
  # @return [Types::GetPatchBaselineForPatchGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3174
3227
  #
3175
3228
  # * {Types::GetPatchBaselineForPatchGroupResult#baseline_id #baseline_id} => String
3176
3229
  # * {Types::GetPatchBaselineForPatchGroupResult#patch_group #patch_group} => String
3230
+ # * {Types::GetPatchBaselineForPatchGroupResult#operating_system #operating_system} => String
3177
3231
  #
3178
3232
  # @example Request syntax with placeholder values
3179
3233
  #
3180
3234
  # resp = client.get_patch_baseline_for_patch_group({
3181
3235
  # patch_group: "PatchGroup", # required
3236
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
3182
3237
  # })
3183
3238
  #
3184
3239
  # @example Response structure
3185
3240
  #
3186
3241
  # resp.baseline_id #=> String
3187
3242
  # resp.patch_group #=> String
3243
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
3188
3244
  #
3189
3245
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup AWS API Documentation
3190
3246
  #
@@ -4667,6 +4723,9 @@ module Aws::SSM
4667
4723
  # @option params [Array<String>] :approved_patches
4668
4724
  # A list of explicitly approved patches for the baseline.
4669
4725
  #
4726
+ # @option params [String] :approved_patches_compliance_level
4727
+ # Assigns a new compliance severity level to an existing patch baseline.
4728
+ #
4670
4729
  # @option params [Array<String>] :rejected_patches
4671
4730
  # A list of explicitly rejected patches for the baseline.
4672
4731
  #
@@ -4677,9 +4736,11 @@ module Aws::SSM
4677
4736
  #
4678
4737
  # * {Types::UpdatePatchBaselineResult#baseline_id #baseline_id} => String
4679
4738
  # * {Types::UpdatePatchBaselineResult#name #name} => String
4739
+ # * {Types::UpdatePatchBaselineResult#operating_system #operating_system} => String
4680
4740
  # * {Types::UpdatePatchBaselineResult#global_filters #global_filters} => Types::PatchFilterGroup
4681
4741
  # * {Types::UpdatePatchBaselineResult#approval_rules #approval_rules} => Types::PatchRuleGroup
4682
4742
  # * {Types::UpdatePatchBaselineResult#approved_patches #approved_patches} => Array&lt;String&gt;
4743
+ # * {Types::UpdatePatchBaselineResult#approved_patches_compliance_level #approved_patches_compliance_level} => String
4683
4744
  # * {Types::UpdatePatchBaselineResult#rejected_patches #rejected_patches} => Array&lt;String&gt;
4684
4745
  # * {Types::UpdatePatchBaselineResult#created_date #created_date} => Time
4685
4746
  # * {Types::UpdatePatchBaselineResult#modified_date #modified_date} => Time
@@ -4693,7 +4754,7 @@ module Aws::SSM
4693
4754
  # global_filters: {
4694
4755
  # patch_filters: [ # required
4695
4756
  # {
4696
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
4757
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
4697
4758
  # values: ["PatchFilterValue"], # required
4698
4759
  # },
4699
4760
  # ],
@@ -4704,16 +4765,18 @@ module Aws::SSM
4704
4765
  # patch_filter_group: { # required
4705
4766
  # patch_filters: [ # required
4706
4767
  # {
4707
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
4768
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
4708
4769
  # values: ["PatchFilterValue"], # required
4709
4770
  # },
4710
4771
  # ],
4711
4772
  # },
4773
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
4712
4774
  # approve_after_days: 1, # required
4713
4775
  # },
4714
4776
  # ],
4715
4777
  # },
4716
4778
  # approved_patches: ["PatchId"],
4779
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
4717
4780
  # rejected_patches: ["PatchId"],
4718
4781
  # description: "BaselineDescription",
4719
4782
  # })
@@ -4722,18 +4785,21 @@ module Aws::SSM
4722
4785
  #
4723
4786
  # resp.baseline_id #=> String
4724
4787
  # resp.name #=> String
4788
+ # resp.operating_system #=> String, one of "WINDOWS", "AMAZON_LINUX", "UBUNTU", "REDHAT_ENTERPRISE_LINUX"
4725
4789
  # resp.global_filters.patch_filters #=> Array
4726
- # resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID"
4790
+ # resp.global_filters.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
4727
4791
  # resp.global_filters.patch_filters[0].values #=> Array
4728
4792
  # resp.global_filters.patch_filters[0].values[0] #=> String
4729
4793
  # resp.approval_rules.patch_rules #=> Array
4730
4794
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters #=> Array
4731
- # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID"
4795
+ # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].key #=> String, one of "PRODUCT", "CLASSIFICATION", "MSRC_SEVERITY", "PATCH_ID", "SECTION", "PRIORITY", "SEVERITY"
4732
4796
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values #=> Array
4733
4797
  # resp.approval_rules.patch_rules[0].patch_filter_group.patch_filters[0].values[0] #=> String
4798
+ # resp.approval_rules.patch_rules[0].compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
4734
4799
  # resp.approval_rules.patch_rules[0].approve_after_days #=> Integer
4735
4800
  # resp.approved_patches #=> Array
4736
4801
  # resp.approved_patches[0] #=> String
4802
+ # resp.approved_patches_compliance_level #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFORMATIONAL", "UNSPECIFIED"
4737
4803
  # resp.rejected_patches #=> Array
4738
4804
  # resp.rejected_patches[0] #=> String
4739
4805
  # resp.created_date #=> Time
@@ -4762,7 +4828,7 @@ module Aws::SSM
4762
4828
  params: params,
4763
4829
  config: config)
4764
4830
  context[:gem_name] = 'aws-sdk-ssm'
4765
- context[:gem_version] = '1.0.0.rc9'
4831
+ context[:gem_version] = '1.0.0.rc10'
4766
4832
  Seahorse::Client::Request.new(handlers, context)
4767
4833
  end
4768
4834
 
@@ -449,6 +449,7 @@ module Aws::SSM
449
449
  NotificationEvent = Shapes::StringShape.new(name: 'NotificationEvent')
450
450
  NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
451
451
  NotificationType = Shapes::StringShape.new(name: 'NotificationType')
452
+ OperatingSystem = Shapes::StringShape.new(name: 'OperatingSystem')
452
453
  OwnerInformation = Shapes::StringShape.new(name: 'OwnerInformation')
453
454
  PSParameterName = Shapes::StringShape.new(name: 'PSParameterName')
454
455
  PSParameterValue = Shapes::StringShape.new(name: 'PSParameterValue')
@@ -489,6 +490,7 @@ module Aws::SSM
489
490
  PatchComplianceData = Shapes::StructureShape.new(name: 'PatchComplianceData')
490
491
  PatchComplianceDataList = Shapes::ListShape.new(name: 'PatchComplianceDataList')
491
492
  PatchComplianceDataState = Shapes::StringShape.new(name: 'PatchComplianceDataState')
493
+ PatchComplianceLevel = Shapes::StringShape.new(name: 'PatchComplianceLevel')
492
494
  PatchComplianceMaxResults = Shapes::IntegerShape.new(name: 'PatchComplianceMaxResults')
493
495
  PatchContentUrl = Shapes::StringShape.new(name: 'PatchContentUrl')
494
496
  PatchDeploymentStatus = Shapes::StringShape.new(name: 'PatchDeploymentStatus')
@@ -508,7 +510,6 @@ module Aws::SSM
508
510
  PatchIdList = Shapes::ListShape.new(name: 'PatchIdList')
509
511
  PatchInstalledCount = Shapes::IntegerShape.new(name: 'PatchInstalledCount')
510
512
  PatchInstalledOtherCount = Shapes::IntegerShape.new(name: 'PatchInstalledOtherCount')
511
- PatchInstalledTime = Shapes::TimestampShape.new(name: 'PatchInstalledTime')
512
513
  PatchKbNumber = Shapes::StringShape.new(name: 'PatchKbNumber')
513
514
  PatchLanguage = Shapes::StringShape.new(name: 'PatchLanguage')
514
515
  PatchList = Shapes::ListShape.new(name: 'PatchList')
@@ -516,8 +517,6 @@ module Aws::SSM
516
517
  PatchMsrcNumber = Shapes::StringShape.new(name: 'PatchMsrcNumber')
517
518
  PatchMsrcSeverity = Shapes::StringShape.new(name: 'PatchMsrcSeverity')
518
519
  PatchNotApplicableCount = Shapes::IntegerShape.new(name: 'PatchNotApplicableCount')
519
- PatchOperationEndTime = Shapes::TimestampShape.new(name: 'PatchOperationEndTime')
520
- PatchOperationStartTime = Shapes::TimestampShape.new(name: 'PatchOperationStartTime')
521
520
  PatchOperationType = Shapes::StringShape.new(name: 'PatchOperationType')
522
521
  PatchOrchestratorFilter = Shapes::StructureShape.new(name: 'PatchOrchestratorFilter')
523
522
  PatchOrchestratorFilterKey = Shapes::StringShape.new(name: 'PatchOrchestratorFilterKey')
@@ -536,6 +535,7 @@ module Aws::SSM
536
535
  PingStatus = Shapes::StringShape.new(name: 'PingStatus')
537
536
  PlatformType = Shapes::StringShape.new(name: 'PlatformType')
538
537
  PlatformTypeList = Shapes::ListShape.new(name: 'PlatformTypeList')
538
+ Product = Shapes::StringShape.new(name: 'Product')
539
539
  PutInventoryRequest = Shapes::StructureShape.new(name: 'PutInventoryRequest')
540
540
  PutInventoryResult = Shapes::StructureShape.new(name: 'PutInventoryResult')
541
541
  PutParameterRequest = Shapes::StructureShape.new(name: 'PutParameterRequest')
@@ -615,6 +615,7 @@ module Aws::SSM
615
615
  TooManyUpdates = Shapes::StructureShape.new(name: 'TooManyUpdates')
616
616
  TotalSizeLimitExceededException = Shapes::StructureShape.new(name: 'TotalSizeLimitExceededException')
617
617
  UnsupportedInventorySchemaVersionException = Shapes::StructureShape.new(name: 'UnsupportedInventorySchemaVersionException')
618
+ UnsupportedOperatingSystem = Shapes::StructureShape.new(name: 'UnsupportedOperatingSystem')
618
619
  UnsupportedParameterType = Shapes::StructureShape.new(name: 'UnsupportedParameterType')
619
620
  UnsupportedPlatformType = Shapes::StructureShape.new(name: 'UnsupportedPlatformType')
620
621
  UpdateAssociationRequest = Shapes::StructureShape.new(name: 'UpdateAssociationRequest')
@@ -874,10 +875,12 @@ module Aws::SSM
874
875
  CreateMaintenanceWindowResult.add_member(:window_id, Shapes::ShapeRef.new(shape: MaintenanceWindowId, location_name: "WindowId"))
875
876
  CreateMaintenanceWindowResult.struct_class = Types::CreateMaintenanceWindowResult
876
877
 
878
+ CreatePatchBaselineRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
877
879
  CreatePatchBaselineRequest.add_member(:name, Shapes::ShapeRef.new(shape: BaselineName, required: true, location_name: "Name"))
878
880
  CreatePatchBaselineRequest.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
879
881
  CreatePatchBaselineRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
880
882
  CreatePatchBaselineRequest.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
883
+ CreatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
881
884
  CreatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
882
885
  CreatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
883
886
  CreatePatchBaselineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
@@ -1179,6 +1182,7 @@ module Aws::SSM
1179
1182
  DescribePatchGroupStateResult.struct_class = Types::DescribePatchGroupStateResult
1180
1183
 
1181
1184
  DescribePatchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1185
+ DescribePatchGroupsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: PatchOrchestratorFilterList, location_name: "Filters"))
1182
1186
  DescribePatchGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1183
1187
  DescribePatchGroupsRequest.struct_class = Types::DescribePatchGroupsRequest
1184
1188
 
@@ -1285,9 +1289,11 @@ module Aws::SSM
1285
1289
  GetCommandInvocationResult.add_member(:standard_error_url, Shapes::ShapeRef.new(shape: Url, location_name: "StandardErrorUrl"))
1286
1290
  GetCommandInvocationResult.struct_class = Types::GetCommandInvocationResult
1287
1291
 
1292
+ GetDefaultPatchBaselineRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1288
1293
  GetDefaultPatchBaselineRequest.struct_class = Types::GetDefaultPatchBaselineRequest
1289
1294
 
1290
1295
  GetDefaultPatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
1296
+ GetDefaultPatchBaselineResult.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1291
1297
  GetDefaultPatchBaselineResult.struct_class = Types::GetDefaultPatchBaselineResult
1292
1298
 
1293
1299
  GetDeployablePatchSnapshotForInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -1297,6 +1303,7 @@ module Aws::SSM
1297
1303
  GetDeployablePatchSnapshotForInstanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
1298
1304
  GetDeployablePatchSnapshotForInstanceResult.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
1299
1305
  GetDeployablePatchSnapshotForInstanceResult.add_member(:snapshot_download_url, Shapes::ShapeRef.new(shape: SnapshotDownloadUrl, location_name: "SnapshotDownloadUrl"))
1306
+ GetDeployablePatchSnapshotForInstanceResult.add_member(:product, Shapes::ShapeRef.new(shape: Product, location_name: "Product"))
1300
1307
  GetDeployablePatchSnapshotForInstanceResult.struct_class = Types::GetDeployablePatchSnapshotForInstanceResult
1301
1308
 
1302
1309
  GetDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
@@ -1410,10 +1417,12 @@ module Aws::SSM
1410
1417
  GetParametersResult.struct_class = Types::GetParametersResult
1411
1418
 
1412
1419
  GetPatchBaselineForPatchGroupRequest.add_member(:patch_group, Shapes::ShapeRef.new(shape: PatchGroup, required: true, location_name: "PatchGroup"))
1420
+ GetPatchBaselineForPatchGroupRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1413
1421
  GetPatchBaselineForPatchGroupRequest.struct_class = Types::GetPatchBaselineForPatchGroupRequest
1414
1422
 
1415
1423
  GetPatchBaselineForPatchGroupResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
1416
1424
  GetPatchBaselineForPatchGroupResult.add_member(:patch_group, Shapes::ShapeRef.new(shape: PatchGroup, location_name: "PatchGroup"))
1425
+ GetPatchBaselineForPatchGroupResult.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1417
1426
  GetPatchBaselineForPatchGroupResult.struct_class = Types::GetPatchBaselineForPatchGroupResult
1418
1427
 
1419
1428
  GetPatchBaselineRequest.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
@@ -1421,9 +1430,11 @@ module Aws::SSM
1421
1430
 
1422
1431
  GetPatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
1423
1432
  GetPatchBaselineResult.add_member(:name, Shapes::ShapeRef.new(shape: BaselineName, location_name: "Name"))
1433
+ GetPatchBaselineResult.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1424
1434
  GetPatchBaselineResult.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
1425
1435
  GetPatchBaselineResult.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
1426
1436
  GetPatchBaselineResult.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
1437
+ GetPatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
1427
1438
  GetPatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
1428
1439
  GetPatchBaselineResult.add_member(:patch_groups, Shapes::ShapeRef.new(shape: PatchGroupList, location_name: "PatchGroups"))
1429
1440
  GetPatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
@@ -1514,8 +1525,8 @@ module Aws::SSM
1514
1525
  InstancePatchState.add_member(:missing_count, Shapes::ShapeRef.new(shape: PatchMissingCount, location_name: "MissingCount"))
1515
1526
  InstancePatchState.add_member(:failed_count, Shapes::ShapeRef.new(shape: PatchFailedCount, location_name: "FailedCount"))
1516
1527
  InstancePatchState.add_member(:not_applicable_count, Shapes::ShapeRef.new(shape: PatchNotApplicableCount, location_name: "NotApplicableCount"))
1517
- InstancePatchState.add_member(:operation_start_time, Shapes::ShapeRef.new(shape: PatchOperationStartTime, required: true, location_name: "OperationStartTime"))
1518
- InstancePatchState.add_member(:operation_end_time, Shapes::ShapeRef.new(shape: PatchOperationEndTime, required: true, location_name: "OperationEndTime"))
1528
+ InstancePatchState.add_member(:operation_start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "OperationStartTime"))
1529
+ InstancePatchState.add_member(:operation_end_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "OperationEndTime"))
1519
1530
  InstancePatchState.add_member(:operation, Shapes::ShapeRef.new(shape: PatchOperationType, required: true, location_name: "Operation"))
1520
1531
  InstancePatchState.struct_class = Types::InstancePatchState
1521
1532
 
@@ -1850,6 +1861,7 @@ module Aws::SSM
1850
1861
 
1851
1862
  PatchBaselineIdentity.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
1852
1863
  PatchBaselineIdentity.add_member(:baseline_name, Shapes::ShapeRef.new(shape: BaselineName, location_name: "BaselineName"))
1864
+ PatchBaselineIdentity.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1853
1865
  PatchBaselineIdentity.add_member(:baseline_description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "BaselineDescription"))
1854
1866
  PatchBaselineIdentity.add_member(:default_baseline, Shapes::ShapeRef.new(shape: DefaultBaseline, location_name: "DefaultBaseline"))
1855
1867
  PatchBaselineIdentity.struct_class = Types::PatchBaselineIdentity
@@ -1861,7 +1873,7 @@ module Aws::SSM
1861
1873
  PatchComplianceData.add_member(:classification, Shapes::ShapeRef.new(shape: PatchClassification, required: true, location_name: "Classification"))
1862
1874
  PatchComplianceData.add_member(:severity, Shapes::ShapeRef.new(shape: PatchSeverity, required: true, location_name: "Severity"))
1863
1875
  PatchComplianceData.add_member(:state, Shapes::ShapeRef.new(shape: PatchComplianceDataState, required: true, location_name: "State"))
1864
- PatchComplianceData.add_member(:installed_time, Shapes::ShapeRef.new(shape: PatchInstalledTime, required: true, location_name: "InstalledTime"))
1876
+ PatchComplianceData.add_member(:installed_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "InstalledTime"))
1865
1877
  PatchComplianceData.struct_class = Types::PatchComplianceData
1866
1878
 
1867
1879
  PatchComplianceDataList.member = Shapes::ShapeRef.new(shape: PatchComplianceData)
@@ -1898,6 +1910,7 @@ module Aws::SSM
1898
1910
  PatchOrchestratorFilterValues.member = Shapes::ShapeRef.new(shape: PatchOrchestratorFilterValue)
1899
1911
 
1900
1912
  PatchRule.add_member(:patch_filter_group, Shapes::ShapeRef.new(shape: PatchFilterGroup, required: true, location_name: "PatchFilterGroup"))
1913
+ PatchRule.add_member(:compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ComplianceLevel"))
1901
1914
  PatchRule.add_member(:approve_after_days, Shapes::ShapeRef.new(shape: ApproveAfterDays, required: true, location_name: "ApproveAfterDays", metadata: {"box"=>true}))
1902
1915
  PatchRule.struct_class = Types::PatchRule
1903
1916
 
@@ -1907,6 +1920,7 @@ module Aws::SSM
1907
1920
  PatchRuleList.member = Shapes::ShapeRef.new(shape: PatchRule)
1908
1921
 
1909
1922
  PatchStatus.add_member(:deployment_status, Shapes::ShapeRef.new(shape: PatchDeploymentStatus, location_name: "DeploymentStatus"))
1923
+ PatchStatus.add_member(:compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ComplianceLevel"))
1910
1924
  PatchStatus.add_member(:approval_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ApprovalDate"))
1911
1925
  PatchStatus.struct_class = Types::PatchStatus
1912
1926
 
@@ -2133,15 +2147,18 @@ module Aws::SSM
2133
2147
  UpdatePatchBaselineRequest.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
2134
2148
  UpdatePatchBaselineRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
2135
2149
  UpdatePatchBaselineRequest.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
2150
+ UpdatePatchBaselineRequest.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
2136
2151
  UpdatePatchBaselineRequest.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
2137
2152
  UpdatePatchBaselineRequest.add_member(:description, Shapes::ShapeRef.new(shape: BaselineDescription, location_name: "Description"))
2138
2153
  UpdatePatchBaselineRequest.struct_class = Types::UpdatePatchBaselineRequest
2139
2154
 
2140
2155
  UpdatePatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
2141
2156
  UpdatePatchBaselineResult.add_member(:name, Shapes::ShapeRef.new(shape: BaselineName, location_name: "Name"))
2157
+ UpdatePatchBaselineResult.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
2142
2158
  UpdatePatchBaselineResult.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
2143
2159
  UpdatePatchBaselineResult.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
2144
2160
  UpdatePatchBaselineResult.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
2161
+ UpdatePatchBaselineResult.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
2145
2162
  UpdatePatchBaselineResult.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
2146
2163
  UpdatePatchBaselineResult.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
2147
2164
  UpdatePatchBaselineResult.add_member(:modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ModifiedDate"))
@@ -2495,6 +2512,7 @@ module Aws::SSM
2495
2512
  o.output = Shapes::ShapeRef.new(shape: DescribeEffectivePatchesForPatchBaselineResult)
2496
2513
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceId)
2497
2514
  o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
2515
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperatingSystem)
2498
2516
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2499
2517
  end)
2500
2518
 
@@ -2705,6 +2723,7 @@ module Aws::SSM
2705
2723
  o.input = Shapes::ShapeRef.new(shape: GetDeployablePatchSnapshotForInstanceRequest)
2706
2724
  o.output = Shapes::ShapeRef.new(shape: GetDeployablePatchSnapshotForInstanceResult)
2707
2725
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2726
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperatingSystem)
2708
2727
  end)
2709
2728
 
2710
2729
  api.add_operation(:get_document, Seahorse::Model::Operation.new.tap do |o|
@@ -1406,11 +1406,12 @@ module Aws::SSM
1406
1406
  # data as a hash:
1407
1407
  #
1408
1408
  # {
1409
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
1409
1410
  # name: "BaselineName", # required
1410
1411
  # global_filters: {
1411
1412
  # patch_filters: [ # required
1412
1413
  # {
1413
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
1414
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
1414
1415
  # values: ["PatchFilterValue"], # required
1415
1416
  # },
1416
1417
  # ],
@@ -1421,21 +1422,29 @@ module Aws::SSM
1421
1422
  # patch_filter_group: { # required
1422
1423
  # patch_filters: [ # required
1423
1424
  # {
1424
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
1425
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
1425
1426
  # values: ["PatchFilterValue"], # required
1426
1427
  # },
1427
1428
  # ],
1428
1429
  # },
1430
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1429
1431
  # approve_after_days: 1, # required
1430
1432
  # },
1431
1433
  # ],
1432
1434
  # },
1433
1435
  # approved_patches: ["PatchId"],
1436
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1434
1437
  # rejected_patches: ["PatchId"],
1435
1438
  # description: "BaselineDescription",
1436
1439
  # client_token: "ClientToken",
1437
1440
  # }
1438
1441
  #
1442
+ # @!attribute [rw] operating_system
1443
+ # Defines the operating system the patch baseline applies to.
1444
+ # Supported operating systems include WINDOWS, AMAZON\_LINUX, UBUNTU
1445
+ # and REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
1446
+ # @return [String]
1447
+ #
1439
1448
  # @!attribute [rw] name
1440
1449
  # The name of the patch baseline.
1441
1450
  # @return [String]
@@ -1452,6 +1461,14 @@ module Aws::SSM
1452
1461
  # A list of explicitly approved patches for the baseline.
1453
1462
  # @return [Array<String>]
1454
1463
  #
1464
+ # @!attribute [rw] approved_patches_compliance_level
1465
+ # Defines the compliance level for approved patches. This means that
1466
+ # if an approved patch is reported as missing, this is the severity of
1467
+ # the compliance violation. Valid compliance severity levels include
1468
+ # the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL,
1469
+ # UNSPECIFIED. The default value is UNSPECIFIED.
1470
+ # @return [String]
1471
+ #
1455
1472
  # @!attribute [rw] rejected_patches
1456
1473
  # A list of explicitly rejected patches for the baseline.
1457
1474
  # @return [Array<String>]
@@ -1470,10 +1487,12 @@ module Aws::SSM
1470
1487
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineRequest AWS API Documentation
1471
1488
  #
1472
1489
  class CreatePatchBaselineRequest < Struct.new(
1490
+ :operating_system,
1473
1491
  :name,
1474
1492
  :global_filters,
1475
1493
  :approval_rules,
1476
1494
  :approved_patches,
1495
+ :approved_patches_compliance_level,
1477
1496
  :rejected_patches,
1478
1497
  :description,
1479
1498
  :client_token)
@@ -3175,6 +3194,12 @@ module Aws::SSM
3175
3194
  #
3176
3195
  # {
3177
3196
  # max_results: 1,
3197
+ # filters: [
3198
+ # {
3199
+ # key: "PatchOrchestratorFilterKey",
3200
+ # values: ["PatchOrchestratorFilterValue"],
3201
+ # },
3202
+ # ],
3178
3203
  # next_token: "NextToken",
3179
3204
  # }
3180
3205
  #
@@ -3182,6 +3207,11 @@ module Aws::SSM
3182
3207
  # The maximum number of patch groups to return (per page).
3183
3208
  # @return [Integer]
3184
3209
  #
3210
+ # @!attribute [rw] filters
3211
+ # One or more filters. Use a filter to return a more specific list of
3212
+ # results.
3213
+ # @return [Array<Types::PatchOrchestratorFilter>]
3214
+ #
3185
3215
  # @!attribute [rw] next_token
3186
3216
  # The token for the next set of items to return. (You received this
3187
3217
  # token from a previous call.)
@@ -3191,6 +3221,7 @@ module Aws::SSM
3191
3221
  #
3192
3222
  class DescribePatchGroupsRequest < Struct.new(
3193
3223
  :max_results,
3224
+ :filters,
3194
3225
  :next_token)
3195
3226
  include Aws::Structure
3196
3227
  end
@@ -3758,20 +3789,38 @@ module Aws::SSM
3758
3789
  include Aws::Structure
3759
3790
  end
3760
3791
 
3761
- # @api private
3792
+ # @note When making an API call, you may pass GetDefaultPatchBaselineRequest
3793
+ # data as a hash:
3794
+ #
3795
+ # {
3796
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
3797
+ # }
3798
+ #
3799
+ # @!attribute [rw] operating_system
3800
+ # Returns the default patch baseline for the specified operating
3801
+ # system.
3802
+ # @return [String]
3762
3803
  #
3763
3804
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineRequest AWS API Documentation
3764
3805
  #
3765
- class GetDefaultPatchBaselineRequest < Aws::EmptyStructure; end
3806
+ class GetDefaultPatchBaselineRequest < Struct.new(
3807
+ :operating_system)
3808
+ include Aws::Structure
3809
+ end
3766
3810
 
3767
3811
  # @!attribute [rw] baseline_id
3768
3812
  # The ID of the default patch baseline.
3769
3813
  # @return [String]
3770
3814
  #
3815
+ # @!attribute [rw] operating_system
3816
+ # The operating system for the returned patch baseline.
3817
+ # @return [String]
3818
+ #
3771
3819
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineResult AWS API Documentation
3772
3820
  #
3773
3821
  class GetDefaultPatchBaselineResult < Struct.new(
3774
- :baseline_id)
3822
+ :baseline_id,
3823
+ :operating_system)
3775
3824
  include Aws::Structure
3776
3825
  end
3777
3826
 
@@ -3813,12 +3862,19 @@ module Aws::SSM
3813
3862
  # snapshot.
3814
3863
  # @return [String]
3815
3864
  #
3865
+ # @!attribute [rw] product
3866
+ # Returns the specific operating system (for example Windows Server
3867
+ # 2012 or Amazon Linux 2015.09) on the instance for the specified
3868
+ # patch snapshot.
3869
+ # @return [String]
3870
+ #
3816
3871
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceResult AWS API Documentation
3817
3872
  #
3818
3873
  class GetDeployablePatchSnapshotForInstanceResult < Struct.new(
3819
3874
  :instance_id,
3820
3875
  :snapshot_id,
3821
- :snapshot_download_url)
3876
+ :snapshot_download_url,
3877
+ :product)
3822
3878
  include Aws::Structure
3823
3879
  end
3824
3880
 
@@ -4442,6 +4498,7 @@ module Aws::SSM
4442
4498
  #
4443
4499
  # {
4444
4500
  # patch_group: "PatchGroup", # required
4501
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
4445
4502
  # }
4446
4503
  #
4447
4504
  # @!attribute [rw] patch_group
@@ -4449,10 +4506,16 @@ module Aws::SSM
4449
4506
  # retrieved.
4450
4507
  # @return [String]
4451
4508
  #
4509
+ # @!attribute [rw] operating_system
4510
+ # Returns he operating system rule specified for patch groups using
4511
+ # the patch baseline.
4512
+ # @return [String]
4513
+ #
4452
4514
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupRequest AWS API Documentation
4453
4515
  #
4454
4516
  class GetPatchBaselineForPatchGroupRequest < Struct.new(
4455
- :patch_group)
4517
+ :patch_group,
4518
+ :operating_system)
4456
4519
  include Aws::Structure
4457
4520
  end
4458
4521
 
@@ -4465,11 +4528,17 @@ module Aws::SSM
4465
4528
  # The name of the patch group.
4466
4529
  # @return [String]
4467
4530
  #
4531
+ # @!attribute [rw] operating_system
4532
+ # The operating system rule specified for patch groups using the patch
4533
+ # baseline.
4534
+ # @return [String]
4535
+ #
4468
4536
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupResult AWS API Documentation
4469
4537
  #
4470
4538
  class GetPatchBaselineForPatchGroupResult < Struct.new(
4471
4539
  :baseline_id,
4472
- :patch_group)
4540
+ :patch_group,
4541
+ :operating_system)
4473
4542
  include Aws::Structure
4474
4543
  end
4475
4544
 
@@ -4499,6 +4568,10 @@ module Aws::SSM
4499
4568
  # The name of the patch baseline.
4500
4569
  # @return [String]
4501
4570
  #
4571
+ # @!attribute [rw] operating_system
4572
+ # Returns the operating system specified for the patch baseline.
4573
+ # @return [String]
4574
+ #
4502
4575
  # @!attribute [rw] global_filters
4503
4576
  # A set of global filters used to exclude patches from the baseline.
4504
4577
  # @return [Types::PatchFilterGroup]
@@ -4511,6 +4584,11 @@ module Aws::SSM
4511
4584
  # A list of explicitly approved patches for the baseline.
4512
4585
  # @return [Array<String>]
4513
4586
  #
4587
+ # @!attribute [rw] approved_patches_compliance_level
4588
+ # Returns the specified compliance severity level for approved patches
4589
+ # in the patch baseline.
4590
+ # @return [String]
4591
+ #
4514
4592
  # @!attribute [rw] rejected_patches
4515
4593
  # A list of explicitly rejected patches for the baseline.
4516
4594
  # @return [Array<String>]
@@ -4536,9 +4614,11 @@ module Aws::SSM
4536
4614
  class GetPatchBaselineResult < Struct.new(
4537
4615
  :baseline_id,
4538
4616
  :name,
4617
+ :operating_system,
4539
4618
  :global_filters,
4540
4619
  :approval_rules,
4541
4620
  :approved_patches,
4621
+ :approved_patches_compliance_level,
4542
4622
  :rejected_patches,
4543
4623
  :patch_groups,
4544
4624
  :created_date,
@@ -6400,12 +6480,20 @@ module Aws::SSM
6400
6480
  # The name of the patch baseline.
6401
6481
  # @return [String]
6402
6482
  #
6483
+ # @!attribute [rw] operating_system
6484
+ # Defines the operating system the patch baseline applies to.
6485
+ # Supported operating systems include WINDOWS, AMAZON\_LINUX, UBUNTU
6486
+ # and REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
6487
+ # @return [String]
6488
+ #
6403
6489
  # @!attribute [rw] baseline_description
6404
6490
  # The description of the patch baseline.
6405
6491
  # @return [String]
6406
6492
  #
6407
6493
  # @!attribute [rw] default_baseline
6408
- # Whether this is the default baseline.
6494
+ # Whether this is the default baseline. Note that Systems Manager
6495
+ # supports creating multiple default patch baselines. For example, you
6496
+ # can create a default patch baseline for each operating system.
6409
6497
  # @return [Boolean]
6410
6498
  #
6411
6499
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchBaselineIdentity AWS API Documentation
@@ -6413,6 +6501,7 @@ module Aws::SSM
6413
6501
  class PatchBaselineIdentity < Struct.new(
6414
6502
  :baseline_id,
6415
6503
  :baseline_name,
6504
+ :operating_system,
6416
6505
  :baseline_description,
6417
6506
  :default_baseline)
6418
6507
  include Aws::Structure
@@ -6426,7 +6515,7 @@ module Aws::SSM
6426
6515
  # @return [String]
6427
6516
  #
6428
6517
  # @!attribute [rw] kb_id
6429
- # The Microsoft Knowledge Base ID of the patch.
6518
+ # The operating system-specific ID of the patch.
6430
6519
  # @return [String]
6431
6520
  #
6432
6521
  # @!attribute [rw] classification
@@ -6445,7 +6534,8 @@ module Aws::SSM
6445
6534
  # @return [String]
6446
6535
  #
6447
6536
  # @!attribute [rw] installed_time
6448
- # The date/time the patch was installed on the instance.
6537
+ # The date/time the patch was installed on the instance. Note that not
6538
+ # all operating systems provide this level of information.
6449
6539
  # @return [Time]
6450
6540
  #
6451
6541
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData AWS API Documentation
@@ -6466,7 +6556,7 @@ module Aws::SSM
6466
6556
  # data as a hash:
6467
6557
  #
6468
6558
  # {
6469
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
6559
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
6470
6560
  # values: ["PatchFilterValue"], # required
6471
6561
  # }
6472
6562
  #
@@ -6495,7 +6585,7 @@ module Aws::SSM
6495
6585
  # {
6496
6586
  # patch_filters: [ # required
6497
6587
  # {
6498
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
6588
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
6499
6589
  # values: ["PatchFilterValue"], # required
6500
6590
  # },
6501
6591
  # ],
@@ -6566,11 +6656,12 @@ module Aws::SSM
6566
6656
  # patch_filter_group: { # required
6567
6657
  # patch_filters: [ # required
6568
6658
  # {
6569
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
6659
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
6570
6660
  # values: ["PatchFilterValue"], # required
6571
6661
  # },
6572
6662
  # ],
6573
6663
  # },
6664
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
6574
6665
  # approve_after_days: 1, # required
6575
6666
  # }
6576
6667
  #
@@ -6578,6 +6669,12 @@ module Aws::SSM
6578
6669
  # The patch filter group that defines the criteria for the rule.
6579
6670
  # @return [Types::PatchFilterGroup]
6580
6671
  #
6672
+ # @!attribute [rw] compliance_level
6673
+ # A compliance severity level for all approved patches in a patch
6674
+ # baseline. Valid compliance severity levels include the following:
6675
+ # Unspecified, Critical, High, Medium, Low, and Informational.
6676
+ # @return [String]
6677
+ #
6581
6678
  # @!attribute [rw] approve_after_days
6582
6679
  # The number of days after the release date of each patch matched by
6583
6680
  # the rule the patch is marked as approved in the patch baseline.
@@ -6587,6 +6684,7 @@ module Aws::SSM
6587
6684
  #
6588
6685
  class PatchRule < Struct.new(
6589
6686
  :patch_filter_group,
6687
+ :compliance_level,
6590
6688
  :approve_after_days)
6591
6689
  include Aws::Structure
6592
6690
  end
@@ -6602,11 +6700,12 @@ module Aws::SSM
6602
6700
  # patch_filter_group: { # required
6603
6701
  # patch_filters: [ # required
6604
6702
  # {
6605
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
6703
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
6606
6704
  # values: ["PatchFilterValue"], # required
6607
6705
  # },
6608
6706
  # ],
6609
6707
  # },
6708
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
6610
6709
  # approve_after_days: 1, # required
6611
6710
  # },
6612
6711
  # ],
@@ -6630,6 +6729,10 @@ module Aws::SSM
6630
6729
  # EXPLICIT\_APPROVED, EXPLICIT\_REJECTED).
6631
6730
  # @return [String]
6632
6731
  #
6732
+ # @!attribute [rw] compliance_level
6733
+ # The compliance severity level for a patch.
6734
+ # @return [String]
6735
+ #
6633
6736
  # @!attribute [rw] approval_date
6634
6737
  # The date the patch was approved (or will be approved if the status
6635
6738
  # is PENDING\_APPROVAL).
@@ -6639,6 +6742,7 @@ module Aws::SSM
6639
6742
  #
6640
6743
  class PatchStatus < Struct.new(
6641
6744
  :deployment_status,
6745
+ :compliance_level,
6642
6746
  :approval_date)
6643
6747
  include Aws::Structure
6644
6748
  end
@@ -7915,7 +8019,7 @@ module Aws::SSM
7915
8019
  # global_filters: {
7916
8020
  # patch_filters: [ # required
7917
8021
  # {
7918
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
8022
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
7919
8023
  # values: ["PatchFilterValue"], # required
7920
8024
  # },
7921
8025
  # ],
@@ -7926,16 +8030,18 @@ module Aws::SSM
7926
8030
  # patch_filter_group: { # required
7927
8031
  # patch_filters: [ # required
7928
8032
  # {
7929
- # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID
8033
+ # key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
7930
8034
  # values: ["PatchFilterValue"], # required
7931
8035
  # },
7932
8036
  # ],
7933
8037
  # },
8038
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7934
8039
  # approve_after_days: 1, # required
7935
8040
  # },
7936
8041
  # ],
7937
8042
  # },
7938
8043
  # approved_patches: ["PatchId"],
8044
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7939
8045
  # rejected_patches: ["PatchId"],
7940
8046
  # description: "BaselineDescription",
7941
8047
  # }
@@ -7960,6 +8066,11 @@ module Aws::SSM
7960
8066
  # A list of explicitly approved patches for the baseline.
7961
8067
  # @return [Array<String>]
7962
8068
  #
8069
+ # @!attribute [rw] approved_patches_compliance_level
8070
+ # Assigns a new compliance severity level to an existing patch
8071
+ # baseline.
8072
+ # @return [String]
8073
+ #
7963
8074
  # @!attribute [rw] rejected_patches
7964
8075
  # A list of explicitly rejected patches for the baseline.
7965
8076
  # @return [Array<String>]
@@ -7976,6 +8087,7 @@ module Aws::SSM
7976
8087
  :global_filters,
7977
8088
  :approval_rules,
7978
8089
  :approved_patches,
8090
+ :approved_patches_compliance_level,
7979
8091
  :rejected_patches,
7980
8092
  :description)
7981
8093
  include Aws::Structure
@@ -7989,6 +8101,10 @@ module Aws::SSM
7989
8101
  # The name of the patch baseline.
7990
8102
  # @return [String]
7991
8103
  #
8104
+ # @!attribute [rw] operating_system
8105
+ # The operating system rule used by the updated patch baseline.
8106
+ # @return [String]
8107
+ #
7992
8108
  # @!attribute [rw] global_filters
7993
8109
  # A set of global filters used to exclude patches from the baseline.
7994
8110
  # @return [Types::PatchFilterGroup]
@@ -8001,6 +8117,11 @@ module Aws::SSM
8001
8117
  # A list of explicitly approved patches for the baseline.
8002
8118
  # @return [Array<String>]
8003
8119
  #
8120
+ # @!attribute [rw] approved_patches_compliance_level
8121
+ # The compliance severity level assigned to the patch baseline after
8122
+ # the update completed.
8123
+ # @return [String]
8124
+ #
8004
8125
  # @!attribute [rw] rejected_patches
8005
8126
  # A list of explicitly rejected patches for the baseline.
8006
8127
  # @return [Array<String>]
@@ -8022,9 +8143,11 @@ module Aws::SSM
8022
8143
  class UpdatePatchBaselineResult < Struct.new(
8023
8144
  :baseline_id,
8024
8145
  :name,
8146
+ :operating_system,
8025
8147
  :global_filters,
8026
8148
  :approval_rules,
8027
8149
  :approved_patches,
8150
+ :approved_patches_compliance_level,
8028
8151
  :rejected_patches,
8029
8152
  :created_date,
8030
8153
  :modified_date,
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.0.0.rc9
4
+ version: 1.0.0.rc10
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: 2017-06-29 00:00:00.000000000 Z
11
+ date: 2017-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc14
19
+ version: 3.0.0.rc16
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc14
26
+ version: 3.0.0.rc16
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement