aws-sdk-licensemanagerlinuxsubscriptions 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,23 @@
10
10
  module Aws::LicenseManagerLinuxSubscriptions
11
11
  module Types
12
12
 
13
+ # @!attribute [rw] subscription_provider_arn
14
+ # The Amazon Resource Name (ARN) of the subscription provider resource
15
+ # to deregister.
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProviderRequest AWS API Documentation
19
+ #
20
+ class DeregisterSubscriptionProviderRequest < Struct.new(
21
+ :subscription_provider_arn)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProviderResponse AWS API Documentation
27
+ #
28
+ class DeregisterSubscriptionProviderResponse < Aws::EmptyStructure; end
29
+
13
30
  # A filter object that is used to return more specific results from a
14
31
  # describe operation. Filters can be used to match a set of resources by
15
32
  # specific criteria.
@@ -36,6 +53,63 @@ module Aws::LicenseManagerLinuxSubscriptions
36
53
  include Aws::Structure
37
54
  end
38
55
 
56
+ # @!attribute [rw] subscription_provider_arn
57
+ # The Amazon Resource Name (ARN) of the BYOL registration resource to
58
+ # get details for.
59
+ # @return [String]
60
+ #
61
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProviderRequest AWS API Documentation
62
+ #
63
+ class GetRegisteredSubscriptionProviderRequest < Struct.new(
64
+ :subscription_provider_arn)
65
+ SENSITIVE = []
66
+ include Aws::Structure
67
+ end
68
+
69
+ # @!attribute [rw] last_successful_data_retrieval_time
70
+ # The timestamp from the last time License Manager retrieved
71
+ # subscription details from your registered third-party Linux
72
+ # subscription provider.
73
+ # @return [String]
74
+ #
75
+ # @!attribute [rw] secret_arn
76
+ # The Amazon Resource Name (ARN) of the third-party access secret
77
+ # stored in Secrets Manager for the BYOL registration resource
78
+ # specified in the request.
79
+ # @return [String]
80
+ #
81
+ # @!attribute [rw] subscription_provider_arn
82
+ # The Amazon Resource Name (ARN) for the BYOL registration resource
83
+ # specified in the request.
84
+ # @return [String]
85
+ #
86
+ # @!attribute [rw] subscription_provider_source
87
+ # The subscription provider for the BYOL registration resource
88
+ # specified in the request.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] subscription_provider_status
92
+ # The status of the Linux subscription provider access token from the
93
+ # last successful subscription data request.
94
+ # @return [String]
95
+ #
96
+ # @!attribute [rw] subscription_provider_status_message
97
+ # The detailed message from your subscription provider token status.
98
+ # @return [String]
99
+ #
100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProviderResponse AWS API Documentation
101
+ #
102
+ class GetRegisteredSubscriptionProviderResponse < Struct.new(
103
+ :last_successful_data_retrieval_time,
104
+ :secret_arn,
105
+ :subscription_provider_arn,
106
+ :subscription_provider_source,
107
+ :subscription_provider_status,
108
+ :subscription_provider_status_message)
109
+ SENSITIVE = []
110
+ include Aws::Structure
111
+ end
112
+
39
113
  # @api private
40
114
  #
41
115
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetServiceSettingsRequest AWS API Documentation
@@ -89,6 +163,11 @@ module Aws::LicenseManagerLinuxSubscriptions
89
163
  # The AMI ID used to launch the instance.
90
164
  # @return [String]
91
165
  #
166
+ # @!attribute [rw] dual_subscription
167
+ # Indicates that you have two different license subscriptions for the
168
+ # same software on your instance.
169
+ # @return [String]
170
+ #
92
171
  # @!attribute [rw] instance_id
93
172
  # The instance ID of the resource.
94
173
  # @return [String]
@@ -101,6 +180,10 @@ module Aws::LicenseManagerLinuxSubscriptions
101
180
  # The time in which the last discovery updated the instance details.
102
181
  # @return [String]
103
182
  #
183
+ # @!attribute [rw] os_version
184
+ # The operating system software version that runs on your instance.
185
+ # @return [String]
186
+ #
104
187
  # @!attribute [rw] product_code
105
188
  # The product code for the instance. For more information, see [Usage
106
189
  # operation values][1] in the *License Manager User Guide* .
@@ -114,12 +197,28 @@ module Aws::LicenseManagerLinuxSubscriptions
114
197
  # The Region the instance is running in.
115
198
  # @return [String]
116
199
  #
200
+ # @!attribute [rw] registered_with_subscription_provider
201
+ # Indicates that your instance uses a BYOL license subscription from a
202
+ # third-party Linux subscription provider that you've registered with
203
+ # License Manager.
204
+ # @return [String]
205
+ #
117
206
  # @!attribute [rw] status
118
207
  # The status of the instance.
119
208
  # @return [String]
120
209
  #
121
210
  # @!attribute [rw] subscription_name
122
- # The name of the subscription being used by the instance.
211
+ # The name of the license subscription that the instance uses.
212
+ # @return [String]
213
+ #
214
+ # @!attribute [rw] subscription_provider_create_time
215
+ # The timestamp when you registered the third-party Linux subscription
216
+ # provider for the subscription that the instance uses.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] subscription_provider_update_time
220
+ # The timestamp from the last time that the instance synced with the
221
+ # registered third-party Linux subscription provider.
123
222
  # @return [String]
124
223
  #
125
224
  # @!attribute [rw] usage_operation
@@ -137,13 +236,18 @@ module Aws::LicenseManagerLinuxSubscriptions
137
236
  class Instance < Struct.new(
138
237
  :account_id,
139
238
  :ami_id,
239
+ :dual_subscription,
140
240
  :instance_id,
141
241
  :instance_type,
142
242
  :last_updated_time,
243
+ :os_version,
143
244
  :product_code,
144
245
  :region,
246
+ :registered_with_subscription_provider,
145
247
  :status,
146
248
  :subscription_name,
249
+ :subscription_provider_create_time,
250
+ :subscription_provider_update_time,
147
251
  :usage_operation)
148
252
  SENSITIVE = []
149
253
  include Aws::Structure
@@ -186,31 +290,34 @@ module Aws::LicenseManagerLinuxSubscriptions
186
290
  # limit if parameters in request increases.
187
291
  #
188
292
  # @!attribute [rw] filters
189
- # An array of structures that you can use to filter the results to
190
- # those that match one or more sets of key-value pairs that you
191
- # specify. For example, you can filter by the name of `AmiID` with an
192
- # optional operator to see subscriptions that match, partially match,
193
- # or don't match a certain Amazon Machine Image (AMI) ID.
293
+ # An array of structures that you can use to filter the results by
294
+ # your specified criteria. For example, you can specify `Region` in
295
+ # the `Name`, with the `contains` operator to list all subscriptions
296
+ # that match a partial string in the `Value`, such as `us-west`.
194
297
  #
195
- # The valid names for this filter are:
298
+ # For each filter, you can specify one of the following values for the
299
+ # `Name` key to streamline results:
300
+ #
301
+ # * `AccountID`
196
302
  #
197
303
  # * `AmiID`
198
304
  #
305
+ # * `DualSubscription`
306
+ #
199
307
  # * `InstanceID`
200
308
  #
201
- # * `AccountID`
309
+ # * `InstanceType`
202
310
  #
203
- # * `Status`
311
+ # * `ProductCode`
204
312
  #
205
313
  # * `Region`
206
314
  #
207
- # * `UsageOperation`
208
- #
209
- # * `ProductCode`
315
+ # * `Status`
210
316
  #
211
- # * `InstanceType`
317
+ # * `UsageOperation`
212
318
  #
213
- # The valid Operators for this filter are:
319
+ # For each filter, you can use one of the following `Operator` values
320
+ # to define the behavior of the filter:
214
321
  #
215
322
  # * `contains`
216
323
  #
@@ -220,11 +327,12 @@ module Aws::LicenseManagerLinuxSubscriptions
220
327
  # @return [Array<Types::Filter>]
221
328
  #
222
329
  # @!attribute [rw] max_results
