aws-sdk-licensemanager 1.16.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfab8e9bf374d01d0ff1893d9ef7c75e2ee87ffa67a08b374f1cdcad707cc38a
|
4
|
+
data.tar.gz: fd389773fae13718bbda50afccd8fb9a04587ec99e673f57e4bccc77dd7988b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630e05f20c118d800f5e7937e5560a05d8ff38cc26638eb92d96fb9368607caee1eaf283aec711f061d4e7f1b4f12a2439bedd75fd6e89f50fc2437517da8574
|
7
|
+
data.tar.gz: 7e639348ed9e195db0939e847185288ab70c0bd3ca3be62e311a33f8d0cc7c45a9836025c9f4ca123b8cd7f6543dfde66a73f49e714b7e7d31b3bc0487ca61d0
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-licensemanager/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::LicenseManager
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.21.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::LicenseManager
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::LicenseManager
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -328,9 +343,9 @@ module Aws::LicenseManager
|
|
328
343
|
# agreement that can be consumed and enforced by License Manager.
|
329
344
|
# Components include specifications for the license type (licensing by
|
330
345
|
# instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
|
331
|
-
# Dedicated Instance, Dedicated Host, or all of these),
|
332
|
-
# (how long a
|
333
|
-
# licenses purchased and used.
|
346
|
+
# Dedicated Instance, Dedicated Host, or all of these), license affinity
|
347
|
+
# to host (how long a license must be associated with a host), and the
|
348
|
+
# number of licenses purchased and used.
|
334
349
|
#
|
335
350
|
# @option params [required, String] :name
|
336
351
|
# Name of the license configuration.
|
@@ -350,21 +365,27 @@ module Aws::LicenseManager
|
|
350
365
|
#
|
351
366
|
# @option params [Array<String>] :license_rules
|
352
367
|
# License rules. The syntax is #name=value (for example,
|
353
|
-
# #allowedTenancy=EC2-DedicatedHost).
|
368
|
+
# #allowedTenancy=EC2-DedicatedHost). The available rules vary by
|
369
|
+
# dimension, as follows.
|
354
370
|
#
|
355
|
-
# * `Cores` dimension: `allowedTenancy` \| `
|
356
|
-
# `minimumCores`
|
371
|
+
# * `Cores` dimension: `allowedTenancy` \| `licenseAffinityToHost` \|
|
372
|
+
# `maximumCores` \| `minimumCores`
|
357
373
|
#
|
358
374
|
# * `Instances` dimension: `allowedTenancy` \| `maximumCores` \|
|
359
375
|
# `minimumCores` \| `maximumSockets` \| `minimumSockets` \|
|
360
376
|
# `maximumVcpus` \| `minimumVcpus`
|
361
377
|
#
|
362
|
-
# * `Sockets` dimension: `allowedTenancy` \| `
|
363
|
-
# `minimumSockets`
|
378
|
+
# * `Sockets` dimension: `allowedTenancy` \| `licenseAffinityToHost` \|
|
379
|
+
# `maximumSockets` \| `minimumSockets`
|
364
380
|
#
|
365
381
|
# * `vCPUs` dimension: `allowedTenancy` \| `honorVcpuOptimization` \|
|
366
382
|
# `maximumVcpus` \| `minimumVcpus`
|
367
383
|
#
|
384
|
+
# The unit for `licenseAffinityToHost` is days and the range is 1 to
|
385
|
+
# 180. The possible values for `allowedTenancy` are `EC2-Default`,
|
386
|
+
# `EC2-DedicatedHost`, and `EC2-DedicatedInstance`. The possible values
|
387
|
+
# for `honorVcpuOptimization` are `True` and `False`.
|
388
|
+
#
|
368
389
|
# @option params [Array<Types::Tag>] :tags
|
369
390
|
# Tags to add to the license configuration.
|
370
391
|
#
|
@@ -575,6 +596,7 @@ module Aws::LicenseManager
|
|
575
596
|
# resp.license_configuration_associations[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
|
576
597
|
# resp.license_configuration_associations[0].resource_owner_id #=> String
|
577
598
|
# resp.license_configuration_associations[0].association_time #=> Time
|
599
|
+
# resp.license_configuration_associations[0].ami_association_scope #=> String
|
578
600
|
# resp.next_token #=> String
|
579
601
|
#
|
580
602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfiguration AWS API Documentation
|
@@ -649,8 +671,9 @@ module Aws::LicenseManager
|
|
649
671
|
# Filters to scope the results. The following filters and logical
|
650
672
|
# operators are supported:
|
651
673
|
#
|
652
|
-
# * `licenseCountingType` - The dimension on which licenses are counted
|
653
|
-
#
|
674
|
+
# * `licenseCountingType` - The dimension on which licenses are counted.
|
675
|
+
# Possible values are `vCPU` \| `Instance` \| `Core` \| `Socket`.
|
676
|
+
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
654
677
|
#
|
655
678
|
# * `enforceLicenseCount` - A Boolean value that indicates whether hard
|
656
679
|
# license enforcement is used. Logical operators are `EQUALS` \|
|
@@ -748,6 +771,7 @@ module Aws::LicenseManager
|
|
748
771
|
#
|
749
772
|
# resp.license_specifications #=> Array
|
750
773
|
# resp.license_specifications[0].license_configuration_arn #=> String
|
774
|
+
# resp.license_specifications[0].ami_association_scope #=> String
|
751
775
|
# resp.next_token #=> String
|
752
776
|
#
|
753
777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResource AWS API Documentation
|
@@ -983,14 +1007,6 @@ module Aws::LicenseManager
|
|
983
1007
|
|
984
1008
|
# Modifies the attributes of an existing license configuration.
|
985
1009
|
#
|
986
|
-
# A license configuration is an abstraction of a customer license
|
987
|
-
# agreement that can be consumed and enforced by License Manager.
|
988
|
-
# Components include specifications for the license type (licensing by
|
989
|
-
# instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
|
990
|
-
# Dedicated Instance, Dedicated Host, or all of these), host affinity
|
991
|
-
# (how long a VM must be associated with a host), and the number of
|
992
|
-
# licenses purchased and used.
|
993
|
-
#
|
994
1010
|
# @option params [required, String] :license_configuration_arn
|
995
1011
|
# Amazon Resource Name (ARN) of the license configuration.
|
996
1012
|
#
|
@@ -998,7 +1014,8 @@ module Aws::LicenseManager
|
|
998
1014
|
# New status of the license configuration.
|
999
1015
|
#
|
1000
1016
|
# @option params [Array<String>] :license_rules
|
1001
|
-
# New license
|
1017
|
+
# New license rule. The only rule that you can add after you create a
|
1018
|
+
# license configuration is licenseAffinityToHost.
|
1002
1019
|
#
|
1003
1020
|
# @option params [Integer] :license_count
|
1004
1021
|
# New number of licenses managed by the license configuration.
|
@@ -1076,11 +1093,13 @@ module Aws::LicenseManager
|
|
1076
1093
|
# add_license_specifications: [
|
1077
1094
|
# {
|
1078
1095
|
# license_configuration_arn: "String", # required
|
1096
|
+
# ami_association_scope: "String",
|
1079
1097
|
# },
|
1080
1098
|
# ],
|
1081
1099
|
# remove_license_specifications: [
|
1082
1100
|
# {
|
1083
1101
|
# license_configuration_arn: "String", # required
|
1102
|
+
# ami_association_scope: "String",
|
1084
1103
|
# },
|
1085
1104
|
# ],
|
1086
1105
|
# })
|
@@ -1146,7 +1165,7 @@ module Aws::LicenseManager
|
|
1146
1165
|
params: params,
|
1147
1166
|
config: config)
|
1148
1167
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
1149
|
-
context[:gem_version] = '1.
|
1168
|
+
context[:gem_version] = '1.21.0'
|
1150
1169
|
Seahorse::Client::Request.new(handlers, context)
|
1151
1170
|
end
|
1152
1171
|
|
@@ -213,6 +213,7 @@ module Aws::LicenseManager
|
|
213
213
|
LicenseConfigurationAssociation.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
214
214
|
LicenseConfigurationAssociation.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwnerId"))
|
215
215
|
LicenseConfigurationAssociation.add_member(:association_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "AssociationTime"))
|
216
|
+
LicenseConfigurationAssociation.add_member(:ami_association_scope, Shapes::ShapeRef.new(shape: String, location_name: "AmiAssociationScope"))
|
216
217
|
LicenseConfigurationAssociation.struct_class = Types::LicenseConfigurationAssociation
|
217
218
|
|
218
219
|
LicenseConfigurationAssociations.member = Shapes::ShapeRef.new(shape: LicenseConfigurationAssociation)
|
@@ -242,6 +243,7 @@ module Aws::LicenseManager
|
|
242
243
|
LicenseOperationFailureList.member = Shapes::ShapeRef.new(shape: LicenseOperationFailure)
|
243
244
|
|
244
245
|
LicenseSpecification.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
|
246
|
+
LicenseSpecification.add_member(:ami_association_scope, Shapes::ShapeRef.new(shape: String, location_name: "AmiAssociationScope"))
|
245
247
|
LicenseSpecification.struct_class = Types::LicenseSpecification
|
246
248
|
|
247
249
|
LicenseSpecifications.member = Shapes::ShapeRef.new(shape: LicenseSpecification)
|
@@ -123,21 +123,26 @@ module Aws::LicenseManager
|
|
123
123
|
#
|
124
124
|
# @!attribute [rw] license_rules
|
125
125
|
# License rules. The syntax is #name=value (for example,
|
126
|
-
# #allowedTenancy=EC2-DedicatedHost).
|
127
|
-
# dimension.
|
126
|
+
# #allowedTenancy=EC2-DedicatedHost). The available rules vary by
|
127
|
+
# dimension, as follows.
|
128
128
|
#
|
129
|
-
# * `Cores` dimension: `allowedTenancy` \| `
|
130
|
-
# `minimumCores`
|
129
|
+
# * `Cores` dimension: `allowedTenancy` \| `licenseAffinityToHost` \|
|
130
|
+
# `maximumCores` \| `minimumCores`
|
131
131
|
#
|
132
132
|
# * `Instances` dimension: `allowedTenancy` \| `maximumCores` \|
|
133
133
|
# `minimumCores` \| `maximumSockets` \| `minimumSockets` \|
|
134
134
|
# `maximumVcpus` \| `minimumVcpus`
|
135
135
|
#
|
136
|
-
# * `Sockets` dimension: `allowedTenancy` \| `
|
137
|
-
# `minimumSockets`
|
136
|
+
# * `Sockets` dimension: `allowedTenancy` \| `licenseAffinityToHost`
|
137
|
+
# \| `maximumSockets` \| `minimumSockets`
|
138
138
|
#
|
139
139
|
# * `vCPUs` dimension: `allowedTenancy` \| `honorVcpuOptimization` \|
|
140
140
|
# `maximumVcpus` \| `minimumVcpus`
|
141
|
+
#
|
142
|
+
# The unit for `licenseAffinityToHost` is days and the range is 1 to
|
143
|
+
# 180. The possible values for `allowedTenancy` are `EC2-Default`,
|
144
|
+
# `EC2-DedicatedHost`, and `EC2-DedicatedInstance`. The possible
|
145
|
+
# values for `honorVcpuOptimization` are `True` and `False`.
|
141
146
|
# @return [Array<String>]
|
142
147
|
#
|
143
148
|
# @!attribute [rw] tags
|
@@ -573,13 +578,18 @@ module Aws::LicenseManager
|
|
573
578
|
# resource.
|
574
579
|
# @return [Time]
|
575
580
|
#
|
581
|
+
# @!attribute [rw] ami_association_scope
|
582
|
+
# Scope of AMI associations.
|
583
|
+
# @return [String]
|
584
|
+
#
|
576
585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationAssociation AWS API Documentation
|
577
586
|
#
|
578
587
|
class LicenseConfigurationAssociation < Struct.new(
|
579
588
|
:resource_arn,
|
580
589
|
:resource_type,
|
581
590
|
:resource_owner_id,
|
582
|
-
:association_time
|
591
|
+
:association_time,
|
592
|
+
:ami_association_scope)
|
583
593
|
SENSITIVE = []
|
584
594
|
include Aws::Structure
|
585
595
|
end
|
@@ -681,16 +691,22 @@ module Aws::LicenseManager
|
|
681
691
|
#
|
682
692
|
# {
|
683
693
|
# license_configuration_arn: "String", # required
|
694
|
+
# ami_association_scope: "String",
|
684
695
|
# }
|
685
696
|
#
|
686
697
|
# @!attribute [rw] license_configuration_arn
|
687
698
|
# Amazon Resource Name (ARN) of the license configuration.
|
688
699
|
# @return [String]
|
689
700
|
#
|
701
|
+
# @!attribute [rw] ami_association_scope
|
702
|
+
# Scope of AMI associations.
|
703
|
+
# @return [String]
|
704
|
+
#
|
690
705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseSpecification AWS API Documentation
|
691
706
|
#
|
692
707
|
class LicenseSpecification < Struct.new(
|
693
|
-
:license_configuration_arn
|
708
|
+
:license_configuration_arn,
|
709
|
+
:ami_association_scope)
|
694
710
|
SENSITIVE = []
|
695
711
|
include Aws::Structure
|
696
712
|
end
|
@@ -837,7 +853,8 @@ module Aws::LicenseManager
|
|
837
853
|
# operators are supported:
|
838
854
|
#
|
839
855
|
# * `licenseCountingType` - The dimension on which licenses are
|
840
|
-
# counted
|
856
|
+
# counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
|
857
|
+
# `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
841
858
|
#
|
842
859
|
# * `enforceLicenseCount` - A Boolean value that indicates whether
|
843
860
|
# hard license enforcement is used. Logical operators are `EQUALS`
|
@@ -1174,12 +1191,14 @@ module Aws::LicenseManager
|
|
1174
1191
|
# }
|
1175
1192
|
#
|
1176
1193
|
# @!attribute [rw] resource_type
|
1177
|
-
# Resource type. The
|
1194
|
+
# Resource type. The possible values are `SSM_MANAGED` \| `RDS`.
|
1178
1195
|
# @return [String]
|
1179
1196
|
#
|
1180
1197
|
# @!attribute [rw] product_information_filter_list
|
1181
|
-
# Product information filters.
|
1182
|
-
#
|
1198
|
+
# Product information filters.
|
1199
|
+
#
|
1200
|
+
# The following filters and logical operators are supported when the
|
1201
|
+
# resource type is `SSM_MANAGED`\:
|
1183
1202
|
#
|
1184
1203
|
# * `Application Name` - The name of the application. Logical operator
|
1185
1204
|
# is `EQUALS`.
|
@@ -1196,9 +1215,20 @@ module Aws::LicenseManager
|
|
1196
1215
|
# * `Platform Type` - The platform type. Logical operator is `EQUALS`.
|
1197
1216
|
#
|
1198
1217
|
# * `License Included` - The type of license included. Logical
|
1199
|
-
# operators are `EQUALS` and `NOT_EQUALS`. Possible values are
|
1218
|
+
# operators are `EQUALS` and `NOT_EQUALS`. Possible values are:
|
1200
1219
|
# `sql-server-enterprise` \| `sql-server-standard` \|
|
1201
1220
|
# `sql-server-web` \| `windows-server-datacenter`.
|
1221
|
+
#
|
1222
|
+
# The following filters and logical operators are supported when the
|
1223
|
+
# resource type is `RDS`\:
|
1224
|
+
#
|
1225
|
+
# * `Engine Edition` - The edition of the database engine. Logical
|
1226
|
+
# operator is `EQUALS`. Possible values are: `oracle-ee` \|
|
1227
|
+
# `oracle-se` \| `oracle-se1` \| `oracle-se2`.
|
1228
|
+
#
|
1229
|
+
# * `License Pack` - The license pack. Logical operator is `EQUALS`.
|
1230
|
+
# Possible values are: `data guard` \| `diagnostic pack sqlt` \|
|
1231
|
+
# `tuning pack sqlt` \| `ols` \| `olap`.
|
1202
1232
|
# @return [Array<Types::ProductInformationFilter>]
|
1203
1233
|
#
|
1204
1234
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProductInformation AWS API Documentation
|
@@ -1445,7 +1475,8 @@ module Aws::LicenseManager
|
|
1445
1475
|
# @return [String]
|
1446
1476
|
#
|
1447
1477
|
# @!attribute [rw] license_rules
|
1448
|
-
# New license
|
1478
|
+
# New license rule. The only rule that you can add after you create a
|
1479
|
+
# license configuration is licenseAffinityToHost.
|
1449
1480
|
# @return [Array<String>]
|
1450
1481
|
#
|
1451
1482
|
# @!attribute [rw] license_count
|
@@ -1495,11 +1526,13 @@ module Aws::LicenseManager
|
|
1495
1526
|
# add_license_specifications: [
|
1496
1527
|
# {
|
1497
1528
|
# license_configuration_arn: "String", # required
|
1529
|
+
# ami_association_scope: "String",
|
1498
1530
|
# },
|
1499
1531
|
# ],
|
1500
1532
|
# remove_license_specifications: [
|
1501
1533
|
# {
|
1502
1534
|
# license_configuration_arn: "String", # required
|
1535
|
+
# ami_association_scope: "String",
|
1503
1536
|
# },
|
1504
1537
|
# ],
|
1505
1538
|
# }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-licensemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|