AgreementServiceClient#
Index > AgreementService > AgreementServiceClient
Auto-generated documentation for AgreementService type annotations stubs module mypy-boto3-marketplace-agreement.
AgreementServiceClient#
Type annotations and code completion for boto3.client("marketplace-agreement").
boto3 documentation
# AgreementServiceClient usage example
from boto3.session import Session
from mypy_boto3_marketplace_agreement.client import AgreementServiceClient
def get_marketplace-agreement_client() -> AgreementServiceClient:
return Session().client("marketplace-agreement")
Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("marketplace-agreement").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("marketplace-agreement")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_marketplace_agreement.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("marketplace-agreement").can_paginate method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("marketplace-agreement").generate_presigned_url method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
batch_create_billing_adjustment_request#
Allows sellers (proposers) to submit billing adjustment requests for one or more invoices within an agreement.
Type annotations and code completion for boto3.client("marketplace-agreement").batch_create_billing_adjustment_request method.
boto3 documentation
# batch_create_billing_adjustment_request method definition
def batch_create_billing_adjustment_request(
self,
*,
billingAdjustmentRequestEntries: Sequence[BatchCreateBillingAdjustmentRequestEntryTypeDef], # (1)
) -> BatchCreateBillingAdjustmentRequestOutputTypeDef: # (2)
...
- See
Sequence[BatchCreateBillingAdjustmentRequestEntryTypeDef] - See BatchCreateBillingAdjustmentRequestOutputTypeDef
# batch_create_billing_adjustment_request method usage example with argument unpacking
kwargs: BatchCreateBillingAdjustmentRequestInputTypeDef = { # (1)
"billingAdjustmentRequestEntries": ...,
}
parent.batch_create_billing_adjustment_request(**kwargs)
cancel_agreement_cancellation_request#
Allows sellers (proposers) to withdraw an existing agreement cancellation request that is in a pending state.
Type annotations and code completion for boto3.client("marketplace-agreement").cancel_agreement_cancellation_request method.
boto3 documentation
# cancel_agreement_cancellation_request method definition
def cancel_agreement_cancellation_request(
self,
*,
agreementId: str,
agreementCancellationRequestId: str,
cancellationReason: str,
) -> CancelAgreementCancellationRequestOutputTypeDef: # (1)
...
# cancel_agreement_cancellation_request method usage example with argument unpacking
kwargs: CancelAgreementCancellationRequestInputTypeDef = { # (1)
"agreementId": ...,
"agreementCancellationRequestId": ...,
"cancellationReason": ...,
}
parent.cancel_agreement_cancellation_request(**kwargs)
cancel_agreement_payment_request#
Allows sellers (proposers) to cancel a payment request that is in
PENDING_APPROVAL status.
Type annotations and code completion for boto3.client("marketplace-agreement").cancel_agreement_payment_request method.
boto3 documentation
# cancel_agreement_payment_request method definition
def cancel_agreement_payment_request(
self,
*,
paymentRequestId: str,
agreementId: str,
) -> CancelAgreementPaymentRequestOutputTypeDef: # (1)
...
# cancel_agreement_payment_request method usage example with argument unpacking
kwargs: CancelAgreementPaymentRequestInputTypeDef = { # (1)
"paymentRequestId": ...,
"agreementId": ...,
}
parent.cancel_agreement_payment_request(**kwargs)
describe_agreement#
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
Type annotations and code completion for boto3.client("marketplace-agreement").describe_agreement method.
boto3 documentation
# describe_agreement method definition
def describe_agreement(
self,
*,
agreementId: str,
) -> DescribeAgreementOutputTypeDef: # (1)
...
# describe_agreement method usage example with argument unpacking
kwargs: DescribeAgreementInputTypeDef = { # (1)
"agreementId": ...,
}
parent.describe_agreement(**kwargs)
get_agreement_cancellation_request#
Retrieves detailed information about a specific agreement cancellation request.
Type annotations and code completion for boto3.client("marketplace-agreement").get_agreement_cancellation_request method.
boto3 documentation
# get_agreement_cancellation_request method definition
def get_agreement_cancellation_request(
self,
*,
agreementCancellationRequestId: str,
agreementId: str,
) -> GetAgreementCancellationRequestOutputTypeDef: # (1)
...
# get_agreement_cancellation_request method usage example with argument unpacking
kwargs: GetAgreementCancellationRequestInputTypeDef = { # (1)
"agreementCancellationRequestId": ...,
"agreementId": ...,
}
parent.get_agreement_cancellation_request(**kwargs)
get_agreement_payment_request#
Retrieves detailed information about a specific payment request.
Type annotations and code completion for boto3.client("marketplace-agreement").get_agreement_payment_request method.
boto3 documentation
# get_agreement_payment_request method definition
def get_agreement_payment_request(
self,
*,
paymentRequestId: str,
agreementId: str,
) -> GetAgreementPaymentRequestOutputTypeDef: # (1)
...
# get_agreement_payment_request method usage example with argument unpacking
kwargs: GetAgreementPaymentRequestInputTypeDef = { # (1)
"paymentRequestId": ...,
"agreementId": ...,
}
parent.get_agreement_payment_request(**kwargs)
get_agreement_terms#
Obtains details about the terms in an agreement that you participated in as proposer or acceptor.
Type annotations and code completion for boto3.client("marketplace-agreement").get_agreement_terms method.
boto3 documentation
# get_agreement_terms method definition
def get_agreement_terms(
self,
*,
agreementId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> GetAgreementTermsOutputTypeDef: # (1)
...
# get_agreement_terms method usage example with argument unpacking
kwargs: GetAgreementTermsInputTypeDef = { # (1)
"agreementId": ...,
}
parent.get_agreement_terms(**kwargs)
get_billing_adjustment_request#
Retrieves detailed information about a specific billing adjustment request.
Type annotations and code completion for boto3.client("marketplace-agreement").get_billing_adjustment_request method.
boto3 documentation
# get_billing_adjustment_request method definition
def get_billing_adjustment_request(
self,
*,
agreementId: str,
billingAdjustmentRequestId: str,
) -> GetBillingAdjustmentRequestOutputTypeDef: # (1)
...
# get_billing_adjustment_request method usage example with argument unpacking
kwargs: GetBillingAdjustmentRequestInputTypeDef = { # (1)
"agreementId": ...,
"billingAdjustmentRequestId": ...,
}
parent.get_billing_adjustment_request(**kwargs)
list_agreement_cancellation_requests#
Lists agreement cancellation requests available to you as a seller or buyer.
Type annotations and code completion for boto3.client("marketplace-agreement").list_agreement_cancellation_requests method.
boto3 documentation
# list_agreement_cancellation_requests method definition
def list_agreement_cancellation_requests(
self,
*,
partyType: str,
agreementId: str = ...,
status: AgreementCancellationRequestStatusType = ..., # (1)
agreementType: str = ...,
catalog: str = ...,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAgreementCancellationRequestsOutputTypeDef: # (2)
...
# list_agreement_cancellation_requests method usage example with argument unpacking
kwargs: ListAgreementCancellationRequestsInputTypeDef = { # (1)
"partyType": ...,
}
parent.list_agreement_cancellation_requests(**kwargs)
list_agreement_invoice_line_items#
Allows sellers (proposers) to retrieve aggregated billing data from AWS Marketplace agreements using flexible grouping.
Type annotations and code completion for boto3.client("marketplace-agreement").list_agreement_invoice_line_items method.
boto3 documentation
# list_agreement_invoice_line_items method definition
def list_agreement_invoice_line_items(
self,
*,
agreementId: str,
groupBy: LineItemGroupByType, # (1)
invoiceId: str = ...,
invoiceType: InvoiceTypeType = ..., # (2)
invoiceBillingPeriod: InvoiceBillingPeriodTypeDef = ..., # (3)
beforeIssuedTime: TimestampTypeDef = ...,
afterIssuedTime: TimestampTypeDef = ...,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAgreementInvoiceLineItemsOutputTypeDef: # (4)
...
- See LineItemGroupByType
- See InvoiceTypeType
- See InvoiceBillingPeriodTypeDef
- See ListAgreementInvoiceLineItemsOutputTypeDef
# list_agreement_invoice_line_items method usage example with argument unpacking
kwargs: ListAgreementInvoiceLineItemsInputTypeDef = { # (1)
"agreementId": ...,
"groupBy": ...,
}
parent.list_agreement_invoice_line_items(**kwargs)
list_agreement_payment_requests#
Lists payment requests available to you as a seller or buyer.
Type annotations and code completion for boto3.client("marketplace-agreement").list_agreement_payment_requests method.
boto3 documentation
# list_agreement_payment_requests method definition
def list_agreement_payment_requests(
self,
*,
partyType: str,
agreementType: str = ...,
catalog: str = ...,
agreementId: str = ...,
status: PaymentRequestStatusType = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListAgreementPaymentRequestsOutputTypeDef: # (2)
...
# list_agreement_payment_requests method usage example with argument unpacking
kwargs: ListAgreementPaymentRequestsInputTypeDef = { # (1)
"partyType": ...,
}
parent.list_agreement_payment_requests(**kwargs)
list_billing_adjustment_requests#
Lists billing adjustment requests for a specific agreement.
Type annotations and code completion for boto3.client("marketplace-agreement").list_billing_adjustment_requests method.
boto3 documentation
# list_billing_adjustment_requests method definition
def list_billing_adjustment_requests(
self,
*,
agreementId: str = ...,
status: BillingAdjustmentStatusType = ..., # (1)
createdAfter: TimestampTypeDef = ...,
createdBefore: TimestampTypeDef = ...,
maxResults: int = ...,
catalog: str = ...,
agreementType: str = ...,
nextToken: str = ...,
) -> ListBillingAdjustmentRequestsOutputTypeDef: # (2)
...
# list_billing_adjustment_requests method usage example with argument unpacking
kwargs: ListBillingAdjustmentRequestsInputTypeDef = { # (1)
"agreementId": ...,
}
parent.list_billing_adjustment_requests(**kwargs)
search_agreements#
Searches across all agreements that a proposer has in AWS Marketplace.
Type annotations and code completion for boto3.client("marketplace-agreement").search_agreements method.
boto3 documentation
# search_agreements method definition
def search_agreements(
self,
*,
catalog: str = ...,
filters: Sequence[FilterTypeDef] = ..., # (1)
sort: SortTypeDef = ..., # (2)
maxResults: int = ...,
nextToken: str = ...,
) -> SearchAgreementsOutputTypeDef: # (3)
...
- See
Sequence[FilterTypeDef] - See SortTypeDef
- See SearchAgreementsOutputTypeDef
# search_agreements method usage example with argument unpacking
kwargs: SearchAgreementsInputTypeDef = { # (1)
"catalog": ...,
}
parent.search_agreements(**kwargs)
send_agreement_cancellation_request#
Allows sellers (proposers) to submit a cancellation request for an active agreement.
Type annotations and code completion for boto3.client("marketplace-agreement").send_agreement_cancellation_request method.
boto3 documentation
# send_agreement_cancellation_request method definition
def send_agreement_cancellation_request(
self,
*,
agreementId: str,
reasonCode: AgreementCancellationRequestReasonCodeType, # (1)
clientToken: str = ...,
description: str = ...,
) -> SendAgreementCancellationRequestOutputTypeDef: # (2)
...
# send_agreement_cancellation_request method usage example with argument unpacking
kwargs: SendAgreementCancellationRequestInputTypeDef = { # (1)
"agreementId": ...,
"reasonCode": ...,
}
parent.send_agreement_cancellation_request(**kwargs)
send_agreement_payment_request#
Allows sellers (proposers) to submit a payment request to buyers (acceptors)
for a specific charge amount for an agreement that includes a
VariablePaymentTerm.
Type annotations and code completion for boto3.client("marketplace-agreement").send_agreement_payment_request method.
boto3 documentation
# send_agreement_payment_request method definition
def send_agreement_payment_request(
self,
*,
agreementId: str,
termId: str,
name: str,
chargeAmount: str,
clientToken: str = ...,
description: str = ...,
) -> SendAgreementPaymentRequestOutputTypeDef: # (1)
...
# send_agreement_payment_request method usage example with argument unpacking
kwargs: SendAgreementPaymentRequestInputTypeDef = { # (1)
"agreementId": ...,
"termId": ...,
"name": ...,
"chargeAmount": ...,
}
parent.send_agreement_payment_request(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("marketplace-agreement").get_paginator method with overloads.
client.get_paginator("list_agreement_cancellation_requests")-> ListAgreementCancellationRequestsPaginatorclient.get_paginator("list_agreement_invoice_line_items")-> ListAgreementInvoiceLineItemsPaginatorclient.get_paginator("list_agreement_payment_requests")-> ListAgreementPaymentRequestsPaginatorclient.get_paginator("list_billing_adjustment_requests")-> ListBillingAdjustmentRequestsPaginator