223
- # Maximum number of results to return in a single call.
330
+ # The maximum items to return in a request.
224
331
  # @return [Integer]
225
332
  #
226
333
  # @!attribute [rw] next_token
227
- # Token for the next set of results.
334
+ # A token to specify where to start paginating. This is the nextToken
335
+ # from a previously truncated response.
228
336
  # @return [String]
229
337
  #
230
338
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstancesRequest AWS API Documentation
@@ -242,7 +350,10 @@ module Aws::LicenseManagerLinuxSubscriptions
242
350
  # @return [Array<Types::Instance>]
243
351
  #
244
352
  # @!attribute [rw] next_token
245
- # Token for the next set of results.
353
+ # The next token used for paginated responses. When this field isn't
354
+ # empty, there are additional elements that the service hasn't
355
+ # included in this request. Use this token with the next request to
356
+ # retrieve additional objects.
246
357
  # @return [String]
247
358
  #
248
359
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstancesResponse AWS API Documentation
@@ -280,11 +391,12 @@ module Aws::LicenseManagerLinuxSubscriptions
280
391
  # @return [Array<Types::Filter>]
281
392
  #
282
393
  # @!attribute [rw] max_results
283
- # Maximum number of results to return in a single call.
394
+ # The maximum items to return in a request.
284
395
  # @return [Integer]
285
396
  #
286
397
  # @!attribute [rw] next_token
287
- # Token for the next set of results.
398
+ # A token to specify where to start paginating. This is the nextToken
399
+ # from a previously truncated response.
288
400
  # @return [String]
289
401
  #
290
402
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionsRequest AWS API Documentation
@@ -298,7 +410,10 @@ module Aws::LicenseManagerLinuxSubscriptions
298
410
  end
299
411
 
300
412
  # @!attribute [rw] next_token
301
- # Token for the next set of results.
413
+ # The next token used for paginated responses. When this field isn't
414
+ # empty, there are additional elements that the service hasn't
415
+ # included in this request. Use this token with the next request to
416
+ # retrieve additional objects.
302
417
  # @return [String]
303
418
  #
304
419
  # @!attribute [rw] subscriptions
@@ -314,6 +429,191 @@ module Aws::LicenseManagerLinuxSubscriptions
314
429
  include Aws::Structure
315
430
  end
316
431
 
432
+ # @!attribute [rw] max_results
433
+ # The maximum items to return in a request.
434
+ # @return [Integer]
435
+ #
436
+ # @!attribute [rw] next_token
437
+ # A token to specify where to start paginating. This is the nextToken
438
+ # from a previously truncated response.
439
+ # @return [String]
440
+ #
441
+ # @!attribute [rw] subscription_provider_sources
442
+ # To filter your results, specify which subscription providers to
443
+ # return in the list.
444
+ # @return [Array<String>]
445
+ #
446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProvidersRequest AWS API Documentation
447
+ #
448
+ class ListRegisteredSubscriptionProvidersRequest < Struct.new(
449
+ :max_results,
450
+ :next_token,
451
+ :subscription_provider_sources)
452
+ SENSITIVE = []
453
+ include Aws::Structure
454
+ end
455
+
456
+ # @!attribute [rw] next_token
457
+ # The next token used for paginated responses. When this field isn't
458
+ # empty, there are additional elements that the service hasn't
459
+ # included in this request. Use this token with the next request to
460
+ # retrieve additional objects.
461
+ # @return [String]
462
+ #
463
+ # @!attribute [rw] registered_subscription_providers
464
+ # The list of BYOL registration resources that fit the criteria you
465
+ # specified in the request.
466
+ # @return [Array<Types::RegisteredSubscriptionProvider>]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProvidersResponse AWS API Documentation
469
+ #
470
+ class ListRegisteredSubscriptionProvidersResponse < Struct.new(
471
+ :next_token,
472
+ :registered_subscription_providers)
473
+ SENSITIVE = []
474
+ include Aws::Structure
475
+ end
476
+
477
+ # @!attribute [rw] resource_arn
478
+ # The Amazon Resource Name (ARN) of the resource for which to list
479
+ # metadata tags.
480
+ # @return [String]
481
+ #
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResourceRequest AWS API Documentation
483
+ #
484
+ class ListTagsForResourceRequest < Struct.new(
485
+ :resource_arn)
486
+ SENSITIVE = []
487
+ include Aws::Structure
488
+ end
489
+
490
+ # @!attribute [rw] tags
491
+ # The metadata tags for the requested resource.
492
+ # @return [Hash<String,String>]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResourceResponse AWS API Documentation
495
+ #
496
+ class ListTagsForResourceResponse < Struct.new(
497
+ :tags)
498
+ SENSITIVE = [:tags]
499
+ include Aws::Structure
500
+ end
501
+
502
+ # @!attribute [rw] secret_arn
503
+ # The Amazon Resource Name (ARN) of the secret where you've stored
504
+ # your subscription provider's access token. For RHEL subscriptions
505
+ # managed through the Red Hat Subscription Manager (RHSM), the secret
506
+ # contains your Red Hat Offline token.
507
+ # @return [String]
508
+ #
509
+ # @!attribute [rw] subscription_provider_source
510
+ # The supported Linux subscription provider to register.
511
+ # @return [String]
512
+ #
513
+ # @!attribute [rw] tags
514
+ # The metadata tags to assign to your registered Linux subscription
515
+ # provider resource.
516
+ # @return [Hash<String,String>]
517
+ #
518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProviderRequest AWS API Documentation
519
+ #
520
+ class RegisterSubscriptionProviderRequest < Struct.new(
521
+ :secret_arn,
522
+ :subscription_provider_source,
523
+ :tags)
524
+ SENSITIVE = [:tags]
525
+ include Aws::Structure
526
+ end
527
+
528
+ # @!attribute [rw] subscription_provider_arn
529
+ # The Amazon Resource Name (ARN) of the Linux subscription provider
530
+ # resource that you registered.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] subscription_provider_source
534
+ # The Linux subscription provider that you registered.
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] subscription_provider_status
538
+ # Indicates the status of the registration action for the Linux
539
+ # subscription provider that you requested.
540
+ # @return [String]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProviderResponse AWS API Documentation
543
+ #
544
+ class RegisterSubscriptionProviderResponse < Struct.new(
545
+ :subscription_provider_arn,
546
+ :subscription_provider_source,
547
+ :subscription_provider_status)
548
+ SENSITIVE = []
549
+ include Aws::Structure
550
+ end
551
+
552
+ # A third-party provider for operating system (OS) platform software and
553
+ # license subscriptions, such as Red Hat. When you register a
554
+ # third-party Linux subscription provider, License Manager can get
555
+ # subscription data from the registered provider.
556
+ #
557
+ # @!attribute [rw] last_successful_data_retrieval_time
558
+ # The timestamp from the last time that License Manager accessed
559
+ # third-party subscription data for your account from your registered
560
+ # Linux subscription provider.
561
+ # @return [String]
562
+ #
563
+ # @!attribute [rw] secret_arn
564
+ # The Amazon Resource Name (ARN) of the Secrets Manager secret that
565
+ # stores your registered Linux subscription provider access token. For
566
+ # RHEL account subscriptions, this is the offline token.
567
+ # @return [String]
568
+ #
569
+ # @!attribute [rw] subscription_provider_arn
570
+ # The Amazon Resource Name (ARN) of the Linux subscription provider
571
+ # resource that you registered.
572
+ # @return [String]
573
+ #
574
+ # @!attribute [rw] subscription_provider_source
575
+ # A supported third-party Linux subscription provider. License Manager
576
+ # currently supports Red Hat subscriptions.
577
+ # @return [String]
578
+ #
579
+ # @!attribute [rw] subscription_provider_status
580
+ # Indicates the status of your registered Linux subscription provider
581
+ # access token from the last time License Manager retrieved
582
+ # subscription data. For RHEL account subscriptions, this is the
583
+ # status of the offline token.
584
+ # @return [String]
585
+ #
586
+ # @!attribute [rw] subscription_provider_status_message
587
+ # A detailed message that's associated with your BYOL subscription
588
+ # provider token status.
589
+ # @return [String]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisteredSubscriptionProvider AWS API Documentation
592
+ #
593
+ class RegisteredSubscriptionProvider < Struct.new(
594
+ :last_successful_data_retrieval_time,
595
+ :secret_arn,
596
+ :subscription_provider_arn,
597
+ :subscription_provider_source,
598
+ :subscription_provider_status,
599
+ :subscription_provider_status_message)
600
+ SENSITIVE = []
601
+ include Aws::Structure
602
+ end
603
+
604
+ # Unable to find the requested Amazon Web Services resource.
605
+ #
606
+ # @!attribute [rw] message
607
+ # @return [String]
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ResourceNotFoundException AWS API Documentation
610
+ #
611
+ class ResourceNotFoundException < Struct.new(
612
+ :message)
613
+ SENSITIVE = []
614
+ include Aws::Structure
615
+ end
616
+
317
617
  # An object which details a discovered Linux subscription.
