Skip to content

Commit 94269af

Browse files
author
AWS
committed
AWS Marketplace Entitlement Service Update: This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response.
1 parent 6494c5b commit 94269af

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Marketplace Entitlement Service",
4+
"contributor": "",
5+
"description": "This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response."
6+
}

services/marketplaceentitlement/src/main/resources/codegen-resources/service-2.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"signatureVersion":"v4",
1212
"signingName":"aws-marketplace",
1313
"targetPrefix":"AWSMPEntitlementService",
14-
"uid":"entitlement.marketplace-2017-01-11"
14+
"uid":"entitlement.marketplace-2017-01-11",
15+
"auth":["aws.auth#sigv4"]
1516
},
1617
"operations":{
1718
"GetEntitlements":{
@@ -27,7 +28,7 @@
2728
{"shape":"ThrottlingException"},
2829
{"shape":"InternalServiceErrorException"}
2930
],
30-
"documentation":"<p>GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions.</p>"
31+
"documentation":"<p>GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier, AWS account ID, or product dimensions.</p> <important> <p> The <code>CustomerIdentifier</code> parameter is on path for deprecation. Use <code>CustomerAWSAccountID</code> instead.</p> <p>These parameters are mutually exclusive. You can't specify both <code>CustomerIdentifier</code> and <code>CustomerAWSAccountID</code> in the same request. </p> </important>"
3132
}
3233
},
3334
"shapes":{
@@ -48,6 +49,10 @@
4849
"shape":"NonEmptyString",
4950
"documentation":"<p>The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.</p>"
5051
},
52+
"CustomerAWSAccountId":{
53+
"shape":"NonEmptyString",
54+
"documentation":"<p> The <code>CustomerAWSAccountID</code> parameter specifies the AWS account ID of the buyer. </p>"
55+
},
5156
"Value":{
5257
"shape":"EntitlementValue",
5358
"documentation":"<p>The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.</p>"
@@ -97,7 +102,8 @@
97102
"type":"string",
98103
"enum":[
99104
"CUSTOMER_IDENTIFIER",
100-
"DIMENSION"
105+
"DIMENSION",
106+
"CUSTOMER_AWS_ACCOUNT_ID"
101107
]
102108
},
103109
"GetEntitlementFilters":{
@@ -115,7 +121,7 @@
115121
},
116122
"Filter":{
117123
"shape":"GetEntitlementFilters",
118-
"documentation":"<p>Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are <i>unioned</i> for each value in the value list, and then <i>intersected</i> for each filter key.</p>"
124+
"documentation":"<p>Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are <i>unioned</i> for each value in the value list, and then <i>intersected</i> for each filter key.</p> <p> <code>CustomerIdentifier</code> and <code>CustomerAWSAccountID</code> are mutually exclusive. You can't specify both in the same request. </p>"
119125
},
120126
"NextToken":{
121127
"shape":"NonEmptyString",

0 commit comments

Comments
 (0)