diff --git a/codegen/sdk-codegen/aws-models/marketplace-agreement.json b/codegen/sdk-codegen/aws-models/marketplace-agreement.json new file mode 100644 index 00000000000..215a90dd96a --- /dev/null +++ b/codegen/sdk-codegen/aws-models/marketplace-agreement.json @@ -0,0 +1,2328 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.marketplaceagreement#AWSAccountId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + }, + "smithy.api#pattern": "^[0-9]+$" + } + }, + "com.amazonaws.marketplaceagreement#AWSMPCommerceService_v20200301": { + "type": "service", + "version": "2020-03-01", + "operations": [ + { + "target": "com.amazonaws.marketplaceagreement#DescribeAgreement" + }, + { + "target": "com.amazonaws.marketplaceagreement#GetAgreementTerms" + }, + { + "target": "com.amazonaws.marketplaceagreement#SearchAgreements" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Marketplace Agreement", + "endpointPrefix": "agreement-marketplace" + }, + "aws.auth#sigv4": { + "name": "aws-marketplace" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.

\n

To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and\n Access Management (IAM) policies and roles are set up. The user must have the required\n policies/permissions that allow them to carry out the actions in AWS:

\n ", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#title": "AWS Marketplace Agreement Service", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://agreement-marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://agreement-marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://agreement-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://agreement-marketplace.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://agreement-marketplace.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.marketplaceagreement#AcceptedTerm": { + "type": "union", + "members": { + "legalTerm": { + "target": "com.amazonaws.marketplaceagreement#LegalTerm", + "traits": { + "smithy.api#documentation": "

Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).

" + } + }, + "supportTerm": { + "target": "com.amazonaws.marketplaceagreement#SupportTerm", + "traits": { + "smithy.api#documentation": "

Defines the customer support available for the acceptors when they purchase the software.

" + } + }, + "renewalTerm": { + "target": "com.amazonaws.marketplaceagreement#RenewalTerm", + "traits": { + "smithy.api#documentation": "

Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of RenewalTerm in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag from True to False or False to True at anytime during the agreement's lifecycle.

" + } + }, + "usageBasedPricingTerm": { + "target": "com.amazonaws.marketplaceagreement#UsageBasedPricingTerm", + "traits": { + "smithy.api#documentation": "

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.

" + } + }, + "configurableUpfrontPricingTerm": { + "target": "com.amazonaws.marketplaceagreement#ConfigurableUpfrontPricingTerm", + "traits": { + "smithy.api#documentation": "

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

" + } + }, + "byolPricingTerm": { + "target": "com.amazonaws.marketplaceagreement#ByolPricingTerm", + "traits": { + "smithy.api#documentation": "

Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.

" + } + }, + "recurringPaymentTerm": { + "target": "com.amazonaws.marketplaceagreement#RecurringPaymentTerm", + "traits": { + "smithy.api#documentation": "

Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.

" + } + }, + "validityTerm": { + "target": "com.amazonaws.marketplaceagreement#ValidityTerm", + "traits": { + "smithy.api#documentation": "

Defines the conditions that will keep an agreement created from this offer valid.

" + } + }, + "paymentScheduleTerm": { + "target": "com.amazonaws.marketplaceagreement#PaymentScheduleTerm", + "traits": { + "smithy.api#documentation": "

Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.

" + } + }, + "freeTrialPricingTerm": { + "target": "com.amazonaws.marketplaceagreement#FreeTrialPricingTerm", + "traits": { + "smithy.api#documentation": "

Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.

" + } + }, + "fixedUpfrontPricingTerm": { + "target": "com.amazonaws.marketplaceagreement#FixedUpfrontPricingTerm", + "traits": { + "smithy.api#documentation": "

Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.

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

A subset of terms proposed by the proposer, which have been accepted by the acceptor as part of agreement creation.

" + } + }, + "com.amazonaws.marketplaceagreement#AcceptedTermList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#AcceptedTerm" + } + }, + "com.amazonaws.marketplaceagreement#Acceptor": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.marketplaceagreement#AWSAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID of the acceptor.

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

The details of the party accepting the agreement terms. This is commonly the buyer for\n PurchaseAgreement.

" + } + }, + "com.amazonaws.marketplaceagreement#AccessDeniedException": { + "type": "structure", + "members": { + "requestId": { + "target": "com.amazonaws.marketplaceagreement#RequestId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the error.

" + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#ExceptionMessage" + } + }, + "traits": { + "smithy.api#documentation": "

User does not have sufficient access to perform this action.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.marketplaceagreement#AgreementResourceType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z]+$" + } + }, + "com.amazonaws.marketplaceagreement#AgreementStatus": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ARCHIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARCHIVED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + }, + "RENEWED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RENEWED" + } + }, + "REPLACED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPLACED" + } + }, + "ROLLED_BACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLED_BACK" + } + }, + "SUPERSEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUPERSEDED" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATED" + } + } + } + }, + "com.amazonaws.marketplaceagreement#AgreementType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z]+$" + } + }, + "com.amazonaws.marketplaceagreement#AgreementViewSummary": { + "type": "structure", + "members": { + "agreementId": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

" + } + }, + "acceptanceTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time that the agreement was accepted.

" + } + }, + "startTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time when the agreement starts.

" + } + }, + "endTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time when the agreement ends. The field is null for\n pay-as-you-go agreements, which don’t have end dates.

" + } + }, + "agreementType": { + "target": "com.amazonaws.marketplaceagreement#AgreementType", + "traits": { + "smithy.api#documentation": "

The type of agreement. Values are PurchaseAgreement or\n VendorInsightsAgreement.

" + } + }, + "acceptor": { + "target": "com.amazonaws.marketplaceagreement#Acceptor", + "traits": { + "smithy.api#documentation": "

Details of the party accepting the agreement terms. This is commonly the buyer for\n PurchaseAgreement.\n

" + } + }, + "proposer": { + "target": "com.amazonaws.marketplaceagreement#Proposer", + "traits": { + "smithy.api#documentation": "

Details of the party proposing the agreement terms, most commonly the seller for\n PurchaseAgreement.

" + } + }, + "proposalSummary": { + "target": "com.amazonaws.marketplaceagreement#ProposalSummary", + "traits": { + "smithy.api#documentation": "

A summary of the proposal

" + } + }, + "status": { + "target": "com.amazonaws.marketplaceagreement#AgreementStatus", + "traits": { + "smithy.api#documentation": "

The current status of the agreement.

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

A summary of the agreement, including top-level attributes (for example, the agreement\n ID, version, proposer, and acceptor).

" + } + }, + "com.amazonaws.marketplaceagreement#AgreementViewSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#AgreementViewSummary" + } + }, + "com.amazonaws.marketplaceagreement#Boolean": { + "type": "boolean" + }, + "com.amazonaws.marketplaceagreement#BoundedString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplaceagreement#ByolPricingTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Type of the term being updated.

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

Enables you and your customers to move your existing agreements to AWS Marketplace. The\n customer won't be charged for product usage in AWS Marketplace because they already paid\n for the product outside of AWS Marketplace.

" + } + }, + "com.amazonaws.marketplaceagreement#Catalog": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z]+$" + } + }, + "com.amazonaws.marketplaceagreement#ConfigurableUpfrontPricingTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of selector.

" + } + }, + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency for the prices mentioned in the term.

" + } + }, + "rateCards": { + "target": "com.amazonaws.marketplaceagreement#ConfigurableUpfrontRateCardList", + "traits": { + "smithy.api#documentation": "

A rate card defines the per unit rates for product dimensions.

" + } + }, + "configuration": { + "target": "com.amazonaws.marketplaceagreement#ConfigurableUpfrontPricingTermConfiguration", + "traits": { + "smithy.api#documentation": "

Additional parameters specified by the acceptor while accepting the term.

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

Defines a prepaid payment model that allows buyers to configure the entitlements they\n want to purchase and the duration.

" + } + }, + "com.amazonaws.marketplaceagreement#ConfigurableUpfrontPricingTermConfiguration": { + "type": "structure", + "members": { + "selectorValue": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Defines the length of time for which the particular pricing/dimension is being purchased\n by the acceptor.

", + "smithy.api#required": {} + } + }, + "dimensions": { + "target": "com.amazonaws.marketplaceagreement#DimensionList", + "traits": { + "smithy.api#documentation": "

Defines the dimensions that the acceptor has purchased from the overall set of\n dimensions presented in the rate card.

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

Defines a prepaid payment model that allows buyers to configure the entitlements they\n want to purchase and the duration.

" + } + }, + "com.amazonaws.marketplaceagreement#ConfigurableUpfrontRateCardItem": { + "type": "structure", + "members": { + "selector": { + "target": "com.amazonaws.marketplaceagreement#Selector", + "traits": { + "smithy.api#documentation": "

Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.

" + } + }, + "constraints": { + "target": "com.amazonaws.marketplaceagreement#Constraints", + "traits": { + "smithy.api#documentation": "

Defines limits on how the term can be configured by acceptors.

" + } + }, + "rateCard": { + "target": "com.amazonaws.marketplaceagreement#RateCardList", + "traits": { + "smithy.api#documentation": "

Defines the per unit rates for product dimensions.

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

Within the prepaid payment model defined under ConfigurableUpfrontPricingTerm, the RateCardItem defines all the various rate cards (including pricing and dimensions) that have been proposed.

" + } + }, + "com.amazonaws.marketplaceagreement#ConfigurableUpfrontRateCardList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#ConfigurableUpfrontRateCardItem" + } + }, + "com.amazonaws.marketplaceagreement#Constraints": { + "type": "structure", + "members": { + "multipleDimensionSelection": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Determines if buyers are allowed to select multiple dimensions in the rate card. The\n possible values are Allowed and Disallowed. The default value is\n Allowed.

" + } + }, + "quantityConfiguration": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Determines if acceptors are allowed to configure quantity for each dimension in rate\n card. The possible values are Allowed and Disallowed. The default\n value is Allowed.

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

Defines limits on how the term can be configured by acceptors.

" + } + }, + "com.amazonaws.marketplaceagreement#CurrencyCode": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 3 + }, + "smithy.api#pattern": "^[A-Z]+$" + } + }, + "com.amazonaws.marketplaceagreement#DescribeAgreement": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplaceagreement#DescribeAgreementInput" + }, + "output": { + "target": "com.amazonaws.marketplaceagreement#DescribeAgreementOutput" + }, + "errors": [ + { + "target": "com.amazonaws.marketplaceagreement#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplaceagreement#InternalServerException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Provides details about an agreement, such as the proposer, acceptor, start date, and end date.

" + } + }, + "com.amazonaws.marketplaceagreement#DescribeAgreementInput": { + "type": "structure", + "members": { + "agreementId": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplaceagreement#DescribeAgreementOutput": { + "type": "structure", + "members": { + "agreementId": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

" + } + }, + "acceptor": { + "target": "com.amazonaws.marketplaceagreement#Acceptor", + "traits": { + "smithy.api#documentation": "

The details of the party accepting the agreement terms. This is commonly the buyer for\n PurchaseAgreement.

" + } + }, + "proposer": { + "target": "com.amazonaws.marketplaceagreement#Proposer", + "traits": { + "smithy.api#documentation": "

The details of the party proposing the agreement terms. This is commonly the seller for\n PurchaseAgreement.

" + } + }, + "startTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time when the agreement starts.

" + } + }, + "endTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time when the agreement ends. The field is null for\n pay-as-you-go agreements, which don’t have end dates.

" + } + }, + "acceptanceTime": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the offer was accepted or the agreement was created.

\n \n

\n AcceptanceTime and StartTime can differ for future dated\n agreements (FDAs).

\n
" + } + }, + "agreementType": { + "target": "com.amazonaws.marketplaceagreement#AgreementType", + "traits": { + "smithy.api#documentation": "

The type of agreement. Values are PurchaseAgreement or\n VendorInsightsAgreement.

" + } + }, + "estimatedCharges": { + "target": "com.amazonaws.marketplaceagreement#EstimatedCharges", + "traits": { + "smithy.api#documentation": "

The estimated cost of the agreement.

" + } + }, + "proposalSummary": { + "target": "com.amazonaws.marketplaceagreement#ProposalSummary", + "traits": { + "smithy.api#documentation": "

A summary of the proposal received from the proposer.

" + } + }, + "status": { + "target": "com.amazonaws.marketplaceagreement#AgreementStatus", + "traits": { + "smithy.api#documentation": "

The current status of the agreement.

\n

Statuses include:

\n " + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplaceagreement#Dimension": { + "type": "structure", + "members": { + "dimensionKey": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

The name of key value of the dimension.

", + "smithy.api#required": {} + } + }, + "dimensionValue": { + "target": "com.amazonaws.marketplaceagreement#ZeroValueInteger", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The number of units of the dimension the acceptor has purchased.

\n \n

For Agreements with ConfigurableUpfrontPricingTerm, the\n RateCard section will define the prices and dimensions defined by the\n seller (proposer), whereas the Configuration section will define the actual\n dimensions, prices, and units the buyer has chosen to accept.

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

Defines the dimensions that the acceptor has purchased from the overall set of\n dimensions presented in the rate card.

" + } + }, + "com.amazonaws.marketplaceagreement#DimensionList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#Dimension" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.marketplaceagreement#DocumentItem": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Category of the document. Document types include:

\n " + } + }, + "url": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

A URL to the legal document for buyers to read. Required when Type is CustomEula.

" + } + }, + "version": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Version of standard contracts provided by AWS Marketplace. Required when Type is StandardEula or StandardDsa.

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

Includes the list of references to legal resources proposed by the proposer to the acceptor. Each DocumentItem refers to an individual reference.

" + } + }, + "com.amazonaws.marketplaceagreement#DocumentList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#DocumentItem" + } + }, + "com.amazonaws.marketplaceagreement#EstimatedCharges": { + "type": "structure", + "members": { + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency code for the charge.

" + } + }, + "agreementValue": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

The total known amount customer has to pay across the lifecycle of the agreement.

\n \n

This is the total contract value if accepted terms contain\n ConfigurableUpfrontPricingTerm or FixedUpfrontPricingTerm.\n In the case of pure contract pricing, this will be the total value of the contract. In\n the case of contracts with consumption pricing, this will only include the committed\n value and not include any overages that occur.

\n

If the accepted terms contain PaymentScheduleTerm, it will be the total\n payment schedule amount. This occurs when flexible payment schedule is used, and is the\n sum of all invoice charges in the payment schedule.

\n

In case a customer has amended an agreement, by purchasing more units of any\n dimension, this will include both the original cost as well as the added cost incurred\n due to addition of new units.

\n

This is 0 if the accepted terms contain\n UsageBasedPricingTerm without\n ConfigurableUpfrontPricingTerm or RecurringPaymentTerm.\n This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or\n monthly), because the exact usage is not known upfront.

\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "

Estimated cost of the agreement.

" + } + }, + "com.amazonaws.marketplaceagreement#ExceptionMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.marketplaceagreement#Filter": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.marketplaceagreement#FilterName", + "traits": { + "smithy.api#documentation": "

The name of the filter.

" + } + }, + "values": { + "target": "com.amazonaws.marketplaceagreement#FilterValueList", + "traits": { + "smithy.api#documentation": "

The filter value.

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

The filter name and value pair that is used to return a more specific list of results.\n Filters can be used to match a set of resources by various criteria, such as\n offerId or productId.

" + } + }, + "com.amazonaws.marketplaceagreement#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#Filter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplaceagreement#FilterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + }, + "smithy.api#pattern": "^[A-Za-z_]+$" + } + }, + "com.amazonaws.marketplaceagreement#FilterValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9+:_-]+$" + } + }, + "com.amazonaws.marketplaceagreement#FilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#FilterValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.marketplaceagreement#FixedUpfrontPricingTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term being updated.

" + } + }, + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency for the prices mentioned in this term.

" + } + }, + "duration": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Contract duration for the terms.

" + } + }, + "price": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Fixed amount to be charged to the customer when this term is accepted.

" + } + }, + "grants": { + "target": "com.amazonaws.marketplaceagreement#GrantList", + "traits": { + "smithy.api#documentation": "

Entitlements granted to the acceptor of fixed upfront as part of agreement\n execution.

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

Defines a prepaid pricing model where the customers are charged a fixed upfront\n amount.

" + } + }, + "com.amazonaws.marketplaceagreement#FreeTrialPricingTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term.

" + } + }, + "duration": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Duration of the free trial period (5–31 days).

" + } + }, + "grants": { + "target": "com.amazonaws.marketplaceagreement#GrantList", + "traits": { + "smithy.api#documentation": "

Entitlements granted to the acceptor of a free trial as part of an agreement\n execution.

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

Defines a short-term free pricing model where the buyers aren’t charged anything within\n a specified limit.

" + } + }, + "com.amazonaws.marketplaceagreement#GetAgreementTerms": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplaceagreement#GetAgreementTermsInput" + }, + "output": { + "target": "com.amazonaws.marketplaceagreement#GetAgreementTermsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.marketplaceagreement#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplaceagreement#InternalServerException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Obtains details about the terms in an agreement that you participated in as proposer or\n acceptor.

\n

The details include:

\n \n ", + "smithy.api#paginated": {} + } + }, + "com.amazonaws.marketplaceagreement#GetAgreementTermsInput": { + "type": "structure", + "members": { + "agreementId": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.marketplaceagreement#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of agreements to return in the response.

" + } + }, + "nextToken": { + "target": "com.amazonaws.marketplaceagreement#NextToken", + "traits": { + "smithy.api#documentation": "

A token to specify where to start pagination

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplaceagreement#GetAgreementTermsOutput": { + "type": "structure", + "members": { + "acceptedTerms": { + "target": "com.amazonaws.marketplaceagreement#AcceptedTermList", + "traits": { + "smithy.api#documentation": "

A subset of terms proposed by the proposer that have been accepted by the acceptor as\n part of the agreement creation.

" + } + }, + "nextToken": { + "target": "com.amazonaws.marketplaceagreement#NextToken", + "traits": { + "smithy.api#documentation": "

A token to specify where to start pagination

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplaceagreement#GrantItem": { + "type": "structure", + "members": { + "dimensionKey": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Unique dimension key defined in the product document. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

" + } + }, + "maxQuantity": { + "target": "com.amazonaws.marketplaceagreement#PositiveIntegerWithDefaultValueOne", + "traits": { + "smithy.api#default": 1, + "smithy.api#documentation": "

Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If MaxQuantity is not provided, the buyer will be able to use an unlimited amount of the given dimension.

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

Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

" + } + }, + "com.amazonaws.marketplaceagreement#GrantList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#GrantItem" + } + }, + "com.amazonaws.marketplaceagreement#InternalServerException": { + "type": "structure", + "members": { + "requestId": { + "target": "com.amazonaws.marketplaceagreement#RequestId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the error.

" + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#ExceptionMessage" + } + }, + "traits": { + "smithy.api#documentation": "

Unexpected error during processing of request.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.marketplaceagreement#LegalTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term being updated.

" + } + }, + "documents": { + "target": "com.amazonaws.marketplaceagreement#DocumentList", + "traits": { + "smithy.api#documentation": "

List of references to legal resources proposed to the buyers. An example is the\n EULA.

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

Defines the list of text agreements proposed to the acceptors. An example is the end\n user license agreement (EULA).

" + } + }, + "com.amazonaws.marketplaceagreement#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.marketplaceagreement#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 8192 + }, + "smithy.api#pattern": "^[a-zA-Z0-9+/=]+$" + } + }, + "com.amazonaws.marketplaceagreement#OfferId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^\\S{1,64}$" + } + }, + "com.amazonaws.marketplaceagreement#PaymentScheduleTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Type of the term.

" + } + }, + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency for the prices mentioned in the term.

" + } + }, + "schedule": { + "target": "com.amazonaws.marketplaceagreement#ScheduleList", + "traits": { + "smithy.api#documentation": "

List of the payment schedule where each element defines one installment of payment. It\n contains the information necessary for calculating the price.

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

Defines an installment-based pricing model where customers are charged a fixed price on\n different dates during the agreement validity period. This is used most commonly for\n flexible payment schedule pricing.

" + } + }, + "com.amazonaws.marketplaceagreement#PositiveIntegerWithDefaultValueOne": { + "type": "integer", + "traits": { + "smithy.api#default": 1, + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.marketplaceagreement#ProposalSummary": { + "type": "structure", + "members": { + "resources": { + "target": "com.amazonaws.marketplaceagreement#Resources", + "traits": { + "smithy.api#documentation": "

The list of resources involved in the agreement.

" + } + }, + "offerId": { + "target": "com.amazonaws.marketplaceagreement#OfferId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the offer in AWS Marketplace.

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

A summary of the proposal received from the proposer.

" + } + }, + "com.amazonaws.marketplaceagreement#Proposer": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.marketplaceagreement#AWSAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID of the proposer.

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

Details of the party proposing the agreement terms,. This is commonly the seller for\n PurchaseAgreement.

" + } + }, + "com.amazonaws.marketplaceagreement#RateCardItem": { + "type": "structure", + "members": { + "dimensionKey": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

" + } + }, + "price": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Per unit price for the product dimension that’s used for calculating the amount to be charged.

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

Defines the per unit rates for each individual product dimension.

" + } + }, + "com.amazonaws.marketplaceagreement#RateCardList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#RateCardItem" + } + }, + "com.amazonaws.marketplaceagreement#RecurringPaymentTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Type of the term being updated.

" + } + }, + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency for the prices mentioned in this term.

" + } + }, + "billingPeriod": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Defines the recurrence at which buyers are charged.

" + } + }, + "price": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Amount charged to the buyer every billing period.

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

Defines a pricing model where customers are charged a fixed recurring price at the end\n of each billing period.

" + } + }, + "com.amazonaws.marketplaceagreement#RenewalTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term being updated.

" + } + }, + "configuration": { + "target": "com.amazonaws.marketplaceagreement#RenewalTermConfiguration", + "traits": { + "smithy.api#documentation": "

Additional parameters specified by the acceptor while accepting the term.

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

Defines that on graceful expiration of the agreement (when the agreement ends on its\n pre-defined end date), a new agreement will be created using the accepted terms on the\n existing agreement. In other words, the agreement will be renewed. The presence of\n RenewalTerm in the offer document means that auto-renewal is allowed.\n Buyers will have the option to accept or decline auto-renewal at the offer\n acceptance/agreement creation. Buyers can also change this flag from True to\n False or False to True at anytime during the\n agreement's lifecycle.

" + } + }, + "com.amazonaws.marketplaceagreement#RenewalTermConfiguration": { + "type": "structure", + "members": { + "enableAutoRenew": { + "target": "com.amazonaws.marketplaceagreement#Boolean", + "traits": { + "smithy.api#documentation": "

Defines whether the acceptor has chosen to auto-renew the agreement at the end of its\n lifecycle. Can be set to True or False.

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

Additional parameters specified by the acceptor while accepting the term.

" + } + }, + "com.amazonaws.marketplaceagreement#RequestId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9-]+$" + } + }, + "com.amazonaws.marketplaceagreement#Resource": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the resource.

\n \n

We mention the term resource, which is most commonly a product, so a\n resourceId is also a productId.

\n
" + } + }, + "type": { + "target": "com.amazonaws.marketplaceagreement#AgreementResourceType", + "traits": { + "smithy.api#documentation": "

Type of the resource, which is the product. Values include SaaSProduct or\n AmiProduct.

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

The list of resources involved in the agreement.

" + } + }, + "com.amazonaws.marketplaceagreement#ResourceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9_/-]+$" + } + }, + "com.amazonaws.marketplaceagreement#ResourceNotFoundException": { + "type": "structure", + "members": { + "requestId": { + "target": "com.amazonaws.marketplaceagreement#RequestId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the error.

" + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#ExceptionMessage" + }, + "resourceId": { + "target": "com.amazonaws.marketplaceagreement#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the resource.

" + } + }, + "resourceType": { + "target": "com.amazonaws.marketplaceagreement#ResourceType", + "traits": { + "smithy.api#documentation": "

The type of resource.

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

Request references a resource which does not exist.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.marketplaceagreement#ResourceType": { + "type": "enum", + "members": { + "AGREEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Agreement" + } + } + } + }, + "com.amazonaws.marketplaceagreement#Resources": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#Resource" + } + }, + "com.amazonaws.marketplaceagreement#ScheduleItem": { + "type": "structure", + "members": { + "chargeDate": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

The date that the customer would pay the price defined in this payment schedule term. Invoices are generated on the date provided.

" + } + }, + "chargeAmount": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

The price that the customer would pay on the scheduled date (chargeDate).

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

An individual installment of the payment that includes the date and amount of the charge.

" + } + }, + "com.amazonaws.marketplaceagreement#ScheduleList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#ScheduleItem" + } + }, + "com.amazonaws.marketplaceagreement#SearchAgreements": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplaceagreement#SearchAgreementsInput" + }, + "output": { + "target": "com.amazonaws.marketplaceagreement#SearchAgreementsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.marketplaceagreement#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplaceagreement#InternalServerException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplaceagreement#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.

\n

The following filter combinations are supported:

\n ", + "smithy.api#paginated": {} + } + }, + "com.amazonaws.marketplaceagreement#SearchAgreementsInput": { + "type": "structure", + "members": { + "catalog": { + "target": "com.amazonaws.marketplaceagreement#Catalog", + "traits": { + "smithy.api#documentation": "

The catalog in which the agreement was created.

" + } + }, + "filters": { + "target": "com.amazonaws.marketplaceagreement#FilterList", + "traits": { + "smithy.api#documentation": "

The filter name and value pair used to return a specific list of results.

\n

The following filters are supported:

\n " + } + }, + "sort": { + "target": "com.amazonaws.marketplaceagreement#Sort", + "traits": { + "smithy.api#documentation": "

An object that contains the SortBy and SortOrder\n attributes.

" + } + }, + "maxResults": { + "target": "com.amazonaws.marketplaceagreement#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of agreements to return in the response.

" + } + }, + "nextToken": { + "target": "com.amazonaws.marketplaceagreement#NextToken", + "traits": { + "smithy.api#documentation": "

A token to specify where to start pagination.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplaceagreement#SearchAgreementsOutput": { + "type": "structure", + "members": { + "agreementViewSummaries": { + "target": "com.amazonaws.marketplaceagreement#AgreementViewSummaryList", + "traits": { + "smithy.api#documentation": "

A summary of the agreement, including top-level attributes (for example, the agreement\n ID, version, proposer, and acceptor).

" + } + }, + "nextToken": { + "target": "com.amazonaws.marketplaceagreement#NextToken", + "traits": { + "smithy.api#documentation": "

The token used for pagination. The field is null if there are no more\n results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplaceagreement#Selector": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Category of selector.

" + } + }, + "value": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Contract duration. This field supports the ISO 8601 format.

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

Differentiates between the mutually exclusive rate cards in the same pricing term to be\n selected by the buyer.

" + } + }, + "com.amazonaws.marketplaceagreement#Sort": { + "type": "structure", + "members": { + "sortBy": { + "target": "com.amazonaws.marketplaceagreement#SortBy", + "traits": { + "smithy.api#documentation": "

The attribute on which the data is grouped, which can be by StartTime and\n EndTime. The default value is EndTime.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.marketplaceagreement#SortOrder", + "traits": { + "smithy.api#documentation": "

The sorting order, which can be ASCENDING or DESCENDING. The\n default value is DESCENDING.

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

An object that contains the SortBy and SortOrder\n attributes.

" + } + }, + "com.amazonaws.marketplaceagreement#SortBy": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[A-Za-z_]+$" + } + }, + "com.amazonaws.marketplaceagreement#SortOrder": { + "type": "enum", + "members": { + "ASCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASCENDING" + } + }, + "DESCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESCENDING" + } + } + } + }, + "com.amazonaws.marketplaceagreement#SupportTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term being updated.

" + } + }, + "refundPolicy": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Free-text field about the refund policy description that will be shown to customers as\n is on the website and console.

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

Defines the customer support available for the acceptors when they purchase the\n software.

" + } + }, + "com.amazonaws.marketplaceagreement#ThrottlingException": { + "type": "structure", + "members": { + "requestId": { + "target": "com.amazonaws.marketplaceagreement#RequestId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the error.

" + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#ExceptionMessage" + } + }, + "traits": { + "smithy.api#documentation": "

Request was denied due to request throttling.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.marketplaceagreement#Timestamp": { + "type": "timestamp" + }, + "com.amazonaws.marketplaceagreement#UnversionedTermType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + }, + "smithy.api#pattern": "^[A-Za-z]+$" + } + }, + "com.amazonaws.marketplaceagreement#UsageBasedPricingTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term.

" + } + }, + "currencyCode": { + "target": "com.amazonaws.marketplaceagreement#CurrencyCode", + "traits": { + "smithy.api#documentation": "

Defines the currency for the prices mentioned in the term.

" + } + }, + "rateCards": { + "target": "com.amazonaws.marketplaceagreement#UsageBasedRateCardList", + "traits": { + "smithy.api#documentation": "

List of rate cards.

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

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the\n customers are charged based on product usage.

" + } + }, + "com.amazonaws.marketplaceagreement#UsageBasedRateCardItem": { + "type": "structure", + "members": { + "rateCard": { + "target": "com.amazonaws.marketplaceagreement#RateCardList", + "traits": { + "smithy.api#documentation": "

Defines the per unit rates for product dimensions.

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

Within the pay-as-you-go model defined under UsageBasedPricingTerm, the UsageBasedRateCardItem defines an individual rate for a product dimension.

" + } + }, + "com.amazonaws.marketplaceagreement#UsageBasedRateCardList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#UsageBasedRateCardItem" + } + }, + "com.amazonaws.marketplaceagreement#ValidationException": { + "type": "structure", + "members": { + "requestId": { + "target": "com.amazonaws.marketplaceagreement#RequestId", + "traits": { + "smithy.api#documentation": "

The unique identifier associated with the error.

" + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#ExceptionMessage" + }, + "reason": { + "target": "com.amazonaws.marketplaceagreement#ValidationExceptionReason", + "traits": { + "smithy.api#documentation": "

The reason associated with the error.

" + } + }, + "fields": { + "target": "com.amazonaws.marketplaceagreement#ValidationExceptionFieldList", + "traits": { + "smithy.api#documentation": "

The fields associated with the error.

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

The input fails to satisfy the constraints specified by the service.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.marketplaceagreement#ValidationExceptionField": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

The name of the field associated with the error.

", + "smithy.api#required": {} + } + }, + "message": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

See applicable actions.

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

The input fails to satisfy the constraints specified by the service.

" + } + }, + "com.amazonaws.marketplaceagreement#ValidationExceptionFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplaceagreement#ValidationExceptionField" + } + }, + "com.amazonaws.marketplaceagreement#ValidationExceptionReason": { + "type": "enum", + "members": { + "INVALID_AGREEMENT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_AGREEMENT_ID" + } + }, + "MISSING_AGREEMENT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_AGREEMENT_ID" + } + }, + "INVALID_CATALOG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_CATALOG" + } + }, + "INVALID_FILTER_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILTER_NAME" + } + }, + "INVALID_FILTER_VALUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILTER_VALUES" + } + }, + "INVALID_SORT_BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_SORT_BY" + } + }, + "INVALID_SORT_ORDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_SORT_ORDER" + } + }, + "INVALID_NEXT_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NEXT_TOKEN" + } + }, + "INVALID_MAX_RESULTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_MAX_RESULTS" + } + }, + "UNSUPPORTED_FILTERS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSUPPORTED_FILTERS" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } + } + }, + "com.amazonaws.marketplaceagreement#ValidityTerm": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.marketplaceagreement#UnversionedTermType", + "traits": { + "smithy.api#documentation": "

Category of the term being updated.

" + } + }, + "agreementDuration": { + "target": "com.amazonaws.marketplaceagreement#BoundedString", + "traits": { + "smithy.api#documentation": "

Defines the duration that the agreement remains active. If\n AgreementStartDate isn’t provided, the agreement duration is relative to\n the agreement signature time. The duration is represented in the ISO_8601 format.

" + } + }, + "agreementStartDate": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the\n date provided. If AgreementStartDate isn’t provided, the agreement start date\n is determined based on agreement signature time.

" + } + }, + "agreementEndDate": { + "target": "com.amazonaws.marketplaceagreement#Timestamp", + "traits": { + "smithy.api#documentation": "

Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the\n date provided. If AgreementEndDate isn’t provided, the agreement end date is\n determined by the validity of individual terms.

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

Defines the conditions that will keep an agreement created from this offer valid.

" + } + }, + "com.amazonaws.marketplaceagreement#ZeroValueInteger": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0 + } + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/marketplace-catalog.json b/codegen/sdk-codegen/aws-models/marketplace-catalog.json index dc1a455da8a..350ede8a518 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-catalog.json +++ b/codegen/sdk-codegen/aws-models/marketplace-catalog.json @@ -136,7 +136,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -179,7 +178,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -192,7 +192,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -206,7 +205,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -229,7 +227,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -264,7 +261,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -275,14 +271,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -296,14 +294,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -312,11 +308,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -327,14 +323,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -348,7 +346,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -368,7 +365,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -379,14 +375,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -397,9 +395,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -737,6 +737,274 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.marketplacecatalog#AmiProductEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#AmiProductEntityIdFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique entity id values to be filtered on.

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

Object that allows filtering on entity id of an AMI product.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#AmiProductEntityIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#AmiProductEntityIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductFilters": { + "type": "structure", + "members": { + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#AmiProductEntityIdFilter", + "traits": { + "smithy.api#documentation": "

Unique identifier for the AMI product.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#AmiProductLastModifiedDateFilter", + "traits": { + "smithy.api#documentation": "

The last date on which the AMI product was modified.

" + } + }, + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#AmiProductTitleFilter", + "traits": { + "smithy.api#documentation": "

The title of the AMI product.

" + } + }, + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#AmiProductVisibilityFilter", + "traits": { + "smithy.api#documentation": "

The visibility of the AMI product.

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

Object containing all the filter fields for AMI products. Client can add a maximum of 8\n filters in a single ListEntities request.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductLastModifiedDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#AmiProductLastModifiedDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Dates between which the AMI product was last modified.

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

Object that allows filtering based on the last modified date of AMI products.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductLastModifiedDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Date after which the AMI product was last modified.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Date before which the AMI product was last modified.

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

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue. Both are inclusive.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductSort": { + "type": "structure", + "members": { + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#AmiProductSortBy", + "traits": { + "smithy.api#documentation": "

Field to sort the AMI products by.

" + } + }, + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", + "traits": { + "smithy.api#documentation": "

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

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

Objects that allows sorting on AMI products based on certain fields and sorting order.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductSortBy": { + "type": "enum", + "members": { + "EntityId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EntityId" + } + }, + "LastModifiedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastModifiedDate" + } + }, + "ProductTitle": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ProductTitle" + } + }, + "Visibility": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Visibility" + } + } + } + }, + "com.amazonaws.marketplacecatalog#AmiProductSummary": { + "type": "structure", + "members": { + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#AmiProductTitleString", + "traits": { + "smithy.api#documentation": "

The title of the AMI product.

" + } + }, + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#AmiProductVisibilityString", + "traits": { + "smithy.api#documentation": "

The lifecycle of the AMI product.

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

Object that contains summarized information about an AMI product.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductTitleFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#AmiProductTitleFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique product title values to be filtered on.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#AmiProductTitleString", + "traits": { + "smithy.api#documentation": "

A string that will be the wildCard input for product tile filter. It matches the provided value as a substring in the actual value.

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

Object that allows filtering on product title.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductTitleFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#AmiProductTitleString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#AmiProductTitleString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductVisibilityFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#AmiProductVisibilityFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique visibility values to be filtered on.

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

Object that allows filtering on the visibility of the product in the AWS Marketplace.

" + } + }, + "com.amazonaws.marketplacecatalog#AmiProductVisibilityFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#AmiProductVisibilityString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#AmiProductVisibilityString": { + "type": "enum", + "members": { + "Limited": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Limited" + } + }, + "Public": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Public" + } + }, + "Restricted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Restricted" + } + }, + "Draft": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Draft" + } + } + } + }, "com.amazonaws.marketplacecatalog#CancelChangeSet": { "type": "operation", "input": { @@ -1061,511 +1329,565 @@ "smithy.api#pattern": "^[!-~]+$" } }, - "com.amazonaws.marketplacecatalog#DateTimeISO8601": { + "com.amazonaws.marketplacecatalog#ContainerProductEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductEntityIdFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique entity id values to be filtered on.

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

Object that allows filtering on entity id of a container product.

" + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductEntityIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductEntityIdString": { "type": "string", "traits": { "smithy.api#length": { - "min": 20, - "max": 20 + "min": 1, + "max": 255 }, - "smithy.api#pattern": "^([\\d]{4})\\-(1[0-2]|0[1-9])\\-(3[01]|0[1-9]|[12][\\d])T(2[0-3]|[01][\\d]):([0-5][\\d]):([0-5][\\d])Z$" + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" } }, - "com.amazonaws.marketplacecatalog#DeleteResourcePolicy": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#DeleteResourcePolicyRequest" - }, - "output": { - "target": "com.amazonaws.marketplacecatalog#DeleteResourcePolicyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + "com.amazonaws.marketplacecatalog#ContainerProductFilters": { + "type": "structure", + "members": { + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductEntityIdFilter", + "traits": { + "smithy.api#documentation": "

Unique identifier for the container product.

" + } }, - { - "target": "com.amazonaws.marketplacecatalog#InternalServiceException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductLastModifiedDateFilter", + "traits": { + "smithy.api#documentation": "

The last date on which the container product was modified.

" + } }, - { - "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductTitleFilter", + "traits": { + "smithy.api#documentation": "

The title of the container product.

" + } }, - { - "target": "com.amazonaws.marketplacecatalog#ValidationException" + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductVisibilityFilter", + "traits": { + "smithy.api#documentation": "

The visibility of the container product.

" + } } - ], + }, "traits": { - "smithy.api#documentation": "

Deletes a resource-based policy on an entity that is identified by its resource\n ARN.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/DeleteResourcePolicy", - "code": 200 - } + "smithy.api#documentation": "

Object containing all the filter fields for container products. Client can add a maximum of 8 filters in a single ListEntities request.

" } }, - "com.amazonaws.marketplacecatalog#DeleteResourcePolicyRequest": { + "com.amazonaws.marketplacecatalog#ContainerProductLastModifiedDateFilter": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductLastModifiedDateFilterDateRange", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.

", - "smithy.api#httpQuery": "resourceArn", - "smithy.api#required": {} + "smithy.api#documentation": "

Dates between which the container product was last modified.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Object that allows filtering based on the last modified date of container products.

" } }, - "com.amazonaws.marketplacecatalog#DeleteResourcePolicyResponse": { + "com.amazonaws.marketplacecatalog#ContainerProductLastModifiedDateFilterDateRange": { "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.marketplacecatalog#DescribeChangeSet": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#DescribeChangeSetRequest" - }, - "output": { - "target": "com.amazonaws.marketplacecatalog#DescribeChangeSetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" - }, - { - "target": "com.amazonaws.marketplacecatalog#InternalServiceException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Date after which the container product was last modified.

" + } }, - { - "target": "com.amazonaws.marketplacecatalog#ValidationException" + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Date before which the container product was last modified.

" + } } - ], + }, "traits": { - "smithy.api#documentation": "

Provides information about a given change set.

", - "smithy.api#http": { - "method": "GET", - "uri": "/DescribeChangeSet", - "code": 200 - } + "smithy.api#documentation": "

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue. Both are inclusive.

" } }, - "com.amazonaws.marketplacecatalog#DescribeChangeSetRequest": { + "com.amazonaws.marketplacecatalog#ContainerProductSort": { "type": "structure", "members": { - "Catalog": { - "target": "com.amazonaws.marketplacecatalog#Catalog", + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductSortBy", "traits": { - "smithy.api#documentation": "

Required. The catalog related to the request. Fixed value:\n AWSMarketplace\n

", - "smithy.api#httpQuery": "catalog", - "smithy.api#required": {} + "smithy.api#documentation": "

Field to sort the container products by.

" } }, - "ChangeSetId": { - "target": "com.amazonaws.marketplacecatalog#ResourceId", + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", "traits": { - "smithy.api#documentation": "

Required. The unique identifier for the StartChangeSet request that you\n want to describe the details for.

", - "smithy.api#httpQuery": "changeSetId", - "smithy.api#required": {} + "smithy.api#documentation": "

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Objects that allows sorting on container products based on certain fields and sorting order.

" } }, - "com.amazonaws.marketplacecatalog#DescribeChangeSetResponse": { - "type": "structure", + "com.amazonaws.marketplacecatalog#ContainerProductSortBy": { + "type": "enum", "members": { - "ChangeSetId": { - "target": "com.amazonaws.marketplacecatalog#ResourceId", - "traits": { - "smithy.api#documentation": "

Required. The unique identifier for the change set referenced in this request.

" - } - }, - "ChangeSetArn": { - "target": "com.amazonaws.marketplacecatalog#ARN", + "EntityId": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ARN associated with the unique identifier for the change set referenced in this\n request.

" + "smithy.api#enumValue": "EntityId" } }, - "ChangeSetName": { - "target": "com.amazonaws.marketplacecatalog#ChangeSetName", + "LastModifiedDate": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The optional name provided in the StartChangeSet request. If you do not\n provide a name, one is set by default.

" + "smithy.api#enumValue": "LastModifiedDate" } }, - "StartTime": { - "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "ProductTitle": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.\n

" + "smithy.api#enumValue": "ProductTitle" } }, - "EndTime": { - "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "Visibility": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned\n to a terminal state. The change cannot transition to a different state. Null if the\n request is not in a terminal state.

" + "smithy.api#enumValue": "Visibility" } - }, - "Status": { - "target": "com.amazonaws.marketplacecatalog#ChangeStatus", + } + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductSummary": { + "type": "structure", + "members": { + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductTitleString", "traits": { - "smithy.api#documentation": "

The status of the change request.

" + "smithy.api#documentation": "

The title of the container product.

" } }, - "FailureCode": { - "target": "com.amazonaws.marketplacecatalog#FailureCode", + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductVisibilityString", "traits": { - "smithy.api#documentation": "

Returned if the change set is in FAILED status. Can be either\n CLIENT_ERROR, which means that there are issues with the request (see\n the ErrorDetailList), or SERVER_FAULT, which means that there\n is a problem in the system, and you should retry your request.

" + "smithy.api#documentation": "

The lifecycle of the product.

" } - }, - "FailureDescription": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent", + } + }, + "traits": { + "smithy.api#documentation": "

Object that contains summarized information about a container product.

" + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductTitleFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductTitleFilterValueList", "traits": { - "smithy.api#documentation": "

Returned if there is a failure on the change set, but that failure is not related to\n any of the changes in the request.

" + "smithy.api#documentation": "

A string array of unique product title values to be filtered on.

" } }, - "ChangeSet": { - "target": "com.amazonaws.marketplacecatalog#ChangeSetDescription", + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductTitleString", "traits": { - "smithy.api#documentation": "

An array of ChangeSummary objects.

" + "smithy.api#documentation": "

A string that will be the wildCard input for product tile filter. It matches the provided value as a substring in the actual value.

" } } }, "traits": { - "smithy.api#output": {} + "smithy.api#documentation": "

Object that allows filtering on product title.

" } }, - "com.amazonaws.marketplacecatalog#DescribeEntity": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#DescribeEntityRequest" - }, - "output": { - "target": "com.amazonaws.marketplacecatalog#DescribeEntityResponse" + "com.amazonaws.marketplacecatalog#ContainerProductTitleFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductTitleString" }, - "errors": [ - { - "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" - }, - { - "target": "com.amazonaws.marketplacecatalog#InternalServiceException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotSupportedException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ThrottlingException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ValidationException" - } - ], "traits": { - "smithy.api#documentation": "

Returns the metadata and content of the entity.

", - "smithy.api#http": { - "method": "GET", - "uri": "/DescribeEntity", - "code": 200 + "smithy.api#length": { + "min": 1, + "max": 10 } } }, - "com.amazonaws.marketplacecatalog#DescribeEntityRequest": { + "com.amazonaws.marketplacecatalog#ContainerProductTitleString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductVisibilityFilter": { "type": "structure", "members": { - "Catalog": { - "target": "com.amazonaws.marketplacecatalog#Catalog", - "traits": { - "smithy.api#documentation": "

Required. The catalog related to the request. Fixed value:\n AWSMarketplace\n

", - "smithy.api#httpQuery": "catalog", - "smithy.api#required": {} - } - }, - "EntityId": { - "target": "com.amazonaws.marketplacecatalog#ResourceId", + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductVisibilityFilterValueList", "traits": { - "smithy.api#documentation": "

Required. The unique ID of the entity to describe.

", - "smithy.api#httpQuery": "entityId", - "smithy.api#required": {} + "smithy.api#documentation": "

A string array of unique visibility values to be filtered on.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Object that allows filtering on the visibility of the product in the AWS Marketplace.

" } }, - "com.amazonaws.marketplacecatalog#DescribeEntityResponse": { - "type": "structure", + "com.amazonaws.marketplacecatalog#ContainerProductVisibilityFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductVisibilityString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ContainerProductVisibilityString": { + "type": "enum", "members": { - "EntityType": { - "target": "com.amazonaws.marketplacecatalog#EntityType", - "traits": { - "smithy.api#documentation": "

The named type of the entity, in the format of EntityType@Version.

" - } - }, - "EntityIdentifier": { - "target": "com.amazonaws.marketplacecatalog#Identifier", + "Limited": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The identifier of the entity, in the format of\n EntityId@RevisionId.

" + "smithy.api#enumValue": "Limited" } }, - "EntityArn": { - "target": "com.amazonaws.marketplacecatalog#ARN", + "Public": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ARN associated to the unique identifier for the entity referenced in this\n request.

" + "smithy.api#enumValue": "Public" } }, - "LastModifiedDate": { - "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "Restricted": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The last modified date of the entity, in ISO 8601 format\n (2018-02-27T13:45:22Z).

" + "smithy.api#enumValue": "Restricted" } }, - "Details": { - "target": "com.amazonaws.marketplacecatalog#Json", + "Draft": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

This stringified JSON object includes the details of the entity.

" + "smithy.api#enumValue": "Draft" } - }, - "DetailsDocument": { - "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", + } + } + }, + "com.amazonaws.marketplacecatalog#DataProductEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#DataProductEntityIdFilterValueList", "traits": { - "smithy.api#documentation": "

The JSON value of the details specific to the entity.

" + "smithy.api#documentation": "

A string array of unique entity id values to be filtered on.

" } } }, "traits": { - "smithy.api#output": {} + "smithy.api#documentation": "

Object that allows filtering on entity id of a data product.

" } }, - "com.amazonaws.marketplacecatalog#Entity": { - "type": "structure", - "members": { - "Type": { - "target": "com.amazonaws.marketplacecatalog#EntityType", - "traits": { - "smithy.api#documentation": "

The type of entity.

", - "smithy.api#required": {} - } - }, - "Identifier": { - "target": "com.amazonaws.marketplacecatalog#Identifier", - "traits": { - "smithy.api#documentation": "

The identifier for the entity.

" - } - } + "com.amazonaws.marketplacecatalog#DataProductEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#DataProductEntityIdString" }, "traits": { - "smithy.api#documentation": "

An entity contains data that describes your product, its supported features, and how\n it can be used or launched by your customer.

" + "smithy.api#length": { + "min": 1, + "max": 10 + } } }, - "com.amazonaws.marketplacecatalog#EntityNameString": { + "com.amazonaws.marketplacecatalog#DataProductEntityIdString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, - "smithy.api#pattern": "^\\\\S+[\\\\S\\\\s]*$" + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" } }, - "com.amazonaws.marketplacecatalog#EntitySummary": { + "com.amazonaws.marketplacecatalog#DataProductFilters": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.marketplacecatalog#EntityNameString", - "traits": { - "smithy.api#documentation": "

The name for the entity. This value is not unique. It is defined by the seller.

" - } - }, - "EntityType": { - "target": "com.amazonaws.marketplacecatalog#EntityType", - "traits": { - "smithy.api#documentation": "

The type of the entity.

" - } - }, "EntityId": { - "target": "com.amazonaws.marketplacecatalog#ResourceId", + "target": "com.amazonaws.marketplacecatalog#DataProductEntityIdFilter", "traits": { - "smithy.api#documentation": "

The unique identifier for the entity.

" + "smithy.api#documentation": "

Unique identifier for the data product.

" } }, - "EntityArn": { - "target": "com.amazonaws.marketplacecatalog#ARN", + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#DataProductTitleFilter", "traits": { - "smithy.api#documentation": "

The ARN associated with the unique identifier for the entity.

" + "smithy.api#documentation": "

The title of the data product.

" } }, - "LastModifiedDate": { - "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#DataProductVisibilityFilter", "traits": { - "smithy.api#documentation": "

The last time the entity was published, using ISO 8601 format\n (2018-02-27T13:45:22Z).

" + "smithy.api#documentation": "

The visibility of the data product.

" } }, - "Visibility": { - "target": "com.amazonaws.marketplacecatalog#VisibilityValue", + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#DataProductLastModifiedDateFilter", "traits": { - "smithy.api#documentation": "

The visibility status of the entity to buyers. This value can be Public\n (everyone can view the entity), Limited (the entity is visible to limited\n accounts only), or Restricted (the entity was published and then\n unpublished and only existing buyers can view it).

" + "smithy.api#documentation": "

The last date on which the data product was modified.

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

This object is a container for common summary information about the entity. The\n summary doesn't contain the whole entity structure, but it does contain information\n common across all entities.

" - } - }, - "com.amazonaws.marketplacecatalog#EntitySummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.marketplacecatalog#EntitySummary" - } - }, - "com.amazonaws.marketplacecatalog#EntityType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[a-zA-Z]+$" + "smithy.api#documentation": "

Object containing all the filter fields for data products. Client can add a maximum of 8 filters in a single ListEntities request.

" } }, - "com.amazonaws.marketplacecatalog#ErrorCodeString": { - "type": "string", + "com.amazonaws.marketplacecatalog#DataProductLastModifiedDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#DataProductLastModifiedDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Dates between which the data product was last modified.

" + } + } + }, "traits": { - "smithy.api#length": { - "min": 1, - "max": 72 - }, - "smithy.api#pattern": "^[a-zA-Z_]+$" + "smithy.api#documentation": "

Object that allows filtering based on the last modified date of data products.

" } }, - "com.amazonaws.marketplacecatalog#ErrorDetail": { + "com.amazonaws.marketplacecatalog#DataProductLastModifiedDateFilterDateRange": { "type": "structure", "members": { - "ErrorCode": { - "target": "com.amazonaws.marketplacecatalog#ErrorCodeString", + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", "traits": { - "smithy.api#documentation": "

The error code that identifies the type of error.

" + "smithy.api#documentation": "

Date after which the data product was last modified.

" } }, - "ErrorMessage": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent", + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", "traits": { - "smithy.api#documentation": "

The message for the error.

" + "smithy.api#documentation": "

Date before which the data product was last modified.

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

Details about the error.

" - } - }, - "com.amazonaws.marketplacecatalog#ErrorDetailList": { - "type": "list", - "member": { - "target": "com.amazonaws.marketplacecatalog#ErrorDetail" + "smithy.api#documentation": "

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue. Both are inclusive.

" } }, - "com.amazonaws.marketplacecatalog#ExceptionMessageContent": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 + "com.amazonaws.marketplacecatalog#DataProductSort": { + "type": "structure", + "members": { + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#DataProductSortBy", + "traits": { + "smithy.api#documentation": "

Field to sort the data products by.

" + } }, - "smithy.api#pattern": "^(.)+$" + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", + "traits": { + "smithy.api#documentation": "

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

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

Objects that allows sorting on data products based on certain fields and sorting order.

" } }, - "com.amazonaws.marketplacecatalog#FailureCode": { + "com.amazonaws.marketplacecatalog#DataProductSortBy": { "type": "enum", "members": { - "ClientError": { + "EntityId": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "CLIENT_ERROR" + "smithy.api#enumValue": "EntityId" } }, - "ServerFault": { + "ProductTitle": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "SERVER_FAULT" + "smithy.api#enumValue": "ProductTitle" + } + }, + "Visibility": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Visibility" + } + }, + "LastModifiedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastModifiedDate" } } } }, - "com.amazonaws.marketplacecatalog#Filter": { + "com.amazonaws.marketplacecatalog#DataProductSummary": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.marketplacecatalog#FilterName", + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#DataProductTitleString", "traits": { - "smithy.api#documentation": "

For ListEntities, the supported value for this is an\n EntityId.

\n

For ListChangeSets, the supported values are as follows:

" + "smithy.api#documentation": "

The title of the data product.

" } }, + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#DataProductVisibilityString", + "traits": { + "smithy.api#documentation": "

The lifecycle of the data product.

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

Object that contains summarized information about a data product.

" + } + }, + "com.amazonaws.marketplacecatalog#DataProductTitleFilter": { + "type": "structure", + "members": { "ValueList": { - "target": "com.amazonaws.marketplacecatalog#ValueList", + "target": "com.amazonaws.marketplacecatalog#DataProductTitleFilterValueList", "traits": { - "smithy.api#documentation": "

\n ListEntities - This is a list of unique EntityIds.

\n

\n ListChangeSets - The supported filter names and associated\n ValueLists is as follows:

\n " + "smithy.api#documentation": "

A string array of unique product title values to be filtered on.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#DataProductTitleString", + "traits": { + "smithy.api#documentation": "

A string that will be the wildCard input for product tile filter. It matches the provided value as a substring in the actual value.

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

A filter object, used to optionally filter results from calls to the\n ListEntities and ListChangeSets actions.

" + "smithy.api#documentation": "

Object that allows filtering on product title.

" } }, - "com.amazonaws.marketplacecatalog#FilterList": { + "com.amazonaws.marketplacecatalog#DataProductTitleFilterValueList": { "type": "list", "member": { - "target": "com.amazonaws.marketplacecatalog#Filter" + "target": "com.amazonaws.marketplacecatalog#DataProductTitleString" }, "traits": { "smithy.api#length": { "min": 1, - "max": 8 + "max": 10 } } }, - "com.amazonaws.marketplacecatalog#FilterName": { + "com.amazonaws.marketplacecatalog#DataProductTitleString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, - "smithy.api#pattern": "^[a-zA-Z]+$" + "smithy.api#pattern": "^(.)+$" } }, - "com.amazonaws.marketplacecatalog#FilterValueContent": { - "type": "string", + "com.amazonaws.marketplacecatalog#DataProductVisibilityFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#DataProductVisibilityFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique visibility values to be filtered on.

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

Object that allows filtering on the visibility of the product in the AWS Marketplace.

" + } + }, + "com.amazonaws.marketplacecatalog#DataProductVisibilityFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#DataProductVisibilityString" + }, "traits": { "smithy.api#length": { "min": 1, - "max": 255 + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#DataProductVisibilityString": { + "type": "enum", + "members": { + "Limited": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Limited" + } }, - "smithy.api#pattern": "^(.)+$" + "Public": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Public" + } + }, + "Restricted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Restricted" + } + }, + "Unavailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unavailable" + } + }, + "Draft": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Draft" + } + } } }, - "com.amazonaws.marketplacecatalog#GetResourcePolicy": { + "com.amazonaws.marketplacecatalog#DateTimeISO8601": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 20 + }, + "smithy.api#pattern": "^([\\d]{4})\\-(1[0-2]|0[1-9])\\-(3[01]|0[1-9]|[12][\\d])T(2[0-3]|[01][\\d]):([0-5][\\d]):([0-5][\\d])Z$" + } + }, + "com.amazonaws.marketplacecatalog#DeleteResourcePolicy": { "type": "operation", "input": { - "target": "com.amazonaws.marketplacecatalog#GetResourcePolicyRequest" + "target": "com.amazonaws.marketplacecatalog#DeleteResourcePolicyRequest" }, "output": { - "target": "com.amazonaws.marketplacecatalog#GetResourcePolicyResponse" + "target": "com.amazonaws.marketplacecatalog#DeleteResourcePolicyResponse" }, "errors": [ { @@ -1585,15 +1907,15 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a resource-based policy of an entity that is identified by its resource\n ARN.

", + "smithy.api#documentation": "

Deletes a resource-based policy on an entity that is identified by its resource\n ARN.

", "smithy.api#http": { - "method": "GET", - "uri": "/GetResourcePolicy", + "method": "DELETE", + "uri": "/DeleteResourcePolicy", "code": 200 } } }, - "com.amazonaws.marketplacecatalog#GetResourcePolicyRequest": { + "com.amazonaws.marketplacecatalog#DeleteResourcePolicyRequest": { "type": "structure", "members": { "ResourceArn": { @@ -1609,63 +1931,20 @@ "smithy.api#input": {} } }, - "com.amazonaws.marketplacecatalog#GetResourcePolicyResponse": { + "com.amazonaws.marketplacecatalog#DeleteResourcePolicyResponse": { "type": "structure", - "members": { - "Policy": { - "target": "com.amazonaws.marketplacecatalog#ResourcePolicyJson", - "traits": { - "smithy.api#documentation": "

The policy document to set; formatted in JSON.

" - } - } - }, + "members": {}, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.marketplacecatalog#Identifier": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[\\w\\-@]+$" - } - }, - "com.amazonaws.marketplacecatalog#InternalServiceException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" - } - }, - "traits": { - "smithy.api#documentation": "

There was an internal service exception.

\n

HTTP status code: 500

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.marketplacecatalog#Json": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 16384 - }, - "smithy.api#pattern": "^[\\s]*\\{[\\s\\S]*\\}[\\s]*$" - } - }, - "com.amazonaws.marketplacecatalog#JsonDocumentType": { - "type": "document" - }, - "com.amazonaws.marketplacecatalog#ListChangeSets": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#ListChangeSetsRequest" + "com.amazonaws.marketplacecatalog#DescribeChangeSet": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#DescribeChangeSetRequest" }, "output": { - "target": "com.amazonaws.marketplacecatalog#ListChangeSetsResponse" + "target": "com.amazonaws.marketplacecatalog#DescribeChangeSetResponse" }, "errors": [ { @@ -1674,6 +1953,9 @@ { "target": "com.amazonaws.marketplacecatalog#InternalServiceException" }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + }, { "target": "com.amazonaws.marketplacecatalog#ThrottlingException" }, @@ -1682,81 +1964,93 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the list of change sets owned by the account being used to make the call. You\n can filter this list by providing any combination of entityId,\n ChangeSetName, and status. If you provide more than one filter, the API\n operation applies a logical AND between the filters.

\n

You can describe a change during the 60-day request history retention period for API\n calls.

", + "smithy.api#documentation": "

Provides information about a given change set.

", "smithy.api#http": { - "method": "POST", - "uri": "/ListChangeSets", + "method": "GET", + "uri": "/DescribeChangeSet", "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "ChangeSetSummaryList", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.marketplacecatalog#ListChangeSetsMaxResultInteger": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 20 } } }, - "com.amazonaws.marketplacecatalog#ListChangeSetsRequest": { + "com.amazonaws.marketplacecatalog#DescribeChangeSetRequest": { "type": "structure", "members": { "Catalog": { "target": "com.amazonaws.marketplacecatalog#Catalog", "traits": { - "smithy.api#documentation": "

The catalog related to the request. Fixed value: AWSMarketplace\n

", + "smithy.api#documentation": "

Required. The catalog related to the request. Fixed value:\n AWSMarketplace\n

", + "smithy.api#httpQuery": "catalog", "smithy.api#required": {} } }, - "FilterList": { - "target": "com.amazonaws.marketplacecatalog#FilterList", + "ChangeSetId": { + "target": "com.amazonaws.marketplacecatalog#ResourceId", "traits": { - "smithy.api#documentation": "

An array of filter objects.

" + "smithy.api#documentation": "

Required. The unique identifier for the StartChangeSet request that you\n want to describe the details for.

", + "smithy.api#httpQuery": "changeSetId", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#DescribeChangeSetResponse": { + "type": "structure", + "members": { + "ChangeSetId": { + "target": "com.amazonaws.marketplacecatalog#ResourceId", + "traits": { + "smithy.api#documentation": "

Required. The unique identifier for the change set referenced in this request.

" } }, - "Sort": { - "target": "com.amazonaws.marketplacecatalog#Sort", + "ChangeSetArn": { + "target": "com.amazonaws.marketplacecatalog#ARN", "traits": { - "smithy.api#documentation": "

An object that contains two attributes, SortBy and\n SortOrder.

" + "smithy.api#documentation": "

The ARN associated with the unique identifier for the change set referenced in this\n request.

" } }, - "MaxResults": { - "target": "com.amazonaws.marketplacecatalog#ListChangeSetsMaxResultInteger", + "ChangeSetName": { + "target": "com.amazonaws.marketplacecatalog#ChangeSetName", "traits": { - "smithy.api#documentation": "

The maximum number of results returned by a single call. This value must be provided\n in the next call to retrieve the next set of results. By default, this value is\n 20.

" + "smithy.api#documentation": "

The optional name provided in the StartChangeSet request. If you do not\n provide a name, one is set by default.

" } }, - "NextToken": { - "target": "com.amazonaws.marketplacecatalog#NextToken", + "StartTime": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", "traits": { - "smithy.api#documentation": "

The token value retrieved from a previous call to access the next page of\n results.

" + "smithy.api#documentation": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.\n

" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.marketplacecatalog#ListChangeSetsResponse": { - "type": "structure", - "members": { - "ChangeSetSummaryList": { - "target": "com.amazonaws.marketplacecatalog#ChangeSetSummaryList", + }, + "EndTime": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", "traits": { - "smithy.api#documentation": "

Array of ChangeSetSummaryListItem objects.

" + "smithy.api#documentation": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned\n to a terminal state. The change cannot transition to a different state. Null if the\n request is not in a terminal state.

" } }, - "NextToken": { - "target": "com.amazonaws.marketplacecatalog#NextToken", + "Status": { + "target": "com.amazonaws.marketplacecatalog#ChangeStatus", "traits": { - "smithy.api#documentation": "

The value of the next token, if it exists. Null if there are no more results.

" + "smithy.api#documentation": "

The status of the change request.

" + } + }, + "FailureCode": { + "target": "com.amazonaws.marketplacecatalog#FailureCode", + "traits": { + "smithy.api#documentation": "

Returned if the change set is in FAILED status. Can be either\n CLIENT_ERROR, which means that there are issues with the request (see\n the ErrorDetailList), or SERVER_FAULT, which means that there\n is a problem in the system, and you should retry your request.

" + } + }, + "FailureDescription": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent", + "traits": { + "smithy.api#documentation": "

Returned if there is a failure on the change set, but that failure is not related to\n any of the changes in the request.

" + } + }, + "ChangeSet": { + "target": "com.amazonaws.marketplacecatalog#ChangeSetDescription", + "traits": { + "smithy.api#documentation": "

An array of ChangeSummary objects.

" } } }, @@ -1764,13 +2058,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.marketplacecatalog#ListEntities": { + "com.amazonaws.marketplacecatalog#DescribeEntity": { "type": "operation", "input": { - "target": "com.amazonaws.marketplacecatalog#ListEntitiesRequest" + "target": "com.amazonaws.marketplacecatalog#DescribeEntityRequest" }, "output": { - "target": "com.amazonaws.marketplacecatalog#ListEntitiesResponse" + "target": "com.amazonaws.marketplacecatalog#DescribeEntityResponse" }, "errors": [ { @@ -1782,6 +2076,9 @@ { "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotSupportedException" + }, { "target": "com.amazonaws.marketplacecatalog#ThrottlingException" }, @@ -1790,345 +2087,2711 @@ } ], "traits": { - "smithy.api#documentation": "

Provides the list of entities of a given type.

", + "smithy.api#documentation": "

Returns the metadata and content of the entity.

", "smithy.api#http": { - "method": "POST", - "uri": "/ListEntities", + "method": "GET", + "uri": "/DescribeEntity", "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "EntitySummaryList", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.marketplacecatalog#ListEntitiesMaxResultInteger": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 50 } } }, - "com.amazonaws.marketplacecatalog#ListEntitiesRequest": { + "com.amazonaws.marketplacecatalog#DescribeEntityRequest": { "type": "structure", "members": { "Catalog": { "target": "com.amazonaws.marketplacecatalog#Catalog", "traits": { - "smithy.api#documentation": "

The catalog related to the request. Fixed value: AWSMarketplace\n

", + "smithy.api#documentation": "

Required. The catalog related to the request. Fixed value:\n AWSMarketplace\n

", + "smithy.api#httpQuery": "catalog", "smithy.api#required": {} } }, + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#ResourceId", + "traits": { + "smithy.api#documentation": "

Required. The unique ID of the entity to describe.

", + "smithy.api#httpQuery": "entityId", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#DescribeEntityResponse": { + "type": "structure", + "members": { "EntityType": { "target": "com.amazonaws.marketplacecatalog#EntityType", "traits": { - "smithy.api#documentation": "

The type of entities to retrieve.

", + "smithy.api#documentation": "

The named type of the entity, in the format of EntityType@Version.

" + } + }, + "EntityIdentifier": { + "target": "com.amazonaws.marketplacecatalog#Identifier", + "traits": { + "smithy.api#documentation": "

The identifier of the entity, in the format of\n EntityId@RevisionId.

" + } + }, + "EntityArn": { + "target": "com.amazonaws.marketplacecatalog#ARN", + "traits": { + "smithy.api#documentation": "

The ARN associated to the unique identifier for the entity referenced in this\n request.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The last modified date of the entity, in ISO 8601 format\n (2018-02-27T13:45:22Z).

" + } + }, + "Details": { + "target": "com.amazonaws.marketplacecatalog#Json", + "traits": { + "smithy.api#documentation": "

This stringified JSON object includes the details of the entity.

" + } + }, + "DetailsDocument": { + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", + "traits": { + "smithy.api#documentation": "

The JSON value of the details specific to the entity.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#Entity": { + "type": "structure", + "members": { + "Type": { + "target": "com.amazonaws.marketplacecatalog#EntityType", + "traits": { + "smithy.api#documentation": "

The type of entity.

", "smithy.api#required": {} } }, - "FilterList": { - "target": "com.amazonaws.marketplacecatalog#FilterList", + "Identifier": { + "target": "com.amazonaws.marketplacecatalog#Identifier", "traits": { - "smithy.api#documentation": "

An array of filter objects. Each filter object contains two attributes,\n filterName and filterValues.

" + "smithy.api#documentation": "

The identifier for the entity.

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

An entity contains data that describes your product, its supported features, and how\n it can be used or launched by your customer.

" + } + }, + "com.amazonaws.marketplacecatalog#EntityNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^\\\\S+[\\\\S\\\\s]*$" + } + }, + "com.amazonaws.marketplacecatalog#EntitySummary": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.marketplacecatalog#EntityNameString", + "traits": { + "smithy.api#documentation": "

The name for the entity. This value is not unique. It is defined by the seller.

" + } + }, + "EntityType": { + "target": "com.amazonaws.marketplacecatalog#EntityType", + "traits": { + "smithy.api#documentation": "

The type of the entity.

" + } + }, + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the entity.

" + } + }, + "EntityArn": { + "target": "com.amazonaws.marketplacecatalog#ARN", + "traits": { + "smithy.api#documentation": "

The ARN associated with the unique identifier for the entity.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The last time the entity was published, using ISO 8601 format\n (2018-02-27T13:45:22Z).

" + } + }, + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#VisibilityValue", + "traits": { + "smithy.api#documentation": "

The visibility status of the entity to buyers. This value can be Public\n (everyone can view the entity), Limited (the entity is visible to limited\n accounts only), or Restricted (the entity was published and then\n unpublished and only existing buyers can view it).

" + } + }, + "AmiProductSummary": { + "target": "com.amazonaws.marketplacecatalog#AmiProductSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the AMI product.

" + } + }, + "ContainerProductSummary": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the container product.

" + } + }, + "DataProductSummary": { + "target": "com.amazonaws.marketplacecatalog#DataProductSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the data product.

" + } + }, + "SaaSProductSummary": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the SaaS product.

" + } + }, + "OfferSummary": { + "target": "com.amazonaws.marketplacecatalog#OfferSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the offer.

" + } + }, + "ResaleAuthorizationSummary": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationSummary", + "traits": { + "smithy.api#documentation": "

An object that contains summary information about the Resale Authorization.

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

This object is a container for common summary information about the entity. The\n summary doesn't contain the whole entity structure, but it does contain information\n common across all entities.

" + } + }, + "com.amazonaws.marketplacecatalog#EntitySummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#EntitySummary" + } + }, + "com.amazonaws.marketplacecatalog#EntityType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z]+$" + } + }, + "com.amazonaws.marketplacecatalog#EntityTypeFilters": { + "type": "union", + "members": { + "DataProductFilters": { + "target": "com.amazonaws.marketplacecatalog#DataProductFilters", + "traits": { + "smithy.api#documentation": "

A filter for data products.

" + } + }, + "SaaSProductFilters": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductFilters", + "traits": { + "smithy.api#documentation": "

A filter for SaaS products.

" + } + }, + "AmiProductFilters": { + "target": "com.amazonaws.marketplacecatalog#AmiProductFilters", + "traits": { + "smithy.api#documentation": "

A filter for AMI products.

" + } + }, + "OfferFilters": { + "target": "com.amazonaws.marketplacecatalog#OfferFilters", + "traits": { + "smithy.api#documentation": "

A filter for offers.

" + } + }, + "ContainerProductFilters": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductFilters", + "traits": { + "smithy.api#documentation": "

A filter for container products.

" + } + }, + "ResaleAuthorizationFilters": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationFilters", + "traits": { + "smithy.api#documentation": "

A filter for Resale Authorizations.

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

Object containing all the filter fields per entity type.

" + } + }, + "com.amazonaws.marketplacecatalog#EntityTypeSort": { + "type": "union", + "members": { + "DataProductSort": { + "target": "com.amazonaws.marketplacecatalog#DataProductSort", + "traits": { + "smithy.api#documentation": "

A sort for data products.

" + } + }, + "SaaSProductSort": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductSort", + "traits": { + "smithy.api#documentation": "

A sort for SaaS products.

" + } + }, + "AmiProductSort": { + "target": "com.amazonaws.marketplacecatalog#AmiProductSort", + "traits": { + "smithy.api#documentation": "

A sort for AMI products.

" + } + }, + "OfferSort": { + "target": "com.amazonaws.marketplacecatalog#OfferSort", + "traits": { + "smithy.api#documentation": "

A sort for offers.

" + } + }, + "ContainerProductSort": { + "target": "com.amazonaws.marketplacecatalog#ContainerProductSort", + "traits": { + "smithy.api#documentation": "

A sort for container products.

" + } + }, + "ResaleAuthorizationSort": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationSort", + "traits": { + "smithy.api#documentation": "

A sort for Resale Authorizations.

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

Object containing all the sort fields per entity type.

" + } + }, + "com.amazonaws.marketplacecatalog#ErrorCodeString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 72 + }, + "smithy.api#pattern": "^[a-zA-Z_]+$" + } + }, + "com.amazonaws.marketplacecatalog#ErrorDetail": { + "type": "structure", + "members": { + "ErrorCode": { + "target": "com.amazonaws.marketplacecatalog#ErrorCodeString", + "traits": { + "smithy.api#documentation": "

The error code that identifies the type of error.

" + } + }, + "ErrorMessage": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent", + "traits": { + "smithy.api#documentation": "

The message for the error.

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

Details about the error.

" + } + }, + "com.amazonaws.marketplacecatalog#ErrorDetailList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ErrorDetail" + } + }, + "com.amazonaws.marketplacecatalog#ExceptionMessageContent": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#FailureCode": { + "type": "enum", + "members": { + "ClientError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLIENT_ERROR" + } + }, + "ServerFault": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER_FAULT" + } + } + } + }, + "com.amazonaws.marketplacecatalog#Filter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.marketplacecatalog#FilterName", + "traits": { + "smithy.api#documentation": "

For ListEntities, the supported value for this is an\n EntityId.

\n

For ListChangeSets, the supported values are as follows:

" + } + }, + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ValueList", + "traits": { + "smithy.api#documentation": "

\n ListEntities - This is a list of unique EntityIds.

\n

\n ListChangeSets - The supported filter names and associated\n ValueLists is as follows:

\n " + } + } + }, + "traits": { + "smithy.api#documentation": "

A filter object, used to optionally filter results from calls to the\n ListEntities and ListChangeSets actions.

" + } + }, + "com.amazonaws.marketplacecatalog#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#Filter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 8 + } + } + }, + "com.amazonaws.marketplacecatalog#FilterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z]+$" + } + }, + "com.amazonaws.marketplacecatalog#FilterValueContent": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#GetResourcePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#GetResourcePolicyRequest" + }, + "output": { + "target": "com.amazonaws.marketplacecatalog#GetResourcePolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacecatalog#InternalServiceException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets a resource-based policy of an entity that is identified by its resource\n ARN.

", + "smithy.api#http": { + "method": "GET", + "uri": "/GetResourcePolicy", + "code": 200 + } + } + }, + "com.amazonaws.marketplacecatalog#GetResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.

", + "smithy.api#httpQuery": "resourceArn", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#GetResourcePolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "target": "com.amazonaws.marketplacecatalog#ResourcePolicyJson", + "traits": { + "smithy.api#documentation": "

The policy document to set; formatted in JSON.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#Identifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[\\w\\-@]+$" + } + }, + "com.amazonaws.marketplacecatalog#InternalServiceException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + } + }, + "traits": { + "smithy.api#documentation": "

There was an internal service exception.

\n

HTTP status code: 500

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.marketplacecatalog#Json": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 16384 + }, + "smithy.api#pattern": "^[\\s]*\\{[\\s\\S]*\\}[\\s]*$" + } + }, + "com.amazonaws.marketplacecatalog#JsonDocumentType": { + "type": "document" + }, + "com.amazonaws.marketplacecatalog#ListChangeSets": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#ListChangeSetsRequest" + }, + "output": { + "target": "com.amazonaws.marketplacecatalog#ListChangeSetsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacecatalog#InternalServiceException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the list of change sets owned by the account being used to make the call. You\n can filter this list by providing any combination of entityId,\n ChangeSetName, and status. If you provide more than one filter, the API\n operation applies a logical AND between the filters.

\n

You can describe a change during the 60-day request history retention period for API\n calls.

", + "smithy.api#http": { + "method": "POST", + "uri": "/ListChangeSets", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "ChangeSetSummaryList", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.marketplacecatalog#ListChangeSetsMaxResultInteger": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.marketplacecatalog#ListChangeSetsRequest": { + "type": "structure", + "members": { + "Catalog": { + "target": "com.amazonaws.marketplacecatalog#Catalog", + "traits": { + "smithy.api#documentation": "

The catalog related to the request. Fixed value: AWSMarketplace\n

", + "smithy.api#required": {} + } + }, + "FilterList": { + "target": "com.amazonaws.marketplacecatalog#FilterList", + "traits": { + "smithy.api#documentation": "

An array of filter objects.

" + } + }, + "Sort": { + "target": "com.amazonaws.marketplacecatalog#Sort", + "traits": { + "smithy.api#documentation": "

An object that contains two attributes, SortBy and\n SortOrder.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.marketplacecatalog#ListChangeSetsMaxResultInteger", + "traits": { + "smithy.api#documentation": "

The maximum number of results returned by a single call. This value must be provided\n in the next call to retrieve the next set of results. By default, this value is\n 20.

" + } + }, + "NextToken": { + "target": "com.amazonaws.marketplacecatalog#NextToken", + "traits": { + "smithy.api#documentation": "

The token value retrieved from a previous call to access the next page of\n results.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#ListChangeSetsResponse": { + "type": "structure", + "members": { + "ChangeSetSummaryList": { + "target": "com.amazonaws.marketplacecatalog#ChangeSetSummaryList", + "traits": { + "smithy.api#documentation": "

Array of ChangeSetSummaryListItem objects.

" + } + }, + "NextToken": { + "target": "com.amazonaws.marketplacecatalog#NextToken", + "traits": { + "smithy.api#documentation": "

The value of the next token, if it exists. Null if there are no more results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#ListEntities": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#ListEntitiesRequest" + }, + "output": { + "target": "com.amazonaws.marketplacecatalog#ListEntitiesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacecatalog#InternalServiceException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Provides the list of entities of a given type.

", + "smithy.api#http": { + "method": "POST", + "uri": "/ListEntities", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "EntitySummaryList", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.marketplacecatalog#ListEntitiesMaxResultInteger": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.marketplacecatalog#ListEntitiesRequest": { + "type": "structure", + "members": { + "Catalog": { + "target": "com.amazonaws.marketplacecatalog#Catalog", + "traits": { + "smithy.api#documentation": "

The catalog related to the request. Fixed value: AWSMarketplace\n

", + "smithy.api#required": {} + } + }, + "EntityType": { + "target": "com.amazonaws.marketplacecatalog#EntityType", + "traits": { + "smithy.api#documentation": "

The type of entities to\n retrieve. Valid\n values are: ServerProduct, AmiProduct,\n ContainerProduct, DataProduct, SaaSProduct,\n ProcurementPolicy, Experience, Audience,\n BrandingSettings, Offer, Seller,\n ResaleAuthorization.

", + "smithy.api#required": {} + } + }, + "FilterList": { + "target": "com.amazonaws.marketplacecatalog#FilterList", + "traits": { + "smithy.api#documentation": "

An array of filter objects. Each filter object contains two attributes,\n filterName and filterValues.

" + } + }, + "Sort": { + "target": "com.amazonaws.marketplacecatalog#Sort", + "traits": { + "smithy.api#documentation": "

An object that contains two attributes, SortBy and\n SortOrder.

" + } + }, + "NextToken": { + "target": "com.amazonaws.marketplacecatalog#NextToken", + "traits": { + "smithy.api#documentation": "

The value of the next token, if it exists. Null if there are no more results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.marketplacecatalog#ListEntitiesMaxResultInteger", + "traits": { + "smithy.api#documentation": "

Specifies the upper limit of the elements on a single page. If a value isn't provided,\n the default value is 20.

" + } + }, + "OwnershipType": { + "target": "com.amazonaws.marketplacecatalog#OwnershipType", + "traits": { + "smithy.api#documentation": "

Filters the returned set of entities based on their owner. The default is\n SELF. To list entities shared with you\n through AWS Resource Access Manager (AWS RAM), set to SHARED. Entities shared through the AWS Marketplace\n Catalog API PutResourcePolicy operation can't be discovered through the\n SHARED parameter.

" + } + }, + "EntityTypeFilters": { + "target": "com.amazonaws.marketplacecatalog#EntityTypeFilters", + "traits": { + "smithy.api#documentation": "

A Union object containing filter shapes for all EntityTypes. Each\n EntityTypeFilter shape will have filters applicable for that\n EntityType that can be used to search or filter entities.

" + } + }, + "EntityTypeSort": { + "target": "com.amazonaws.marketplacecatalog#EntityTypeSort", + "traits": { + "smithy.api#documentation": "

A Union object containing Sort shapes for all EntityTypes.\n Each EntityTypeSort shape will have SortBy and\n SortOrder applicable for fields on that EntityType. This\n can be used to sort the results of the filter query.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#ListEntitiesResponse": { + "type": "structure", + "members": { + "EntitySummaryList": { + "target": "com.amazonaws.marketplacecatalog#EntitySummaryList", + "traits": { + "smithy.api#documentation": "

Array of EntitySummary objects.

" + } + }, + "NextToken": { + "target": "com.amazonaws.marketplacecatalog#NextToken", + "traits": { + "smithy.api#documentation": "

The value of the next token if it exists. Null if there is no more result.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.marketplacecatalog#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacecatalog#InternalServiceException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all tags that have been added to a resource (either an entity or change set).

", + "smithy.api#http": { + "method": "POST", + "uri": "/ListTagsForResource", + "code": 200 + } + } + }, + "com.amazonaws.marketplacecatalog#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "traits": { + "smithy.api#documentation": "

Required. The Amazon Resource Name (ARN) associated with the resource you want to list\n tags on.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "traits": { + "smithy.api#documentation": "

Required. The ARN associated with the resource you want to list tags on.

" + } + }, + "Tags": { + "target": "com.amazonaws.marketplacecatalog#TagList", + "traits": { + "smithy.api#documentation": "

Required. A list of objects specifying each key name and value. Number of objects\n allowed: 1-50.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^[\\w+=.:@\\-\\/]$" + } + }, + "com.amazonaws.marketplacecatalog#OfferAvailabilityEndDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#OfferAvailabilityEndDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on the AvailabilityEndDate of an offer with date range as input.

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

Allows filtering on the AvailabilityEndDate of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferAvailabilityEndDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the AvailabilityEndDate of an offer after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the AvailabilityEndDate of an offer before a date.

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

Allows filtering on the AvailabilityEndDate of an offer with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferBuyerAccountsFilter": { + "type": "structure", + "members": { + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#OfferBuyerAccountsFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the BuyerAccounts of an offer with wild card input.

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

Allows filtering on the BuyerAccounts of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferBuyerAccountsFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#OfferBuyerAccountsList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferBuyerAccountsString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 26 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferBuyerAccountsString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.marketplacecatalog#OfferEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#OfferEntityIdFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on entity id of an offer with list input.

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

Allows filtering on the entity id of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferEntityIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferEntityIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" + } + }, + "com.amazonaws.marketplacecatalog#OfferFilters": { + "type": "structure", + "members": { + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#OfferEntityIdFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on EntityId of an offer.

" + } + }, + "Name": { + "target": "com.amazonaws.marketplacecatalog#OfferNameFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of an offer.

" + } + }, + "ProductId": { + "target": "com.amazonaws.marketplacecatalog#OfferProductIdFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductId of an offer.

" + } + }, + "ReleaseDate": { + "target": "com.amazonaws.marketplacecatalog#OfferReleaseDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ReleaseDate of an offer.

" + } + }, + "AvailabilityEndDate": { + "target": "com.amazonaws.marketplacecatalog#OfferAvailabilityEndDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the AvailabilityEndDate of an offer.

" + } + }, + "BuyerAccounts": { + "target": "com.amazonaws.marketplacecatalog#OfferBuyerAccountsFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the BuyerAccounts of an offer.

" + } + }, + "State": { + "target": "com.amazonaws.marketplacecatalog#OfferStateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the State of an offer.

" + } + }, + "Targeting": { + "target": "com.amazonaws.marketplacecatalog#OfferTargetingFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Targeting of an offer.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#OfferLastModifiedDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of an offer.

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

A filter for offers entity.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferLastModifiedDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#OfferLastModifiedDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of an offer with date range as input.

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

Allows filtering on the LastModifiedDate of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferLastModifiedDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of an offer after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of an offer before a date.

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

Allows filtering on the LastModifiedDate of an offer with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferNameFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#OfferNameFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of an offer with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#OfferNameString", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of an offer with wild card input.

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

Allows filtering on the Name of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferNameFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferNameString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 150 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#OfferProductIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#OfferProductIdFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductId of an offer with list input.

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

Allows filtering on the ProductId of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferProductIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferProductIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferProductIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#OfferReleaseDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#OfferReleaseDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ReleaseDate of an offer with date range as input.

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

Allows filtering on the ReleaseDate of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferReleaseDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ReleaseDate of offers after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ReleaseDate of offers before a date.

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

Allows filtering on the ReleaseDate of an offer with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferSort": { + "type": "structure", + "members": { + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#OfferSortBy", + "traits": { + "smithy.api#documentation": "

Allows to sort offers.

" + } + }, + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", + "traits": { + "smithy.api#documentation": "

Allows to sort offers.

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

Allows to sort offers.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferSortBy": { + "type": "enum", + "members": { + "EntityId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EntityId" + } + }, + "Name": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Name" + } + }, + "ProductId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ProductId" + } + }, + "ReleaseDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReleaseDate" + } + }, + "AvailabilityEndDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AvailabilityEndDate" + } + }, + "BuyerAccounts": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BuyerAccounts" + } + }, + "State": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "State" + } + }, + "Targeting": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Targeting" + } + }, + "LastModifiedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastModifiedDate" + } + } + } + }, + "com.amazonaws.marketplacecatalog#OfferStateFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#OfferStateFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the State of an offer with list input.

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

Allows filtering on the State of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferStateFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferStateString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferStateString": { + "type": "enum", + "members": { + "Draft": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Draft" + } + }, + "Released": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Released" + } + } + } + }, + "com.amazonaws.marketplacecatalog#OfferSummary": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.marketplacecatalog#OfferNameString", + "traits": { + "smithy.api#documentation": "

The name of the offer.

" + } + }, + "ProductId": { + "target": "com.amazonaws.marketplacecatalog#OfferProductIdString", + "traits": { + "smithy.api#documentation": "

The product ID of the offer.

" + } + }, + "ReleaseDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The release date of the offer.

" + } + }, + "AvailabilityEndDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The availability end date of the offer.

" + } + }, + "BuyerAccounts": { + "target": "com.amazonaws.marketplacecatalog#OfferBuyerAccountsList", + "traits": { + "smithy.api#documentation": "

The buyer accounts in the offer.

" + } + }, + "State": { + "target": "com.amazonaws.marketplacecatalog#OfferStateString", + "traits": { + "smithy.api#documentation": "

The status of the offer.

" + } + }, + "Targeting": { + "target": "com.amazonaws.marketplacecatalog#OfferTargetingList", + "traits": { + "smithy.api#documentation": "

The targeting in the offer.

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

Summarized information about an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferTargetingFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#OfferTargetingFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Targeting of an offer with list input.

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

Allows filtering on the Targeting of an offer.

" + } + }, + "com.amazonaws.marketplacecatalog#OfferTargetingFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferTargetingString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferTargetingList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#OfferTargetingString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 4 + } + } + }, + "com.amazonaws.marketplacecatalog#OfferTargetingString": { + "type": "enum", + "members": { + "BuyerAccounts": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BuyerAccounts" + } + }, + "ParticipatingPrograms": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ParticipatingPrograms" + } + }, + "CountryCodes": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CountryCodes" + } + }, + "None": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "None" + } + } + } + }, + "com.amazonaws.marketplacecatalog#OwnershipType": { + "type": "enum", + "members": { + "SELF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SELF" + } + }, + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" + } + } + } + }, + "com.amazonaws.marketplacecatalog#PutResourcePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacecatalog#PutResourcePolicyRequest" + }, + "output": { + "target": "com.amazonaws.marketplacecatalog#PutResourcePolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacecatalog#InternalServiceException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacecatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Attaches a resource-based policy to an entity. Examples of an entity include:\n AmiProduct and ContainerProduct.

", + "smithy.api#http": { + "method": "POST", + "uri": "/PutResourcePolicy", + "code": 200 + } + } + }, + "com.amazonaws.marketplacecatalog#PutResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity resource you want to associate with a\n resource policy.

", + "smithy.api#required": {} + } + }, + "Policy": { + "target": "com.amazonaws.marketplacecatalog#ResourcePolicyJson", + "traits": { + "smithy.api#documentation": "

The policy document to set; formatted in JSON.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacecatalog#PutResourcePolicyResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacecatalog#RequestedChangeList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#Change" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date range as input

" + } + }, + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date value as input.

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

Allows filtering on AvailabilityEndDate of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on AvailabilityEndDate of a ResaleAuthorization after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on AvailabilityEndDate of a ResaleAuthorization before a date.

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

Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on CreatedDate of a ResaleAuthorization with date range as input.

" + } + }, + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on CreatedDate of a ResaleAuthorization with date value as input.

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

Allows filtering on CreatedDate of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on CreatedDate of a ResaleAuthorization after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on CreatedDate of a ResaleAuthorization before a date.

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

Allows filtering on CreatedDate of a ResaleAuthorization with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on EntityId of a ResaleAuthorization with list input.

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

Allows filtering on EntityId of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationFilters": { + "type": "structure", + "members": { + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationEntityIdFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the EntityId of a ResaleAuthorization.

" + } + }, + "Name": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of a ResaleAuthorization.

" + } + }, + "ProductId": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductId of a ResaleAuthorization.

" + } + }, + "CreatedDate": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationCreatedDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the CreatedDate of a ResaleAuthorization.

" + } + }, + "AvailabilityEndDate": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationAvailabilityEndDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the AvailabilityEndDate of a ResaleAuthorization.

" + } + }, + "ManufacturerAccountId": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerAccountId of a ResaleAuthorization.

" + } + }, + "ProductName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductName of a ResaleAuthorization.

" + } + }, + "ManufacturerLegalName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerLegalName of a ResaleAuthorization.

" + } + }, + "ResellerAccountID": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerAccountID of a ResaleAuthorization.

" + } + }, + "ResellerLegalName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerLegalName of a ResaleAuthorization.

" + } + }, + "Status": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Status of a ResaleAuthorization.

" + } + }, + "OfferExtendedStatus": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the OfferExtendedStatus of a ResaleAuthorization.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationLastModifiedDateFilter", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of a ResaleAuthorization.

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

A filter for ResaleAuthorization entity.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationLastModifiedDateFilter": { + "type": "structure", + "members": { + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationLastModifiedDateFilterDateRange", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of a ResaleAuthorization with date range as input.

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

Allows filtering on the LastModifiedDate of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationLastModifiedDateFilterDateRange": { + "type": "structure", + "members": { + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of a ResaleAuthorization after a date.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Allows filtering on the LastModifiedDate of a ResaleAuthorization before a date.

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

Allows filtering on the LastModifiedDate of a ResaleAuthorization with date range as input.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerAccountId of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerAccountId of a ResaleAuthorization with wild card input.

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

Allows filtering on the ManufacturerAccountId of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerLegalName of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ManufacturerLegalName of a ResaleAuthorization with wild card input.

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

Allows filtering on the ManufacturerLegalName of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Name of a ResaleAuthorization with wild card input.

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

Allows filtering on the Name of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the OfferExtendedStatus of a ResaleAuthorization with list input.

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

Allows filtering on the OfferExtendedStatus of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductId of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductId of a ResaleAuthorization with wild card input.

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

Allows filtering on the ProductId of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductName of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ProductName of a ResaleAuthorization with wild card input.

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

Allows filtering on the ProductName of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerAccountID of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerAccountID of a ResaleAuthorization with wild card input.

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

Allows filtering on the ResellerAccountID of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerLegalNameProductName of a ResaleAuthorization with list input.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilterWildcard", + "traits": { + "smithy.api#documentation": "

Allows filtering on the ResellerLegalName of a ResaleAuthorization with wild card input.

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

Allows filtering on the ResellerLegalName of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameFilterWildcard": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^(.)+$" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationSort": { + "type": "structure", + "members": { + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationSortBy", + "traits": { + "smithy.api#documentation": "

Allows to sort ResaleAuthorization.

" + } + }, + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", + "traits": { + "smithy.api#documentation": "

Allows to sort ResaleAuthorization.

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

Allows to sort ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationSortBy": { + "type": "enum", + "members": { + "EntityId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EntityId" + } + }, + "Name": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Name" + } + }, + "ProductId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ProductId" + } + }, + "ProductName": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ProductName" + } + }, + "ManufacturerAccountId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManufacturerAccountId" + } + }, + "ManufacturerLegalName": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManufacturerLegalName" + } + }, + "ResellerAccountID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResellerAccountID" + } + }, + "ResellerLegalName": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResellerLegalName" + } + }, + "Status": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Status" + } + }, + "OfferExtendedStatus": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OfferExtendedStatus" + } + }, + "CreatedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreatedDate" + } + }, + "AvailabilityEndDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AvailabilityEndDate" + } + }, + "LastModifiedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastModifiedDate" + } + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusFilterValueList", + "traits": { + "smithy.api#documentation": "

Allows filtering on the Status of a ResaleAuthorization with list input.

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

Allows filtering on the Status of a ResaleAuthorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusString": { + "type": "enum", + "members": { + "Draft": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Draft" + } + }, + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "Restricted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Restricted" + } + } + } + }, + "com.amazonaws.marketplacecatalog#ResaleAuthorizationSummary": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationNameString", + "traits": { + "smithy.api#documentation": "