318
618
  #
319
619
  # @!attribute [rw] instance_count
@@ -342,6 +642,29 @@ module Aws::LicenseManagerLinuxSubscriptions
342
642
  include Aws::Structure
343
643
  end
344
644
 
645
+ # @!attribute [rw] resource_arn
646
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
647
+ # to which to add the specified metadata tags.
648
+ # @return [String]
649
+ #
650
+ # @!attribute [rw] tags
651
+ # The metadata tags to assign to the Amazon Web Services resource.
652
+ # Tags are formatted as key value pairs.
653
+ # @return [Hash<String,String>]
654
+ #
655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResourceRequest AWS API Documentation
656
+ #
657
+ class TagResourceRequest < Struct.new(
658
+ :resource_arn,
659
+ :tags)
660
+ SENSITIVE = [:tags]
661
+ include Aws::Structure
662
+ end
663
+
664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResourceResponse AWS API Documentation
665
+ #
666
+ class TagResourceResponse < Aws::EmptyStructure; end
667
+
345
668
  # The request was denied due to request throttling.
346
669
  #
347
670
  # @!attribute [rw] message
@@ -355,6 +678,28 @@ module Aws::LicenseManagerLinuxSubscriptions
355
678
  include Aws::Structure
356
679
  end
357
680
 
681
+ # @!attribute [rw] resource_arn
682
+ # The Amazon Resource Name (ARN) of the Amazon Web Services resource
683
+ # to remove the metadata tags from.
684
+ # @return [String]
685
+ #
686
+ # @!attribute [rw] tag_keys
687
+ # A list of metadata tag keys to remove from the requested resource.
688
+ # @return [Array<String>]
689
+ #
690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResourceRequest AWS API Documentation
691
+ #
692
+ class UntagResourceRequest < Struct.new(
693
+ :resource_arn,
694
+ :tag_keys)
695
+ SENSITIVE = [:tag_keys]
696
+ include Aws::Structure
697
+ end
698
+
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResourceResponse AWS API Documentation
700
+ #
701
+ class UntagResourceResponse < Aws::EmptyStructure; end
702
+
358
703
  # @!attribute [rw] allow_update
359
704
  # Describes if updates are allowed to the service settings for Linux
360
705
  # subscriptions. If you allow updates, you can aggregate Linux
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-licensemanagerlinuxsubscriptions/customizations'
32
32
  # structure.
33
33
  #
34
34
  # license_manager_linux_subscriptions = Aws::LicenseManagerLinuxSubscriptions::Client.new
35
- # resp = license_manager_linux_subscriptions.get_service_settings(params)
35
+ # resp = license_manager_linux_subscriptions.deregister_subscription_provider(params)
36
36
  #
37
37
  # See {Client} for more information.
38
38
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-licensemanagerlinuxsubscriptions/customizations'
52
52
  # @!group service
53
53
  module Aws::LicenseManagerLinuxSubscriptions
54
54
 
55
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.18.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -73,6 +73,30 @@ module Aws
73
73
  | (?Hash[Symbol, untyped]) -> instance
74
74
 
75
75
 
