{ "smithy": "2.0", "shapes": { "com.amazonaws.pricingplanmanager#AWSPricingPlanManager": { "type": "service", "version": "2025-08-05", "operations": [ { "target": "com.amazonaws.pricingplanmanager#ApprovePaidSubscription" }, { "target": "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscription" }, { "target": "com.amazonaws.pricingplanmanager#CancelSubscription" }, { "target": "com.amazonaws.pricingplanmanager#CancelSubscriptionChange" }, { "target": "com.amazonaws.pricingplanmanager#CreateSubscription" }, { "target": "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscription" }, { "target": "com.amazonaws.pricingplanmanager#GetSubscription" }, { "target": "com.amazonaws.pricingplanmanager#ListSubscriptions" }, { "target": "com.amazonaws.pricingplanmanager#UpdateSubscription" } ], "traits": { "aws.api#service": { "sdkId": "Pricing Plan Manager", "arnNamespace": "pricingplanmanager", "cloudTrailEventSource": "pricingplanmanager.amazonaws.com" }, "aws.auth#sigv4": { "name": "pricingplanmanager" }, "aws.protocols#restJson1": {}, "smithy.api#cors": { "origin": "*", "additionalAllowedHeaders": [ "*", "Authorization", "Date", "X-Amz-Date", "X-Amz-Security-Token", "X-Amz-Target", "content-type", "x-amz-content-sha256", "x-amz-user-agent", "x-amzn-platform-id", "x-amzn-trace-id" ], "additionalExposedHeaders": [ "x-amzn-errortype", "x-amzn-requestid", "x-amzn-errormessage", "x-amzn-trace-id", "x-amz-apigw-id", "date" ], "maxAge": 86400 }, "smithy.api#documentation": "

Manages flat-rate pricing subscriptions for supported services. Use this API to create, approve, update, and cancel subscriptions; associate and disassociate resources; and retrieve subscription details. With a flat-rate pricing subscription, you pay a fixed recurring fee for eligible resources instead of usage-based pricing.

", "smithy.api#title": "PricingPlanManager", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint URL", "type": "string" }, "Region": { "builtIn": "AWS::Region", "required": true, "documentation": "The AWS region", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "results": [ { "conditions": [], "endpoint": { "url": "{Endpoint}", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "documentation": "Route every region to the single us-east-1 endpoint, signing for us-east-1.", "conditions": [], "endpoint": { "url": "https://pricingplanmanager.us-east-1.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" } ], "root": 2, "nodeCount": 2, "nodes": "/////wAAAAH/////AAAAAAX14QEF9eEC" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Endpoint": { "type": "String", "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint URL" }, "Region": { "type": "String", "builtIn": "AWS::Region", "required": true, "documentation": "The AWS region" } }, "rules": [ { "documentation": "Use the custom endpoint if one is provided, signing for us-east-1.", "type": "endpoint", "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "endpoint": { "url": "{Endpoint}", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] } } }, { "documentation": "Route every region to the single us-east-1 endpoint, signing for us-east-1.", "type": "endpoint", "conditions": [], "endpoint": { "url": "https://pricingplanmanager.us-east-1.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] } } } ] }, "smithy.rules#endpointTests": { "version": "1", "testCases": [ { "documentation": "Resolves the us-east-1 endpoint and signs for us-east-1.", "params": { "Region": "us-east-1" }, "expect": { "endpoint": { "url": "https://pricingplanmanager.us-east-1.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] } } } }, { "documentation": "Routes any other region to the us-east-1 endpoint and still signs for us-east-1.", "params": { "Region": "us-west-2" }, "expect": { "endpoint": { "url": "https://pricingplanmanager.us-east-1.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] } } } }, { "documentation": "A custom endpoint override wins over region resolution and signs for us-east-1.", "params": { "Region": "us-west-2", "Endpoint": "https://pricingplanmanager.us-east-1.api.aws" }, "expect": { "endpoint": { "url": "https://pricingplanmanager.us-east-1.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "pricingplanmanager", "signingRegion": "us-east-1" } ] } } } } ] } } }, "com.amazonaws.pricingplanmanager#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

You do not have the required permissions to perform this operation. Verify that your IAM policy grants access to this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.pricingplanmanager#ApprovalMode": { "type": "enum", "members": { "MANUAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MANUAL" } }, "IMMEDIATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IMMEDIATE" } } }, "traits": { "smithy.api#documentation": "

Determines whether a subscription requires explicit approval before billing starts.

" } }, "com.amazonaws.pricingplanmanager#ApprovePaidSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#ApprovePaidSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#ApprovePaidSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Approves a subscription that is in PENDING_APPROVAL status, activating it and starting billing.

This operation requires the current ETag value for concurrency control. Retrieve it from a previous GetSubscription or ListSubscriptions response.

", "smithy.api#examples": [ { "title": "Approve a pending paid subscription", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "ifMatch": "1" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "SYNC_IN_PROGRESS", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-15T10:35:00Z" }, "eTag": "2" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/ApprovePaidSubscription" } } }, "com.amazonaws.pricingplanmanager#ApprovePaidSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to approve.

", "smithy.api#required": {} } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response. This ensures you are approving the expected version of the subscription.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#ApprovePaidSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the approved subscription.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Adds one or more resources to an existing subscription. The subscription must be in an active state that is not pending other changes.

For subscriptions in the CloudFront plan family, the associated resources must include exactly one Amazon CloudFront distribution and one WAF web ACL. You can also include other supported resources, such as Amazon Route 53 hosted zones, and CloudFront KeyValueStores.

", "smithy.api#examples": [ { "title": "Associate additional resources to a subscription", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "resourceArns": [ "arn:aws:route53:::hostedzone/Z0123456789EXAMPLE" ], "ifMatch": "1" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "SYNC_IN_PROGRESS", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4", "arn:aws:route53:::hostedzone/Z0123456789EXAMPLE" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-18T11:00:00Z" }, "eTag": "2" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/AssociateResourcesToSubscription" } } }, "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to add resources to.

", "smithy.api#required": {} } }, "resourceArns": { "target": "com.amazonaws.pricingplanmanager#ResourceArns", "traits": { "smithy.api#documentation": "

The ARNs of the resources to add to the subscription.

", "smithy.api#required": {} } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#AssociateResourcesToSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the subscription with the newly added resources.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#CancelSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#CancelSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#CancelSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Cancels a flat-rate pricing subscription.

For active subscriptions, the cancellation is scheduled to take effect at the end of the current billing period. The subscription remains active until that date. To revert a pending cancellation, use CancelSubscriptionChange.

For subscriptions in PENDING_APPROVAL status, the subscription is deleted immediately without scheduling.

", "smithy.api#examples": [ { "title": "Cancel a subscription", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "ifMatch": "2" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "BUSINESS", "status": "ACTIVE", "scheduledChange": { "changeType": "CANCELLATION", "effectiveDate": "2025-02-01T00:00:00Z" }, "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-16T12:00:00Z" }, "eTag": "3" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/CancelSubscription" } } }, "com.amazonaws.pricingplanmanager#CancelSubscriptionChange": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#CancelSubscriptionChangeInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#CancelSubscriptionChangeOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Cancels a pending scheduled change on a subscription, such as a pending downgrade or cancellation. The subscription returns to its state before the change was scheduled.

You cannot cancel a scheduled change close to its effective date. If the change is within the processing window, this operation returns an error.

", "smithy.api#examples": [ { "title": "Cancel a pending subscription change", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "ifMatch": "3" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "BUSINESS", "status": "ACTIVE", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-17T09:00:00Z" }, "eTag": "4" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/CancelSubscriptionChange" } } }, "com.amazonaws.pricingplanmanager#CancelSubscriptionChangeInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription whose pending change you want to cancel.

", "smithy.api#required": {} } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#CancelSubscriptionChangeOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the subscription with the pending change removed.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#CancelSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to cancel.

", "smithy.api#required": {} } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#CancelSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the subscription with the pending cancellation. For active subscriptions, a scheduledChange of type CANCELLATION is included.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#ConflictException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The identifier of the resource that has a conflicting state.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request conflicts with the current state of the resource. This typically occurs when the ETag value in the If-Match header does not match the current version of the subscription. Retrieve the latest version and retry.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.pricingplanmanager#CreateSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#CreateSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#CreateSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ServiceQuotaExceededException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Creates a flat-rate pricing subscription for the specified resources.

When approvalMode is set to MANUAL, paid-tier subscriptions are created in PENDING_APPROVAL status and require a separate ApprovePaidSubscription call before billing starts. Free-tier subscriptions are always activated immediately regardless of approval mode.

When approvalMode is set to IMMEDIATE or is not specified, the subscription is activated immediately.

", "smithy.api#examples": [ { "title": "Create a flat-rate pricing subscription (deferred approval)", "input": { "planFamily": "CloudFront", "planTier": "PRO", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "approvalMode": "MANUAL" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "PENDING_APPROVAL", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-15T10:30:00Z" }, "eTag": "1" } }, { "title": "Create a subscription with approval mode", "input": { "planFamily": "CloudFront", "planTier": "PRO", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "approvalMode": "IMMEDIATE" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "SYNC_IN_PROGRESS", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-15T10:30:00Z" }, "eTag": "1" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/CreateSubscription" } } }, "com.amazonaws.pricingplanmanager#CreateSubscriptionInput": { "type": "structure", "members": { "planFamily": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The pricing plan family to subscribe to, such as CloudFront.

", "smithy.api#required": {} } }, "planTier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The tier level for the subscription, such as FREE, PRO, BUSINESS, or PREMIUM.

", "smithy.api#required": {} } }, "usageLevel": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The usage level within the plan tier. Specify DEFAULT for the base configuration, or a higher level if your plan tier supports it.

" } }, "resourceArns": { "target": "com.amazonaws.pricingplanmanager#ResourceArns", "traits": { "smithy.api#documentation": "

The ARNs of the resources to include in the subscription. Specify one or more supported resources.

For subscriptions in the CloudFront plan family, the resources must include exactly one Amazon CloudFront distribution and exactly one WAF web ACL. You can also include other supported resources, such as Amazon Route 53 hosted zones and CloudFront KeyValueStores.

", "smithy.api#required": {} } }, "approvalMode": { "target": "com.amazonaws.pricingplanmanager#ApprovalMode", "traits": { "smithy.api#documentation": "

Determines whether the subscription requires explicit approval before billing starts. Set to MANUAL to require a separate ApprovePaidSubscription call, or IMMEDIATE to activate the subscription right away. For paid tier plans, this defaults to MANUAL if not specified. For the FREE plan tier, only IMMEDIATE is supported, and it is the default.

" } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure that the request is handled only once. If you send the same request with the same client token, the API returns the original response without creating a duplicate subscription.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#CreateSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the newly created subscription.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The entity tag for concurrency control. Use this value in the If-Match header for subsequent operations on this subscription.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Removes one or more resources from an existing subscription.

For subscriptions in the CloudFront plan family, the associated resources must always include exactly one Amazon CloudFront distribution and exactly one WAF web ACL. You cannot remove these required resources.

", "smithy.api#examples": [ { "title": "Remove a resource from a subscription", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "resourceArns": [ "arn:aws:route53:::hostedzone/Z0123456789EXAMPLE" ], "ifMatch": "2" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "SYNC_IN_PROGRESS", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-18T15:00:00Z" }, "eTag": "3" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/DisassociateResourcesFromSubscription" } } }, "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to remove resources from.

", "smithy.api#required": {} } }, "resourceArns": { "target": "com.amazonaws.pricingplanmanager#ResourceArns", "traits": { "smithy.api#documentation": "

The ARNs of the resources to remove from the subscription. For subscriptions in the CloudFront plan family, you cannot remove the required CloudFront distribution or WAF web ACL.

", "smithy.api#required": {} } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#DisassociateResourcesFromSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the subscription with the specified resources removed.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#GetSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#GetSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#GetSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns the details of a flat-rate pricing subscription, including its current status, associated resources, and any pending scheduled changes.

", "smithy.api#examples": [ { "title": "Get subscription details", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "ACTIVE", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-15T10:30:00Z" }, "eTag": "1" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/GetSubscription" }, "smithy.api#readonly": {}, "smithy.test#smokeTests": [ { "id": "GetSubscriptionFailure", "params": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/non-existent" }, "expect": { "failure": { "errorId": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" } }, "vendorParamsShape": "aws.test#AwsVendorParams", "vendorParams": { "region": "us-east-1" } } ] } }, "com.amazonaws.pricingplanmanager#GetSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to retrieve.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#GetSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the requested subscription.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The entity tag for concurrency control. Use this value in the If-Match header for subsequent operations on this subscription.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#IdempotencyToken": { "type": "string", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure a request is handled only once.

", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.pricingplanmanager#InternalServerException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

An unexpected error occurred on the server. Retry the request.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.pricingplanmanager#ListSubscriptions": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#ListSubscriptionsInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#ListSubscriptionsOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a summary of all flat-rate pricing subscriptions in the calling account.

", "smithy.api#examples": [ { "title": "List all subscriptions", "input": {}, "output": { "subscriptionSummaries": [ { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "PRO", "status": "ACTIVE", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-15T10:30:00Z", "eTag": "1" } ] } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/ListSubscriptions" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "subscriptionSummaries" }, "smithy.api#readonly": {}, "smithy.test#smokeTests": [ { "id": "ListSubscriptionsSuccess", "params": {}, "expect": { "success": {} }, "vendorParamsShape": "aws.test#AwsVendorParams", "vendorParams": { "region": "us-east-1" } } ] } }, "com.amazonaws.pricingplanmanager#ListSubscriptionsInput": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token from a previous ListSubscriptions response. If the response included a nextToken, there are more results available. Pass this value to retrieve the next page of results.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#ListSubscriptionsOutput": { "type": "structure", "members": { "subscriptionSummaries": { "target": "com.amazonaws.pricingplanmanager#SubscriptionSummaryList", "traits": { "smithy.api#documentation": "

The list of subscription summaries for the calling account.

", "smithy.api#required": {} } }, "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates there are more results available. Pass this value in a subsequent ListSubscriptions request to retrieve the next page of results.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#ResourceArns": { "type": "list", "member": { "target": "smithy.api#String" }, "traits": { "smithy.api#documentation": "

A list of 1 to 10 resource ARNs to include in the subscription.

", "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.pricingplanmanager#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The identifier of the resource that was not found.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The specified subscription was not found. Verify that the ARN is correct and that the subscription belongs to your account.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.pricingplanmanager#ScheduledChange": { "type": "structure", "members": { "changeType": { "target": "com.amazonaws.pricingplanmanager#ScheduledChangeType", "traits": { "smithy.api#documentation": "

The type of pending change. Possible values are DOWNGRADE (a tier change to a lower level) and CANCELLATION (subscription termination).

", "smithy.api#required": {} } }, "effectiveDate": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the change takes effect, in ISO 8601 format. This value is populated after the change is confirmed by the billing system.

", "smithy.api#timestampFormat": "date-time" } }, "planTier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

For downgrades, the tier level that the subscription will change to. Not present for cancellations.

" } }, "usageLevel": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

For downgrades, the target usage level after the change takes effect.

" } } }, "traits": { "smithy.api#documentation": "

A pending change on a subscription that takes effect at the end of the current billing period, such as a tier downgrade or cancellation.

" } }, "com.amazonaws.pricingplanmanager#ScheduledChangeType": { "type": "enum", "members": { "DOWNGRADE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DOWNGRADE" } }, "CANCELLATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CANCELLATION" } } }, "traits": { "smithy.api#documentation": "

The type of pending change on a subscription.

Possible values:

" } }, "com.amazonaws.pricingplanmanager#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request would exceed a service limit. You have reached the maximum number of subscriptions allowed for your account.

", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.pricingplanmanager#Status": { "type": "enum", "members": { "PENDING_APPROVAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING_APPROVAL" } }, "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ACTIVE" } }, "SYNC_IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SYNC_IN_PROGRESS" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } } }, "traits": { "smithy.api#documentation": "

The status of a flat-rate pricing subscription.

Possible values:

" } }, "com.amazonaws.pricingplanmanager#Subscription": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies this subscription.

", "smithy.api#required": {} } }, "planFamily": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The pricing plan family for the subscription, such as CloudFront.

", "smithy.api#required": {} } }, "planTier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The current tier level of the pricing plan, such as FREE, PRO, BUSINESS, or PREMIUM.

", "smithy.api#required": {} } }, "usageLevel": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The usage level within the plan tier. When present, indicates a specific capacity configuration beyond the base tier.

" } }, "scheduledChange": { "target": "com.amazonaws.pricingplanmanager#ScheduledChange", "traits": { "smithy.api#documentation": "

A pending change that will take effect at the end of the current billing period. This field is present only when a downgrade or cancellation is scheduled.

" } }, "status": { "target": "com.amazonaws.pricingplanmanager#Status", "traits": { "smithy.api#documentation": "

The current status of the subscription. For the list of possible values, see the Status type.

", "smithy.api#required": {} } }, "statusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A human-readable explanation of the current status, present when additional context is available.

" } }, "resourceArns": { "target": "com.amazonaws.pricingplanmanager#ResourceArns", "traits": { "smithy.api#documentation": "

The ARNs of the resources covered by this subscription.

", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the subscription was created, in ISO 8601 format.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the subscription was last modified, in ISO 8601 format.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "

The full details of a flat-rate pricing subscription, including its current configuration, status, and associated resources.

" } }, "com.amazonaws.pricingplanmanager#SubscriptionArn": { "type": "string", "traits": { "aws.api#arnReference": { "type": "AWS::PricingPlanManager::Subscription" }, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a flat-rate pricing subscription.

", "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.pricingplanmanager#SubscriptionSummary": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies this subscription.

", "smithy.api#required": {} } }, "planFamily": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The pricing plan family for the subscription, such as CloudFront.

", "smithy.api#required": {} } }, "planTier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The current tier level of the pricing plan.

", "smithy.api#required": {} } }, "usageLevel": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The usage level within the plan tier.

" } }, "scheduledChange": { "target": "com.amazonaws.pricingplanmanager#ScheduledChange", "traits": { "smithy.api#documentation": "

A pending change that will take effect at the end of the current billing period, if any.

" } }, "status": { "target": "com.amazonaws.pricingplanmanager#Status", "traits": { "smithy.api#documentation": "

The current status of the subscription.

", "smithy.api#required": {} } }, "statusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A human-readable explanation of the current status, present when additional context is available.

" } }, "resourceArns": { "target": "com.amazonaws.pricingplanmanager#ResourceArns", "traits": { "smithy.api#documentation": "

The ARNs of the resources covered by this subscription.

", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the subscription was created, in ISO 8601 format.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The date and time when the subscription was last modified, in ISO 8601 format.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The entity tag for concurrency control. Pass this value in the If-Match header when making changes to this subscription.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Summary information for a flat-rate pricing subscription, as returned by list operations.

" } }, "com.amazonaws.pricingplanmanager#SubscriptionSummaryList": { "type": "list", "member": { "target": "com.amazonaws.pricingplanmanager#SubscriptionSummary" } }, "com.amazonaws.pricingplanmanager#ThrottlingException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The request rate exceeds the allowed limit. Wait briefly and retry the request.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.pricingplanmanager#UpdateSubscription": { "type": "operation", "input": { "target": "com.amazonaws.pricingplanmanager#UpdateSubscriptionInput" }, "output": { "target": "com.amazonaws.pricingplanmanager#UpdateSubscriptionOutput" }, "errors": [ { "target": "com.amazonaws.pricingplanmanager#AccessDeniedException" }, { "target": "com.amazonaws.pricingplanmanager#ConflictException" }, { "target": "com.amazonaws.pricingplanmanager#InternalServerException" }, { "target": "com.amazonaws.pricingplanmanager#ResourceNotFoundException" }, { "target": "com.amazonaws.pricingplanmanager#ServiceQuotaExceededException" }, { "target": "com.amazonaws.pricingplanmanager#ThrottlingException" }, { "target": "com.amazonaws.pricingplanmanager#ValidationException" } ], "traits": { "smithy.api#documentation": "

Changes the plan tier of an existing subscription.

Upgrades take effect immediately. Downgrades are scheduled and the current tier remains unchanged until the end of the billing cycle (calendar month). You cannot update a subscription while a scheduled change is pending. To make a new change, first cancel the pending change using CancelSubscriptionChange.

This operation replaces the plan tier value. If you omit the optional usageLevel field, it is reset to the default.

", "smithy.api#examples": [ { "title": "Update a subscription plan tier", "input": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planTier": "BUSINESS", "ifMatch": "1" }, "output": { "subscription": { "arn": "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890", "planFamily": "CloudFront", "planTier": "BUSINESS", "status": "SYNC_IN_PROGRESS", "resourceArns": [ "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4" ], "createdAt": "2025-01-15T10:30:00Z", "updatedAt": "2025-01-16T08:00:00Z" }, "eTag": "2" } } ], "smithy.api#http": { "method": "POST", "uri": "/v1/UpdateSubscription" } } }, "com.amazonaws.pricingplanmanager#UpdateSubscriptionInput": { "type": "structure", "members": { "arn": { "target": "com.amazonaws.pricingplanmanager#SubscriptionArn", "traits": { "smithy.api#documentation": "

The ARN of the subscription to update.

", "smithy.api#required": {} } }, "planTier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The new tier level for the subscription.

", "smithy.api#required": {} } }, "usageLevel": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The usage level within the plan tier. Specify DEFAULT for the base configuration. If omitted, the usage level is reset to the default.

" } }, "ifMatch": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ETag value from a previous GetSubscription or ListSubscriptions response. This ensures you are updating the expected version of the subscription.

", "smithy.api#httpHeader": "If-Match", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.pricingplanmanager#IdempotencyToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the request is handled only once.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.pricingplanmanager#UpdateSubscriptionOutput": { "type": "structure", "members": { "subscription": { "target": "com.amazonaws.pricingplanmanager#Subscription", "traits": { "smithy.api#documentation": "

The details of the updated subscription. For downgrades, the current tier remains unchanged and a scheduledChange indicates the pending change.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, "eTag": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The updated entity tag for concurrency control.

", "smithy.api#httpHeader": "ETag", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.pricingplanmanager#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The identifier of the resource that failed validation.

" } } }, "traits": { "smithy.api#documentation": "

The request failed a business rule validation. For example, the specified resource might already be associated with another subscription, or the subscription might not be in the required state for this operation.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }