aws-sdk 2.801.0 → 2.805.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.
- package/CHANGELOG.md +25 -1
- package/README.md +1 -1
- package/apis/amplifybackend-2020-08-11.min.json +0 -8
- package/apis/batch-2016-08-10.min.json +81 -21
- package/apis/compute-optimizer-2019-11-01.min.json +110 -0
- package/apis/{profile-2020-08-15.examples.json → customer-profiles-2020-08-15.examples.json} +0 -0
- package/apis/{profile-2020-08-15.min.json → customer-profiles-2020-08-15.min.json} +3 -3
- package/apis/{profile-2020-08-15.paginators.json → customer-profiles-2020-08-15.paginators.json} +0 -0
- package/apis/dms-2016-01-01.min.json +9 -1
- package/apis/ec2-2016-11-15.min.json +4 -0
- package/apis/lambda-2015-03-31.examples.json +6 -6
- package/apis/license-manager-2018-08-01.min.json +957 -51
- package/apis/medialive-2017-10-14.min.json +240 -158
- package/apis/metadata.json +4 -3
- package/apis/rds-2014-10-31.min.json +200 -132
- package/apis/servicecatalog-appregistry-2020-06-24.min.json +80 -0
- package/apis/ssm-2014-11-06.min.json +348 -203
- package/clients/all.d.ts +1 -1
- package/clients/all.js +2 -2
- package/clients/amplifybackend.d.ts +74 -74
- package/clients/batch.d.ts +200 -133
- package/clients/computeoptimizer.d.ts +179 -22
- package/clients/{profile.d.ts → customerprofiles.d.ts} +63 -63
- package/clients/customerprofiles.js +18 -0
- package/clients/directoryservice.d.ts +24 -21
- package/clients/dms.d.ts +16 -0
- package/clients/ec2.d.ts +6 -2
- package/clients/kafka.d.ts +4 -4
- package/clients/lambda.d.ts +10 -10
- package/clients/licensemanager.d.ts +1350 -72
- package/clients/medialive.d.ts +80 -1
- package/clients/rds.d.ts +128 -43
- package/clients/servicecatalogappregistry.d.ts +61 -0
- package/clients/ssm.d.ts +197 -10
- package/clients/workspaces.d.ts +10 -10
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +31 -27
- package/dist/aws-sdk.js +565 -343
- package/dist/aws-sdk.min.js +60 -60
- package/lib/config_service_placeholders.d.ts +2 -2
- package/lib/core.js +1 -1
- package/lib/services/s3.js +6 -2
- package/package.json +1 -1
- package/clients/profile.js +0 -18
|
@@ -11,6 +11,62 @@ declare class LicenseManager extends Service {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(options?: LicenseManager.Types.ClientConfiguration)
|
|
13
13
|
config: Config & LicenseManager.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Accepts the specified grant.
|
|
16
|
+
*/
|
|
17
|
+
acceptGrant(params: LicenseManager.Types.AcceptGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.AcceptGrantResponse) => void): Request<LicenseManager.Types.AcceptGrantResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Accepts the specified grant.
|
|
20
|
+
*/
|
|
21
|
+
acceptGrant(callback?: (err: AWSError, data: LicenseManager.Types.AcceptGrantResponse) => void): Request<LicenseManager.Types.AcceptGrantResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Checks in the specified license. Check in a license when it is no longer in use.
|
|
24
|
+
*/
|
|
25
|
+
checkInLicense(params: LicenseManager.Types.CheckInLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckInLicenseResponse) => void): Request<LicenseManager.Types.CheckInLicenseResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Checks in the specified license. Check in a license when it is no longer in use.
|
|
28
|
+
*/
|
|
29
|
+
checkInLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckInLicenseResponse) => void): Request<LicenseManager.Types.CheckInLicenseResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Checks out the specified license for offline use.
|
|
32
|
+
*/
|
|
33
|
+
checkoutBorrowLicense(params: LicenseManager.Types.CheckoutBorrowLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckoutBorrowLicenseResponse) => void): Request<LicenseManager.Types.CheckoutBorrowLicenseResponse, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Checks out the specified license for offline use.
|
|
36
|
+
*/
|
|
37
|
+
checkoutBorrowLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckoutBorrowLicenseResponse) => void): Request<LicenseManager.Types.CheckoutBorrowLicenseResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Checks out the specified license.
|
|
40
|
+
*/
|
|
41
|
+
checkoutLicense(params: LicenseManager.Types.CheckoutLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckoutLicenseResponse) => void): Request<LicenseManager.Types.CheckoutLicenseResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Checks out the specified license.
|
|
44
|
+
*/
|
|
45
|
+
checkoutLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckoutLicenseResponse) => void): Request<LicenseManager.Types.CheckoutLicenseResponse, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.
|
|
48
|
+
*/
|
|
49
|
+
createGrant(params: LicenseManager.Types.CreateGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantResponse) => void): Request<LicenseManager.Types.CreateGrantResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.
|
|
52
|
+
*/
|
|
53
|
+
createGrant(callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantResponse) => void): Request<LicenseManager.Types.CreateGrantResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a new version of the specified grant.
|
|
56
|
+
*/
|
|
57
|
+
createGrantVersion(params: LicenseManager.Types.CreateGrantVersionRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantVersionResponse) => void): Request<LicenseManager.Types.CreateGrantVersionResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates a new version of the specified grant.
|
|
60
|
+
*/
|
|
61
|
+
createGrantVersion(callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantVersionResponse) => void): Request<LicenseManager.Types.CreateGrantVersionResponse, AWSError>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a license.
|
|
64
|
+
*/
|
|
65
|
+
createLicense(params: LicenseManager.Types.CreateLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseResponse) => void): Request<LicenseManager.Types.CreateLicenseResponse, AWSError>;
|
|
66
|
+
/**
|
|
67
|
+
* Creates a license.
|
|
68
|
+
*/
|
|
69
|
+
createLicense(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseResponse) => void): Request<LicenseManager.Types.CreateLicenseResponse, AWSError>;
|
|
14
70
|
/**
|
|
15
71
|
* Creates a license configuration. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.
|
|
16
72
|
*/
|
|
@@ -19,6 +75,38 @@ declare class LicenseManager extends Service {
|
|
|
19
75
|
* Creates a license configuration. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.
|
|
20
76
|
*/
|
|
21
77
|
createLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.CreateLicenseConfigurationResponse, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* Creates a new version of the specified license.
|
|
80
|
+
*/
|
|
81
|
+
createLicenseVersion(params: LicenseManager.Types.CreateLicenseVersionRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseVersionResponse) => void): Request<LicenseManager.Types.CreateLicenseVersionResponse, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* Creates a new version of the specified license.
|
|
84
|
+
*/
|
|
85
|
+
createLicenseVersion(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseVersionResponse) => void): Request<LicenseManager.Types.CreateLicenseVersionResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Creates a long-lived token. A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
|
|
88
|
+
*/
|
|
89
|
+
createToken(params: LicenseManager.Types.CreateTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateTokenResponse) => void): Request<LicenseManager.Types.CreateTokenResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Creates a long-lived token. A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
|
|
92
|
+
*/
|
|
93
|
+
createToken(callback?: (err: AWSError, data: LicenseManager.Types.CreateTokenResponse) => void): Request<LicenseManager.Types.CreateTokenResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Deletes the specified grant.
|
|
96
|
+
*/
|
|
97
|
+
deleteGrant(params: LicenseManager.Types.DeleteGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteGrantResponse) => void): Request<LicenseManager.Types.DeleteGrantResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Deletes the specified grant.
|
|
100
|
+
*/
|
|
101
|
+
deleteGrant(callback?: (err: AWSError, data: LicenseManager.Types.DeleteGrantResponse) => void): Request<LicenseManager.Types.DeleteGrantResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Deletes the specified license.
|
|
104
|
+
*/
|
|
105
|
+
deleteLicense(params: LicenseManager.Types.DeleteLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseResponse) => void): Request<LicenseManager.Types.DeleteLicenseResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Deletes the specified license.
|
|
108
|
+
*/
|
|
109
|
+
deleteLicense(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseResponse) => void): Request<LicenseManager.Types.DeleteLicenseResponse, AWSError>;
|
|
22
110
|
/**
|
|
23
111
|
* Deletes the specified license configuration. You cannot delete a license configuration that is in use.
|
|
24
112
|
*/
|
|
@@ -27,6 +115,46 @@ declare class LicenseManager extends Service {
|
|
|
27
115
|
* Deletes the specified license configuration. You cannot delete a license configuration that is in use.
|
|
28
116
|
*/
|
|
29
117
|
deleteLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseConfigurationResponse) => void): Request<LicenseManager.Types.DeleteLicenseConfigurationResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes the specified token. Must be called in the license home Region.
|
|
120
|
+
*/
|
|
121
|
+
deleteToken(params: LicenseManager.Types.DeleteTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteTokenResponse) => void): Request<LicenseManager.Types.DeleteTokenResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Deletes the specified token. Must be called in the license home Region.
|
|
124
|
+
*/
|
|
125
|
+
deleteToken(callback?: (err: AWSError, data: LicenseManager.Types.DeleteTokenResponse) => void): Request<LicenseManager.Types.DeleteTokenResponse, AWSError>;
|
|
126
|
+
/**
|
|
127
|
+
* Extends the expiration date for license consumption.
|
|
128
|
+
*/
|
|
129
|
+
extendLicenseConsumption(params: LicenseManager.Types.ExtendLicenseConsumptionRequest, callback?: (err: AWSError, data: LicenseManager.Types.ExtendLicenseConsumptionResponse) => void): Request<LicenseManager.Types.ExtendLicenseConsumptionResponse, AWSError>;
|
|
130
|
+
/**
|
|
131
|
+
* Extends the expiration date for license consumption.
|
|
132
|
+
*/
|
|
133
|
+
extendLicenseConsumption(callback?: (err: AWSError, data: LicenseManager.Types.ExtendLicenseConsumptionResponse) => void): Request<LicenseManager.Types.ExtendLicenseConsumptionResponse, AWSError>;
|
|
134
|
+
/**
|
|
135
|
+
* Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
|
|
136
|
+
*/
|
|
137
|
+
getAccessToken(params: LicenseManager.Types.GetAccessTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetAccessTokenResponse) => void): Request<LicenseManager.Types.GetAccessTokenResponse, AWSError>;
|
|
138
|
+
/**
|
|
139
|
+
* Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
|
|
140
|
+
*/
|
|
141
|
+
getAccessToken(callback?: (err: AWSError, data: LicenseManager.Types.GetAccessTokenResponse) => void): Request<LicenseManager.Types.GetAccessTokenResponse, AWSError>;
|
|
142
|
+
/**
|
|
143
|
+
* Gets detailed information about the specified grant.
|
|
144
|
+
*/
|
|
145
|
+
getGrant(params: LicenseManager.Types.GetGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetGrantResponse) => void): Request<LicenseManager.Types.GetGrantResponse, AWSError>;
|
|
146
|
+
/**
|
|
147
|
+
* Gets detailed information about the specified grant.
|
|
148
|
+
*/
|
|
149
|
+
getGrant(callback?: (err: AWSError, data: LicenseManager.Types.GetGrantResponse) => void): Request<LicenseManager.Types.GetGrantResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Gets detailed information about the specified license.
|
|
152
|
+
*/
|
|
153
|
+
getLicense(params: LicenseManager.Types.GetLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseResponse) => void): Request<LicenseManager.Types.GetLicenseResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Gets detailed information about the specified license.
|
|
156
|
+
*/
|
|
157
|
+
getLicense(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseResponse) => void): Request<LicenseManager.Types.GetLicenseResponse, AWSError>;
|
|
30
158
|
/**
|
|
31
159
|
* Gets detailed information about the specified license configuration.
|
|
32
160
|
*/
|
|
@@ -35,6 +163,14 @@ declare class LicenseManager extends Service {
|
|
|
35
163
|
* Gets detailed information about the specified license configuration.
|
|
36
164
|
*/
|
|
37
165
|
getLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConfigurationResponse) => void): Request<LicenseManager.Types.GetLicenseConfigurationResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Gets detailed information about the usage of the specified license.
|
|
168
|
+
*/
|
|
169
|
+
getLicenseUsage(params: LicenseManager.Types.GetLicenseUsageRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseUsageResponse) => void): Request<LicenseManager.Types.GetLicenseUsageResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Gets detailed information about the usage of the specified license.
|
|
172
|
+
*/
|
|
173
|
+
getLicenseUsage(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseUsageResponse) => void): Request<LicenseManager.Types.GetLicenseUsageResponse, AWSError>;
|
|
38
174
|
/**
|
|
39
175
|
* Gets the License Manager settings for the current Region.
|
|
40
176
|
*/
|
|
@@ -51,6 +187,14 @@ declare class LicenseManager extends Service {
|
|
|
51
187
|
* Lists the resource associations for the specified license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).
|
|
52
188
|
*/
|
|
53
189
|
listAssociationsForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse, AWSError>;
|
|
190
|
+
/**
|
|
191
|
+
* Lists the grants distributed for the specified license.
|
|
192
|
+
*/
|
|
193
|
+
listDistributedGrants(params: LicenseManager.Types.ListDistributedGrantsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListDistributedGrantsResponse) => void): Request<LicenseManager.Types.ListDistributedGrantsResponse, AWSError>;
|
|
194
|
+
/**
|
|
195
|
+
* Lists the grants distributed for the specified license.
|
|
196
|
+
*/
|
|
197
|
+
listDistributedGrants(callback?: (err: AWSError, data: LicenseManager.Types.ListDistributedGrantsResponse) => void): Request<LicenseManager.Types.ListDistributedGrantsResponse, AWSError>;
|
|
54
198
|
/**
|
|
55
199
|
* Lists the license configuration operations that failed.
|
|
56
200
|
*/
|
|
@@ -75,6 +219,38 @@ declare class LicenseManager extends Service {
|
|
|
75
219
|
* Describes the license configurations for the specified resource.
|
|
76
220
|
*/
|
|
77
221
|
listLicenseSpecificationsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.ListLicenseSpecificationsForResourceResponse, AWSError>;
|
|
222
|
+
/**
|
|
223
|
+
* Lists all versions of the specified license.
|
|
224
|
+
*/
|
|
225
|
+
listLicenseVersions(params: LicenseManager.Types.ListLicenseVersionsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseVersionsResponse) => void): Request<LicenseManager.Types.ListLicenseVersionsResponse, AWSError>;
|
|
226
|
+
/**
|
|
227
|
+
* Lists all versions of the specified license.
|
|
228
|
+
*/
|
|
229
|
+
listLicenseVersions(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseVersionsResponse) => void): Request<LicenseManager.Types.ListLicenseVersionsResponse, AWSError>;
|
|
230
|
+
/**
|
|
231
|
+
* Lists the licenses for your account.
|
|
232
|
+
*/
|
|
233
|
+
listLicenses(params: LicenseManager.Types.ListLicensesRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicensesResponse) => void): Request<LicenseManager.Types.ListLicensesResponse, AWSError>;
|
|
234
|
+
/**
|
|
235
|
+
* Lists the licenses for your account.
|
|
236
|
+
*/
|
|
237
|
+
listLicenses(callback?: (err: AWSError, data: LicenseManager.Types.ListLicensesResponse) => void): Request<LicenseManager.Types.ListLicensesResponse, AWSError>;
|
|
238
|
+
/**
|
|
239
|
+
* Lists grants that are received but not accepted.
|
|
240
|
+
*/
|
|
241
|
+
listReceivedGrants(params: LicenseManager.Types.ListReceivedGrantsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedGrantsResponse) => void): Request<LicenseManager.Types.ListReceivedGrantsResponse, AWSError>;
|
|
242
|
+
/**
|
|
243
|
+
* Lists grants that are received but not accepted.
|
|
244
|
+
*/
|
|
245
|
+
listReceivedGrants(callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedGrantsResponse) => void): Request<LicenseManager.Types.ListReceivedGrantsResponse, AWSError>;
|
|
246
|
+
/**
|
|
247
|
+
* Lists received licenses.
|
|
248
|
+
*/
|
|
249
|
+
listReceivedLicenses(params: LicenseManager.Types.ListReceivedLicensesRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedLicensesResponse) => void): Request<LicenseManager.Types.ListReceivedLicensesResponse, AWSError>;
|
|
250
|
+
/**
|
|
251
|
+
* Lists received licenses.
|
|
252
|
+
*/
|
|
253
|
+
listReceivedLicenses(callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedLicensesResponse) => void): Request<LicenseManager.Types.ListReceivedLicensesResponse, AWSError>;
|
|
78
254
|
/**
|
|
79
255
|
* Lists resources managed using Systems Manager inventory.
|
|
80
256
|
*/
|
|
@@ -91,6 +267,14 @@ declare class LicenseManager extends Service {
|
|
|
91
267
|
* Lists the tags for the specified license configuration.
|
|
92
268
|
*/
|
|
93
269
|
listTagsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListTagsForResourceResponse) => void): Request<LicenseManager.Types.ListTagsForResourceResponse, AWSError>;
|
|
270
|
+
/**
|
|
271
|
+
* Lists your tokens.
|
|
272
|
+
*/
|
|
273
|
+
listTokens(params: LicenseManager.Types.ListTokensRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListTokensResponse) => void): Request<LicenseManager.Types.ListTokensResponse, AWSError>;
|
|
274
|
+
/**
|
|
275
|
+
* Lists your tokens.
|
|
276
|
+
*/
|
|
277
|
+
listTokens(callback?: (err: AWSError, data: LicenseManager.Types.ListTokensResponse) => void): Request<LicenseManager.Types.ListTokensResponse, AWSError>;
|
|
94
278
|
/**
|
|
95
279
|
* Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
|
|
96
280
|
*/
|
|
@@ -99,6 +283,14 @@ declare class LicenseManager extends Service {
|
|
|
99
283
|
* Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
|
|
100
284
|
*/
|
|
101
285
|
listUsageForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListUsageForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListUsageForLicenseConfigurationResponse, AWSError>;
|
|
286
|
+
/**
|
|
287
|
+
* Rejects the specified grant.
|
|
288
|
+
*/
|
|
289
|
+
rejectGrant(params: LicenseManager.Types.RejectGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.RejectGrantResponse) => void): Request<LicenseManager.Types.RejectGrantResponse, AWSError>;
|
|
290
|
+
/**
|
|
291
|
+
* Rejects the specified grant.
|
|
292
|
+
*/
|
|
293
|
+
rejectGrant(callback?: (err: AWSError, data: LicenseManager.Types.RejectGrantResponse) => void): Request<LicenseManager.Types.RejectGrantResponse, AWSError>;
|
|
102
294
|
/**
|
|
103
295
|
* Adds the specified tags to the specified license configuration.
|
|
104
296
|
*/
|
|
@@ -141,6 +333,30 @@ declare class LicenseManager extends Service {
|
|
|
141
333
|
updateServiceSettings(callback?: (err: AWSError, data: LicenseManager.Types.UpdateServiceSettingsResponse) => void): Request<LicenseManager.Types.UpdateServiceSettingsResponse, AWSError>;
|
|
142
334
|
}
|
|
143
335
|
declare namespace LicenseManager {
|
|
336
|
+
export interface AcceptGrantRequest {
|
|
337
|
+
/**
|
|
338
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
339
|
+
*/
|
|
340
|
+
GrantArn: Arn;
|
|
341
|
+
}
|
|
342
|
+
export interface AcceptGrantResponse {
|
|
343
|
+
/**
|
|
344
|
+
* Grant ARN.
|
|
345
|
+
*/
|
|
346
|
+
GrantArn?: Arn;
|
|
347
|
+
/**
|
|
348
|
+
* Grant status.
|
|
349
|
+
*/
|
|
350
|
+
Status?: GrantStatus;
|
|
351
|
+
/**
|
|
352
|
+
* Grant version.
|
|
353
|
+
*/
|
|
354
|
+
Version?: String;
|
|
355
|
+
}
|
|
356
|
+
export type AllowedOperation = "CreateGrant"|"CheckoutLicense"|"CheckoutBorrowLicense"|"CheckInLicense"|"ExtendConsumptionLicense"|"ListPurchasedLicenses"|"CreateToken"|string;
|
|
357
|
+
export type AllowedOperationList = AllowedOperation[];
|
|
358
|
+
export type Arn = string;
|
|
359
|
+
export type ArnList = Arn[];
|
|
144
360
|
export interface AutomatedDiscoveryInformation {
|
|
145
361
|
/**
|
|
146
362
|
* Time that automated discovery last ran.
|
|
@@ -148,9 +364,153 @@ declare namespace LicenseManager {
|
|
|
148
364
|
LastRunTime?: DateTime;
|
|
149
365
|
}
|
|
150
366
|
export type Boolean = boolean;
|
|
367
|
+
export interface BorrowConfiguration {
|
|
368
|
+
/**
|
|
369
|
+
* Indicates whether early check-ins are allowed.
|
|
370
|
+
*/
|
|
371
|
+
AllowEarlyCheckIn: BoxBoolean;
|
|
372
|
+
/**
|
|
373
|
+
* Maximum time for the borrow configuration, in minutes.
|
|
374
|
+
*/
|
|
375
|
+
MaxTimeToLiveInMinutes: BoxInteger;
|
|
376
|
+
}
|
|
151
377
|
export type BoxBoolean = boolean;
|
|
152
378
|
export type BoxInteger = number;
|
|
153
379
|
export type BoxLong = number;
|
|
380
|
+
export interface CheckInLicenseRequest {
|
|
381
|
+
/**
|
|
382
|
+
* License consumption token.
|
|
383
|
+
*/
|
|
384
|
+
LicenseConsumptionToken: String;
|
|
385
|
+
/**
|
|
386
|
+
* License beneficiary.
|
|
387
|
+
*/
|
|
388
|
+
Beneficiary?: String;
|
|
389
|
+
}
|
|
390
|
+
export interface CheckInLicenseResponse {
|
|
391
|
+
}
|
|
392
|
+
export interface CheckoutBorrowLicenseRequest {
|
|
393
|
+
/**
|
|
394
|
+
* Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.
|
|
395
|
+
*/
|
|
396
|
+
LicenseArn: Arn;
|
|
397
|
+
/**
|
|
398
|
+
* License entitlements. Partial checkouts are not supported.
|
|
399
|
+
*/
|
|
400
|
+
Entitlements: EntitlementDataList;
|
|
401
|
+
/**
|
|
402
|
+
* Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.
|
|
403
|
+
*/
|
|
404
|
+
DigitalSignatureMethod: DigitalSignatureMethod;
|
|
405
|
+
/**
|
|
406
|
+
* Node ID.
|
|
407
|
+
*/
|
|
408
|
+
NodeId?: String;
|
|
409
|
+
/**
|
|
410
|
+
* Information about constraints.
|
|
411
|
+
*/
|
|
412
|
+
CheckoutMetadata?: MetadataList;
|
|
413
|
+
/**
|
|
414
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
415
|
+
*/
|
|
416
|
+
ClientToken: ClientToken;
|
|
417
|
+
}
|
|
418
|
+
export interface CheckoutBorrowLicenseResponse {
|
|
419
|
+
/**
|
|
420
|
+
* Amazon Resource Name (ARN) of the license.
|
|
421
|
+
*/
|
|
422
|
+
LicenseArn?: Arn;
|
|
423
|
+
/**
|
|
424
|
+
* License consumption token.
|
|
425
|
+
*/
|
|
426
|
+
LicenseConsumptionToken?: String;
|
|
427
|
+
/**
|
|
428
|
+
* Allowed license entitlements.
|
|
429
|
+
*/
|
|
430
|
+
EntitlementsAllowed?: EntitlementDataList;
|
|
431
|
+
/**
|
|
432
|
+
* Node ID.
|
|
433
|
+
*/
|
|
434
|
+
NodeId?: String;
|
|
435
|
+
/**
|
|
436
|
+
* Signed token.
|
|
437
|
+
*/
|
|
438
|
+
SignedToken?: SignedToken;
|
|
439
|
+
/**
|
|
440
|
+
* Date and time at which the license checkout is issued.
|
|
441
|
+
*/
|
|
442
|
+
IssuedAt?: ISO8601DateTime;
|
|
443
|
+
/**
|
|
444
|
+
* Date and time at which the license checkout expires.
|
|
445
|
+
*/
|
|
446
|
+
Expiration?: ISO8601DateTime;
|
|
447
|
+
/**
|
|
448
|
+
* Information about constraints.
|
|
449
|
+
*/
|
|
450
|
+
CheckoutMetadata?: MetadataList;
|
|
451
|
+
}
|
|
452
|
+
export interface CheckoutLicenseRequest {
|
|
453
|
+
/**
|
|
454
|
+
* Product SKU.
|
|
455
|
+
*/
|
|
456
|
+
ProductSKU: String;
|
|
457
|
+
/**
|
|
458
|
+
* Checkout type.
|
|
459
|
+
*/
|
|
460
|
+
CheckoutType: CheckoutType;
|
|
461
|
+
/**
|
|
462
|
+
* Key fingerprint identifying the license.
|
|
463
|
+
*/
|
|
464
|
+
KeyFingerprint: String;
|
|
465
|
+
/**
|
|
466
|
+
* License entitlements.
|
|
467
|
+
*/
|
|
468
|
+
Entitlements: EntitlementDataList;
|
|
469
|
+
/**
|
|
470
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
471
|
+
*/
|
|
472
|
+
ClientToken: ClientToken;
|
|
473
|
+
/**
|
|
474
|
+
* License beneficiary.
|
|
475
|
+
*/
|
|
476
|
+
Beneficiary?: String;
|
|
477
|
+
/**
|
|
478
|
+
* Node ID.
|
|
479
|
+
*/
|
|
480
|
+
NodeId?: String;
|
|
481
|
+
}
|
|
482
|
+
export interface CheckoutLicenseResponse {
|
|
483
|
+
/**
|
|
484
|
+
* Checkout type.
|
|
485
|
+
*/
|
|
486
|
+
CheckoutType?: CheckoutType;
|
|
487
|
+
/**
|
|
488
|
+
* License consumption token.
|
|
489
|
+
*/
|
|
490
|
+
LicenseConsumptionToken?: String;
|
|
491
|
+
/**
|
|
492
|
+
* Allowed license entitlements.
|
|
493
|
+
*/
|
|
494
|
+
EntitlementsAllowed?: EntitlementDataList;
|
|
495
|
+
/**
|
|
496
|
+
* Signed token.
|
|
497
|
+
*/
|
|
498
|
+
SignedToken?: SignedToken;
|
|
499
|
+
/**
|
|
500
|
+
* Node ID.
|
|
501
|
+
*/
|
|
502
|
+
NodeId?: String;
|
|
503
|
+
/**
|
|
504
|
+
* Date and time at which the license checkout is issued.
|
|
505
|
+
*/
|
|
506
|
+
IssuedAt?: ISO8601DateTime;
|
|
507
|
+
/**
|
|
508
|
+
* Date and time at which the license checkout expires.
|
|
509
|
+
*/
|
|
510
|
+
Expiration?: ISO8601DateTime;
|
|
511
|
+
}
|
|
512
|
+
export type CheckoutType = "PROVISIONAL"|string;
|
|
513
|
+
export type ClientToken = string;
|
|
154
514
|
export interface ConsumedLicenseSummary {
|
|
155
515
|
/**
|
|
156
516
|
* Resource type of the resource consuming a license.
|
|
@@ -162,6 +522,100 @@ declare namespace LicenseManager {
|
|
|
162
522
|
ConsumedLicenses?: BoxLong;
|
|
163
523
|
}
|
|
164
524
|
export type ConsumedLicenseSummaryList = ConsumedLicenseSummary[];
|
|
525
|
+
export interface ConsumptionConfiguration {
|
|
526
|
+
/**
|
|
527
|
+
* Renewal frequency.
|
|
528
|
+
*/
|
|
529
|
+
RenewType?: RenewType;
|
|
530
|
+
/**
|
|
531
|
+
* Details about a provisional configuration.
|
|
532
|
+
*/
|
|
533
|
+
ProvisionalConfiguration?: ProvisionalConfiguration;
|
|
534
|
+
/**
|
|
535
|
+
* Details about a borrow configuration.
|
|
536
|
+
*/
|
|
537
|
+
BorrowConfiguration?: BorrowConfiguration;
|
|
538
|
+
}
|
|
539
|
+
export interface CreateGrantRequest {
|
|
540
|
+
/**
|
|
541
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
542
|
+
*/
|
|
543
|
+
ClientToken: String;
|
|
544
|
+
/**
|
|
545
|
+
* Grant name.
|
|
546
|
+
*/
|
|
547
|
+
GrantName: String;
|
|
548
|
+
/**
|
|
549
|
+
* Amazon Resource Name (ARN) of the license.
|
|
550
|
+
*/
|
|
551
|
+
LicenseArn: Arn;
|
|
552
|
+
/**
|
|
553
|
+
* The grant principals.
|
|
554
|
+
*/
|
|
555
|
+
Principals: PrincipalArnList;
|
|
556
|
+
/**
|
|
557
|
+
* Home Region of the grant.
|
|
558
|
+
*/
|
|
559
|
+
HomeRegion: String;
|
|
560
|
+
/**
|
|
561
|
+
* Allowed operations for the grant.
|
|
562
|
+
*/
|
|
563
|
+
AllowedOperations: AllowedOperationList;
|
|
564
|
+
}
|
|
565
|
+
export interface CreateGrantResponse {
|
|
566
|
+
/**
|
|
567
|
+
* Grant ARN.
|
|
568
|
+
*/
|
|
569
|
+
GrantArn?: Arn;
|
|
570
|
+
/**
|
|
571
|
+
* Grant status.
|
|
572
|
+
*/
|
|
573
|
+
Status?: GrantStatus;
|
|
574
|
+
/**
|
|
575
|
+
* Grant version.
|
|
576
|
+
*/
|
|
577
|
+
Version?: String;
|
|
578
|
+
}
|
|
579
|
+
export interface CreateGrantVersionRequest {
|
|
580
|
+
/**
|
|
581
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
582
|
+
*/
|
|
583
|
+
ClientToken: String;
|
|
584
|
+
/**
|
|
585
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
586
|
+
*/
|
|
587
|
+
GrantArn: Arn;
|
|
588
|
+
/**
|
|
589
|
+
* Grant name.
|
|
590
|
+
*/
|
|
591
|
+
GrantName?: String;
|
|
592
|
+
/**
|
|
593
|
+
* Allowed operations for the grant.
|
|
594
|
+
*/
|
|
595
|
+
AllowedOperations?: AllowedOperationList;
|
|
596
|
+
/**
|
|
597
|
+
* Grant status.
|
|
598
|
+
*/
|
|
599
|
+
Status?: GrantStatus;
|
|
600
|
+
/**
|
|
601
|
+
* Current version of the grant.
|
|
602
|
+
*/
|
|
603
|
+
SourceVersion?: String;
|
|
604
|
+
}
|
|
605
|
+
export interface CreateGrantVersionResponse {
|
|
606
|
+
/**
|
|
607
|
+
* Grant ARN.
|
|
608
|
+
*/
|
|
609
|
+
GrantArn?: Arn;
|
|
610
|
+
/**
|
|
611
|
+
* Grant status.
|
|
612
|
+
*/
|
|
613
|
+
Status?: GrantStatus;
|
|
614
|
+
/**
|
|
615
|
+
* New version of the grant.
|
|
616
|
+
*/
|
|
617
|
+
Version?: String;
|
|
618
|
+
}
|
|
165
619
|
export interface CreateLicenseConfigurationRequest {
|
|
166
620
|
/**
|
|
167
621
|
* Name of the license configuration.
|
|
@@ -191,6 +645,10 @@ declare namespace LicenseManager {
|
|
|
191
645
|
* Tags to add to the license configuration.
|
|
192
646
|
*/
|
|
193
647
|
Tags?: TagList;
|
|
648
|
+
/**
|
|
649
|
+
* When true, disassociates a resource when software is uninstalled.
|
|
650
|
+
*/
|
|
651
|
+
DisassociateWhenNotFound?: BoxBoolean;
|
|
194
652
|
/**
|
|
195
653
|
* Product information.
|
|
196
654
|
*/
|
|
@@ -202,125 +660,606 @@ declare namespace LicenseManager {
|
|
|
202
660
|
*/
|
|
203
661
|
LicenseConfigurationArn?: String;
|
|
204
662
|
}
|
|
205
|
-
export
|
|
206
|
-
export interface DeleteLicenseConfigurationRequest {
|
|
663
|
+
export interface CreateLicenseRequest {
|
|
207
664
|
/**
|
|
208
|
-
*
|
|
665
|
+
* License name.
|
|
209
666
|
*/
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
667
|
+
LicenseName: String;
|
|
668
|
+
/**
|
|
669
|
+
* Product name.
|
|
670
|
+
*/
|
|
671
|
+
ProductName: String;
|
|
672
|
+
/**
|
|
673
|
+
* Product SKU.
|
|
674
|
+
*/
|
|
675
|
+
ProductSKU: String;
|
|
676
|
+
/**
|
|
677
|
+
* License issuer.
|
|
678
|
+
*/
|
|
679
|
+
Issuer: Issuer;
|
|
680
|
+
/**
|
|
681
|
+
* Home Region for the license.
|
|
682
|
+
*/
|
|
683
|
+
HomeRegion: String;
|
|
684
|
+
/**
|
|
685
|
+
* Date and time range during which the license is valid, in ISO8601-UTC format.
|
|
686
|
+
*/
|
|
687
|
+
Validity: DatetimeRange;
|
|
688
|
+
/**
|
|
689
|
+
* License entitlements.
|
|
690
|
+
*/
|
|
691
|
+
Entitlements: EntitlementList;
|
|
692
|
+
/**
|
|
693
|
+
* License beneficiary.
|
|
694
|
+
*/
|
|
695
|
+
Beneficiary: String;
|
|
696
|
+
/**
|
|
697
|
+
* Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
|
|
698
|
+
*/
|
|
699
|
+
ConsumptionConfiguration: ConsumptionConfiguration;
|
|
700
|
+
/**
|
|
701
|
+
* Information about the license.
|
|
702
|
+
*/
|
|
703
|
+
LicenseMetadata?: MetadataList;
|
|
704
|
+
/**
|
|
705
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
706
|
+
*/
|
|
707
|
+
ClientToken: String;
|
|
213
708
|
}
|
|
214
|
-
export interface
|
|
709
|
+
export interface CreateLicenseResponse {
|
|
215
710
|
/**
|
|
216
|
-
* Name of the
|
|
711
|
+
* Amazon Resource Name (ARN) of the license.
|
|
712
|
+
*/
|
|
713
|
+
LicenseArn?: Arn;
|
|
714
|
+
/**
|
|
715
|
+
* License status.
|
|
716
|
+
*/
|
|
717
|
+
Status?: LicenseStatus;
|
|
718
|
+
/**
|
|
719
|
+
* License version.
|
|
720
|
+
*/
|
|
721
|
+
Version?: String;
|
|
722
|
+
}
|
|
723
|
+
export interface CreateLicenseVersionRequest {
|
|
724
|
+
/**
|
|
725
|
+
* Amazon Resource Name (ARN) of the license.
|
|
726
|
+
*/
|
|
727
|
+
LicenseArn: Arn;
|
|
728
|
+
/**
|
|
729
|
+
* License name.
|
|
730
|
+
*/
|
|
731
|
+
LicenseName: String;
|
|
732
|
+
/**
|
|
733
|
+
* Product name.
|
|
734
|
+
*/
|
|
735
|
+
ProductName: String;
|
|
736
|
+
/**
|
|
737
|
+
* License issuer.
|
|
738
|
+
*/
|
|
739
|
+
Issuer: Issuer;
|
|
740
|
+
/**
|
|
741
|
+
* Home Region of the license.
|
|
742
|
+
*/
|
|
743
|
+
HomeRegion: String;
|
|
744
|
+
/**
|
|
745
|
+
* Date and time range during which the license is valid, in ISO8601-UTC format.
|
|
746
|
+
*/
|
|
747
|
+
Validity: DatetimeRange;
|
|
748
|
+
/**
|
|
749
|
+
* Information about the license.
|
|
750
|
+
*/
|
|
751
|
+
LicenseMetadata?: MetadataList;
|
|
752
|
+
/**
|
|
753
|
+
* License entitlements.
|
|
754
|
+
*/
|
|
755
|
+
Entitlements: EntitlementList;
|
|
756
|
+
/**
|
|
757
|
+
* Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
|
|
758
|
+
*/
|
|
759
|
+
ConsumptionConfiguration: ConsumptionConfiguration;
|
|
760
|
+
/**
|
|
761
|
+
* License status.
|
|
762
|
+
*/
|
|
763
|
+
Status: LicenseStatus;
|
|
764
|
+
/**
|
|
765
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
|
766
|
+
*/
|
|
767
|
+
ClientToken: String;
|
|
768
|
+
/**
|
|
769
|
+
* Current version of the license.
|
|
770
|
+
*/
|
|
771
|
+
SourceVersion?: String;
|
|
772
|
+
}
|
|
773
|
+
export interface CreateLicenseVersionResponse {
|
|
774
|
+
/**
|
|
775
|
+
* License ARN.
|
|
776
|
+
*/
|
|
777
|
+
LicenseArn?: Arn;
|
|
778
|
+
/**
|
|
779
|
+
* New version of the license.
|
|
780
|
+
*/
|
|
781
|
+
Version?: String;
|
|
782
|
+
/**
|
|
783
|
+
* License status.
|
|
784
|
+
*/
|
|
785
|
+
Status?: LicenseStatus;
|
|
786
|
+
}
|
|
787
|
+
export interface CreateTokenRequest {
|
|
788
|
+
/**
|
|
789
|
+
* Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.
|
|
790
|
+
*/
|
|
791
|
+
LicenseArn: Arn;
|
|
792
|
+
/**
|
|
793
|
+
* Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
|
|
794
|
+
*/
|
|
795
|
+
RoleArns?: ArnList;
|
|
796
|
+
/**
|
|
797
|
+
* Token expiration, in days, counted from token creation. The default is 365 days.
|
|
798
|
+
*/
|
|
799
|
+
ExpirationInDays?: Integer;
|
|
800
|
+
/**
|
|
801
|
+
* Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.
|
|
802
|
+
*/
|
|
803
|
+
TokenProperties?: MaxSize3StringList;
|
|
804
|
+
/**
|
|
805
|
+
* Idempotency token, valid for 10 minutes.
|
|
806
|
+
*/
|
|
807
|
+
ClientToken: IdempotencyToken;
|
|
808
|
+
}
|
|
809
|
+
export interface CreateTokenResponse {
|
|
810
|
+
/**
|
|
811
|
+
* Token ID.
|
|
812
|
+
*/
|
|
813
|
+
TokenId?: String;
|
|
814
|
+
/**
|
|
815
|
+
* Token type.
|
|
816
|
+
*/
|
|
817
|
+
TokenType?: TokenType;
|
|
818
|
+
/**
|
|
819
|
+
* Refresh token, encoded as a JWT token.
|
|
820
|
+
*/
|
|
821
|
+
Token?: TokenString;
|
|
822
|
+
}
|
|
823
|
+
export type DateTime = Date;
|
|
824
|
+
export interface DatetimeRange {
|
|
825
|
+
/**
|
|
826
|
+
* Start of the time range.
|
|
827
|
+
*/
|
|
828
|
+
Begin: ISO8601DateTime;
|
|
829
|
+
/**
|
|
830
|
+
* End of the time range.
|
|
831
|
+
*/
|
|
832
|
+
End?: ISO8601DateTime;
|
|
833
|
+
}
|
|
834
|
+
export interface DeleteGrantRequest {
|
|
835
|
+
/**
|
|
836
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
837
|
+
*/
|
|
838
|
+
GrantArn: Arn;
|
|
839
|
+
/**
|
|
840
|
+
* Current version of the grant.
|
|
841
|
+
*/
|
|
842
|
+
Version: String;
|
|
843
|
+
}
|
|
844
|
+
export interface DeleteGrantResponse {
|
|
845
|
+
/**
|
|
846
|
+
* Grant ARN.
|
|
847
|
+
*/
|
|
848
|
+
GrantArn?: Arn;
|
|
849
|
+
/**
|
|
850
|
+
* Grant status.
|
|
851
|
+
*/
|
|
852
|
+
Status?: GrantStatus;
|
|
853
|
+
/**
|
|
854
|
+
* Grant version.
|
|
855
|
+
*/
|
|
856
|
+
Version?: String;
|
|
857
|
+
}
|
|
858
|
+
export interface DeleteLicenseConfigurationRequest {
|
|
859
|
+
/**
|
|
860
|
+
* ID of the license configuration.
|
|
861
|
+
*/
|
|
862
|
+
LicenseConfigurationArn: String;
|
|
863
|
+
}
|
|
864
|
+
export interface DeleteLicenseConfigurationResponse {
|
|
865
|
+
}
|
|
866
|
+
export interface DeleteLicenseRequest {
|
|
867
|
+
/**
|
|
868
|
+
* Amazon Resource Name (ARN) of the license.
|
|
869
|
+
*/
|
|
870
|
+
LicenseArn: Arn;
|
|
871
|
+
/**
|
|
872
|
+
* Current version of the license.
|
|
873
|
+
*/
|
|
874
|
+
SourceVersion: String;
|
|
875
|
+
}
|
|
876
|
+
export interface DeleteLicenseResponse {
|
|
877
|
+
/**
|
|
878
|
+
* License status.
|
|
879
|
+
*/
|
|
880
|
+
Status?: LicenseDeletionStatus;
|
|
881
|
+
/**
|
|
882
|
+
* Date on which the license is deleted.
|
|
883
|
+
*/
|
|
884
|
+
DeletionDate?: ISO8601DateTime;
|
|
885
|
+
}
|
|
886
|
+
export interface DeleteTokenRequest {
|
|
887
|
+
/**
|
|
888
|
+
* Token ID.
|
|
889
|
+
*/
|
|
890
|
+
TokenId: String;
|
|
891
|
+
}
|
|
892
|
+
export interface DeleteTokenResponse {
|
|
893
|
+
}
|
|
894
|
+
export type DigitalSignatureMethod = "JWT_PS384"|string;
|
|
895
|
+
export interface Entitlement {
|
|
896
|
+
/**
|
|
897
|
+
* Entitlement name.
|
|
898
|
+
*/
|
|
899
|
+
Name: String;
|
|
900
|
+
/**
|
|
901
|
+
* Entitlement resource. Use only if the unit is None.
|
|
902
|
+
*/
|
|
903
|
+
Value?: String;
|
|
904
|
+
/**
|
|
905
|
+
* Maximum entitlement count. Use if the unit is not None.
|
|
906
|
+
*/
|
|
907
|
+
MaxCount?: Long;
|
|
908
|
+
/**
|
|
909
|
+
* Indicates whether overages are allowed.
|
|
910
|
+
*/
|
|
911
|
+
Overage?: BoxBoolean;
|
|
912
|
+
/**
|
|
913
|
+
* Entitlement unit.
|
|
914
|
+
*/
|
|
915
|
+
Unit: EntitlementUnit;
|
|
916
|
+
/**
|
|
917
|
+
* Indicates whether check-ins are allowed.
|
|
918
|
+
*/
|
|
919
|
+
AllowCheckIn?: BoxBoolean;
|
|
920
|
+
}
|
|
921
|
+
export interface EntitlementData {
|
|
922
|
+
/**
|
|
923
|
+
* Entitlement data name.
|
|
924
|
+
*/
|
|
925
|
+
Name: String;
|
|
926
|
+
/**
|
|
927
|
+
* Entitlement data value.
|
|
928
|
+
*/
|
|
929
|
+
Value?: String;
|
|
930
|
+
/**
|
|
931
|
+
* Entitlement data unit.
|
|
932
|
+
*/
|
|
933
|
+
Unit: EntitlementDataUnit;
|
|
934
|
+
}
|
|
935
|
+
export type EntitlementDataList = EntitlementData[];
|
|
936
|
+
export type EntitlementDataUnit = "Count"|"None"|"Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|string;
|
|
937
|
+
export type EntitlementList = Entitlement[];
|
|
938
|
+
export type EntitlementUnit = "Count"|"None"|"Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|string;
|
|
939
|
+
export interface EntitlementUsage {
|
|
940
|
+
/**
|
|
941
|
+
* Entitlement usage name.
|
|
942
|
+
*/
|
|
943
|
+
Name: String;
|
|
944
|
+
/**
|
|
945
|
+
* Resource usage consumed.
|
|
946
|
+
*/
|
|
947
|
+
ConsumedValue: String;
|
|
948
|
+
/**
|
|
949
|
+
* Maximum entitlement usage count.
|
|
950
|
+
*/
|
|
951
|
+
MaxCount?: String;
|
|
952
|
+
/**
|
|
953
|
+
* Entitlement usage unit.
|
|
954
|
+
*/
|
|
955
|
+
Unit: EntitlementDataUnit;
|
|
956
|
+
}
|
|
957
|
+
export type EntitlementUsageList = EntitlementUsage[];
|
|
958
|
+
export interface ExtendLicenseConsumptionRequest {
|
|
959
|
+
/**
|
|
960
|
+
* License consumption token.
|
|
961
|
+
*/
|
|
962
|
+
LicenseConsumptionToken: String;
|
|
963
|
+
/**
|
|
964
|
+
* Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.
|
|
965
|
+
*/
|
|
966
|
+
DryRun?: Boolean;
|
|
967
|
+
}
|
|
968
|
+
export interface ExtendLicenseConsumptionResponse {
|
|
969
|
+
/**
|
|
970
|
+
* License consumption token.
|
|
971
|
+
*/
|
|
972
|
+
LicenseConsumptionToken?: String;
|
|
973
|
+
/**
|
|
974
|
+
* Date and time at which the license consumption expires.
|
|
975
|
+
*/
|
|
976
|
+
Expiration?: ISO8601DateTime;
|
|
977
|
+
}
|
|
978
|
+
export interface Filter {
|
|
979
|
+
/**
|
|
980
|
+
* Name of the filter. Filter names are case-sensitive.
|
|
981
|
+
*/
|
|
982
|
+
Name?: FilterName;
|
|
983
|
+
/**
|
|
984
|
+
* Filter values. Filter values are case-sensitive.
|
|
985
|
+
*/
|
|
986
|
+
Values?: FilterValues;
|
|
987
|
+
}
|
|
988
|
+
export type FilterList = Filter[];
|
|
989
|
+
export type FilterName = string;
|
|
990
|
+
export type FilterValue = string;
|
|
991
|
+
export type FilterValues = FilterValue[];
|
|
992
|
+
export type Filters = Filter[];
|
|
993
|
+
export interface GetAccessTokenRequest {
|
|
994
|
+
/**
|
|
995
|
+
* Refresh token, encoded as a JWT token.
|
|
996
|
+
*/
|
|
997
|
+
Token: TokenString;
|
|
998
|
+
/**
|
|
999
|
+
* Token properties to validate against those present in the JWT token.
|
|
1000
|
+
*/
|
|
1001
|
+
TokenProperties?: MaxSize3StringList;
|
|
1002
|
+
}
|
|
1003
|
+
export interface GetAccessTokenResponse {
|
|
1004
|
+
/**
|
|
1005
|
+
* Temporary access token.
|
|
1006
|
+
*/
|
|
1007
|
+
AccessToken?: TokenString;
|
|
1008
|
+
}
|
|
1009
|
+
export interface GetGrantRequest {
|
|
1010
|
+
/**
|
|
1011
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
1012
|
+
*/
|
|
1013
|
+
GrantArn: Arn;
|
|
1014
|
+
/**
|
|
1015
|
+
* Grant version.
|
|
1016
|
+
*/
|
|
1017
|
+
Version?: String;
|
|
1018
|
+
}
|
|
1019
|
+
export interface GetGrantResponse {
|
|
1020
|
+
/**
|
|
1021
|
+
* Grant details.
|
|
1022
|
+
*/
|
|
1023
|
+
Grant?: Grant;
|
|
1024
|
+
}
|
|
1025
|
+
export interface GetLicenseConfigurationRequest {
|
|
1026
|
+
/**
|
|
1027
|
+
* Amazon Resource Name (ARN) of the license configuration.
|
|
1028
|
+
*/
|
|
1029
|
+
LicenseConfigurationArn: String;
|
|
1030
|
+
}
|
|
1031
|
+
export interface GetLicenseConfigurationResponse {
|
|
1032
|
+
/**
|
|
1033
|
+
* Unique ID for the license configuration.
|
|
1034
|
+
*/
|
|
1035
|
+
LicenseConfigurationId?: String;
|
|
1036
|
+
/**
|
|
1037
|
+
* Amazon Resource Name (ARN) of the license configuration.
|
|
1038
|
+
*/
|
|
1039
|
+
LicenseConfigurationArn?: String;
|
|
1040
|
+
/**
|
|
1041
|
+
* Name of the license configuration.
|
|
1042
|
+
*/
|
|
1043
|
+
Name?: String;
|
|
1044
|
+
/**
|
|
1045
|
+
* Description of the license configuration.
|
|
1046
|
+
*/
|
|
1047
|
+
Description?: String;
|
|
1048
|
+
/**
|
|
1049
|
+
* Dimension on which the licenses are counted.
|
|
1050
|
+
*/
|
|
1051
|
+
LicenseCountingType?: LicenseCountingType;
|
|
1052
|
+
/**
|
|
1053
|
+
* License rules.
|
|
1054
|
+
*/
|
|
1055
|
+
LicenseRules?: StringList;
|
|
1056
|
+
/**
|
|
1057
|
+
* Number of available licenses.
|
|
1058
|
+
*/
|
|
1059
|
+
LicenseCount?: BoxLong;
|
|
1060
|
+
/**
|
|
1061
|
+
* Sets the number of available licenses as a hard limit.
|
|
1062
|
+
*/
|
|
1063
|
+
LicenseCountHardLimit?: BoxBoolean;
|
|
1064
|
+
/**
|
|
1065
|
+
* Number of licenses assigned to resources.
|
|
1066
|
+
*/
|
|
1067
|
+
ConsumedLicenses?: BoxLong;
|
|
1068
|
+
/**
|
|
1069
|
+
* License configuration status.
|
|
1070
|
+
*/
|
|
1071
|
+
Status?: String;
|
|
1072
|
+
/**
|
|
1073
|
+
* Account ID of the owner of the license configuration.
|
|
1074
|
+
*/
|
|
1075
|
+
OwnerAccountId?: String;
|
|
1076
|
+
/**
|
|
1077
|
+
* Summaries of the licenses consumed by resources.
|
|
1078
|
+
*/
|
|
1079
|
+
ConsumedLicenseSummaryList?: ConsumedLicenseSummaryList;
|
|
1080
|
+
/**
|
|
1081
|
+
* Summaries of the managed resources.
|
|
1082
|
+
*/
|
|
1083
|
+
ManagedResourceSummaryList?: ManagedResourceSummaryList;
|
|
1084
|
+
/**
|
|
1085
|
+
* Tags for the license configuration.
|
|
1086
|
+
*/
|
|
1087
|
+
Tags?: TagList;
|
|
1088
|
+
/**
|
|
1089
|
+
* Product information.
|
|
1090
|
+
*/
|
|
1091
|
+
ProductInformationList?: ProductInformationList;
|
|
1092
|
+
/**
|
|
1093
|
+
* Automated discovery information.
|
|
1094
|
+
*/
|
|
1095
|
+
AutomatedDiscoveryInformation?: AutomatedDiscoveryInformation;
|
|
1096
|
+
/**
|
|
1097
|
+
* When true, disassociates a resource when software is uninstalled.
|
|
1098
|
+
*/
|
|
1099
|
+
DisassociateWhenNotFound?: BoxBoolean;
|
|
1100
|
+
}
|
|
1101
|
+
export interface GetLicenseRequest {
|
|
1102
|
+
/**
|
|
1103
|
+
* Amazon Resource Name (ARN) of the license.
|
|
1104
|
+
*/
|
|
1105
|
+
LicenseArn: Arn;
|
|
1106
|
+
/**
|
|
1107
|
+
* License version.
|
|
1108
|
+
*/
|
|
1109
|
+
Version?: String;
|
|
1110
|
+
}
|
|
1111
|
+
export interface GetLicenseResponse {
|
|
1112
|
+
/**
|
|
1113
|
+
* License details.
|
|
1114
|
+
*/
|
|
1115
|
+
License?: License;
|
|
1116
|
+
}
|
|
1117
|
+
export interface GetLicenseUsageRequest {
|
|
1118
|
+
/**
|
|
1119
|
+
* Amazon Resource Name (ARN) of the license.
|
|
1120
|
+
*/
|
|
1121
|
+
LicenseArn: Arn;
|
|
1122
|
+
}
|
|
1123
|
+
export interface GetLicenseUsageResponse {
|
|
1124
|
+
/**
|
|
1125
|
+
* License usage details.
|
|
1126
|
+
*/
|
|
1127
|
+
LicenseUsage?: LicenseUsage;
|
|
1128
|
+
}
|
|
1129
|
+
export interface GetServiceSettingsRequest {
|
|
1130
|
+
}
|
|
1131
|
+
export interface GetServiceSettingsResponse {
|
|
1132
|
+
/**
|
|
1133
|
+
* Regional S3 bucket path for storing reports, license trail event data, discovery data, and so on.
|
|
1134
|
+
*/
|
|
1135
|
+
S3BucketArn?: String;
|
|
1136
|
+
/**
|
|
1137
|
+
* SNS topic configured to receive notifications from License Manager.
|
|
1138
|
+
*/
|
|
1139
|
+
SnsTopicArn?: String;
|
|
1140
|
+
/**
|
|
1141
|
+
* Indicates whether AWS Organizations is integrated with License Manager for cross-account discovery.
|
|
1142
|
+
*/
|
|
1143
|
+
OrganizationConfiguration?: OrganizationConfiguration;
|
|
1144
|
+
/**
|
|
1145
|
+
* Indicates whether cross-account discovery is enabled.
|
|
1146
|
+
*/
|
|
1147
|
+
EnableCrossAccountsDiscovery?: BoxBoolean;
|
|
1148
|
+
/**
|
|
1149
|
+
* Amazon Resource Name (ARN) of the AWS resource share. The License Manager master account will provide member accounts with access to this share.
|
|
1150
|
+
*/
|
|
1151
|
+
LicenseManagerResourceShareArn?: String;
|
|
1152
|
+
}
|
|
1153
|
+
export interface Grant {
|
|
1154
|
+
/**
|
|
1155
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
1156
|
+
*/
|
|
1157
|
+
GrantArn: Arn;
|
|
1158
|
+
/**
|
|
1159
|
+
* Grant name.
|
|
217
1160
|
*/
|
|
218
|
-
|
|
1161
|
+
GrantName: String;
|
|
219
1162
|
/**
|
|
220
|
-
*
|
|
1163
|
+
* Parent ARN.
|
|
221
1164
|
*/
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
export type FilterName = string;
|
|
225
|
-
export type FilterValue = string;
|
|
226
|
-
export type FilterValues = FilterValue[];
|
|
227
|
-
export type Filters = Filter[];
|
|
228
|
-
export interface GetLicenseConfigurationRequest {
|
|
1165
|
+
ParentArn: Arn;
|
|
229
1166
|
/**
|
|
230
|
-
*
|
|
1167
|
+
* License ARN.
|
|
231
1168
|
*/
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
export interface GetLicenseConfigurationResponse {
|
|
1169
|
+
LicenseArn: Arn;
|
|
235
1170
|
/**
|
|
236
|
-
*
|
|
1171
|
+
* The grantee principal ARN.
|
|
237
1172
|
*/
|
|
238
|
-
|
|
1173
|
+
GranteePrincipalArn: Arn;
|
|
239
1174
|
/**
|
|
240
|
-
*
|
|
1175
|
+
* Home Region of the grant.
|
|
241
1176
|
*/
|
|
242
|
-
|
|
1177
|
+
HomeRegion: String;
|
|
243
1178
|
/**
|
|
244
|
-
*
|
|
1179
|
+
* Grant status.
|
|
245
1180
|
*/
|
|
246
|
-
|
|
1181
|
+
GrantStatus: GrantStatus;
|
|
247
1182
|
/**
|
|
248
|
-
*
|
|
1183
|
+
* Grant status reason.
|
|
249
1184
|
*/
|
|
250
|
-
|
|
1185
|
+
StatusReason?: String;
|
|
251
1186
|
/**
|
|
252
|
-
*
|
|
1187
|
+
* Grant version.
|
|
253
1188
|
*/
|
|
254
|
-
|
|
1189
|
+
Version: String;
|
|
255
1190
|
/**
|
|
256
|
-
*
|
|
1191
|
+
* Granted operations.
|
|
257
1192
|
*/
|
|
258
|
-
|
|
1193
|
+
GrantedOperations: AllowedOperationList;
|
|
1194
|
+
}
|
|
1195
|
+
export type GrantList = Grant[];
|
|
1196
|
+
export type GrantStatus = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"PENDING_DELETE"|"DISABLED"|string;
|
|
1197
|
+
export interface GrantedLicense {
|
|
259
1198
|
/**
|
|
260
|
-
*
|
|
1199
|
+
* Amazon Resource Name (ARN) of the license.
|
|
261
1200
|
*/
|
|
262
|
-
|
|
1201
|
+
LicenseArn?: Arn;
|
|
263
1202
|
/**
|
|
264
|
-
*
|
|
1203
|
+
* License name.
|
|
265
1204
|
*/
|
|
266
|
-
|
|
1205
|
+
LicenseName?: String;
|
|
267
1206
|
/**
|
|
268
|
-
*
|
|
1207
|
+
* Product name.
|
|
269
1208
|
*/
|
|
270
|
-
|
|
1209
|
+
ProductName?: String;
|
|
271
1210
|
/**
|
|
272
|
-
*
|
|
1211
|
+
* Product SKU.
|
|
273
1212
|
*/
|
|
274
|
-
|
|
1213
|
+
ProductSKU?: String;
|
|
275
1214
|
/**
|
|
276
|
-
*
|
|
1215
|
+
* Granted license issuer.
|
|
277
1216
|
*/
|
|
278
|
-
|
|
1217
|
+
Issuer?: IssuerDetails;
|
|
279
1218
|
/**
|
|
280
|
-
*
|
|
1219
|
+
* Home Region of the granted license.
|
|
281
1220
|
*/
|
|
282
|
-
|
|
1221
|
+
HomeRegion?: String;
|
|
283
1222
|
/**
|
|
284
|
-
*
|
|
1223
|
+
* Granted license status.
|
|
285
1224
|
*/
|
|
286
|
-
|
|
1225
|
+
Status?: LicenseStatus;
|
|
287
1226
|
/**
|
|
288
|
-
*
|
|
1227
|
+
* Date and time range during which the granted license is valid, in ISO8601-UTC format.
|
|
289
1228
|
*/
|
|
290
|
-
|
|
1229
|
+
Validity?: DatetimeRange;
|
|
291
1230
|
/**
|
|
292
|
-
*
|
|
1231
|
+
* Granted license beneficiary.
|
|
293
1232
|
*/
|
|
294
|
-
|
|
1233
|
+
Beneficiary?: String;
|
|
295
1234
|
/**
|
|
296
|
-
*
|
|
1235
|
+
* License entitlements.
|
|
297
1236
|
*/
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
export interface GetServiceSettingsRequest {
|
|
301
|
-
}
|
|
302
|
-
export interface GetServiceSettingsResponse {
|
|
1237
|
+
Entitlements?: EntitlementList;
|
|
303
1238
|
/**
|
|
304
|
-
*
|
|
1239
|
+
* Configuration for consumption of the license.
|
|
305
1240
|
*/
|
|
306
|
-
|
|
1241
|
+
ConsumptionConfiguration?: ConsumptionConfiguration;
|
|
307
1242
|
/**
|
|
308
|
-
*
|
|
1243
|
+
* Granted license metadata.
|
|
309
1244
|
*/
|
|
310
|
-
|
|
1245
|
+
LicenseMetadata?: MetadataList;
|
|
311
1246
|
/**
|
|
312
|
-
*
|
|
1247
|
+
* Creation time of the granted license.
|
|
313
1248
|
*/
|
|
314
|
-
|
|
1249
|
+
CreateTime?: ISO8601DateTime;
|
|
315
1250
|
/**
|
|
316
|
-
*
|
|
1251
|
+
* Version of the granted license.
|
|
317
1252
|
*/
|
|
318
|
-
|
|
1253
|
+
Version?: String;
|
|
319
1254
|
/**
|
|
320
|
-
*
|
|
1255
|
+
* Granted license received metadata.
|
|
321
1256
|
*/
|
|
322
|
-
|
|
1257
|
+
ReceivedMetadata?: ReceivedMetadata;
|
|
323
1258
|
}
|
|
1259
|
+
export type GrantedLicenseList = GrantedLicense[];
|
|
1260
|
+
export type ISO8601DateTime = string;
|
|
1261
|
+
export type IdempotencyToken = string;
|
|
1262
|
+
export type Integer = number;
|
|
324
1263
|
export interface InventoryFilter {
|
|
325
1264
|
/**
|
|
326
1265
|
* Name of the filter.
|
|
@@ -337,6 +1276,88 @@ declare namespace LicenseManager {
|
|
|
337
1276
|
}
|
|
338
1277
|
export type InventoryFilterCondition = "EQUALS"|"NOT_EQUALS"|"BEGINS_WITH"|"CONTAINS"|string;
|
|
339
1278
|
export type InventoryFilterList = InventoryFilter[];
|
|
1279
|
+
export interface Issuer {
|
|
1280
|
+
/**
|
|
1281
|
+
* Issuer name.
|
|
1282
|
+
*/
|
|
1283
|
+
Name: String;
|
|
1284
|
+
/**
|
|
1285
|
+
* Asymmetric CMK from AWS Key Management Service. The CMK must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
|
|
1286
|
+
*/
|
|
1287
|
+
SignKey?: String;
|
|
1288
|
+
}
|
|
1289
|
+
export interface IssuerDetails {
|
|
1290
|
+
/**
|
|
1291
|
+
* Issuer name.
|
|
1292
|
+
*/
|
|
1293
|
+
Name?: String;
|
|
1294
|
+
/**
|
|
1295
|
+
* Asymmetric CMK from AWS Key Management Service. The CMK must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
|
|
1296
|
+
*/
|
|
1297
|
+
SignKey?: String;
|
|
1298
|
+
/**
|
|
1299
|
+
* Issuer key fingerprint.
|
|
1300
|
+
*/
|
|
1301
|
+
KeyFingerprint?: String;
|
|
1302
|
+
}
|
|
1303
|
+
export interface License {
|
|
1304
|
+
/**
|
|
1305
|
+
* Amazon Resource Name (ARN) of the license.
|
|
1306
|
+
*/
|
|
1307
|
+
LicenseArn?: Arn;
|
|
1308
|
+
/**
|
|
1309
|
+
* License name.
|
|
1310
|
+
*/
|
|
1311
|
+
LicenseName?: String;
|
|
1312
|
+
/**
|
|
1313
|
+
* Product name.
|
|
1314
|
+
*/
|
|
1315
|
+
ProductName?: String;
|
|
1316
|
+
/**
|
|
1317
|
+
* Product SKU.
|
|
1318
|
+
*/
|
|
1319
|
+
ProductSKU?: String;
|
|
1320
|
+
/**
|
|
1321
|
+
* License issuer.
|
|
1322
|
+
*/
|
|
1323
|
+
Issuer?: IssuerDetails;
|
|
1324
|
+
/**
|
|
1325
|
+
* Home Region of the license.
|
|
1326
|
+
*/
|
|
1327
|
+
HomeRegion?: String;
|
|
1328
|
+
/**
|
|
1329
|
+
* License status.
|
|
1330
|
+
*/
|
|
1331
|
+
Status?: LicenseStatus;
|
|
1332
|
+
/**
|
|
1333
|
+
* Date and time range during which the license is valid, in ISO8601-UTC format.
|
|
1334
|
+
*/
|
|
1335
|
+
Validity?: DatetimeRange;
|
|
1336
|
+
/**
|
|
1337
|
+
* License beneficiary.
|
|
1338
|
+
*/
|
|
1339
|
+
Beneficiary?: String;
|
|
1340
|
+
/**
|
|
1341
|
+
* License entitlements.
|
|
1342
|
+
*/
|
|
1343
|
+
Entitlements?: EntitlementList;
|
|
1344
|
+
/**
|
|
1345
|
+
* Configuration for consumption of the license.
|
|
1346
|
+
*/
|
|
1347
|
+
ConsumptionConfiguration?: ConsumptionConfiguration;
|
|
1348
|
+
/**
|
|
1349
|
+
* License metadata.
|
|
1350
|
+
*/
|
|
1351
|
+
LicenseMetadata?: MetadataList;
|
|
1352
|
+
/**
|
|
1353
|
+
* License creation time.
|
|
1354
|
+
*/
|
|
1355
|
+
CreateTime?: ISO8601DateTime;
|
|
1356
|
+
/**
|
|
1357
|
+
* License version.
|
|
1358
|
+
*/
|
|
1359
|
+
Version?: String;
|
|
1360
|
+
}
|
|
340
1361
|
export interface LicenseConfiguration {
|
|
341
1362
|
/**
|
|
342
1363
|
* Unique ID of the license configuration.
|
|
@@ -370,6 +1391,10 @@ declare namespace LicenseManager {
|
|
|
370
1391
|
* Number of available licenses as a hard limit.
|
|
371
1392
|
*/
|
|
372
1393
|
LicenseCountHardLimit?: BoxBoolean;
|
|
1394
|
+
/**
|
|
1395
|
+
* When true, disassociates a resource when software is uninstalled.
|
|
1396
|
+
*/
|
|
1397
|
+
DisassociateWhenNotFound?: BoxBoolean;
|
|
373
1398
|
/**
|
|
374
1399
|
* Number of licenses consumed.
|
|
375
1400
|
*/
|
|
@@ -417,7 +1442,7 @@ declare namespace LicenseManager {
|
|
|
417
1442
|
*/
|
|
418
1443
|
AssociationTime?: DateTime;
|
|
419
1444
|
/**
|
|
420
|
-
* Scope of AMI associations.
|
|
1445
|
+
* Scope of AMI associations. The possible value is cross-account.
|
|
421
1446
|
*/
|
|
422
1447
|
AmiAssociationScope?: String;
|
|
423
1448
|
}
|
|
@@ -452,6 +1477,8 @@ declare namespace LicenseManager {
|
|
|
452
1477
|
export type LicenseConfigurationUsageList = LicenseConfigurationUsage[];
|
|
453
1478
|
export type LicenseConfigurations = LicenseConfiguration[];
|
|
454
1479
|
export type LicenseCountingType = "vCPU"|"Instance"|"Core"|"Socket"|string;
|
|
1480
|
+
export type LicenseDeletionStatus = "PENDING_DELETE"|"DELETED"|string;
|
|
1481
|
+
export type LicenseList = License[];
|
|
455
1482
|
export interface LicenseOperationFailure {
|
|
456
1483
|
/**
|
|
457
1484
|
* Amazon Resource Name (ARN) of the resource.
|
|
@@ -493,11 +1520,18 @@ declare namespace LicenseManager {
|
|
|
493
1520
|
*/
|
|
494
1521
|
LicenseConfigurationArn: String;
|
|
495
1522
|
/**
|
|
496
|
-
* Scope of AMI associations.
|
|
1523
|
+
* Scope of AMI associations. The possible value is cross-account.
|
|
497
1524
|
*/
|
|
498
1525
|
AmiAssociationScope?: String;
|
|
499
1526
|
}
|
|
500
1527
|
export type LicenseSpecifications = LicenseSpecification[];
|
|
1528
|
+
export type LicenseStatus = "AVAILABLE"|"PENDING_AVAILABLE"|"DEACTIVATED"|"SUSPENDED"|"EXPIRED"|"PENDING_DELETE"|"DELETED"|string;
|
|
1529
|
+
export interface LicenseUsage {
|
|
1530
|
+
/**
|
|
1531
|
+
* License entitlement usages.
|
|
1532
|
+
*/
|
|
1533
|
+
EntitlementUsages?: EntitlementUsageList;
|
|
1534
|
+
}
|
|
501
1535
|
export interface ListAssociationsForLicenseConfigurationRequest {
|
|
502
1536
|
/**
|
|
503
1537
|
* Amazon Resource Name (ARN) of a license configuration.
|
|
@@ -522,6 +1556,34 @@ declare namespace LicenseManager {
|
|
|
522
1556
|
*/
|
|
523
1557
|
NextToken?: String;
|
|
524
1558
|
}
|
|
1559
|
+
export interface ListDistributedGrantsRequest {
|
|
1560
|
+
/**
|
|
1561
|
+
* Amazon Resource Names (ARNs) of the grants.
|
|
1562
|
+
*/
|
|
1563
|
+
GrantArns?: ArnList;
|
|
1564
|
+
/**
|
|
1565
|
+
* Filters to scope the results. The following filters are supported: LicenseARN Status PrincipalARN ParentARN
|
|
1566
|
+
*/
|
|
1567
|
+
Filters?: FilterList;
|
|
1568
|
+
/**
|
|
1569
|
+
* Token for the next set of results.
|
|
1570
|
+
*/
|
|
1571
|
+
NextToken?: String;
|
|
1572
|
+
/**
|
|
1573
|
+
* Maximum number of results to return in a single call.
|
|
1574
|
+
*/
|
|
1575
|
+
MaxResults?: MaxSize100;
|
|
1576
|
+
}
|
|
1577
|
+
export interface ListDistributedGrantsResponse {
|
|
1578
|
+
/**
|
|
1579
|
+
* Distributed grant details.
|
|
1580
|
+
*/
|
|
1581
|
+
Grants?: GrantList;
|
|
1582
|
+
/**
|
|
1583
|
+
* Token for the next set of results.
|
|
1584
|
+
*/
|
|
1585
|
+
NextToken?: String;
|
|
1586
|
+
}
|
|
525
1587
|
export interface ListFailuresForLicenseConfigurationOperationsRequest {
|
|
526
1588
|
/**
|
|
527
1589
|
* Amazon Resource Name of the license configuration.
|
|
@@ -598,6 +1660,114 @@ declare namespace LicenseManager {
|
|
|
598
1660
|
*/
|
|
599
1661
|
NextToken?: String;
|
|
600
1662
|
}
|
|
1663
|
+
export interface ListLicenseVersionsRequest {
|
|
1664
|
+
/**
|
|
1665
|
+
* Amazon Resource Name (ARN) of the license.
|
|
1666
|
+
*/
|
|
1667
|
+
LicenseArn: Arn;
|
|
1668
|
+
/**
|
|
1669
|
+
* Token for the next set of results.
|
|
1670
|
+
*/
|
|
1671
|
+
NextToken?: String;
|
|
1672
|
+
/**
|
|
1673
|
+
* Maximum number of results to return in a single call.
|
|
1674
|
+
*/
|
|
1675
|
+
MaxResults?: MaxSize100;
|
|
1676
|
+
}
|
|
1677
|
+
export interface ListLicenseVersionsResponse {
|
|
1678
|
+
/**
|
|
1679
|
+
* License details.
|
|
1680
|
+
*/
|
|
1681
|
+
Licenses?: LicenseList;
|
|
1682
|
+
/**
|
|
1683
|
+
* Token for the next set of results.
|
|
1684
|
+
*/
|
|
1685
|
+
NextToken?: String;
|
|
1686
|
+
}
|
|
1687
|
+
export interface ListLicensesRequest {
|
|
1688
|
+
/**
|
|
1689
|
+
* Amazon Resource Names (ARNs) of the licenses.
|
|
1690
|
+
*/
|
|
1691
|
+
LicenseArns?: ArnList;
|
|
1692
|
+
/**
|
|
1693
|
+
* Filters to scope the results. The following filters are supported: Beneficiary ProductSKU KeyFingerprint Status
|
|
1694
|
+
*/
|
|
1695
|
+
Filters?: FilterList;
|
|
1696
|
+
/**
|
|
1697
|
+
* Token for the next set of results.
|
|
1698
|
+
*/
|
|
1699
|
+
NextToken?: String;
|
|
1700
|
+
/**
|
|
1701
|
+
* Maximum number of results to return in a single call.
|
|
1702
|
+
*/
|
|
1703
|
+
MaxResults?: MaxSize100;
|
|
1704
|
+
}
|
|
1705
|
+
export interface ListLicensesResponse {
|
|
1706
|
+
/**
|
|
1707
|
+
* License details.
|
|
1708
|
+
*/
|
|
1709
|
+
Licenses?: LicenseList;
|
|
1710
|
+
/**
|
|
1711
|
+
* Token for the next set of results.
|
|
1712
|
+
*/
|
|
1713
|
+
NextToken?: String;
|
|
1714
|
+
}
|
|
1715
|
+
export interface ListReceivedGrantsRequest {
|
|
1716
|
+
/**
|
|
1717
|
+
* Amazon Resource Names (ARNs) of the grants.
|
|
1718
|
+
*/
|
|
1719
|
+
GrantArns?: ArnList;
|
|
1720
|
+
/**
|
|
1721
|
+
* Filters to scope the results. The following filters are supported: LicenseARN Status
|
|
1722
|
+
*/
|
|
1723
|
+
Filters?: FilterList;
|
|
1724
|
+
/**
|
|
1725
|
+
* Token for the next set of results.
|
|
1726
|
+
*/
|
|
1727
|
+
NextToken?: String;
|
|
1728
|
+
/**
|
|
1729
|
+
* Maximum number of results to return in a single call.
|
|
1730
|
+
*/
|
|
1731
|
+
MaxResults?: MaxSize100;
|
|
1732
|
+
}
|
|
1733
|
+
export interface ListReceivedGrantsResponse {
|
|
1734
|
+
/**
|
|
1735
|
+
* Received grant details.
|
|
1736
|
+
*/
|
|
1737
|
+
Grants?: GrantList;
|
|
1738
|
+
/**
|
|
1739
|
+
* Token for the next set of results.
|
|
1740
|
+
*/
|
|
1741
|
+
NextToken?: String;
|
|
1742
|
+
}
|
|
1743
|
+
export interface ListReceivedLicensesRequest {
|
|
1744
|
+
/**
|
|
1745
|
+
* Amazon Resource Names (ARNs) of the licenses.
|
|
1746
|
+
*/
|
|
1747
|
+
LicenseArns?: ArnList;
|
|
1748
|
+
/**
|
|
1749
|
+
* Filters to scope the results. The following filters are supported: ProductSKU Status KeyFingerprint Issuer
|
|
1750
|
+
*/
|
|
1751
|
+
Filters?: FilterList;
|
|
1752
|
+
/**
|
|
1753
|
+
* Token for the next set of results.
|
|
1754
|
+
*/
|
|
1755
|
+
NextToken?: String;
|
|
1756
|
+
/**
|
|
1757
|
+
* Maximum number of results to return in a single call.
|
|
1758
|
+
*/
|
|
1759
|
+
MaxResults?: MaxSize100;
|
|
1760
|
+
}
|
|
1761
|
+
export interface ListReceivedLicensesResponse {
|
|
1762
|
+
/**
|
|
1763
|
+
* Received license details.
|
|
1764
|
+
*/
|
|
1765
|
+
Licenses?: GrantedLicenseList;
|
|
1766
|
+
/**
|
|
1767
|
+
* Token for the next set of results.
|
|
1768
|
+
*/
|
|
1769
|
+
NextToken?: String;
|
|
1770
|
+
}
|
|
601
1771
|
export interface ListResourceInventoryRequest {
|
|
602
1772
|
/**
|
|
603
1773
|
* Maximum number of results to return in a single call.
|
|
@@ -608,7 +1778,7 @@ declare namespace LicenseManager {
|
|
|
608
1778
|
*/
|
|
609
1779
|
NextToken?: String;
|
|
610
1780
|
/**
|
|
611
|
-
* Filters to scope the results. The following filters and logical operators are supported: account_id - The ID of the AWS account that owns the resource. Logical operators are EQUALS | NOT_EQUALS. application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH. license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter. platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH. resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.
|
|
1781
|
+
* Filters to scope the results. The following filters and logical operators are supported: account_id - The ID of the AWS account that owns the resource. Logical operators are EQUALS | NOT_EQUALS. application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH. license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter. platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH. resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS. tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).
|
|
612
1782
|
*/
|
|
613
1783
|
Filters?: InventoryFilterList;
|
|
614
1784
|
}
|
|
@@ -634,6 +1804,34 @@ declare namespace LicenseManager {
|
|
|
634
1804
|
*/
|
|
635
1805
|
Tags?: TagList;
|
|
636
1806
|
}
|
|
1807
|
+
export interface ListTokensRequest {
|
|
1808
|
+
/**
|
|
1809
|
+
* Token IDs.
|
|
1810
|
+
*/
|
|
1811
|
+
TokenIds?: StringList;
|
|
1812
|
+
/**
|
|
1813
|
+
* Filters to scope the results. The following filter is supported: licenseArns
|
|
1814
|
+
*/
|
|
1815
|
+
Filters?: FilterList;
|
|
1816
|
+
/**
|
|
1817
|
+
* Token for the next set of results.
|
|
1818
|
+
*/
|
|
1819
|
+
NextToken?: String;
|
|
1820
|
+
/**
|
|
1821
|
+
* Maximum number of results to return in a single call.
|
|
1822
|
+
*/
|
|
1823
|
+
MaxResults?: MaxSize100;
|
|
1824
|
+
}
|
|
1825
|
+
export interface ListTokensResponse {
|
|
1826
|
+
/**
|
|
1827
|
+
* Received token details.
|
|
1828
|
+
*/
|
|
1829
|
+
Tokens?: TokenList;
|
|
1830
|
+
/**
|
|
1831
|
+
* Token for the next set of results.
|
|
1832
|
+
*/
|
|
1833
|
+
NextToken?: String;
|
|
1834
|
+
}
|
|
637
1835
|
export interface ListUsageForLicenseConfigurationRequest {
|
|
638
1836
|
/**
|
|
639
1837
|
* Amazon Resource Name (ARN) of the license configuration.
|
|
@@ -662,6 +1860,7 @@ declare namespace LicenseManager {
|
|
|
662
1860
|
*/
|
|
663
1861
|
NextToken?: String;
|
|
664
1862
|
}
|
|
1863
|
+
export type Long = number;
|
|
665
1864
|
export interface ManagedResourceSummary {
|
|
666
1865
|
/**
|
|
667
1866
|
* Type of resource associated with a license.
|
|
@@ -673,13 +1872,15 @@ declare namespace LicenseManager {
|
|
|
673
1872
|
AssociationCount?: BoxLong;
|
|
674
1873
|
}
|
|
675
1874
|
export type ManagedResourceSummaryList = ManagedResourceSummary[];
|
|
1875
|
+
export type MaxSize100 = number;
|
|
1876
|
+
export type MaxSize3StringList = String[];
|
|
676
1877
|
export interface Metadata {
|
|
677
1878
|
/**
|
|
678
|
-
*
|
|
1879
|
+
* The key name.
|
|
679
1880
|
*/
|
|
680
1881
|
Name?: String;
|
|
681
1882
|
/**
|
|
682
|
-
*
|
|
1883
|
+
* The value.
|
|
683
1884
|
*/
|
|
684
1885
|
Value?: String;
|
|
685
1886
|
}
|
|
@@ -690,6 +1891,7 @@ declare namespace LicenseManager {
|
|
|
690
1891
|
*/
|
|
691
1892
|
EnableIntegration: Boolean;
|
|
692
1893
|
}
|
|
1894
|
+
export type PrincipalArnList = Arn[];
|
|
693
1895
|
export interface ProductInformation {
|
|
694
1896
|
/**
|
|
695
1897
|
* Resource type. The possible values are SSM_MANAGED | RDS.
|
|
@@ -716,6 +1918,44 @@ declare namespace LicenseManager {
|
|
|
716
1918
|
}
|
|
717
1919
|
export type ProductInformationFilterList = ProductInformationFilter[];
|
|
718
1920
|
export type ProductInformationList = ProductInformation[];
|
|
1921
|
+
export interface ProvisionalConfiguration {
|
|
1922
|
+
/**
|
|
1923
|
+
* Maximum time for the provisional configuration, in minutes.
|
|
1924
|
+
*/
|
|
1925
|
+
MaxTimeToLiveInMinutes: BoxInteger;
|
|
1926
|
+
}
|
|
1927
|
+
export interface ReceivedMetadata {
|
|
1928
|
+
/**
|
|
1929
|
+
* Received status.
|
|
1930
|
+
*/
|
|
1931
|
+
ReceivedStatus?: ReceivedStatus;
|
|
1932
|
+
/**
|
|
1933
|
+
* Allowed operations.
|
|
1934
|
+
*/
|
|
1935
|
+
AllowedOperations?: AllowedOperationList;
|
|
1936
|
+
}
|
|
1937
|
+
export type ReceivedStatus = "PENDING_WORKFLOW"|"PENDING_ACCEPT"|"REJECTED"|"ACTIVE"|"FAILED_WORKFLOW"|"DELETED"|"DISABLED"|string;
|
|
1938
|
+
export interface RejectGrantRequest {
|
|
1939
|
+
/**
|
|
1940
|
+
* Amazon Resource Name (ARN) of the grant.
|
|
1941
|
+
*/
|
|
1942
|
+
GrantArn: Arn;
|
|
1943
|
+
}
|
|
1944
|
+
export interface RejectGrantResponse {
|
|
1945
|
+
/**
|
|
1946
|
+
* Grant ARN.
|
|
1947
|
+
*/
|
|
1948
|
+
GrantArn?: Arn;
|
|
1949
|
+
/**
|
|
1950
|
+
* Grant status.
|
|
1951
|
+
*/
|
|
1952
|
+
Status?: GrantStatus;
|
|
1953
|
+
/**
|
|
1954
|
+
* Grant version.
|
|
1955
|
+
*/
|
|
1956
|
+
Version?: String;
|
|
1957
|
+
}
|
|
1958
|
+
export type RenewType = "None"|"Weekly"|"Monthly"|string;
|
|
719
1959
|
export interface ResourceInventory {
|
|
720
1960
|
/**
|
|
721
1961
|
* ID of the resource.
|
|
@@ -744,6 +1984,7 @@ declare namespace LicenseManager {
|
|
|
744
1984
|
}
|
|
745
1985
|
export type ResourceInventoryList = ResourceInventory[];
|
|
746
1986
|
export type ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|"RDS"|"SYSTEMS_MANAGER_MANAGED_INSTANCE"|string;
|
|
1987
|
+
export type SignedToken = string;
|
|
747
1988
|
export type String = string;
|
|
748
1989
|
export type StringList = String[];
|
|
749
1990
|
export interface Tag {
|
|
@@ -770,6 +2011,39 @@ declare namespace LicenseManager {
|
|
|
770
2011
|
}
|
|
771
2012
|
export interface TagResourceResponse {
|
|
772
2013
|
}
|
|
2014
|
+
export interface TokenData {
|
|
2015
|
+
/**
|
|
2016
|
+
* Token ID.
|
|
2017
|
+
*/
|
|
2018
|
+
TokenId?: String;
|
|
2019
|
+
/**
|
|
2020
|
+
* Type of token generated. The supported value is REFRESH_TOKEN.
|
|
2021
|
+
*/
|
|
2022
|
+
TokenType?: String;
|
|
2023
|
+
/**
|
|
2024
|
+
* Amazon Resource Name (ARN) of the license.
|
|
2025
|
+
*/
|
|
2026
|
+
LicenseArn?: String;
|
|
2027
|
+
/**
|
|
2028
|
+
* Token expiration time, in ISO8601-UTC format.
|
|
2029
|
+
*/
|
|
2030
|
+
ExpirationTime?: ISO8601DateTime;
|
|
2031
|
+
/**
|
|
2032
|
+
* Data specified by the caller.
|
|
2033
|
+
*/
|
|
2034
|
+
TokenProperties?: MaxSize3StringList;
|
|
2035
|
+
/**
|
|
2036
|
+
* Amazon Resource Names (ARN) of the roles included in the token.
|
|
2037
|
+
*/
|
|
2038
|
+
RoleArns?: ArnList;
|
|
2039
|
+
/**
|
|
2040
|
+
* Token status. The possible values are AVAILABLE and DELETED.
|
|
2041
|
+
*/
|
|
2042
|
+
Status?: String;
|
|
2043
|
+
}
|
|
2044
|
+
export type TokenList = TokenData[];
|
|
2045
|
+
export type TokenString = string;
|
|
2046
|
+
export type TokenType = "REFRESH_TOKEN"|string;
|
|
773
2047
|
export interface UntagResourceRequest {
|
|
774
2048
|
/**
|
|
775
2049
|
* Amazon Resource Name (ARN) of the license configuration.
|
|
@@ -815,6 +2089,10 @@ declare namespace LicenseManager {
|
|
|
815
2089
|
* New product information.
|
|
816
2090
|
*/
|
|
817
2091
|
ProductInformationList?: ProductInformationList;
|
|
2092
|
+
/**
|
|
2093
|
+
* When true, disassociates a resource when software is uninstalled.
|
|
2094
|
+
*/
|
|
2095
|
+
DisassociateWhenNotFound?: BoxBoolean;
|
|
818
2096
|
}
|
|
819
2097
|
export interface UpdateLicenseConfigurationResponse {
|
|
820
2098
|
}
|