Table of Contents
MarketplaceEntitlementService.Client¶A low-level client representing AWS Marketplace Entitlement Service:
client = session.create_client('marketplace-entitlement')
These are the available methods:
can_paginate(operation_name)¶Check if an operation can be paginated.
| Parameters: | operation_name (string) – The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo, and you’d normally invoke the
operation as client.create_foo(**kwargs), if the
create_foo operation can be paginated, you can use the
call client.get_paginator("create_foo"). |
|---|---|
| Returns: | True if the operation can be paginated,
False otherwise. |
generate_presigned_url(ClientMethod, Params=None, ExpiresIn=3600, HttpMethod=None)¶Generate a presigned url given a client, its method, and arguments
| Parameters: |
|
|---|---|
| Returns: | The presigned url |
get_entitlements(**kwargs)¶GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions.
See also: AWS API Documentation
Request Syntax
response = client.get_entitlements(
ProductCode='string',
Filter={
'string': [
'string',
]
},
NextToken='string',
MaxResults=123
)
| Parameters: |
|
|---|---|
| Return type: | dict |
| Returns: | Response Syntax {
'Entitlements': [
{
'ProductCode': 'string',
'Dimension': 'string',
'CustomerIdentifier': 'string',
'Value': {
'IntegerValue': 123,
'DoubleValue': 123.0,
'BooleanValue': True|False,
'StringValue': 'string'
},
'ExpirationDate': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
|
get_paginator(operation_name)¶Create a paginator for an operation.
| Parameters: | operation_name (string) – The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo, and you’d normally invoke the
operation as client.create_foo(**kwargs), if the
create_foo operation can be paginated, you can use the
call client.get_paginator("create_foo"). |
|---|---|
| Raises: | OperationNotPageableError – Raised if the operation is not
pageable. You can use the client.can_paginate method to
check if an operation is pageable. |
| Return type: | L{botocore.paginate.Paginator} |
| Returns: | A paginator object. |
get_waiter(waiter_name)¶The available paginators are: