@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.
Files changed (103) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +244 -0
  3. package/dist-cjs/index.js +729 -0
  4. package/dist-es/PricingPlanManager.js +29 -0
  5. package/dist-es/PricingPlanManagerClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/ApprovePaidSubscriptionCommand.js +4 -0
  10. package/dist-es/commands/AssociateResourcesToSubscriptionCommand.js +4 -0
  11. package/dist-es/commands/CancelSubscriptionChangeCommand.js +4 -0
  12. package/dist-es/commands/CancelSubscriptionCommand.js +4 -0
  13. package/dist-es/commands/CreateSubscriptionCommand.js +4 -0
  14. package/dist-es/commands/DisassociateResourcesFromSubscriptionCommand.js +4 -0
  15. package/dist-es/commands/GetSubscriptionCommand.js +4 -0
  16. package/dist-es/commands/ListSubscriptionsCommand.js +4 -0
  17. package/dist-es/commands/UpdateSubscriptionCommand.js +4 -0
  18. package/dist-es/commands/index.js +9 -0
  19. package/dist-es/endpoint/EndpointParameters.js +9 -0
  20. package/dist-es/endpoint/bdd.js +19 -0
  21. package/dist-es/endpoint/endpointResolver.js +14 -0
  22. package/dist-es/extensionConfiguration.js +1 -0
  23. package/dist-es/index.js +10 -0
  24. package/dist-es/models/PricingPlanManagerServiceException.js +8 -0
  25. package/dist-es/models/enums.js +14 -0
  26. package/dist-es/models/errors.js +91 -0
  27. package/dist-es/models/models_0.js +1 -0
  28. package/dist-es/pagination/Interfaces.js +1 -0
  29. package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/runtimeConfig.browser.js +29 -0
  32. package/dist-es/runtimeConfig.js +43 -0
  33. package/dist-es/runtimeConfig.native.js +9 -0
  34. package/dist-es/runtimeConfig.shared.js +40 -0
  35. package/dist-es/runtimeExtensions.js +9 -0
  36. package/dist-es/schemas/schemas_0.js +258 -0
  37. package/dist-types/PricingPlanManager.d.ts +81 -0
  38. package/dist-types/PricingPlanManagerClient.d.ts +195 -0
  39. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  40. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/ApprovePaidSubscriptionCommand.d.ts +138 -0
  43. package/dist-types/commands/AssociateResourcesToSubscriptionCommand.d.ts +145 -0
  44. package/dist-types/commands/CancelSubscriptionChangeCommand.d.ts +138 -0
  45. package/dist-types/commands/CancelSubscriptionCommand.d.ts +142 -0
  46. package/dist-types/commands/CreateSubscriptionCommand.d.ts +184 -0
  47. package/dist-types/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +144 -0
  48. package/dist-types/commands/GetSubscriptionCommand.d.ts +132 -0
  49. package/dist-types/commands/ListSubscriptionsCommand.d.ts +135 -0
  50. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +144 -0
  51. package/dist-types/commands/index.d.ts +9 -0
  52. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  53. package/dist-types/endpoint/bdd.d.ts +2 -0
  54. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  55. package/dist-types/extensionConfiguration.d.ts +9 -0
  56. package/dist-types/index.d.ts +18 -0
  57. package/dist-types/models/PricingPlanManagerServiceException.d.ts +14 -0
  58. package/dist-types/models/enums.d.ts +38 -0
  59. package/dist-types/models/errors.d.ts +101 -0
  60. package/dist-types/models/models_0.d.ts +474 -0
  61. package/dist-types/pagination/Interfaces.d.ts +8 -0
  62. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  65. package/dist-types/runtimeConfig.d.ts +57 -0
  66. package/dist-types/runtimeConfig.native.d.ts +56 -0
  67. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  68. package/dist-types/runtimeExtensions.d.ts +17 -0
  69. package/dist-types/schemas/schemas_0.d.ts +46 -0
  70. package/dist-types/ts3.4/PricingPlanManager.d.ts +172 -0
  71. package/dist-types/ts3.4/PricingPlanManagerClient.d.ts +157 -0
  72. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  73. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  75. package/dist-types/ts3.4/commands/ApprovePaidSubscriptionCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/AssociateResourcesToSubscriptionCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/CancelSubscriptionChangeCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +39 -0
  79. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +39 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
  86. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  87. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  88. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  89. package/dist-types/ts3.4/index.d.ts +13 -0
  90. package/dist-types/ts3.4/models/PricingPlanManagerServiceException.d.ts +9 -0
  91. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  92. package/dist-types/ts3.4/models/errors.d.ts +40 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +116 -0
  94. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  95. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  101. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  102. package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
  103. package/package.json +69 -0
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CancelSubscriptionInput, CancelSubscriptionOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CancelSubscriptionCommandInput extends CancelSubscriptionInput {}
5
+ export interface CancelSubscriptionCommandOutput
6
+ extends CancelSubscriptionOutput, __MetadataBearer {}
7
+ declare const CancelSubscriptionCommand_base: {
8
+ new (
9
+ input: CancelSubscriptionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CancelSubscriptionCommandInput,
12
+ CancelSubscriptionCommandOutput,
13
+ import("..").PricingPlanManagerClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CancelSubscriptionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CancelSubscriptionCommandInput,
21
+ CancelSubscriptionCommandOutput,
22
+ import("..").PricingPlanManagerClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CancelSubscriptionCommand extends CancelSubscriptionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CancelSubscriptionInput;
32
+ output: CancelSubscriptionOutput;
33
+ };
34
+ sdk: {
35
+ input: CancelSubscriptionCommandInput;
36
+ output: CancelSubscriptionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateSubscriptionInput, CreateSubscriptionOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateSubscriptionCommandInput extends CreateSubscriptionInput {}
5
+ export interface CreateSubscriptionCommandOutput
6
+ extends CreateSubscriptionOutput, __MetadataBearer {}
7
+ declare const CreateSubscriptionCommand_base: {
8
+ new (
9
+ input: CreateSubscriptionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateSubscriptionCommandInput,
12
+ CreateSubscriptionCommandOutput,
13
+ import("..").PricingPlanManagerClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateSubscriptionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateSubscriptionCommandInput,
21
+ CreateSubscriptionCommandOutput,
22
+ import("..").PricingPlanManagerClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateSubscriptionCommand extends CreateSubscriptionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateSubscriptionInput;
32
+ output: CreateSubscriptionOutput;
33
+ };
34
+ sdk: {
35
+ input: CreateSubscriptionCommandInput;
36
+ output: CreateSubscriptionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ DisassociateResourcesFromSubscriptionInput,
4
+ DisassociateResourcesFromSubscriptionOutput,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface DisassociateResourcesFromSubscriptionCommandInput extends DisassociateResourcesFromSubscriptionInput {}
8
+ export interface DisassociateResourcesFromSubscriptionCommandOutput
9
+ extends DisassociateResourcesFromSubscriptionOutput, __MetadataBearer {}
10
+ declare const DisassociateResourcesFromSubscriptionCommand_base: {
11
+ new (
12
+ input: DisassociateResourcesFromSubscriptionCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ DisassociateResourcesFromSubscriptionCommandInput,
15
+ DisassociateResourcesFromSubscriptionCommandOutput,
16
+ import("..").PricingPlanManagerClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: DisassociateResourcesFromSubscriptionCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DisassociateResourcesFromSubscriptionCommandInput,
24
+ DisassociateResourcesFromSubscriptionCommandOutput,
25
+ import("..").PricingPlanManagerClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class DisassociateResourcesFromSubscriptionCommand extends DisassociateResourcesFromSubscriptionCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: DisassociateResourcesFromSubscriptionInput;
35
+ output: DisassociateResourcesFromSubscriptionOutput;
36
+ };
37
+ sdk: {
38
+ input: DisassociateResourcesFromSubscriptionCommandInput;
39
+ output: DisassociateResourcesFromSubscriptionCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetSubscriptionInput, GetSubscriptionOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetSubscriptionCommandInput extends GetSubscriptionInput {}
5
+ export interface GetSubscriptionCommandOutput extends GetSubscriptionOutput, __MetadataBearer {}
6
+ declare const GetSubscriptionCommand_base: {
7
+ new (
8
+ input: GetSubscriptionCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetSubscriptionCommandInput,
11
+ GetSubscriptionCommandOutput,
12
+ import("..").PricingPlanManagerClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetSubscriptionCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetSubscriptionCommandInput,
20
+ GetSubscriptionCommandOutput,
21
+ import("..").PricingPlanManagerClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetSubscriptionCommand extends GetSubscriptionCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetSubscriptionInput;
31
+ output: GetSubscriptionOutput;
32
+ };
33
+ sdk: {
34
+ input: GetSubscriptionCommandInput;
35
+ output: GetSubscriptionCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListSubscriptionsInput, ListSubscriptionsOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListSubscriptionsCommandInput extends ListSubscriptionsInput {}
5
+ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsOutput, __MetadataBearer {}
6
+ declare const ListSubscriptionsCommand_base: {
7
+ new (
8
+ input: ListSubscriptionsCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ListSubscriptionsCommandInput,
11
+ ListSubscriptionsCommandOutput,
12
+ import("..").PricingPlanManagerClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ ...[input]: [] | [ListSubscriptionsCommandInput]
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListSubscriptionsCommandInput,
20
+ ListSubscriptionsCommandOutput,
21
+ import("..").PricingPlanManagerClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ListSubscriptionsCommand extends ListSubscriptionsCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ListSubscriptionsInput;
31
+ output: ListSubscriptionsOutput;
32
+ };
33
+ sdk: {
34
+ input: ListSubscriptionsCommandInput;
35
+ output: ListSubscriptionsCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateSubscriptionInput, UpdateSubscriptionOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateSubscriptionCommandInput extends UpdateSubscriptionInput {}
5
+ export interface UpdateSubscriptionCommandOutput
6
+ extends UpdateSubscriptionOutput, __MetadataBearer {}
7
+ declare const UpdateSubscriptionCommand_base: {
8
+ new (
9
+ input: UpdateSubscriptionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateSubscriptionCommandInput,
12
+ UpdateSubscriptionCommandOutput,
13
+ import("..").PricingPlanManagerClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: UpdateSubscriptionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateSubscriptionCommandInput,
21
+ UpdateSubscriptionCommandOutput,
22
+ import("..").PricingPlanManagerClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateSubscriptionCommand extends UpdateSubscriptionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateSubscriptionInput;
32
+ output: UpdateSubscriptionOutput;
33
+ };
34
+ sdk: {
35
+ input: UpdateSubscriptionCommandInput;
36
+ output: UpdateSubscriptionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -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,39 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ endpoint?:
9
+ | string
10
+ | Provider<string>
11
+ | Endpoint
12
+ | Provider<Endpoint>
13
+ | EndpointV2
14
+ | Provider<EndpointV2>;
15
+ region?: string | undefined | Provider<string | undefined>;
16
+ }
17
+ export type ClientResolvedEndpointParameters = Pick<
18
+ ClientInputEndpointParameters,
19
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
20
+ > & {
21
+ defaultSigningName: string;
22
+ };
23
+ export declare const resolveClientEndpointParameters: <T>(
24
+ options: T & ClientInputEndpointParameters,
25
+ ) => T & ClientResolvedEndpointParameters;
26
+ export declare const commonParams: {
27
+ readonly Endpoint: {
28
+ readonly type: "builtInParams";
29
+ readonly name: "endpoint";
30
+ };
31
+ readonly Region: {
32
+ readonly type: "builtInParams";
33
+ readonly name: "region";
34
+ };
35
+ };
36
+ export interface EndpointParameters extends __EndpointParameters {
37
+ Endpoint?: string | undefined;
38
+ Region: string;
39
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ },
8
+ ) => EndpointV2;
@@ -0,0 +1,10 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface PricingPlanManagerExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,13 @@
1
+ export * from "./PricingPlanManagerClient";
2
+ export * from "./PricingPlanManager";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { PricingPlanManagerExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
8
+ export * from "./schemas/schemas_0";
9
+ export * from "./pagination";
10
+ export * from "./models/enums";
11
+ export * from "./models/errors";
12
+ export * from "./models/models_0";
13
+ export { PricingPlanManagerServiceException } from "./models/PricingPlanManagerServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class PricingPlanManagerServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1,17 @@
1
+ export declare const ApprovalMode: {
2
+ readonly IMMEDIATE: "IMMEDIATE";
3
+ readonly MANUAL: "MANUAL";
4
+ };
5
+ export type ApprovalMode = (typeof ApprovalMode)[keyof typeof ApprovalMode];
6
+ export declare const ScheduledChangeType: {
7
+ readonly CANCELLATION: "CANCELLATION";
8
+ readonly DOWNGRADE: "DOWNGRADE";
9
+ };
10
+ export type ScheduledChangeType = (typeof ScheduledChangeType)[keyof typeof ScheduledChangeType];
11
+ export declare const Status: {
12
+ readonly ACTIVE: "ACTIVE";
13
+ readonly FAILED: "FAILED";
14
+ readonly PENDING_APPROVAL: "PENDING_APPROVAL";
15
+ readonly SYNC_IN_PROGRESS: "SYNC_IN_PROGRESS";
16
+ };
17
+ export type Status = (typeof Status)[keyof typeof Status];
@@ -0,0 +1,40 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { PricingPlanManagerServiceException as __BaseException } from "./PricingPlanManagerServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
+ }
8
+ export declare class ConflictException extends __BaseException {
9
+ readonly name: "ConflictException";
10
+ readonly $fault: "client";
11
+ resourceId: string | undefined;
12
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
13
+ }
14
+ export declare class InternalServerException extends __BaseException {
15
+ readonly name: "InternalServerException";
16
+ readonly $fault: "server";
17
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
18
+ }
19
+ export declare class ResourceNotFoundException extends __BaseException {
20
+ readonly name: "ResourceNotFoundException";
21
+ readonly $fault: "client";
22
+ resourceId: string | undefined;
23
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
24
+ }
25
+ export declare class ThrottlingException extends __BaseException {
26
+ readonly name: "ThrottlingException";
27
+ readonly $fault: "client";
28
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
29
+ }
30
+ export declare class ValidationException extends __BaseException {
31
+ readonly name: "ValidationException";
32
+ readonly $fault: "client";
33
+ resourceId?: string | undefined;
34
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
35
+ }
36
+ export declare class ServiceQuotaExceededException extends __BaseException {
37
+ readonly name: "ServiceQuotaExceededException";
38
+ readonly $fault: "client";
39
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
40
+ }
@@ -0,0 +1,116 @@
1
+ import { ApprovalMode, ScheduledChangeType, Status } from "./enums";
2
+ export interface ApprovePaidSubscriptionInput {
3
+ arn: string | undefined;
4
+ ifMatch: string | undefined;
5
+ clientToken?: string | undefined;
6
+ }
7
+ export interface ScheduledChange {
8
+ changeType: ScheduledChangeType | undefined;
9
+ effectiveDate?: Date | undefined;
10
+ planTier?: string | undefined;
11
+ usageLevel?: string | undefined;
12
+ }
13
+ export interface Subscription {
14
+ arn: string | undefined;
15
+ planFamily: string | undefined;
16
+ planTier: string | undefined;
17
+ usageLevel?: string | undefined;
18
+ scheduledChange?: ScheduledChange | undefined;
19
+ status: Status | undefined;
20
+ statusReason?: string | undefined;
21
+ resourceArns: string[] | undefined;
22
+ createdAt: Date | undefined;
23
+ updatedAt: Date | undefined;
24
+ }
25
+ export interface ApprovePaidSubscriptionOutput {
26
+ subscription: Subscription | undefined;
27
+ eTag: string | undefined;
28
+ }
29
+ export interface AssociateResourcesToSubscriptionInput {
30
+ arn: string | undefined;
31
+ resourceArns: string[] | undefined;
32
+ ifMatch: string | undefined;
33
+ clientToken?: string | undefined;
34
+ }
35
+ export interface AssociateResourcesToSubscriptionOutput {
36
+ subscription: Subscription | undefined;
37
+ eTag: string | undefined;
38
+ }
39
+ export interface CancelSubscriptionInput {
40
+ arn: string | undefined;
41
+ ifMatch: string | undefined;
42
+ clientToken?: string | undefined;
43
+ }
44
+ export interface CancelSubscriptionOutput {
45
+ subscription: Subscription | undefined;
46
+ eTag: string | undefined;
47
+ }
48
+ export interface CancelSubscriptionChangeInput {
49
+ arn: string | undefined;
50
+ ifMatch: string | undefined;
51
+ clientToken?: string | undefined;
52
+ }
53
+ export interface CancelSubscriptionChangeOutput {
54
+ subscription: Subscription | undefined;
55
+ eTag: string | undefined;
56
+ }
57
+ export interface CreateSubscriptionInput {
58
+ planFamily: string | undefined;
59
+ planTier: string | undefined;
60
+ usageLevel?: string | undefined;
61
+ resourceArns: string[] | undefined;
62
+ approvalMode?: ApprovalMode | undefined;
63
+ clientToken?: string | undefined;
64
+ }
65
+ export interface CreateSubscriptionOutput {
66
+ subscription: Subscription | undefined;
67
+ eTag: string | undefined;
68
+ }
69
+ export interface DisassociateResourcesFromSubscriptionInput {
70
+ arn: string | undefined;
71
+ resourceArns: string[] | undefined;
72
+ ifMatch: string | undefined;
73
+ clientToken?: string | undefined;
74
+ }
75
+ export interface DisassociateResourcesFromSubscriptionOutput {
76
+ subscription: Subscription | undefined;
77
+ eTag: string | undefined;
78
+ }
79
+ export interface GetSubscriptionInput {
80
+ arn: string | undefined;
81
+ }
82
+ export interface GetSubscriptionOutput {
83
+ subscription: Subscription | undefined;
84
+ eTag: string | undefined;
85
+ }
86
+ export interface ListSubscriptionsInput {
87
+ nextToken?: string | undefined;
88
+ }
89
+ export interface SubscriptionSummary {
90
+ arn: string | undefined;
91
+ planFamily: string | undefined;
92
+ planTier: string | undefined;
93
+ usageLevel?: string | undefined;
94
+ scheduledChange?: ScheduledChange | undefined;
95
+ status: Status | undefined;
96
+ statusReason?: string | undefined;
97
+ resourceArns: string[] | undefined;
98
+ createdAt: Date | undefined;
99
+ updatedAt: Date | undefined;
100
+ eTag: string | undefined;
101
+ }
102
+ export interface ListSubscriptionsOutput {
103
+ subscriptionSummaries: SubscriptionSummary[] | undefined;
104
+ nextToken?: string | undefined;
105
+ }
106
+ export interface UpdateSubscriptionInput {
107
+ arn: string | undefined;
108
+ planTier: string | undefined;
109
+ usageLevel?: string | undefined;
110
+ ifMatch: string | undefined;
111
+ clientToken?: string | undefined;
112
+ }
113
+ export interface UpdateSubscriptionOutput {
114
+ subscription: Subscription | undefined;
115
+ eTag: string | undefined;
116
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { PricingPlanManagerClient } from "../PricingPlanManagerClient";
3
+ export interface PricingPlanManagerPaginationConfiguration extends PaginationConfiguration {
4
+ client: PricingPlanManagerClient;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSubscriptionsCommandInput,
4
+ ListSubscriptionsCommandOutput,
5
+ } from "../commands/ListSubscriptionsCommand";
6
+ import { PricingPlanManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSubscriptions: (
8
+ config: PricingPlanManagerPaginationConfiguration,
9
+ input: ListSubscriptionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSubscriptionsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListSubscriptionsPaginator";
@@ -0,0 +1,95 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { PricingPlanManagerClientConfig } from "./PricingPlanManagerClient";
3
+ export declare const getRuntimeConfig: (config: PricingPlanManagerClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
14
+ ) => Promise<import("@smithy/types").UserAgent>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ streamCollector: (
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
21
+ ) => Promise<Uint8Array>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ cacheMiddleware?: boolean | undefined;
27
+ protocol:
28
+ | import("@smithy/types").ClientProtocol<any, any>
29
+ | import("@smithy/types").ClientProtocolCtor<any, any>
30
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
31
+ protocolSettings: {
32
+ defaultNamespace?: string;
33
+ [setting: string]: unknown;
34
+ };
35
+ apiVersion: string;
36
+ sha256: import("@smithy/types").HashConstructor;
37
+ urlParser: import("@smithy/types").UrlParser;
38
+ base64Decoder: import("@smithy/types").Decoder;
39
+ base64Encoder: (_input: Uint8Array | string) => string;
40
+ utf8Decoder: import("@smithy/types").Decoder;
41
+ utf8Encoder: (input: Uint8Array | string) => string;
42
+ disableHostPrefix: boolean;
43
+ serviceId: string;
44
+ profile?: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
50
+ endpoint?:
51
+ | ((
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ ) &
58
+ (
59
+ | string
60
+ | import("@smithy/types").Provider<string>
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ))
66
+ | undefined;
67
+ endpointProvider: (
68
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
+ context?: {
70
+ logger?: import("@smithy/types").Logger;
71
+ },
72
+ ) => import("@smithy/types").EndpointV2;
73
+ tls?: boolean;
74
+ ignoreConfiguredEndpointUrls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
77
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingPlanManagerHttpAuthSchemeProvider;
79
+ credentials?:
80
+ | import("@smithy/types").AwsCredentialIdentity
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
82
+ signer?:
83
+ | import("@smithy/types").RequestSigner
84
+ | ((
85
+ authScheme?: import("@smithy/types").AuthScheme,
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
93
+ ) => import("@smithy/types").RequestSigner;
94
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
95
+ };