aws-sdk-licensemanagerlinuxsubscriptions 1.16.0 → 1.18.0

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
  SHA256:
3
- metadata.gz: e13e3bff07a6945e305b42fda75337271d6d133654011dae613d177bf2730602
4
- data.tar.gz: d6b27b1d3457c686638fa95fa398185084b6e6c001dfea4ee9d68cdacafd5e7c
3
+ metadata.gz: d9206827b5a0d956d425a8a6f553c52e7c7467058924b894b75ef1eb2f100a62
4
+ data.tar.gz: 2da4577ca46234436b41c759e3d3599b5ea72eec4f2c33e3692422a00665f82b
5
5
  SHA512:
6
- metadata.gz: 780e6ecb052cf0999ccc4c6bcdde39af1e429982542af22b139640ee14fdee925aed05a411bfb219fdf3e5d687ca78b90a21480bff213667b7c3eca99a8639be
7
- data.tar.gz: af944d81341c4d5b865c2e025a9bf7cac53c41767901c97967a4df66b1a2cf1cad74556f8604f1668037c3e1e5cde6846cfdc627ed4d2fac06f5df3661615f33
6
+ metadata.gz: c85629d9778d6d8d376cee9d62c585b3ce611942185448ecdd0683df46842df1b9917489608b5c32918aaa39d6cbe1055e476eed7ece4137474222ad10476818
7
+ data.tar.gz: '05459bb3ab7d1cf262d4c91cf91fa466d6b03c06314f52b0e12661ee8528212c892e06bd6cdff1518ea00ef68f4019191999214db898927d685fd3f5c217bf4b'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2024-07-10)
5
+ ------------------
6
+
7
+ * Feature - Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer.
8
+
9
+ 1.17.0 (2024-07-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.16.0 (2024-06-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.18.0
@@ -312,6 +312,15 @@ module Aws::LicenseManagerLinuxSubscriptions
312
312
  #
313
313
  # @option options [String] :session_token
314
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
315
324
  # @option options [Boolean] :stub_responses (false)
316
325
  # Causes the client to return stubbed responses. By default
317
326
  # fake responses are generated and returned. You can specify
@@ -416,7 +425,71 @@ module Aws::LicenseManagerLinuxSubscriptions
416
425
 
417
426
  # @!group API Operations
418
427
 
419
- # Lists the Linux subscriptions service settings.
428
+ # Remove a third-party subscription provider from the Bring Your Own
429
+ # License (BYOL) subscriptions registered to your account.
430
+ #
431
+ # @option params [required, String] :subscription_provider_arn
432
+ # The Amazon Resource Name (ARN) of the subscription provider resource
433
+ # to deregister.
434
+ #
435
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
436
+ #
437
+ # @example Request syntax with placeholder values
438
+ #
439
+ # resp = client.deregister_subscription_provider({
440
+ # subscription_provider_arn: "SubscriptionProviderArn", # required
441
+ # })
442
+ #
443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProvider AWS API Documentation
444
+ #
445
+ # @overload deregister_subscription_provider(params = {})
446
+ # @param [Hash] params ({})
447
+ def deregister_subscription_provider(params = {}, options = {})
448
+ req = build_request(:deregister_subscription_provider, params)
449
+ req.send_request(options)
450
+ end
451
+
452
+ # Get details for a Bring Your Own License (BYOL) subscription that's
453
+ # registered to your account.
454
+ #
455
+ # @option params [required, String] :subscription_provider_arn
456
+ # The Amazon Resource Name (ARN) of the BYOL registration resource to
457
+ # get details for.
458
+ #
459
+ # @return [Types::GetRegisteredSubscriptionProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
460
+ #
461
+ # * {Types::GetRegisteredSubscriptionProviderResponse#last_successful_data_retrieval_time #last_successful_data_retrieval_time} => String
462
+ # * {Types::GetRegisteredSubscriptionProviderResponse#secret_arn #secret_arn} => String
463
+ # * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_arn #subscription_provider_arn} => String
464
+ # * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_source #subscription_provider_source} => String
465
+ # * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_status #subscription_provider_status} => String
466
+ # * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_status_message #subscription_provider_status_message} => String
467
+ #
468
+ # @example Request syntax with placeholder values
469
+ #
470
+ # resp = client.get_registered_subscription_provider({
471
+ # subscription_provider_arn: "SubscriptionProviderArn", # required
472
+ # })
473
+ #
474
+ # @example Response structure
475
+ #
476
+ # resp.last_successful_data_retrieval_time #=> String
477
+ # resp.secret_arn #=> String
478
+ # resp.subscription_provider_arn #=> String
479
+ # resp.subscription_provider_source #=> String, one of "RedHat"
480
+ # resp.subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
481
+ # resp.subscription_provider_status_message #=> String
482
+ #
483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProvider AWS API Documentation
484
+ #
485
+ # @overload get_registered_subscription_provider(params = {})
486
+ # @param [Hash] params ({})
487
+ def get_registered_subscription_provider(params = {}, options = {})
488
+ req = build_request(:get_registered_subscription_provider, params)
489
+ req.send_request(options)
490
+ end
491
+
492
+ # Lists the Linux subscriptions service settings for your account.
420
493
  #
421
494
  # @return [Types::GetServiceSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
422
495
  #
@@ -451,31 +524,34 @@ module Aws::LicenseManagerLinuxSubscriptions
451
524
  # commercial Linux subscriptions.
452
525
  #
453
526
  # @option params [Array<Types::Filter>] :filters
454
- # An array of structures that you can use to filter the results to those
455
- # that match one or more sets of key-value pairs that you specify. For
456
- # example, you can filter by the name of `AmiID` with an optional
457
- # operator to see subscriptions that match, partially match, or don't
458
- # match a certain Amazon Machine Image (AMI) ID.
527
+ # An array of structures that you can use to filter the results by your
528
+ # specified criteria. For example, you can specify `Region` in the
529
+ # `Name`, with the `contains` operator to list all subscriptions that
530
+ # match a partial string in the `Value`, such as `us-west`.
459
531
  #
460
- # The valid names for this filter are:
532
+ # For each filter, you can specify one of the following values for the
533
+ # `Name` key to streamline results:
534
+ #
535
+ # * `AccountID`
461
536
  #
462
537
  # * `AmiID`
463
538
  #
539
+ # * `DualSubscription`
540
+ #
464
541
  # * `InstanceID`
465
542
  #
466
- # * `AccountID`
543
+ # * `InstanceType`
467
544
  #
468
- # * `Status`
545
+ # * `ProductCode`
469
546
  #
470
547
  # * `Region`
471
548
  #
472
- # * `UsageOperation`
473
- #
474
- # * `ProductCode`
549
+ # * `Status`
475
550
  #
476
- # * `InstanceType`
551
+ # * `UsageOperation`
477
552
  #
478
- # The valid Operators for this filter are:
553
+ # For each filter, you can use one of the following `Operator` values to
554
+ # define the behavior of the filter:
479
555
  #
480
556
  # * `contains`
481
557
  #
@@ -484,10 +560,11 @@ module Aws::LicenseManagerLinuxSubscriptions
484
560
  # * `Notequal`
485
561
  #
486
562
  # @option params [Integer] :max_results
487
- # Maximum number of results to return in a single call.
563
+ # The maximum items to return in a request.
488
564
  #
489
565
  # @option params [String] :next_token
490
- # Token for the next set of results.
566
+ # A token to specify where to start paginating. This is the nextToken
567
+ # from a previously truncated response.
491
568
  #
492
569
  # @return [Types::ListLinuxSubscriptionInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
493
570
  #
@@ -515,14 +592,19 @@ module Aws::LicenseManagerLinuxSubscriptions
515
592
  # resp.instances #=> Array
516
593
  # resp.instances[0].account_id #=> String
517
594
  # resp.instances[0].ami_id #=> String
595
+ # resp.instances[0].dual_subscription #=> String
518
596
  # resp.instances[0].instance_id #=> String
519
597
  # resp.instances[0].instance_type #=> String
520
598
  # resp.instances[0].last_updated_time #=> String
599
+ # resp.instances[0].os_version #=> String
521
600
  # resp.instances[0].product_code #=> Array
522
601
  # resp.instances[0].product_code[0] #=> String
523
602
  # resp.instances[0].region #=> String
603
+ # resp.instances[0].registered_with_subscription_provider #=> String
524
604
  # resp.instances[0].status #=> String
525
605
  # resp.instances[0].subscription_name #=> String
606
+ # resp.instances[0].subscription_provider_create_time #=> String
607
+ # resp.instances[0].subscription_provider_update_time #=> String
526
608
  # resp.instances[0].usage_operation #=> String
527
609
  # resp.next_token #=> String
528
610
  #
@@ -561,10 +643,11 @@ module Aws::LicenseManagerLinuxSubscriptions
561
643
  # * `Notequal`
562
644
  #
563
645
  # @option params [Integer] :max_results
564
- # Maximum number of results to return in a single call.
646
+ # The maximum items to return in a request.
565
647
  #
566
648
  # @option params [String] :next_token
567
- # Token for the next set of results.
649
+ # A token to specify where to start paginating. This is the nextToken
650
+ # from a previously truncated response.
568
651
  #
569
652
  # @return [Types::ListLinuxSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
570
653
  #
@@ -604,6 +687,191 @@ module Aws::LicenseManagerLinuxSubscriptions
604
687
  req.send_request(options)
605
688
  end
606
689
 
690
+ # List Bring Your Own License (BYOL) subscription registration resources
691
+ # for your account.
692
+ #
693
+ # @option params [Integer] :max_results
694
+ # The maximum items to return in a request.
695
+ #
696
+ # @option params [String] :next_token
697
+ # A token to specify where to start paginating. This is the nextToken
698
+ # from a previously truncated response.
699
+ #
700
+ # @option params [Array<String>] :subscription_provider_sources
701
+ # To filter your results, specify which subscription providers to return
702
+ # in the list.
703
+ #
704
+ # @return [Types::ListRegisteredSubscriptionProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
705
+ #
706
+ # * {Types::ListRegisteredSubscriptionProvidersResponse#next_token #next_token} => String
707
+ # * {Types::ListRegisteredSubscriptionProvidersResponse#registered_subscription_providers #registered_subscription_providers} => Array&lt;Types::RegisteredSubscriptionProvider&gt;
708
+ #
709
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
710
+ #
711
+ # @example Request syntax with placeholder values
712
+ #
713
+ # resp = client.list_registered_subscription_providers({
714
+ # max_results: 1,
715
+ # next_token: "String",
716
+ # subscription_provider_sources: ["RedHat"], # accepts RedHat
717
+ # })
718
+ #
719
+ # @example Response structure
720
+ #
721
+ # resp.next_token #=> String
722
+ # resp.registered_subscription_providers #=> Array
723
+ # resp.registered_subscription_providers[0].last_successful_data_retrieval_time #=> String
724
+ # resp.registered_subscription_providers[0].secret_arn #=> String
725
+ # resp.registered_subscription_providers[0].subscription_provider_arn #=> String
726
+ # resp.registered_subscription_providers[0].subscription_provider_source #=> String, one of "RedHat"
727
+ # resp.registered_subscription_providers[0].subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
728
+ # resp.registered_subscription_providers[0].subscription_provider_status_message #=> String
729
+ #
730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProviders AWS API Documentation
731
+ #
732
+ # @overload list_registered_subscription_providers(params = {})
733
+ # @param [Hash] params ({})
734
+ def list_registered_subscription_providers(params = {}, options = {})
735
+ req = build_request(:list_registered_subscription_providers, params)
736
+ req.send_request(options)
737
+ end
738
+
739
+ # List the metadata tags that are assigned to the specified Amazon Web
740
+ # Services resource.
741
+ #
742
+ # @option params [required, String] :resource_arn
743
+ # The Amazon Resource Name (ARN) of the resource for which to list
744
+ # metadata tags.
745
+ #
746
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
747
+ #
748
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
749
+ #
750
+ # @example Request syntax with placeholder values
751
+ #
752
+ # resp = client.list_tags_for_resource({
753
+ # resource_arn: "SubscriptionProviderArn", # required
754
+ # })
755
+ #
756
+ # @example Response structure
757
+ #
758
+ # resp.tags #=> Hash
759
+ # resp.tags["String"] #=> String
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResource AWS API Documentation
762
+ #
763
+ # @overload list_tags_for_resource(params = {})
764
+ # @param [Hash] params ({})
765
+ def list_tags_for_resource(params = {}, options = {})
766
+ req = build_request(:list_tags_for_resource, params)
767
+ req.send_request(options)
768
+ end
769
+
770
+ # Register the supported third-party subscription provider for your
771
+ # Bring Your Own License (BYOL) subscription.
772
+ #
773
+ # @option params [required, String] :secret_arn
774
+ # The Amazon Resource Name (ARN) of the secret where you've stored your
775
+ # subscription provider's access token. For RHEL subscriptions managed
776
+ # through the Red Hat Subscription Manager (RHSM), the secret contains
777
+ # your Red Hat Offline token.
778
+ #
779
+ # @option params [required, String] :subscription_provider_source
780
+ # The supported Linux subscription provider to register.
781
+ #
782
+ # @option params [Hash<String,String>] :tags
783
+ # The metadata tags to assign to your registered Linux subscription
784
+ # provider resource.
785
+ #
786
+ # @return [Types::RegisterSubscriptionProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
787
+ #
788
+ # * {Types::RegisterSubscriptionProviderResponse#subscription_provider_arn #subscription_provider_arn} => String
789
+ # * {Types::RegisterSubscriptionProviderResponse#subscription_provider_source #subscription_provider_source} => String
790
+ # * {Types::RegisterSubscriptionProviderResponse#subscription_provider_status #subscription_provider_status} => String
791
+ #
792
+ # @example Request syntax with placeholder values
793
+ #
794
+ # resp = client.register_subscription_provider({
795
+ # secret_arn: "SecretArn", # required
796
+ # subscription_provider_source: "RedHat", # required, accepts RedHat
797
+ # tags: {
798
+ # "String" => "String",
799
+ # },
800
+ # })
801
+ #
802
+ # @example Response structure
803
+ #
804
+ # resp.subscription_provider_arn #=> String
805
+ # resp.subscription_provider_source #=> String, one of "RedHat"
806
+ # resp.subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
807
+ #
808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProvider AWS API Documentation
809
+ #
810
+ # @overload register_subscription_provider(params = {})
811
+ # @param [Hash] params ({})
812
+ def register_subscription_provider(params = {}, options = {})
813
+ req = build_request(:register_subscription_provider, params)
814
+ req.send_request(options)
815
+ end
816
+
817
+ # Add metadata tags to the specified Amazon Web Services resource.
818
+ #
819
+ # @option params [required, String] :resource_arn
820
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource to
821
+ # which to add the specified metadata tags.
822
+ #
823
+ # @option params [required, Hash<String,String>] :tags
824
+ # The metadata tags to assign to the Amazon Web Services resource. Tags
825
+ # are formatted as key value pairs.
826
+ #
827
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
828
+ #
829
+ # @example Request syntax with placeholder values
830
+ #
831
+ # resp = client.tag_resource({
832
+ # resource_arn: "SubscriptionProviderArn", # required
833
+ # tags: { # required
834
+ # "String" => "String",
835
+ # },
836
+ # })
837
+ #
838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResource AWS API Documentation
839
+ #
840
+ # @overload tag_resource(params = {})
841
+ # @param [Hash] params ({})
842
+ def tag_resource(params = {}, options = {})
843
+ req = build_request(:tag_resource, params)
844
+ req.send_request(options)
845
+ end
846
+
847
+ # Remove one or more metadata tag from the specified Amazon Web Services
848
+ # resource.
849
+ #
850
+ # @option params [required, String] :resource_arn
851
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource to
852
+ # remove the metadata tags from.
853
+ #
854
+ # @option params [required, Array<String>] :tag_keys
855
+ # A list of metadata tag keys to remove from the requested resource.
856
+ #
857
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
858
+ #
859
+ # @example Request syntax with placeholder values
860
+ #
861
+ # resp = client.untag_resource({
862
+ # resource_arn: "SubscriptionProviderArn", # required
863
+ # tag_keys: ["String"], # required
864
+ # })
865
+ #
866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResource AWS API Documentation
867
+ #
868
+ # @overload untag_resource(params = {})
869
+ # @param [Hash] params ({})
870
+ def untag_resource(params = {}, options = {})
871
+ req = build_request(:untag_resource, params)
872
+ req.send_request(options)
873
+ end
874
+
607
875
  # Updates the service settings for Linux subscriptions.
608
876
  #
609
877
  # @option params [Boolean] :allow_update
@@ -672,7 +940,7 @@ module Aws::LicenseManagerLinuxSubscriptions
672
940
  params: params,
673
941
  config: config)
674
942
  context[:gem_name] = 'aws-sdk-licensemanagerlinuxsubscriptions'
675
- context[:gem_version] = '1.16.0'
943
+ context[:gem_version] = '1.18.0'
676
944
  Seahorse::Client::Request.new(handlers, context)
677
945
  end
678
946