76
+ interface _DeregisterSubscriptionProviderResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterSubscriptionProviderResponse]
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#deregister_subscription_provider-instance_method
80
+ def deregister_subscription_provider: (
81
+ subscription_provider_arn: ::String
82
+ ) -> _DeregisterSubscriptionProviderResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterSubscriptionProviderResponseSuccess
84
+
85
+ interface _GetRegisteredSubscriptionProviderResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegisteredSubscriptionProviderResponse]
87
+ def last_successful_data_retrieval_time: () -> ::String
88
+ def secret_arn: () -> ::String
89
+ def subscription_provider_arn: () -> ::String
90
+ def subscription_provider_source: () -> ("RedHat")
91
+ def subscription_provider_status: () -> ("ACTIVE" | "INVALID" | "PENDING")
92
+ def subscription_provider_status_message: () -> ::String
93
+ end
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#get_registered_subscription_provider-instance_method
95
+ def get_registered_subscription_provider: (
96
+ subscription_provider_arn: ::String
97
+ ) -> _GetRegisteredSubscriptionProviderResponseSuccess
98
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegisteredSubscriptionProviderResponseSuccess
99
+
76
100
  interface _GetServiceSettingsResponseSuccess
77
101
  include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceSettingsResponse]
78
102
  def home_regions: () -> ::Array[::String]
@@ -124,6 +148,63 @@ module Aws
124
148
  ) -> _ListLinuxSubscriptionsResponseSuccess
125
149
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLinuxSubscriptionsResponseSuccess
126
150
 
151
+ interface _ListRegisteredSubscriptionProvidersResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegisteredSubscriptionProvidersResponse]
153
+ def next_token: () -> ::String
154
+ def registered_subscription_providers: () -> ::Array[Types::RegisteredSubscriptionProvider]
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#list_registered_subscription_providers-instance_method
157
+ def list_registered_subscription_providers: (
158
+ ?max_results: ::Integer,
159
+ ?next_token: ::String,
160
+ ?subscription_provider_sources: Array[("RedHat")]
161
+ ) -> _ListRegisteredSubscriptionProvidersResponseSuccess
162
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegisteredSubscriptionProvidersResponseSuccess
163
+
164
+ interface _ListTagsForResourceResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
166
+ def tags: () -> ::Hash[::String, ::String]
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#list_tags_for_resource-instance_method
169
+ def list_tags_for_resource: (
170
+ resource_arn: ::String
171
+ ) -> _ListTagsForResourceResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
173
+
174
+ interface _RegisterSubscriptionProviderResponseSuccess
175
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterSubscriptionProviderResponse]
176
+ def subscription_provider_arn: () -> ::String
177
+ def subscription_provider_source: () -> ("RedHat")
178
+ def subscription_provider_status: () -> ("ACTIVE" | "INVALID" | "PENDING")
179
+ end
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#register_subscription_provider-instance_method
181
+ def register_subscription_provider: (
182
+ secret_arn: ::String,
183
+ subscription_provider_source: ("RedHat"),
184
+ ?tags: Hash[::String, ::String]
185
+ ) -> _RegisterSubscriptionProviderResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterSubscriptionProviderResponseSuccess
187
+
188
+ interface _TagResourceResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
190
+ end
191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#tag_resource-instance_method
192
+ def tag_resource: (
193
+ resource_arn: ::String,
194
+ tags: Hash[::String, ::String]
195
+ ) -> _TagResourceResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
197
+
198
+ interface _UntagResourceResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManagerLinuxSubscriptions/Client.html#untag_resource-instance_method
202
+ def untag_resource: (
203
+ resource_arn: ::String,
204
+ tag_keys: Array[::String]
205
+ ) -> _UntagResourceResponseSuccess
206
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
207
+
127
208
  interface _UpdateServiceSettingsResponseSuccess
128
209
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceSettingsResponse]
129
210
  def home_regions: () -> ::Array[::String]
data/sig/errors.rbs CHANGED
@@ -14,6 +14,9 @@ module Aws
14
14
  class InternalServerException < ::Aws::Errors::ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
17
20
  class ThrottlingException < ::Aws::Errors::ServiceError
18
21
  def message: () -> ::String
19
22
  end