@aws-sdk/client-pricing-plan-manager 3.1099.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +244 -0
- package/dist-cjs/index.js +729 -0
- package/dist-es/PricingPlanManager.js +29 -0
- package/dist-es/PricingPlanManagerClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/ApprovePaidSubscriptionCommand.js +4 -0
- package/dist-es/commands/AssociateResourcesToSubscriptionCommand.js +4 -0
- package/dist-es/commands/CancelSubscriptionChangeCommand.js +4 -0
- package/dist-es/commands/CancelSubscriptionCommand.js +4 -0
- package/dist-es/commands/CreateSubscriptionCommand.js +4 -0
- package/dist-es/commands/DisassociateResourcesFromSubscriptionCommand.js +4 -0
- package/dist-es/commands/GetSubscriptionCommand.js +4 -0
- package/dist-es/commands/ListSubscriptionsCommand.js +4 -0
- package/dist-es/commands/UpdateSubscriptionCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/EndpointParameters.js +9 -0
- package/dist-es/endpoint/bdd.js +19 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/PricingPlanManagerServiceException.js +8 -0
- package/dist-es/models/enums.js +14 -0
- package/dist-es/models/errors.js +91 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +258 -0
- package/dist-types/PricingPlanManager.d.ts +81 -0
- package/dist-types/PricingPlanManagerClient.d.ts +195 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/ApprovePaidSubscriptionCommand.d.ts +138 -0
- package/dist-types/commands/AssociateResourcesToSubscriptionCommand.d.ts +145 -0
- package/dist-types/commands/CancelSubscriptionChangeCommand.d.ts +138 -0
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +142 -0
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +184 -0
- package/dist-types/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +144 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +132 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +135 -0
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +144 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PricingPlanManagerServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/errors.d.ts +101 -0
- package/dist-types/models/models_0.d.ts +474 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +46 -0
- package/dist-types/ts3.4/PricingPlanManager.d.ts +172 -0
- package/dist-types/ts3.4/PricingPlanManagerClient.d.ts +157 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/ApprovePaidSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/AssociateResourcesToSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelSubscriptionChangeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/PricingPlanManagerServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/errors.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
- package/package.json +69 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateSubscriptionInput, UpdateSubscriptionOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateSubscriptionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateSubscriptionCommandInput extends UpdateSubscriptionInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateSubscriptionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateSubscriptionCommand_base: {
|
|
22
|
+
new (input: UpdateSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput, import("..").PricingPlanManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput, import("..").PricingPlanManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Changes the plan tier of an existing subscription.</p> <note> <p>Upgrades take effect immediately. Downgrades are scheduled and the current tier remains unchanged until the end of the billing cycle (calendar month). You cannot update a subscription while a scheduled change is pending. To make a new change, first cancel the pending change using <code>CancelSubscriptionChange</code>.</p> <p>This operation replaces the plan tier value. If you omit the optional <code>usageLevel</code> field, it is reset to the default.</p> </note>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PricingPlanManagerClient, UpdateSubscriptionCommand } from "@aws-sdk/client-pricing-plan-manager"; // ES Modules import
|
|
32
|
+
* // const { PricingPlanManagerClient, UpdateSubscriptionCommand } = require("@aws-sdk/client-pricing-plan-manager"); // CommonJS import
|
|
33
|
+
* // import type { PricingPlanManagerClientConfig } from "@aws-sdk/client-pricing-plan-manager";
|
|
34
|
+
* const config = {}; // type is PricingPlanManagerClientConfig
|
|
35
|
+
* const client = new PricingPlanManagerClient(config);
|
|
36
|
+
* const input = { // UpdateSubscriptionInput
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* planTier: "STRING_VALUE", // required
|
|
39
|
+
* usageLevel: "STRING_VALUE",
|
|
40
|
+
* ifMatch: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateSubscriptionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateSubscriptionOutput
|
|
46
|
+
* // subscription: { // Subscription
|
|
47
|
+
* // arn: "STRING_VALUE", // required
|
|
48
|
+
* // planFamily: "STRING_VALUE", // required
|
|
49
|
+
* // planTier: "STRING_VALUE", // required
|
|
50
|
+
* // usageLevel: "STRING_VALUE",
|
|
51
|
+
* // scheduledChange: { // ScheduledChange
|
|
52
|
+
* // changeType: "DOWNGRADE" || "CANCELLATION", // required
|
|
53
|
+
* // effectiveDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // planTier: "STRING_VALUE",
|
|
55
|
+
* // usageLevel: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // status: "PENDING_APPROVAL" || "ACTIVE" || "SYNC_IN_PROGRESS" || "FAILED", // required
|
|
58
|
+
* // statusReason: "STRING_VALUE",
|
|
59
|
+
* // resourceArns: [ // ResourceArns // required
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // eTag: "STRING_VALUE", // required
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param UpdateSubscriptionCommandInput - {@link UpdateSubscriptionCommandInput}
|
|
71
|
+
* @returns {@link UpdateSubscriptionCommandOutput}
|
|
72
|
+
* @see {@link UpdateSubscriptionCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link UpdateSubscriptionCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link PricingPlanManagerClientResolvedConfig | config} for PricingPlanManagerClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have the required permissions to perform this operation. Verify that your IAM policy grants access to this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConflictException} (client fault)
|
|
80
|
+
* <p>The request conflicts with the current state of the resource. This typically occurs when the <code>ETag</code> value in the <code>If-Match</code> header does not match the current version of the subscription. Retrieve the latest version and retry.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An unexpected error occurred on the server. Retry the request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>The specified subscription was not found. Verify that the ARN is correct and that the subscription belongs to your account.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
89
|
+
* <p>The request would exceed a service limit. You have reached the maximum number of subscriptions allowed for your account.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The request rate exceeds the allowed limit. Wait briefly and retry the request.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The request failed a business rule validation. For example, the specified resource might already be associated with another subscription, or the subscription might not be in the required state for this operation.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link PricingPlanManagerServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from PricingPlanManager service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @example Update a subscription plan tier
|
|
102
|
+
* ```javascript
|
|
103
|
+
* //
|
|
104
|
+
* const input = {
|
|
105
|
+
* arn: "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890",
|
|
106
|
+
* ifMatch: "1",
|
|
107
|
+
* planTier: "BUSINESS"
|
|
108
|
+
* };
|
|
109
|
+
* const command = new UpdateSubscriptionCommand(input);
|
|
110
|
+
* const response = await client.send(command);
|
|
111
|
+
* /* response is
|
|
112
|
+
* {
|
|
113
|
+
* eTag: "2",
|
|
114
|
+
* subscription: {
|
|
115
|
+
* arn: "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890",
|
|
116
|
+
* createdAt: "2025-01-15T10:30:00Z",
|
|
117
|
+
* planFamily: "CloudFront",
|
|
118
|
+
* planTier: "BUSINESS",
|
|
119
|
+
* resourceArns: [
|
|
120
|
+
* "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE",
|
|
121
|
+
* "arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4"
|
|
122
|
+
* ],
|
|
123
|
+
* status: "SYNC_IN_PROGRESS",
|
|
124
|
+
* updatedAt: "2025-01-16T08:00:00Z"
|
|
125
|
+
* }
|
|
126
|
+
* }
|
|
127
|
+
* *\/
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class UpdateSubscriptionCommand extends UpdateSubscriptionCommand_base {
|
|
133
|
+
/** @internal type navigation helper, not in runtime. */
|
|
134
|
+
protected static __types: {
|
|
135
|
+
api: {
|
|
136
|
+
input: UpdateSubscriptionInput;
|
|
137
|
+
output: UpdateSubscriptionOutput;
|
|
138
|
+
};
|
|
139
|
+
sdk: {
|
|
140
|
+
input: UpdateSubscriptionCommandInput;
|
|
141
|
+
output: UpdateSubscriptionCommandOutput;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./ApprovePaidSubscriptionCommand";
|
|
2
|
+
export * from "./AssociateResourcesToSubscriptionCommand";
|
|
3
|
+
export * from "./CancelSubscriptionChangeCommand";
|
|
4
|
+
export * from "./CancelSubscriptionCommand";
|
|
5
|
+
export * from "./CreateSubscriptionCommand";
|
|
6
|
+
export * from "./DisassociateResourcesFromSubscriptionCommand";
|
|
7
|
+
export * from "./GetSubscriptionCommand";
|
|
8
|
+
export * from "./ListSubscriptionsCommand";
|
|
9
|
+
export * from "./UpdateSubscriptionCommand";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const commonParams: {
|
|
23
|
+
readonly Endpoint: {
|
|
24
|
+
readonly type: "builtInParams";
|
|
25
|
+
readonly name: "endpoint";
|
|
26
|
+
};
|
|
27
|
+
readonly Region: {
|
|
28
|
+
readonly type: "builtInParams";
|
|
29
|
+
readonly name: "region";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
Endpoint?: string | undefined;
|
|
37
|
+
Region: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface PricingPlanManagerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Manages flat-rate pricing subscriptions for supported AWS services. Use this API to create, approve, update, and cancel subscriptions; associate and disassociate resources; and retrieve subscription details. With a flat-rate pricing subscription, you pay a fixed recurring fee for eligible resources instead of usage-based pricing.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./PricingPlanManagerClient";
|
|
7
|
+
export * from "./PricingPlanManager";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { PricingPlanManagerExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
+
export * from "./schemas/schemas_0";
|
|
14
|
+
export * from "./pagination";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export * from "./models/models_0";
|
|
18
|
+
export { PricingPlanManagerServiceException } from "./models/PricingPlanManagerServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from PricingPlanManager service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PricingPlanManagerServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ApprovalMode: {
|
|
6
|
+
readonly IMMEDIATE: "IMMEDIATE";
|
|
7
|
+
readonly MANUAL: "MANUAL";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ApprovalMode = (typeof ApprovalMode)[keyof typeof ApprovalMode];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const ScheduledChangeType: {
|
|
18
|
+
readonly CANCELLATION: "CANCELLATION";
|
|
19
|
+
readonly DOWNGRADE: "DOWNGRADE";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type ScheduledChangeType = (typeof ScheduledChangeType)[keyof typeof ScheduledChangeType];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const Status: {
|
|
30
|
+
readonly ACTIVE: "ACTIVE";
|
|
31
|
+
readonly FAILED: "FAILED";
|
|
32
|
+
readonly PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
33
|
+
readonly SYNC_IN_PROGRESS: "SYNC_IN_PROGRESS";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { PricingPlanManagerServiceException as __BaseException } from "./PricingPlanManagerServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have the required permissions to perform this operation. Verify that your IAM policy grants access to this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request conflicts with the current state of the resource. This typically occurs when the <code>ETag</code> value in the <code>If-Match</code> header does not match the current version of the subscription. Retrieve the latest version and retry.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* <p>The identifier of the resource that has a conflicting state.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
resourceId: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* <p>An unexpected error occurred on the server. Retry the request.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class InternalServerException extends __BaseException {
|
|
37
|
+
readonly name: "InternalServerException";
|
|
38
|
+
readonly $fault: "server";
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>The specified subscription was not found. Verify that the ARN is correct and that the subscription belongs to your account.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
readonly name: "ResourceNotFoundException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
/**
|
|
52
|
+
* <p>The identifier of the resource that was not found.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
resourceId: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>The request rate exceeds the allowed limit. Wait briefly and retry the request.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ThrottlingException extends __BaseException {
|
|
66
|
+
readonly name: "ThrottlingException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>The request failed a business rule validation. For example, the specified resource might already be associated with another subscription, or the subscription might not be in the required state for this operation.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ValidationException extends __BaseException {
|
|
78
|
+
readonly name: "ValidationException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
/**
|
|
81
|
+
* <p>The identifier of the resource that failed validation.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
resourceId?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>The request would exceed a service limit. You have reached the maximum number of subscriptions allowed for your account.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
95
|
+
readonly name: "ServiceQuotaExceededException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
101
|
+
}
|