aws-sdk-licensemanagerlinuxsubscriptions 1.17.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb +296 -20
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/client_api.rb +189 -0
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoints.rb +98 -0
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/errors.rb +16 -0
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions/types.rb +365 -20
- data/lib/aws-sdk-licensemanagerlinuxsubscriptions.rb +2 -2
- data/sig/client.rbs +82 -0
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +98 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69deb26f692ebab83e784f1296b462bf3462f387ce01ca5d31f31af6fba48263
|
4
|
+
data.tar.gz: cb04eafa01b94cda3deea28813cbbab9175d85dd3e88fa4e45389b2ef3a72d77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7675d58cb32e4483e16a5597022037a909a3f4719d66d90f68c391fa51e1c1ef57db010ab46280236ed50f9c2af31aa53a7678e9538957bff88c0811b74d397
|
7
|
+
data.tar.gz: 29cf81fcbe33c0200be4e68aa6ba846de3c793a9d59a307122d1f3feae64dc89e95a99bf1fbb232ff715cdcc228c43f385ae63145cf4d8b41ac08054fa5800a1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.18.0 (2024-07-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.17.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::LicenseManagerLinuxSubscriptions::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -425,7 +437,71 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
425
437
|
|
426
438
|
# @!group API Operations
|
427
439
|
|
428
|
-
#
|
440
|
+
# Remove a third-party subscription provider from the Bring Your Own
|
441
|
+
# License (BYOL) subscriptions registered to your account.
|
442
|
+
#
|
443
|
+
# @option params [required, String] :subscription_provider_arn
|
444
|
+
# The Amazon Resource Name (ARN) of the subscription provider resource
|
445
|
+
# to deregister.
|
446
|
+
#
|
447
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
448
|
+
#
|
449
|
+
# @example Request syntax with placeholder values
|
450
|
+
#
|
451
|
+
# resp = client.deregister_subscription_provider({
|
452
|
+
# subscription_provider_arn: "SubscriptionProviderArn", # required
|
453
|
+
# })
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProvider AWS API Documentation
|
456
|
+
#
|
457
|
+
# @overload deregister_subscription_provider(params = {})
|
458
|
+
# @param [Hash] params ({})
|
459
|
+
def deregister_subscription_provider(params = {}, options = {})
|
460
|
+
req = build_request(:deregister_subscription_provider, params)
|
461
|
+
req.send_request(options)
|
462
|
+
end
|
463
|
+
|
464
|
+
# Get details for a Bring Your Own License (BYOL) subscription that's
|
465
|
+
# registered to your account.
|
466
|
+
#
|
467
|
+
# @option params [required, String] :subscription_provider_arn
|
468
|
+
# The Amazon Resource Name (ARN) of the BYOL registration resource to
|
469
|
+
# get details for.
|
470
|
+
#
|
471
|
+
# @return [Types::GetRegisteredSubscriptionProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
472
|
+
#
|
473
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#last_successful_data_retrieval_time #last_successful_data_retrieval_time} => String
|
474
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#secret_arn #secret_arn} => String
|
475
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_arn #subscription_provider_arn} => String
|
476
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_source #subscription_provider_source} => String
|
477
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_status #subscription_provider_status} => String
|
478
|
+
# * {Types::GetRegisteredSubscriptionProviderResponse#subscription_provider_status_message #subscription_provider_status_message} => String
|
479
|
+
#
|
480
|
+
# @example Request syntax with placeholder values
|
481
|
+
#
|
482
|
+
# resp = client.get_registered_subscription_provider({
|
483
|
+
# subscription_provider_arn: "SubscriptionProviderArn", # required
|
484
|
+
# })
|
485
|
+
#
|
486
|
+
# @example Response structure
|
487
|
+
#
|
488
|
+
# resp.last_successful_data_retrieval_time #=> String
|
489
|
+
# resp.secret_arn #=> String
|
490
|
+
# resp.subscription_provider_arn #=> String
|
491
|
+
# resp.subscription_provider_source #=> String, one of "RedHat"
|
492
|
+
# resp.subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
|
493
|
+
# resp.subscription_provider_status_message #=> String
|
494
|
+
#
|
495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProvider AWS API Documentation
|
496
|
+
#
|
497
|
+
# @overload get_registered_subscription_provider(params = {})
|
498
|
+
# @param [Hash] params ({})
|
499
|
+
def get_registered_subscription_provider(params = {}, options = {})
|
500
|
+
req = build_request(:get_registered_subscription_provider, params)
|
501
|
+
req.send_request(options)
|
502
|
+
end
|
503
|
+
|
504
|
+
# Lists the Linux subscriptions service settings for your account.
|
429
505
|
#
|
430
506
|
# @return [Types::GetServiceSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
431
507
|
#
|
@@ -460,31 +536,34 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
460
536
|
# commercial Linux subscriptions.
|
461
537
|
#
|
462
538
|
# @option params [Array<Types::Filter>] :filters
|
463
|
-
# An array of structures that you can use to filter the results
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
# match a certain Amazon Machine Image (AMI) ID.
|
539
|
+
# An array of structures that you can use to filter the results by your
|
540
|
+
# specified criteria. For example, you can specify `Region` in the
|
541
|
+
# `Name`, with the `contains` operator to list all subscriptions that
|
542
|
+
# match a partial string in the `Value`, such as `us-west`.
|
468
543
|
#
|
469
|
-
#
|
544
|
+
# For each filter, you can specify one of the following values for the
|
545
|
+
# `Name` key to streamline results:
|
546
|
+
#
|
547
|
+
# * `AccountID`
|
470
548
|
#
|
471
549
|
# * `AmiID`
|
472
550
|
#
|
551
|
+
# * `DualSubscription`
|
552
|
+
#
|
473
553
|
# * `InstanceID`
|
474
554
|
#
|
475
|
-
# * `
|
555
|
+
# * `InstanceType`
|
476
556
|
#
|
477
|
-
# * `
|
557
|
+
# * `ProductCode`
|
478
558
|
#
|
479
559
|
# * `Region`
|
480
560
|
#
|
481
|
-
# * `
|
482
|
-
#
|
483
|
-
# * `ProductCode`
|
561
|
+
# * `Status`
|
484
562
|
#
|
485
|
-
# * `
|
563
|
+
# * `UsageOperation`
|
486
564
|
#
|
487
|
-
#
|
565
|
+
# For each filter, you can use one of the following `Operator` values to
|
566
|
+
# define the behavior of the filter:
|
488
567
|
#
|
489
568
|
# * `contains`
|
490
569
|
#
|
@@ -493,10 +572,11 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
493
572
|
# * `Notequal`
|
494
573
|
#
|
495
574
|
# @option params [Integer] :max_results
|
496
|
-
#
|
575
|
+
# The maximum items to return in a request.
|
497
576
|
#
|
498
577
|
# @option params [String] :next_token
|
499
|
-
#
|
578
|
+
# A token to specify where to start paginating. This is the nextToken
|
579
|
+
# from a previously truncated response.
|
500
580
|
#
|
501
581
|
# @return [Types::ListLinuxSubscriptionInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
502
582
|
#
|
@@ -524,14 +604,19 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
524
604
|
# resp.instances #=> Array
|
525
605
|
# resp.instances[0].account_id #=> String
|
526
606
|
# resp.instances[0].ami_id #=> String
|
607
|
+
# resp.instances[0].dual_subscription #=> String
|
527
608
|
# resp.instances[0].instance_id #=> String
|
528
609
|
# resp.instances[0].instance_type #=> String
|
529
610
|
# resp.instances[0].last_updated_time #=> String
|
611
|
+
# resp.instances[0].os_version #=> String
|
530
612
|
# resp.instances[0].product_code #=> Array
|
531
613
|
# resp.instances[0].product_code[0] #=> String
|
532
614
|
# resp.instances[0].region #=> String
|
615
|
+
# resp.instances[0].registered_with_subscription_provider #=> String
|
533
616
|
# resp.instances[0].status #=> String
|
534
617
|
# resp.instances[0].subscription_name #=> String
|
618
|
+
# resp.instances[0].subscription_provider_create_time #=> String
|
619
|
+
# resp.instances[0].subscription_provider_update_time #=> String
|
535
620
|
# resp.instances[0].usage_operation #=> String
|
536
621
|
# resp.next_token #=> String
|
537
622
|
#
|
@@ -570,10 +655,11 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
570
655
|
# * `Notequal`
|
571
656
|
#
|
572
657
|
# @option params [Integer] :max_results
|
573
|
-
#
|
658
|
+
# The maximum items to return in a request.
|
574
659
|
#
|
575
660
|
# @option params [String] :next_token
|
576
|
-
#
|
661
|
+
# A token to specify where to start paginating. This is the nextToken
|
662
|
+
# from a previously truncated response.
|
577
663
|
#
|
578
664
|
# @return [Types::ListLinuxSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
579
665
|
#
|
@@ -613,6 +699,191 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
613
699
|
req.send_request(options)
|
614
700
|
end
|
615
701
|
|
702
|
+
# List Bring Your Own License (BYOL) subscription registration resources
|
703
|
+
# for your account.
|
704
|
+
#
|
705
|
+
# @option params [Integer] :max_results
|
706
|
+
# The maximum items to return in a request.
|
707
|
+
#
|
708
|
+
# @option params [String] :next_token
|
709
|
+
# A token to specify where to start paginating. This is the nextToken
|
710
|
+
# from a previously truncated response.
|
711
|
+
#
|
712
|
+
# @option params [Array<String>] :subscription_provider_sources
|
713
|
+
# To filter your results, specify which subscription providers to return
|
714
|
+
# in the list.
|
715
|
+
#
|
716
|
+
# @return [Types::ListRegisteredSubscriptionProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
717
|
+
#
|
718
|
+
# * {Types::ListRegisteredSubscriptionProvidersResponse#next_token #next_token} => String
|
719
|
+
# * {Types::ListRegisteredSubscriptionProvidersResponse#registered_subscription_providers #registered_subscription_providers} => Array<Types::RegisteredSubscriptionProvider>
|
720
|
+
#
|
721
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
722
|
+
#
|
723
|
+
# @example Request syntax with placeholder values
|
724
|
+
#
|
725
|
+
# resp = client.list_registered_subscription_providers({
|
726
|
+
# max_results: 1,
|
727
|
+
# next_token: "String",
|
728
|
+
# subscription_provider_sources: ["RedHat"], # accepts RedHat
|
729
|
+
# })
|
730
|
+
#
|
731
|
+
# @example Response structure
|
732
|
+
#
|
733
|
+
# resp.next_token #=> String
|
734
|
+
# resp.registered_subscription_providers #=> Array
|
735
|
+
# resp.registered_subscription_providers[0].last_successful_data_retrieval_time #=> String
|
736
|
+
# resp.registered_subscription_providers[0].secret_arn #=> String
|
737
|
+
# resp.registered_subscription_providers[0].subscription_provider_arn #=> String
|
738
|
+
# resp.registered_subscription_providers[0].subscription_provider_source #=> String, one of "RedHat"
|
739
|
+
# resp.registered_subscription_providers[0].subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
|
740
|
+
# resp.registered_subscription_providers[0].subscription_provider_status_message #=> String
|
741
|
+
#
|
742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProviders AWS API Documentation
|
743
|
+
#
|
744
|
+
# @overload list_registered_subscription_providers(params = {})
|
745
|
+
# @param [Hash] params ({})
|
746
|
+
def list_registered_subscription_providers(params = {}, options = {})
|
747
|
+
req = build_request(:list_registered_subscription_providers, params)
|
748
|
+
req.send_request(options)
|
749
|
+
end
|
750
|
+
|
751
|
+
# List the metadata tags that are assigned to the specified Amazon Web
|
752
|
+
# Services resource.
|
753
|
+
#
|
754
|
+
# @option params [required, String] :resource_arn
|
755
|
+
# The Amazon Resource Name (ARN) of the resource for which to list
|
756
|
+
# metadata tags.
|
757
|
+
#
|
758
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
759
|
+
#
|
760
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
761
|
+
#
|
762
|
+
# @example Request syntax with placeholder values
|
763
|
+
#
|
764
|
+
# resp = client.list_tags_for_resource({
|
765
|
+
# resource_arn: "SubscriptionProviderArn", # required
|
766
|
+
# })
|
767
|
+
#
|
768
|
+
# @example Response structure
|
769
|
+
#
|
770
|
+
# resp.tags #=> Hash
|
771
|
+
# resp.tags["String"] #=> String
|
772
|
+
#
|
773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResource AWS API Documentation
|
774
|
+
#
|
775
|
+
# @overload list_tags_for_resource(params = {})
|
776
|
+
# @param [Hash] params ({})
|
777
|
+
def list_tags_for_resource(params = {}, options = {})
|
778
|
+
req = build_request(:list_tags_for_resource, params)
|
779
|
+
req.send_request(options)
|
780
|
+
end
|
781
|
+
|
782
|
+
# Register the supported third-party subscription provider for your
|
783
|
+
# Bring Your Own License (BYOL) subscription.
|
784
|
+
#
|
785
|
+
# @option params [required, String] :secret_arn
|
786
|
+
# The Amazon Resource Name (ARN) of the secret where you've stored your
|
787
|
+
# subscription provider's access token. For RHEL subscriptions managed
|
788
|
+
# through the Red Hat Subscription Manager (RHSM), the secret contains
|
789
|
+
# your Red Hat Offline token.
|
790
|
+
#
|
791
|
+
# @option params [required, String] :subscription_provider_source
|
792
|
+
# The supported Linux subscription provider to register.
|
793
|
+
#
|
794
|
+
# @option params [Hash<String,String>] :tags
|
795
|
+
# The metadata tags to assign to your registered Linux subscription
|
796
|
+
# provider resource.
|
797
|
+
#
|
798
|
+
# @return [Types::RegisterSubscriptionProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
|
+
#
|
800
|
+
# * {Types::RegisterSubscriptionProviderResponse#subscription_provider_arn #subscription_provider_arn} => String
|
801
|
+
# * {Types::RegisterSubscriptionProviderResponse#subscription_provider_source #subscription_provider_source} => String
|
802
|
+
# * {Types::RegisterSubscriptionProviderResponse#subscription_provider_status #subscription_provider_status} => String
|
803
|
+
#
|
804
|
+
# @example Request syntax with placeholder values
|
805
|
+
#
|
806
|
+
# resp = client.register_subscription_provider({
|
807
|
+
# secret_arn: "SecretArn", # required
|
808
|
+
# subscription_provider_source: "RedHat", # required, accepts RedHat
|
809
|
+
# tags: {
|
810
|
+
# "String" => "String",
|
811
|
+
# },
|
812
|
+
# })
|
813
|
+
#
|
814
|
+
# @example Response structure
|
815
|
+
#
|
816
|
+
# resp.subscription_provider_arn #=> String
|
817
|
+
# resp.subscription_provider_source #=> String, one of "RedHat"
|
818
|
+
# resp.subscription_provider_status #=> String, one of "ACTIVE", "INVALID", "PENDING"
|
819
|
+
#
|
820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProvider AWS API Documentation
|
821
|
+
#
|
822
|
+
# @overload register_subscription_provider(params = {})
|
823
|
+
# @param [Hash] params ({})
|
824
|
+
def register_subscription_provider(params = {}, options = {})
|
825
|
+
req = build_request(:register_subscription_provider, params)
|
826
|
+
req.send_request(options)
|
827
|
+
end
|
828
|
+
|
829
|
+
# Add metadata tags to the specified Amazon Web Services resource.
|
830
|
+
#
|
831
|
+
# @option params [required, String] :resource_arn
|
832
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services resource to
|
833
|
+
# which to add the specified metadata tags.
|
834
|
+
#
|
835
|
+
# @option params [required, Hash<String,String>] :tags
|
836
|
+
# The metadata tags to assign to the Amazon Web Services resource. Tags
|
837
|
+
# are formatted as key value pairs.
|
838
|
+
#
|
839
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
840
|
+
#
|
841
|
+
# @example Request syntax with placeholder values
|
842
|
+
#
|
843
|
+
# resp = client.tag_resource({
|
844
|
+
# resource_arn: "SubscriptionProviderArn", # required
|
845
|
+
# tags: { # required
|
846
|
+
# "String" => "String",
|
847
|
+
# },
|
848
|
+
# })
|
849
|
+
#
|
850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResource AWS API Documentation
|
851
|
+
#
|
852
|
+
# @overload tag_resource(params = {})
|
853
|
+
# @param [Hash] params ({})
|
854
|
+
def tag_resource(params = {}, options = {})
|
855
|
+
req = build_request(:tag_resource, params)
|
856
|
+
req.send_request(options)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Remove one or more metadata tag from the specified Amazon Web Services
|
860
|
+
# resource.
|
861
|
+
#
|
862
|
+
# @option params [required, String] :resource_arn
|
863
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services resource to
|
864
|
+
# remove the metadata tags from.
|
865
|
+
#
|
866
|
+
# @option params [required, Array<String>] :tag_keys
|
867
|
+
# A list of metadata tag keys to remove from the requested resource.
|
868
|
+
#
|
869
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
870
|
+
#
|
871
|
+
# @example Request syntax with placeholder values
|
872
|
+
#
|
873
|
+
# resp = client.untag_resource({
|
874
|
+
# resource_arn: "SubscriptionProviderArn", # required
|
875
|
+
# tag_keys: ["String"], # required
|
876
|
+
# })
|
877
|
+
#
|
878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResource AWS API Documentation
|
879
|
+
#
|
880
|
+
# @overload untag_resource(params = {})
|
881
|
+
# @param [Hash] params ({})
|
882
|
+
def untag_resource(params = {}, options = {})
|
883
|
+
req = build_request(:untag_resource, params)
|
884
|
+
req.send_request(options)
|
885
|
+
end
|
886
|
+
|
616
887
|
# Updates the service settings for Linux subscriptions.
|
617
888
|
#
|
618
889
|
# @option params [Boolean] :allow_update
|
@@ -674,14 +945,19 @@ module Aws::LicenseManagerLinuxSubscriptions
|
|
674
945
|
# @api private
|
675
946
|
def build_request(operation_name, params = {})
|
676
947
|
handlers = @handlers.for(operation_name)
|
948
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
949
|
+
Aws::Telemetry.module_to_tracer_name('Aws::LicenseManagerLinuxSubscriptions')
|
950
|
+
)
|
677
951
|
context = Seahorse::Client::RequestContext.new(
|
678
952
|
operation_name: operation_name,
|
679
953
|
operation: config.api.operation(operation_name),
|
680
954
|
client: self,
|
681
955
|
params: params,
|
682
|
-
config: config
|
956
|
+
config: config,
|
957
|
+
tracer: tracer
|
958
|
+
)
|
683
959
|
context[:gem_name] = 'aws-sdk-licensemanagerlinuxsubscriptions'
|
684
|
-
context[:gem_version] = '1.
|
960
|
+
context[:gem_version] = '1.19.0'
|
685
961
|
Seahorse::Client::Request.new(handlers, context)
|
686
962
|
end
|
687
963
|
|