The name of the ResaleAuthorization.

" + } + }, + "ProductId": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductIdString", + "traits": { + "smithy.api#documentation": "

The product ID of the ResaleAuthorization.

" + } + }, + "ProductName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationProductNameString", + "traits": { + "smithy.api#documentation": "

The product name of the ResaleAuthorization.

" + } + }, + "ManufacturerAccountId": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerAccountIdString", + "traits": { + "smithy.api#documentation": "

The manufacturer account ID of the ResaleAuthorization.

" + } + }, + "ManufacturerLegalName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationManufacturerLegalNameString", + "traits": { + "smithy.api#documentation": "

The manufacturer legal name of the ResaleAuthorization.

" + } + }, + "ResellerAccountID": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerAccountIDString", + "traits": { + "smithy.api#documentation": "

The reseller account ID of the ResaleAuthorization.

" + } + }, + "ResellerLegalName": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationResellerLegalNameString", + "traits": { + "smithy.api#documentation": "

The reseller legal name of the ResaleAuthorization

" + } + }, + "Status": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationStatusString", + "traits": { + "smithy.api#documentation": "

The status of the ResaleAuthorization.

" + } + }, + "OfferExtendedStatus": { + "target": "com.amazonaws.marketplacecatalog#ResaleAuthorizationOfferExtendedStatusString", + "traits": { + "smithy.api#documentation": "

The offer extended status of the ResaleAuthorization

" + } + }, + "CreatedDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The created date of the ResaleAuthorization.

" + } + }, + "AvailabilityEndDate": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

The availability end date of the ResaleAuthorization.

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

Summarized information about a Resale Authorization.

" + } + }, + "com.amazonaws.marketplacecatalog#ResourceARN": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^arn:[\\w+=/,.@-]+:aws-marketplace:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*$" + } + }, + "com.amazonaws.marketplacecatalog#ResourceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[\\w\\-]+$" + } + }, + "com.amazonaws.marketplacecatalog#ResourceIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#ResourceId" + } + }, + "com.amazonaws.marketplacecatalog#ResourceInUseException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + } + }, + "traits": { + "smithy.api#documentation": "

The resource is currently in use.

", + "smithy.api#error": "client", + "smithy.api#httpError": 423 + } + }, + "com.amazonaws.marketplacecatalog#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + } + }, + "traits": { + "smithy.api#documentation": "

The specified resource wasn't found.

\n

HTTP status code: 404

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.marketplacecatalog#ResourceNotSupportedException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + } + }, + "traits": { + "smithy.api#documentation": "

Currently, the specified resource is not supported.

", + "smithy.api#error": "client", + "smithy.api#httpError": 415 + } + }, + "com.amazonaws.marketplacecatalog#ResourcePolicyJson": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10240 + }, + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" + } + }, + "com.amazonaws.marketplacecatalog#SaaSProductEntityIdFilter": { + "type": "structure", + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductEntityIdFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique entity id values to be filtered on.

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

Object that allows filtering on entity id of a SaaS product.

" + } + }, + "com.amazonaws.marketplacecatalog#SaaSProductEntityIdFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductEntityIdString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.marketplacecatalog#SaaSProductEntityIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 }, - "Sort": { - "target": "com.amazonaws.marketplacecatalog#Sort", + "smithy.api#pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$" + } + }, + "com.amazonaws.marketplacecatalog#SaaSProductFilters": { + "type": "structure", + "members": { + "EntityId": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductEntityIdFilter", "traits": { - "smithy.api#documentation": "

An object that contains two attributes, SortBy and\n SortOrder.

" + "smithy.api#documentation": "

Unique identifier for the SaaS product.

" } }, - "NextToken": { - "target": "com.amazonaws.marketplacecatalog#NextToken", + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductTitleFilter", "traits": { - "smithy.api#documentation": "

The value of the next token, if it exists. Null if there are no more results.

" + "smithy.api#documentation": "

The title of the SaaS product.

" } }, - "MaxResults": { - "target": "com.amazonaws.marketplacecatalog#ListEntitiesMaxResultInteger", + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductVisibilityFilter", "traits": { - "smithy.api#documentation": "

Specifies the upper limit of the elements on a single page. If a value isn't provided,\n the default value is 20.

" + "smithy.api#documentation": "

The visibility of the SaaS product.

" } }, - "OwnershipType": { - "target": "com.amazonaws.marketplacecatalog#OwnershipType", + "LastModifiedDate": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductLastModifiedDateFilter", "traits": { - "smithy.api#documentation": "

Filters the returned set of entities based on their owner. The default is\n SELF. To list entities shared with you\n through AWS Resource Access Manager (AWS RAM), set to SHARED. Entities shared through the AWS Marketplace\n Catalog API PutResourcePolicy operation can't be discovered through the\n SHARED parameter.

" + "smithy.api#documentation": "

The last date on which the SaaS product was modified.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Object containing all the filter fields for SaaS products. Client can add a maximum of\n 8 filters in a single ListEntities request.

" } }, - "com.amazonaws.marketplacecatalog#ListEntitiesResponse": { + "com.amazonaws.marketplacecatalog#SaaSProductLastModifiedDateFilter": { "type": "structure", "members": { - "EntitySummaryList": { - "target": "com.amazonaws.marketplacecatalog#EntitySummaryList", + "DateRange": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductLastModifiedDateFilterDateRange", "traits": { - "smithy.api#documentation": "

Array of EntitySummary object.

" - } - }, - "NextToken": { - "target": "com.amazonaws.marketplacecatalog#NextToken", - "traits": { - "smithy.api#documentation": "

The value of the next token if it exists. Null if there is no more result.

" + "smithy.api#documentation": "

Dates between which the SaaS product was last modified.

" } } }, "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.marketplacecatalog#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.marketplacecatalog#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" - }, - { - "target": "com.amazonaws.marketplacecatalog#InternalServiceException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ThrottlingException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists all tags that have been added to a resource (either an entity or change set).

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListTagsForResource", - "code": 200 - } + "smithy.api#documentation": "

Object that allows filtering based on the last modified date of SaaS products

" } }, - "com.amazonaws.marketplacecatalog#ListTagsForResourceRequest": { + "com.amazonaws.marketplacecatalog#SaaSProductLastModifiedDateFilterDateRange": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "AfterValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", "traits": { - "smithy.api#documentation": "

Required. The Amazon Resource Name (ARN) associated with the resource you want to list\n tags on.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Date after which the SaaS product was last modified.

" + } + }, + "BeforeValue": { + "target": "com.amazonaws.marketplacecatalog#DateTimeISO8601", + "traits": { + "smithy.api#documentation": "

Date before which the SaaS product was last modified.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue. Both are inclusive.

" } }, - "com.amazonaws.marketplacecatalog#ListTagsForResourceResponse": { + "com.amazonaws.marketplacecatalog#SaaSProductSort": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "SortBy": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductSortBy", "traits": { - "smithy.api#documentation": "

Required. The ARN associated with the resource you want to list tags on.

" + "smithy.api#documentation": "

Field to sort the SaaS products by.

" } }, - "Tags": { - "target": "com.amazonaws.marketplacecatalog#TagList", + "SortOrder": { + "target": "com.amazonaws.marketplacecatalog#SortOrder", "traits": { - "smithy.api#documentation": "

Required. A list of objects specifying each key name and value. Number of objects\n allowed: 1-50.

" + "smithy.api#documentation": "

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

" } } }, "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.marketplacecatalog#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^[\\w+=.:@\\-\\/]$" + "smithy.api#documentation": "

Objects that allows sorting on SaaS products based on certain fields and sorting order.

" } }, - "com.amazonaws.marketplacecatalog#OwnershipType": { + "com.amazonaws.marketplacecatalog#SaaSProductSortBy": { "type": "enum", "members": { - "SELF": { + "EntityId": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "SELF" + "smithy.api#enumValue": "EntityId" } }, - "SHARED": { + "ProductTitle": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "SHARED" + "smithy.api#enumValue": "ProductTitle" } - } - } - }, - "com.amazonaws.marketplacecatalog#PutResourcePolicy": { - "type": "operation", - "input": { - "target": "com.amazonaws.marketplacecatalog#PutResourcePolicyRequest" - }, - "output": { - "target": "com.amazonaws.marketplacecatalog#PutResourcePolicyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.marketplacecatalog#AccessDeniedException" - }, - { - "target": "com.amazonaws.marketplacecatalog#InternalServiceException" }, - { - "target": "com.amazonaws.marketplacecatalog#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.marketplacecatalog#ThrottlingException" + "Visibility": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Visibility" + } }, - { - "target": "com.amazonaws.marketplacecatalog#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Attaches a resource-based policy to an entity. Examples of an entity include:\n AmiProduct and ContainerProduct.

", - "smithy.api#http": { - "method": "POST", - "uri": "/PutResourcePolicy", - "code": 200 + "LastModifiedDate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastModifiedDate" + } } } }, - "com.amazonaws.marketplacecatalog#PutResourcePolicyRequest": { + "com.amazonaws.marketplacecatalog#SaaSProductSummary": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.marketplacecatalog#ResourceARN", + "ProductTitle": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductTitleString", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity resource you want to associate with a\n resource policy.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The title of the SaaS product.

" } }, - "Policy": { - "target": "com.amazonaws.marketplacecatalog#ResourcePolicyJson", + "Visibility": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductVisibilityString", "traits": { - "smithy.api#documentation": "

The policy document to set; formatted in JSON.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The lifecycle of the SaaS product.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Object that contains summarized information about a SaaS product.

" } }, - "com.amazonaws.marketplacecatalog#PutResourcePolicyResponse": { + "com.amazonaws.marketplacecatalog#SaaSProductTitleFilter": { "type": "structure", - "members": {}, + "members": { + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductTitleFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique product title values to be filtered on.

" + } + }, + "WildCardValue": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductTitleString", + "traits": { + "smithy.api#documentation": "

A string that will be the wildCard input for product tile filter. It matches the provided value as a substring in the actual value.

" + } + } + }, "traits": { - "smithy.api#output": {} + "smithy.api#documentation": "

Object that allows filtering on product title.

" } }, - "com.amazonaws.marketplacecatalog#RequestedChangeList": { + "com.amazonaws.marketplacecatalog#SaaSProductTitleFilterValueList": { "type": "list", "member": { - "target": "com.amazonaws.marketplacecatalog#Change" + "target": "com.amazonaws.marketplacecatalog#SaaSProductTitleString" }, "traits": { "smithy.api#length": { "min": 1, - "max": 20 + "max": 10 } } }, - "com.amazonaws.marketplacecatalog#ResourceARN": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^arn:[\\w+=/,.@-]+:aws-marketplace:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*$" - } - }, - "com.amazonaws.marketplacecatalog#ResourceId": { + "com.amazonaws.marketplacecatalog#SaaSProductTitleString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, - "smithy.api#pattern": "^[\\w\\-]+$" - } - }, - "com.amazonaws.marketplacecatalog#ResourceIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.marketplacecatalog#ResourceId" + "smithy.api#pattern": "^(.)+$" } }, - "com.amazonaws.marketplacecatalog#ResourceInUseException": { + "com.amazonaws.marketplacecatalog#SaaSProductVisibilityFilter": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + "ValueList": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductVisibilityFilterValueList", + "traits": { + "smithy.api#documentation": "

A string array of unique visibility values to be filtered on.

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

The resource is currently in use.

", - "smithy.api#error": "client", - "smithy.api#httpError": 423 + "smithy.api#documentation": "

Object that allows filtering on the visibility of the product in the AWS Marketplace.

" } }, - "com.amazonaws.marketplacecatalog#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" - } + "com.amazonaws.marketplacecatalog#SaaSProductVisibilityFilterValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.marketplacecatalog#SaaSProductVisibilityString" }, "traits": { - "smithy.api#documentation": "

The specified resource wasn't found.

\n

HTTP status code: 404

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.marketplacecatalog#ResourceNotSupportedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.marketplacecatalog#ExceptionMessageContent" + "smithy.api#length": { + "min": 1, + "max": 10 } - }, - "traits": { - "smithy.api#documentation": "

Currently, the specified resource is not supported.

", - "smithy.api#error": "client", - "smithy.api#httpError": 415 } }, - "com.amazonaws.marketplacecatalog#ResourcePolicyJson": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10240 + "com.amazonaws.marketplacecatalog#SaaSProductVisibilityString": { + "type": "enum", + "members": { + "Limited": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Limited" + } }, - "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" + "Public": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Public" + } + }, + "Restricted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Restricted" + } + }, + "Draft": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Draft" + } + } } }, "com.amazonaws.marketplacecatalog#ServiceQuotaExceededException": { diff --git a/codegen/sdk-codegen/aws-models/marketplace-deployment.json b/codegen/sdk-codegen/aws-models/marketplace-deployment.json new file mode 100644 index 00000000000..8912d05750b --- /dev/null +++ b/codegen/sdk-codegen/aws-models/marketplace-deployment.json @@ -0,0 +1,1426 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.marketplacedeployment#AWSMPDeploymentParametersService": { + "type": "service", + "version": "2023-01-25", + "operations": [ + { + "target": "com.amazonaws.marketplacedeployment#ListTagsForResource" + }, + { + "target": "com.amazonaws.marketplacedeployment#TagResource" + }, + { + "target": "com.amazonaws.marketplacedeployment#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.marketplacedeployment#DeploymentParameter" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Marketplace Deployment", + "arnNamespace": "aws-marketplace", + "endpointPrefix": "deployment-marketplace" + }, + "aws.auth#sigv4": { + "name": "aws-marketplace" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.

", + "smithy.api#title": "AWS Marketplace Deployment Service", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deployment-marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deployment-marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deployment-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deployment-marketplace.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deployment-marketplace.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.marketplacedeployment#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.marketplacedeployment#Catalog": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z_-]+$" + } + }, + "com.amazonaws.marketplacedeployment#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 32, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9/_+=.:@-]+$" + } + }, + "com.amazonaws.marketplacedeployment#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "com.amazonaws.marketplacedeployment#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the resource associated with the error.

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

The request configuration has conflicts. For details, see the accompanying error message.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.marketplacedeployment#DeploymentParameter": { + "type": "resource", + "identifiers": { + "catalog": { + "target": "com.amazonaws.marketplacedeployment#Catalog" + }, + "productId": { + "target": "com.amazonaws.marketplacedeployment#ResourceId" + }, + "deploymentParameterId": { + "target": "com.amazonaws.marketplacedeployment#DeploymentParameterResourceIdentifier" + } + }, + "create": { + "target": "com.amazonaws.marketplacedeployment#PutDeploymentParameter" + }, + "traits": { + "aws.api#arn": { + "template": "DeploymentParameter:catalogs/{catalog}/products/{productId}/{deploymentParameterId}" + } + } + }, + "com.amazonaws.marketplacedeployment#DeploymentParameterInput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.marketplacedeployment#DeploymentParameterName", + "traits": { + "smithy.api#documentation": "

The desired name of the deployment parameter. This is the identifier on which deployment parameters are keyed for a given buyer and product. If this name matches an existing deployment parameter, this request will update the existing resource.

", + "smithy.api#required": {} + } + }, + "secretString": { + "target": "com.amazonaws.marketplacedeployment#SecretString", + "traits": { + "smithy.api#documentation": "

The text to encrypt and store in the secret.

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

The shape containing the requested deployment parameter name and secretString.

" + } + }, + "com.amazonaws.marketplacedeployment#DeploymentParameterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 400 + }, + "smithy.api#pattern": "^[a-zA-Z0-9/_+=.@-]+$" + } + }, + "com.amazonaws.marketplacedeployment#DeploymentParameterResourceIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + }, + "smithy.api#pattern": "^dp-[a-zA-Z0-9]+$" + } + }, + "com.amazonaws.marketplacedeployment#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

There was an internal service exception.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.marketplacedeployment#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacedeployment#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.marketplacedeployment#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacedeployment#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacedeployment#InternalServerException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ValidationException" + } + ], + "traits": { + "aws.iam#actionPermissionDescription": "Grants permission to list all tags on a DeploymentParameter resource", + "smithy.api#documentation": "

Lists all tags that have been added to a deployment parameter resource.

", + "smithy.api#examples": [ + { + "title": "Listing tags for a deployment parameter", + "documentation": "The following example demonstrates listing the tags for a deployment parameter. If no tags are present, the API will return an empty map.", + "input": { + "resourceArn": "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier" + }, + "output": { + "tags": { + "FooKey": "BarValue", + "HelloKey": "WorldValue" + } + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.marketplacedeployment#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to list tags on.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacedeployment#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.marketplacedeployment#Tags", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs, where each pair represents a tag present on the resource.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacedeployment#PutDeploymentParameter": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacedeployment#PutDeploymentParameterRequest" + }, + "output": { + "target": "com.amazonaws.marketplacedeployment#PutDeploymentParameterResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacedeployment#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ConflictException" + }, + { + "target": "com.amazonaws.marketplacedeployment#InternalServerException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates or updates a deployment parameter and is targeted by catalog and agreementId.

", + "smithy.api#examples": [ + { + "title": "Creating or updating a deployment parameter", + "documentation": "The following example demonstrates creating or updating a deployment parameter named \"ExampleDeploymentParameterName\". The secret will be saved in the Buyer account associated with the passed `agreementId`, with the value set to the provided `secretString`. Note that the deployment parameter `secretString` can be passed in JSON string format, allowing [json-key specific CloudFormation dynamic references](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html) from a single deployment parameter.", + "input": { + "agreementId": "agmt-1234", + "catalog": "AWSMarketplace", + "productId": "product-1234", + "deploymentParameter": { + "name": "ExampleDeploymentParameterName", + "secretString": "{\"apiKey\": \"helloWorldApiKey\", \"entityId\": \"fooBarEntityId\"}" + }, + "clientToken": "some-unique-uuid-between-32-and-64-characters" + }, + "output": { + "resourceArn": "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier", + "agreementId": "agmt-1234", + "deploymentParameterId": "dp-uniqueidentifier", + "tags": {} + } + }, + { + "title": "Creating a simple deployment parameter, with tags and expiration.", + "documentation": "The following example demonstrates creating a simple deployment parameter named \"ExampleSimpleDeploymentParameterName\". If multiple secrets are not required, the `secretString` may be provided in String format. The provided tags are only applied on resource creation and will be ignored if the operation results in an update. The API response includes the tags present on the resource after completion of the operation.", + "input": { + "agreementId": "agmt-1234", + "catalog": "AWSMarketplace", + "productId": "product-1234", + "deploymentParameter": { + "name": "ExampleSimpleDeploymentParameterName", + "secretString": "MySimpleValue" + }, + "clientToken": "some-unique-uuid-between-32-and-64-characters", + "expirationDate": "2099-11-18T08:52:46.397Z", + "tags": { + "FooKey": "BarValue", + "HelloKey": "WorldValue" + } + }, + "output": { + "resourceArn": "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier", + "agreementId": "agmt-1234", + "deploymentParameterId": "dp-uniqueidentifier", + "tags": { + "FooKey": "BarValue", + "HelloKey": "WorldValue" + } + } + } + ], + "smithy.api#http": { + "method": "POST", + "uri": "/catalogs/{catalog}/products/{productId}/deployment-parameters", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.marketplacedeployment#PutDeploymentParameterRequest": { + "type": "structure", + "members": { + "catalog": { + "target": "com.amazonaws.marketplacedeployment#Catalog", + "traits": { + "smithy.api#documentation": "

The catalog related to the request. Fixed value: AWS Marketplace\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "productId": { + "target": "com.amazonaws.marketplacedeployment#ResourceId", + "traits": { + "smithy.api#documentation": "

The product for which AWS Marketplace will save secrets for the buyer’s account.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "agreementId": { + "target": "com.amazonaws.marketplacedeployment#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

", + "smithy.api#required": {} + } + }, + "deploymentParameter": { + "target": "com.amazonaws.marketplacedeployment#DeploymentParameterInput", + "traits": { + "smithy.api#documentation": "

The deployment parameter targeted to the acceptor of an agreement for which to create the AWS Secret Manager resource.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.marketplacedeployment#TagsMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.

" + } + }, + "expirationDate": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The date when deployment parameters expire and are scheduled for deletion.

", + "smithy.api#timestampFormat": "date-time" + } + }, + "clientToken": { + "target": "com.amazonaws.marketplacedeployment#ClientToken", + "traits": { + "smithy.api#documentation": "

The idempotency token for deployment parameters. A unique identifier for the new version.

", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacedeployment#PutDeploymentParameterResponse": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.marketplacedeployment#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to create or update.

", + "smithy.api#required": {} + } + }, + "agreementId": { + "target": "com.amazonaws.marketplacedeployment#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the agreement.

", + "smithy.api#required": {} + } + }, + "deploymentParameterId": { + "target": "com.amazonaws.marketplacedeployment#DeploymentParameterResourceIdentifier", + "traits": { + "smithy.api#documentation": "

The unique identifier of the deployment parameter.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.marketplacedeployment#TagsMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacedeployment#ResourceArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^[a-zA-Z0-9:*/-]+$" + } + }, + "com.amazonaws.marketplacedeployment#ResourceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9_/-]+$" + } + }, + "com.amazonaws.marketplacedeployment#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The specified resource wasn't found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.marketplacedeployment#SecretString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15000 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.marketplacedeployment#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The maximum number of requests per account has been exceeded.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.marketplacedeployment#StringList": { + "type": "list", + "member": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.marketplacedeployment#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9/_+=.:@-]+$" + } + }, + "com.amazonaws.marketplacedeployment#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacedeployment#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.marketplacedeployment#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacedeployment#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ConflictException" + }, + { + "target": "com.amazonaws.marketplacedeployment#InternalServerException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ValidationException" + } + ], + "traits": { + "aws.iam#actionPermissionDescription": "Grants permission to add or overwrite one or more tags for the specified DeploymentParameter resource", + "smithy.api#documentation": "

Tags a resource.

", + "smithy.api#examples": [ + { + "title": "Adding tags to a deployment parameter", + "documentation": "The following example demonstrates adding two tags to a deployment parameter. There is no output from this API.", + "input": { + "resourceArn": "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier", + "tags": { + "FooKey": "BarValue", + "HelloKey": "WorldValue" + } + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}", + "code": 204 + } + } + }, + "com.amazonaws.marketplacedeployment#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the resource you want to tag.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.marketplacedeployment#Tags", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs, where each pair represents a tag present on the resource.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacedeployment#TagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacedeployment#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9/_+=.:@-]+$" + } + }, + "com.amazonaws.marketplacedeployment#Tags": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.marketplacedeployment#TagsMap": { + "type": "map", + "key": { + "target": "com.amazonaws.marketplacedeployment#TagKey" + }, + "value": { + "target": "com.amazonaws.marketplacedeployment#TagValue" + }, + "traits": { + "smithy.api#length": { + "max": 50 + } + } + }, + "com.amazonaws.marketplacedeployment#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Too many requests.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": { + "throttling": true + } + } + }, + "com.amazonaws.marketplacedeployment#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.marketplacedeployment#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.marketplacedeployment#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.marketplacedeployment#AccessDeniedException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ConflictException" + }, + { + "target": "com.amazonaws.marketplacedeployment#InternalServerException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ThrottlingException" + }, + { + "target": "com.amazonaws.marketplacedeployment#ValidationException" + } + ], + "traits": { + "aws.iam#actionPermissionDescription": "Grants permission to disassociate one or more tags from the specified DeploymentParameter resource", + "smithy.api#documentation": "

Removes a tag or list of tags from a resource.

", + "smithy.api#examples": [ + { + "title": "Removing tags from a deployment parameter", + "documentation": "The following example demonstrates removing two tags from a deployment parameter. For each, both the tag and the associated value are removed. There is no output from this API.", + "input": { + "resourceArn": "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier", + "tagKeys": [ + "FooKey", + "HelloKey" + ] + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}", + "code": 204 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.marketplacedeployment#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.marketplacedeployment#StringList", + "traits": { + "smithy.api#documentation": "

A list of key names of tags to be removed.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.marketplacedeployment#UntagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.marketplacedeployment#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "fieldName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The field name associated with the error.

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

An error occurred during validation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift-serverless.json b/codegen/sdk-codegen/aws-models/redshift-serverless.json index 8b4cc5d0641..b567e038396 100644 --- a/codegen/sdk-codegen/aws-models/redshift-serverless.json +++ b/codegen/sdk-codegen/aws-models/redshift-serverless.json @@ -77,7 +77,7 @@ "parameterKey": { "target": "com.amazonaws.redshiftserverless#ParameterKey", "traits": { - "smithy.api#documentation": "

The key of the parameter. The\n options are auto_mv, datestyle, enable_case_sensitivity_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n Query monitoring metrics for Amazon Redshift Serverless.

" + "smithy.api#documentation": "

The key of the parameter. The\n options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n Query monitoring metrics for Amazon Redshift Serverless.

" } }, "parameterValue": { @@ -349,6 +349,12 @@ "traits": { "smithy.api#documentation": "

The unique identifiers of the security group that defines the ports, \n protocols, and sources for inbound traffic that you are authorizing into your endpoint.

" } + }, + "ownerAccount": { + "target": "com.amazonaws.redshiftserverless#OwnerAccount", + "traits": { + "smithy.api#documentation": "

The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.

" + } } }, "traits": { @@ -491,6 +497,113 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#CreateScheduledAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#CreateScheduledActionRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#CreateScheduledActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. \n For example, you can create a schedule of when to run the CreateSnapshot API operation.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.redshiftserverless#CreateScheduledActionRequest": { + "type": "structure", + "members": { + "scheduledActionName": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName", + "traits": { + "smithy.api#documentation": "

The name of the scheduled action.

", + "smithy.api#required": {} + } + }, + "targetAction": { + "target": "com.amazonaws.redshiftserverless#TargetAction", + "traits": { + "smithy.api#required": {} + } + }, + "schedule": { + "target": "com.amazonaws.redshiftserverless#Schedule", + "traits": { + "smithy.api#documentation": "

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

\n

Format of at expressions is \"at(yyyy-mm-ddThh:mm:ss)\". For example, \"at(2016-03-04T17:27:00)\".

\n

Format of cron expressions is \"cron(Minutes Hours Day-of-month Month Day-of-week Year)\". For example, \"cron(0 10 ? * MON *)\". For more information, see \n Cron Expressions in the Amazon CloudWatch Events User Guide.

", + "smithy.api#required": {} + } + }, + "roleArn": { + "target": "com.amazonaws.redshiftserverless#IamRoleArn", + "traits": { + "smithy.api#documentation": "

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for \n Amazon Redshift in the Amazon Redshift Cluster Management Guide

", + "smithy.api#required": {} + } + }, + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The name of the namespace for which to create a scheduled action.

", + "smithy.api#required": {} + } + }, + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the schedule is enabled. If false, the scheduled action does not trigger. For more information about state \n of the scheduled action, see ScheduledAction.

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

The description of the scheduled action.

" + } + }, + "startTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#CreateScheduledActionResponse": { + "type": "structure", + "members": { + "scheduledAction": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionResponse", + "traits": { + "smithy.api#documentation": "

The returned ScheduledAction object that describes the properties of a scheduled action.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#CreateSnapshot": { "type": "operation", "input": { @@ -524,6 +637,88 @@ "smithy.api#idempotent": {} } }, + "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#AccessDeniedException" + }, + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfigurationRequest": { + "type": "structure", + "members": { + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The name of the namespace to copy snapshots from.

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

The destination Amazon Web Services Region that you want to copy snapshots to.

", + "smithy.api#required": {} + } + }, + "snapshotRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The retention period of the snapshots that you copy to the destination Amazon Web Services Region.

" + } + }, + "destinationKmsKeyId": { + "target": "com.amazonaws.redshiftserverless#KmsKeyId", + "traits": { + "smithy.api#documentation": "

The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfigurationResponse": { + "type": "structure", + "members": { + "snapshotCopyConfiguration": { + "target": "com.amazonaws.redshiftserverless#SnapshotCopyConfiguration", + "traits": { + "smithy.api#documentation": "

The snapshot copy configuration object that is returned.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#CreateSnapshotRequest": { "type": "structure", "members": { @@ -572,6 +767,40 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#CreateSnapshotScheduleActionParameters": { + "type": "structure", + "members": { + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The name of the namespace for which you want to configure a scheduled action to create a snapshot.

", + "smithy.api#required": {} + } + }, + "snapshotNamePrefix": { + "target": "com.amazonaws.redshiftserverless#SnapshotNamePrefix", + "traits": { + "smithy.api#documentation": "

A string prefix that is attached to the name of the snapshot created by the scheduled action. The final \n name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.

", + "smithy.api#required": {} + } + }, + "retentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The retention period of the snapshot created by the scheduled action.

" + } + }, + "tags": { + "target": "com.amazonaws.redshiftserverless#TagList", + "traits": { + "smithy.api#documentation": "

An array of Tag objects to associate with the snapshot.

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

The parameters that you can use to configure a scheduled action to create a snapshot. For more information about creating a scheduled action, see \n CreateScheduledAction.

" + } + }, "com.amazonaws.redshiftserverless#CreateUsageLimit": { "type": "operation", "input": { @@ -722,7 +951,7 @@ "configParameters": { "target": "com.amazonaws.redshiftserverless#ConfigParameterList", "traits": { - "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitivity_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n \n Query monitoring metrics for Amazon Redshift Serverless.

" + "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n \n Query monitoring metrics for Amazon Redshift Serverless.

" } }, "securityGroupIds": { @@ -1066,6 +1295,59 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#DeleteScheduledAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#DeleteScheduledActionRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#DeleteScheduledActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a scheduled action.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.redshiftserverless#DeleteScheduledActionRequest": { + "type": "structure", + "members": { + "scheduledActionName": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName", + "traits": { + "smithy.api#documentation": "

The name of the scheduled action to delete.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#DeleteScheduledActionResponse": { + "type": "structure", + "members": { + "scheduledAction": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionResponse", + "traits": { + "smithy.api#documentation": "

The deleted scheduled action object.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#DeleteSnapshot": { "type": "operation", "input": { @@ -1093,6 +1375,66 @@ "smithy.api#idempotent": {} } }, + "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#AccessDeniedException" + }, + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a snapshot copy configuration

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfigurationRequest": { + "type": "structure", + "members": { + "snapshotCopyConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the snapshot copy configuration to delete.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfigurationResponse": { + "type": "structure", + "members": { + "snapshotCopyConfiguration": { + "target": "com.amazonaws.redshiftserverless#SnapshotCopyConfiguration", + "traits": { + "smithy.api#documentation": "

The deleted snapshot copy configuration object.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#DeleteSnapshotRequest": { "type": "structure", "members": { @@ -1729,6 +2071,59 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#GetScheduledAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#GetScheduledActionRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#GetScheduledActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about a scheduled action.

", + "smithy.api#readonly": {} + } + }, + "com.amazonaws.redshiftserverless#GetScheduledActionRequest": { + "type": "structure", + "members": { + "scheduledActionName": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName", + "traits": { + "smithy.api#documentation": "

The name of the scheduled action.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#GetScheduledActionResponse": { + "type": "structure", + "members": { + "scheduledAction": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionResponse", + "traits": { + "smithy.api#documentation": "

The returned scheduled action object.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#GetSnapshot": { "type": "operation", "input": { @@ -2176,6 +2571,12 @@ "traits": { "smithy.api#documentation": "

The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.

" } + }, + "ownerAccount": { + "target": "com.amazonaws.redshiftserverless#OwnerAccount", + "traits": { + "smithy.api#documentation": "

The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.

" + } } }, "traits": { @@ -2342,13 +2743,188 @@ "namespaceName": { "target": "com.amazonaws.redshiftserverless#NamespaceName", "traits": { - "smithy.api#documentation": "

The name of the namespace to list recovery points for.

" + "smithy.api#documentation": "

The name of the namespace to list recovery points for.

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

The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#ListRecoveryPointsResponse": { + "type": "structure", + "members": { + "recoveryPoints": { + "target": "com.amazonaws.redshiftserverless#RecoveryPointList", + "traits": { + "smithy.api#documentation": "

The returned recovery point objects.

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

If nextToken is returned, there are more results available. \n The value of nextToken is a unique pagination token for each page. \n Make the call again using the returned token to retrieve the next page.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.redshiftserverless#ListScheduledActions": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#ListScheduledActionsRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#ListScheduledActionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#InvalidPaginationException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "scheduledActions" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.redshiftserverless#ListScheduledActionsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.redshiftserverless#PaginationToken", + "traits": { + "smithy.api#documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. \n Make the call again using the returned token to retrieve the next page.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return. Use nextToken to display the next page of results.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The name of namespace associated with the scheduled action to retrieve.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#ListScheduledActionsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.redshiftserverless#PaginationToken", + "traits": { + "smithy.api#documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" + } + }, + "scheduledActions": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionsList", + "traits": { + "smithy.api#documentation": "

All of the returned scheduled action objects.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurations": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurationsRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#InvalidPaginationException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of snapshot copy configurations.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "snapshotCopyConfigurations" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurationsRequest": { + "type": "structure", + "members": { + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The namespace from which to list all snapshot copy configurations.

" + } + }, + "nextToken": { + "target": "com.amazonaws.redshiftserverless#PaginationToken", + "traits": { + "smithy.api#documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page.

", + "smithy.api#httpQuery": "nextToken" } }, - "namespaceArn": { - "target": "smithy.api#String", + "maxResults": { + "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

" + "smithy.api#default": null, + "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 100 + } } } }, @@ -2356,19 +2932,20 @@ "smithy.api#input": {} } }, - "com.amazonaws.redshiftserverless#ListRecoveryPointsResponse": { + "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurationsResponse": { "type": "structure", "members": { - "recoveryPoints": { - "target": "com.amazonaws.redshiftserverless#RecoveryPointList", + "nextToken": { + "target": "com.amazonaws.redshiftserverless#PaginationToken", "traits": { - "smithy.api#documentation": "

The returned recovery point objects.

" + "smithy.api#documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page.

" } }, - "nextToken": { - "target": "smithy.api#String", + "snapshotCopyConfigurations": { + "target": "com.amazonaws.redshiftserverless#SnapshotCopyConfigurations", "traits": { - "smithy.api#documentation": "

If nextToken is returned, there are more results available. \n The value of nextToken is a unique pagination token for each page. \n Make the call again using the returned token to retrieve the next page.

" + "smithy.api#documentation": "

All of the returned snapshot copy configurations.

", + "smithy.api#required": {} } } }, @@ -2771,6 +3348,12 @@ "max": 100 } } + }, + "ownerAccount": { + "target": "com.amazonaws.redshiftserverless#OwnerAccount", + "traits": { + "smithy.api#documentation": "

The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.

" + } } }, "traits": { @@ -3018,6 +3601,22 @@ "target": "com.amazonaws.redshiftserverless#NetworkInterface" } }, + "com.amazonaws.redshiftserverless#NextInvocationsList": { + "type": "list", + "member": { + "target": "smithy.api#Timestamp" + } + }, + "com.amazonaws.redshiftserverless#OwnerAccount": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 12 + }, + "smithy.api#pattern": "(\\d{12})" + } + }, "com.amazonaws.redshiftserverless#PaginationToken": { "type": "string", "traits": { @@ -3163,6 +3762,9 @@ }, { "target": "com.amazonaws.redshiftserverless#RestoreFromRecoveryPoint" + }, + { + "target": "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPoint" } ] }, @@ -3226,6 +3828,9 @@ { "target": "com.amazonaws.redshiftserverless#RecoveryPointResource" }, + { + "target": "com.amazonaws.redshiftserverless#ScheduledActionResource" + }, { "target": "com.amazonaws.redshiftserverless#SnapshotResource" }, @@ -4236,6 +4841,117 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPoint": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPointRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPointResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Restores a table from a recovery point to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.

" + } + }, + "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPointRequest": { + "type": "structure", + "members": { + "namespaceName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Namespace of the recovery point to restore from.

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

The workgroup to restore the table to.

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

The ID of the recovery point to restore the table from.

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

The name of the source database that contains the table being restored.

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

The name of the source schema that contains the table being restored.

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

The name of the source table being restored.

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

The name of the database to restore the table to.

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

The name of the schema to restore the table to.

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

The name of the table to create from the restore operation.

", + "smithy.api#required": {} + } + }, + "activateCaseSensitiveIdentifier": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#RestoreTableFromRecoveryPointResponse": { + "type": "structure", + "members": { + "tableRestoreStatus": { + "target": "com.amazonaws.redshiftserverless#TableRestoreStatus" + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#RestoreTableFromSnapshot": { "type": "operation", "input": { @@ -4286,68 +5002,195 @@ "smithy.api#required": {} } }, - "sourceDatabaseName": { - "target": "smithy.api#String", + "sourceDatabaseName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the source database that contains the table being restored.

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

The name of the source schema that contains the table being restored.

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

The name of the source table being restored.

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

The name of the database to restore the table to.

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

The name of the schema to restore the table to.

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

The name of the table to create from the restore operation.

", + "smithy.api#required": {} + } + }, + "activateCaseSensitiveIdentifier": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether name identifiers for database, schema, and table \n are case sensitive. If true, the names are case sensitive. If \n false, the names are not case sensitive. The default is false.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#RestoreTableFromSnapshotResponse": { + "type": "structure", + "members": { + "tableRestoreStatus": { + "target": "com.amazonaws.redshiftserverless#TableRestoreStatus", + "traits": { + "smithy.api#documentation": "

The TableRestoreStatus object that contains the status of the restore operation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.redshiftserverless#Schedule": { + "type": "union", + "members": { + "at": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is \"at(yyyy-mm-ddThh:mm:ss)\". For example, \"at(2016-03-04T17:27:00)\".

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

The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.

\n

Format of cron expressions is \"cron(Minutes Hours Day-of-month Month Day-of-week Year)\". For example, \"cron(0 10 ? * MON *)\". For more information, see \n Cron Expressions in the Amazon CloudWatch Events User Guide.

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

The schedule of when Amazon Redshift Serverless should run the scheduled action.

" + } + }, + "com.amazonaws.redshiftserverless#ScheduledActionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 60 + }, + "smithy.api#pattern": "^[a-z0-9-]+$" + } + }, + "com.amazonaws.redshiftserverless#ScheduledActionResource": { + "type": "resource", + "operations": [ + { + "target": "com.amazonaws.redshiftserverless#CreateScheduledAction" + }, + { + "target": "com.amazonaws.redshiftserverless#DeleteScheduledAction" + }, + { + "target": "com.amazonaws.redshiftserverless#GetScheduledAction" + }, + { + "target": "com.amazonaws.redshiftserverless#ListScheduledActions" + }, + { + "target": "com.amazonaws.redshiftserverless#UpdateScheduledAction" + } + ] + }, + "com.amazonaws.redshiftserverless#ScheduledActionResponse": { + "type": "structure", + "members": { + "scheduledActionName": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName", + "traits": { + "smithy.api#documentation": "

The name of the scheduled action.

" + } + }, + "schedule": { + "target": "com.amazonaws.redshiftserverless#Schedule", + "traits": { + "smithy.api#documentation": "

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

\n

Format of at expressions is \"at(yyyy-mm-ddThh:mm:ss)\". For example, \"at(2016-03-04T17:27:00)\".

\n

Format of cron expressions is \"cron(Minutes Hours Day-of-month Month Day-of-week Year)\". For example, \"cron(0 10 ? * MON *)\". For more information, see \n Cron Expressions in the Amazon CloudWatch Events User Guide.

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

The description of the scheduled action.

" + } + }, + "nextInvocations": { + "target": "com.amazonaws.redshiftserverless#NextInvocationsList", "traits": { - "smithy.api#documentation": "

The name of the source database that contains the table being restored.

", - "smithy.api#required": {} + "smithy.api#documentation": "

An array of timestamps of when the next scheduled actions will trigger.

" } }, - "sourceSchemaName": { - "target": "smithy.api#String", + "roleArn": { + "target": "com.amazonaws.redshiftserverless#IamRoleArn", "traits": { - "smithy.api#documentation": "

The name of the source schema that contains the table being restored.

" + "smithy.api#documentation": "

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for \n Amazon Redshift in the Amazon Redshift Cluster Management Guide

" } }, - "sourceTableName": { - "target": "smithy.api#String", + "state": { + "target": "com.amazonaws.redshiftserverless#State", "traits": { - "smithy.api#documentation": "

The name of the source table being restored.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The state of the scheduled action.

" } }, - "targetDatabaseName": { - "target": "smithy.api#String", + "startTime": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the database to restore the table to.

" + "smithy.api#documentation": "

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

" } }, - "targetSchemaName": { - "target": "smithy.api#String", + "endTime": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the schema to restore the table to.

" + "smithy.api#documentation": "

The end time of

" } }, - "newTableName": { - "target": "smithy.api#String", + "targetAction": { + "target": "com.amazonaws.redshiftserverless#TargetAction" + }, + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", "traits": { - "smithy.api#documentation": "

The name of the table to create from the restore operation.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

" } }, - "activateCaseSensitiveIdentifier": { - "target": "smithy.api#Boolean", + "scheduledActionUuid": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Indicates whether name identifiers for database, schema, and table \n are case sensitive. If true, the names are case sensitive. If \n false, the names are not case sensitive. The default is false.

" + "smithy.api#documentation": "

The uuid of the scheduled action.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The returned scheduled action object.

" } }, - "com.amazonaws.redshiftserverless#RestoreTableFromSnapshotResponse": { - "type": "structure", - "members": { - "tableRestoreStatus": { - "target": "com.amazonaws.redshiftserverless#TableRestoreStatus", - "traits": { - "smithy.api#documentation": "

The TableRestoreStatus object that contains the status of the restore operation.

" - } - } - }, - "traits": { - "smithy.api#output": {} + "com.amazonaws.redshiftserverless#ScheduledActionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName" } }, "com.amazonaws.redshiftserverless#SecurityGroupId": { @@ -4517,27 +5360,101 @@ "smithy.api#documentation": "

A snapshot object that contains databases.

" } }, + "com.amazonaws.redshiftserverless#SnapshotCopyConfiguration": { + "type": "structure", + "members": { + "snapshotCopyConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the snapshot copy configuration object.

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

The ARN of the snapshot copy configuration object.

" + } + }, + "namespaceName": { + "target": "com.amazonaws.redshiftserverless#NamespaceName", + "traits": { + "smithy.api#documentation": "

The name of the namespace to copy snapshots from in the source Amazon Web Services Region.

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

The destination Amazon Web Services Region to copy snapshots to.

" + } + }, + "snapshotRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The retention period of snapshots that are copied to the destination Amazon Web Services Region.

" + } + }, + "destinationKmsKeyId": { + "target": "com.amazonaws.redshiftserverless#KmsKeyId", + "traits": { + "smithy.api#documentation": "

The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.

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

The object that you configure to copy snapshots from one namespace to a namespace in another Amazon Web Services Region.

" + } + }, + "com.amazonaws.redshiftserverless#SnapshotCopyConfigurations": { + "type": "list", + "member": { + "target": "com.amazonaws.redshiftserverless#SnapshotCopyConfiguration" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.redshiftserverless#SnapshotList": { "type": "list", "member": { "target": "com.amazonaws.redshiftserverless#Snapshot" } }, + "com.amazonaws.redshiftserverless#SnapshotNamePrefix": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 235 + } + } + }, "com.amazonaws.redshiftserverless#SnapshotResource": { "type": "resource", "operations": [ { "target": "com.amazonaws.redshiftserverless#CreateSnapshot" }, + { + "target": "com.amazonaws.redshiftserverless#CreateSnapshotCopyConfiguration" + }, { "target": "com.amazonaws.redshiftserverless#DeleteSnapshot" }, + { + "target": "com.amazonaws.redshiftserverless#DeleteSnapshotCopyConfiguration" + }, { "target": "com.amazonaws.redshiftserverless#GetSnapshot" }, { "target": "com.amazonaws.redshiftserverless#GetTableRestoreStatus" }, + { + "target": "com.amazonaws.redshiftserverless#ListSnapshotCopyConfigurations" + }, { "target": "com.amazonaws.redshiftserverless#ListSnapshots" }, @@ -4552,6 +5469,9 @@ }, { "target": "com.amazonaws.redshiftserverless#UpdateSnapshot" + }, + { + "target": "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfiguration" } ] }, @@ -4586,6 +5506,21 @@ ] } }, + "com.amazonaws.redshiftserverless#State": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "ACTIVE", + "value": "ACTIVE" + }, + { + "name": "DISABLED", + "value": "DISABLED" + } + ] + } + }, "com.amazonaws.redshiftserverless#SubnetId": { "type": "string" }, @@ -4607,13 +5542,13 @@ "status": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

A value that describes the current state of the table restore request. \n Possible values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

" + "smithy.api#documentation": "

A value that describes the current state of the table restore request. \n Possible values are SUCCEEDED, FAILED, CANCELED, PENDING, and IN_PROGRESS.

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

A description of the status of the table restore request. \n Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

" + "smithy.api#documentation": "

A message that explains the returned status. For example, if the status of the operation is FAILED, the message explains why the operation failed.

" } }, "requestTime": { @@ -4687,6 +5622,12 @@ "traits": { "smithy.api#documentation": "

The name of the table to create from the restore operation.

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

The ID of the recovery point being restored from.

" + } } }, "traits": { @@ -4821,6 +5762,17 @@ } } }, + "com.amazonaws.redshiftserverless#TargetAction": { + "type": "union", + "members": { + "createSnapshot": { + "target": "com.amazonaws.redshiftserverless#CreateSnapshotScheduleActionParameters" + } + }, + "traits": { + "smithy.api#documentation": "

A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.

\n

\n \"{\"CreateSnapshot\": {\"NamespaceName\": \"sampleNamespace\",\"SnapshotName\": \"sampleSnapshot\", \"retentionPeriod\": \"1\"}}\"\n

" + } + }, "com.amazonaws.redshiftserverless#ThrottlingException": { "type": "structure", "members": { @@ -5174,6 +6126,101 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshiftserverless#UpdateScheduledAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#UpdateScheduledActionRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#UpdateScheduledActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a scheduled action.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.redshiftserverless#UpdateScheduledActionRequest": { + "type": "structure", + "members": { + "scheduledActionName": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionName", + "traits": { + "smithy.api#documentation": "

The name of the scheduled action to update to.

", + "smithy.api#required": {} + } + }, + "targetAction": { + "target": "com.amazonaws.redshiftserverless#TargetAction" + }, + "schedule": { + "target": "com.amazonaws.redshiftserverless#Schedule", + "traits": { + "smithy.api#documentation": "

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

\n

Format of at expressions is \"at(yyyy-mm-ddThh:mm:ss)\". For example, \"at(2016-03-04T17:27:00)\".

\n

Format of cron expressions is \"cron(Minutes Hours Day-of-month Month Day-of-week Year)\". For example, \"cron(0 10 ? * MON *)\". For more information, see \n Cron Expressions in the Amazon CloudWatch Events User Guide.

" + } + }, + "roleArn": { + "target": "com.amazonaws.redshiftserverless#IamRoleArn", + "traits": { + "smithy.api#documentation": "

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. \n This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. \n For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for \n Amazon Redshift in the Amazon Redshift Cluster Management Guide

" + } + }, + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to enable the scheduled action.

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

The descripion of the scheduled action to update to.

" + } + }, + "startTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The start time in UTC of the scheduled action to update to.

" + } + }, + "endTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The end time in UTC of the scheduled action to update.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#UpdateScheduledActionResponse": { + "type": "structure", + "members": { + "scheduledAction": { + "target": "com.amazonaws.redshiftserverless#ScheduledActionResponse", + "traits": { + "smithy.api#documentation": "

The ScheduledAction object that was updated.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#UpdateSnapshot": { "type": "operation", "input": { @@ -5200,6 +6247,71 @@ "smithy.api#documentation": "

Updates a snapshot.

" } }, + "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.redshiftserverless#AccessDeniedException" + }, + { + "target": "com.amazonaws.redshiftserverless#ConflictException" + }, + { + "target": "com.amazonaws.redshiftserverless#InternalServerException" + }, + { + "target": "com.amazonaws.redshiftserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.redshiftserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a snapshot copy configuration.

" + } + }, + "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfigurationRequest": { + "type": "structure", + "members": { + "snapshotCopyConfigurationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the snapshot copy configuration to update.

", + "smithy.api#required": {} + } + }, + "snapshotRetentionPeriod": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.redshiftserverless#UpdateSnapshotCopyConfigurationResponse": { + "type": "structure", + "members": { + "snapshotCopyConfiguration": { + "target": "com.amazonaws.redshiftserverless#SnapshotCopyConfiguration", + "traits": { + "smithy.api#documentation": "

The updated snapshot copy configuration object.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.redshiftserverless#UpdateSnapshotRequest": { "type": "structure", "members": { @@ -5356,7 +6468,7 @@ "configParameters": { "target": "com.amazonaws.redshiftserverless#ConfigParameterList", "traits": { - "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitivity_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n \n Query monitoring metrics for Amazon Redshift Serverless.

" + "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n \n Query monitoring metrics for Amazon Redshift Serverless.

" } }, "publiclyAccessible": { @@ -5592,6 +6704,12 @@ "target": "com.amazonaws.redshiftserverless#VpcEndpoint" } }, + "com.amazonaws.redshiftserverless#VpcIds": { + "type": "list", + "member": { + "target": "smithy.api#String" + } + }, "com.amazonaws.redshiftserverless#VpcSecurityGroupId": { "type": "string" }, @@ -5669,7 +6787,7 @@ "configParameters": { "target": "com.amazonaws.redshiftserverless#ConfigParameterList", "traits": { - "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitivity_identifier, enable_user_activity_logging,\n query_group, , search_path, and query monitoring metrics that let you define performance boundaries. \n For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.

" + "smithy.api#documentation": "

An array of parameters to set for advanced control over a database. The\n options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging,\n query_group, search_path, and query monitoring metrics that let you define performance boundaries. \n For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.

" } }, "securityGroupIds": { @@ -5751,6 +6869,12 @@ "traits": { "smithy.api#documentation": "

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" } + }, + "crossAccountVpcs": { + "target": "com.amazonaws.redshiftserverless#VpcIds", + "traits": { + "smithy.api#documentation": "

A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.

" + } } }, "traits": {