@aws-sdk/client-arc-zonal-shift 3.219.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 +219 -0
  3. package/dist-cjs/ARCZonalShift.js +97 -0
  4. package/dist-cjs/ARCZonalShiftClient.js +40 -0
  5. package/dist-cjs/commands/CancelZonalShiftCommand.js +46 -0
  6. package/dist-cjs/commands/GetManagedResourceCommand.js +46 -0
  7. package/dist-cjs/commands/ListManagedResourcesCommand.js +46 -0
  8. package/dist-cjs/commands/ListZonalShiftsCommand.js +46 -0
  9. package/dist-cjs/commands/StartZonalShiftCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateZonalShiftCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +9 -0
  12. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  13. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  14. package/dist-cjs/endpoint/ruleset.js +312 -0
  15. package/dist-cjs/index.js +11 -0
  16. package/dist-cjs/models/ARCZonalShiftServiceException.js +11 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +164 -0
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListManagedResourcesPaginator.js +36 -0
  21. package/dist-cjs/pagination/ListZonalShiftsPaginator.js +36 -0
  22. package/dist-cjs/pagination/index.js +6 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +703 -0
  24. package/dist-cjs/runtimeConfig.browser.js +42 -0
  25. package/dist-cjs/runtimeConfig.js +50 -0
  26. package/dist-cjs/runtimeConfig.native.js +15 -0
  27. package/dist-cjs/runtimeConfig.shared.js +18 -0
  28. package/dist-es/ARCZonalShift.js +93 -0
  29. package/dist-es/ARCZonalShiftClient.js +36 -0
  30. package/dist-es/commands/CancelZonalShiftCommand.js +42 -0
  31. package/dist-es/commands/GetManagedResourceCommand.js +42 -0
  32. package/dist-es/commands/ListManagedResourcesCommand.js +42 -0
  33. package/dist-es/commands/ListZonalShiftsCommand.js +42 -0
  34. package/dist-es/commands/StartZonalShiftCommand.js +42 -0
  35. package/dist-es/commands/UpdateZonalShiftCommand.js +42 -0
  36. package/dist-es/commands/index.js +6 -0
  37. package/dist-es/endpoint/EndpointParameters.js +8 -0
  38. package/dist-es/endpoint/endpointResolver.js +8 -0
  39. package/dist-es/endpoint/ruleset.js +309 -0
  40. package/dist-es/index.js +6 -0
  41. package/dist-es/models/ARCZonalShiftServiceException.js +7 -0
  42. package/dist-es/models/index.js +1 -0
  43. package/dist-es/models/models_0.js +142 -0
  44. package/dist-es/pagination/Interfaces.js +1 -0
  45. package/dist-es/pagination/ListManagedResourcesPaginator.js +32 -0
  46. package/dist-es/pagination/ListZonalShiftsPaginator.js +32 -0
  47. package/dist-es/pagination/index.js +3 -0
  48. package/dist-es/protocols/Aws_restJson1.js +688 -0
  49. package/dist-es/runtimeConfig.browser.js +37 -0
  50. package/dist-es/runtimeConfig.js +45 -0
  51. package/dist-es/runtimeConfig.native.js +11 -0
  52. package/dist-es/runtimeConfig.shared.js +14 -0
  53. package/dist-types/ARCZonalShift.d.ts +77 -0
  54. package/dist-types/ARCZonalShiftClient.d.ts +161 -0
  55. package/dist-types/commands/CancelZonalShiftCommand.d.ts +37 -0
  56. package/dist-types/commands/GetManagedResourceCommand.d.ts +39 -0
  57. package/dist-types/commands/ListManagedResourcesCommand.d.ts +39 -0
  58. package/dist-types/commands/ListZonalShiftsCommand.d.ts +37 -0
  59. package/dist-types/commands/StartZonalShiftCommand.d.ts +46 -0
  60. package/dist-types/commands/UpdateZonalShiftCommand.d.ts +38 -0
  61. package/dist-types/commands/index.d.ts +6 -0
  62. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  63. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  64. package/dist-types/endpoint/ruleset.d.ts +2 -0
  65. package/dist-types/index.d.ts +6 -0
  66. package/dist-types/models/ARCZonalShiftServiceException.d.ts +10 -0
  67. package/dist-types/models/index.d.ts +1 -0
  68. package/dist-types/models/models_0.d.ts +503 -0
  69. package/dist-types/pagination/Interfaces.d.ts +6 -0
  70. package/dist-types/pagination/ListManagedResourcesPaginator.d.ts +4 -0
  71. package/dist-types/pagination/ListZonalShiftsPaginator.d.ts +4 -0
  72. package/dist-types/pagination/index.d.ts +3 -0
  73. package/dist-types/protocols/Aws_restJson1.d.ts +20 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  75. package/dist-types/runtimeConfig.d.ts +42 -0
  76. package/dist-types/runtimeConfig.native.d.ts +41 -0
  77. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  78. package/dist-types/ts3.4/ARCZonalShift.d.ts +106 -0
  79. package/dist-types/ts3.4/ARCZonalShiftClient.d.ts +148 -0
  80. package/dist-types/ts3.4/commands/CancelZonalShiftCommand.d.ts +34 -0
  81. package/dist-types/ts3.4/commands/GetManagedResourceCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/ListManagedResourcesCommand.d.ts +41 -0
  83. package/dist-types/ts3.4/commands/ListZonalShiftsCommand.d.ts +37 -0
  84. package/dist-types/ts3.4/commands/StartZonalShiftCommand.d.ts +34 -0
  85. package/dist-types/ts3.4/commands/UpdateZonalShiftCommand.d.ts +34 -0
  86. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  87. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  88. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  89. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  90. package/dist-types/ts3.4/index.d.ts +6 -0
  91. package/dist-types/ts3.4/models/ARCZonalShiftServiceException.d.ts +7 -0
  92. package/dist-types/ts3.4/models/index.d.ts +1 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +177 -0
  94. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  95. package/dist-types/ts3.4/pagination/ListManagedResourcesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListZonalShiftsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  99. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  100. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  101. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  102. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  103. package/package.json +101 -0
@@ -0,0 +1,177 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ARCZonalShiftServiceException as __BaseException } from "./ARCZonalShiftServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare enum AppliedStatus {
11
+ APPLIED = "APPLIED",
12
+ NOT_APPLIED = "NOT_APPLIED",
13
+ }
14
+ export interface CancelZonalShiftRequest {
15
+ zonalShiftId: string | undefined;
16
+ }
17
+ export declare enum ConflictExceptionReason {
18
+ SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT = "SimultaneousZonalShiftsConflict",
19
+ ZONAL_SHIFT_ALREADY_EXISTS = "ZonalShiftAlreadyExists",
20
+ ZONAL_SHIFT_STATUS_NOT_ACTIVE = "ZonalShiftStatusNotActive",
21
+ }
22
+ export declare class ConflictException extends __BaseException {
23
+ readonly name: "ConflictException";
24
+ readonly $fault: "client";
25
+ reason: ConflictExceptionReason | string | undefined;
26
+ zonalShiftId?: string;
27
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
+ }
29
+ export declare class InternalServerException extends __BaseException {
30
+ readonly name: "InternalServerException";
31
+ readonly $fault: "server";
32
+ constructor(
33
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ constructor(
40
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
41
+ );
42
+ }
43
+ export declare class ThrottlingException extends __BaseException {
44
+ readonly name: "ThrottlingException";
45
+ readonly $fault: "client";
46
+ constructor(
47
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
48
+ );
49
+ }
50
+ export declare enum ValidationExceptionReason {
51
+ INVALID_AZ = "InvalidAz",
52
+ INVALID_EXPIRES_IN = "InvalidExpiresIn",
53
+ INVALID_RESOURCE_IDENTIFIER = "InvalidResourceIdentifier",
54
+ INVALID_STATUS = "InvalidStatus",
55
+ INVALID_TOKEN = "InvalidToken",
56
+ MISSING_VALUE = "MissingValue",
57
+ UNSUPPORTED_AZ = "UnsupportedAz",
58
+ }
59
+ export declare class ValidationException extends __BaseException {
60
+ readonly name: "ValidationException";
61
+ readonly $fault: "client";
62
+ reason: ValidationExceptionReason | string | undefined;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
65
+ );
66
+ }
67
+ export declare enum ZonalShiftStatus {
68
+ ACTIVE = "ACTIVE",
69
+ CANCELED = "CANCELED",
70
+ EXPIRED = "EXPIRED",
71
+ }
72
+ export interface ZonalShift {
73
+ zonalShiftId: string | undefined;
74
+ resourceIdentifier: string | undefined;
75
+ awayFrom: string | undefined;
76
+ expiryTime: Date | undefined;
77
+ startTime: Date | undefined;
78
+ status: ZonalShiftStatus | string | undefined;
79
+ comment: string | undefined;
80
+ }
81
+ export interface GetManagedResourceRequest {
82
+ resourceIdentifier: string | undefined;
83
+ }
84
+ export interface ZonalShiftInResource {
85
+ appliedStatus: AppliedStatus | string | undefined;
86
+ zonalShiftId: string | undefined;
87
+ resourceIdentifier: string | undefined;
88
+ awayFrom: string | undefined;
89
+ expiryTime: Date | undefined;
90
+ startTime: Date | undefined;
91
+ comment: string | undefined;
92
+ }
93
+ export interface GetManagedResourceResponse {
94
+ arn?: string;
95
+ name?: string;
96
+ appliedWeights: Record<string, number> | undefined;
97
+ zonalShifts: ZonalShiftInResource[] | undefined;
98
+ }
99
+ export interface ListManagedResourcesRequest {
100
+ nextToken?: string;
101
+ maxResults?: number;
102
+ }
103
+ export interface ManagedResourceSummary {
104
+ arn?: string;
105
+ name?: string;
106
+ availabilityZones: string[] | undefined;
107
+ }
108
+ export interface ListManagedResourcesResponse {
109
+ items: ManagedResourceSummary[] | undefined;
110
+ nextToken?: string;
111
+ }
112
+ export interface ListZonalShiftsRequest {
113
+ nextToken?: string;
114
+ status?: ZonalShiftStatus | string;
115
+ maxResults?: number;
116
+ }
117
+ export interface ZonalShiftSummary {
118
+ zonalShiftId: string | undefined;
119
+ resourceIdentifier: string | undefined;
120
+ awayFrom: string | undefined;
121
+ expiryTime: Date | undefined;
122
+ startTime: Date | undefined;
123
+ status: ZonalShiftStatus | string | undefined;
124
+ comment: string | undefined;
125
+ }
126
+ export interface ListZonalShiftsResponse {
127
+ items?: ZonalShiftSummary[];
128
+ nextToken?: string;
129
+ }
130
+ export interface UpdateZonalShiftRequest {
131
+ zonalShiftId: string | undefined;
132
+ comment?: string;
133
+ expiresIn?: string;
134
+ }
135
+ export interface StartZonalShiftRequest {
136
+ resourceIdentifier: string | undefined;
137
+ awayFrom: string | undefined;
138
+ expiresIn: string | undefined;
139
+ comment: string | undefined;
140
+ }
141
+ export declare const CancelZonalShiftRequestFilterSensitiveLog: (
142
+ obj: CancelZonalShiftRequest
143
+ ) => any;
144
+ export declare const ZonalShiftFilterSensitiveLog: (obj: ZonalShift) => any;
145
+ export declare const GetManagedResourceRequestFilterSensitiveLog: (
146
+ obj: GetManagedResourceRequest
147
+ ) => any;
148
+ export declare const ZonalShiftInResourceFilterSensitiveLog: (
149
+ obj: ZonalShiftInResource
150
+ ) => any;
151
+ export declare const GetManagedResourceResponseFilterSensitiveLog: (
152
+ obj: GetManagedResourceResponse
153
+ ) => any;
154
+ export declare const ListManagedResourcesRequestFilterSensitiveLog: (
155
+ obj: ListManagedResourcesRequest
156
+ ) => any;
157
+ export declare const ManagedResourceSummaryFilterSensitiveLog: (
158
+ obj: ManagedResourceSummary
159
+ ) => any;
160
+ export declare const ListManagedResourcesResponseFilterSensitiveLog: (
161
+ obj: ListManagedResourcesResponse
162
+ ) => any;
163
+ export declare const ListZonalShiftsRequestFilterSensitiveLog: (
164
+ obj: ListZonalShiftsRequest
165
+ ) => any;
166
+ export declare const ZonalShiftSummaryFilterSensitiveLog: (
167
+ obj: ZonalShiftSummary
168
+ ) => any;
169
+ export declare const ListZonalShiftsResponseFilterSensitiveLog: (
170
+ obj: ListZonalShiftsResponse
171
+ ) => any;
172
+ export declare const UpdateZonalShiftRequestFilterSensitiveLog: (
173
+ obj: UpdateZonalShiftRequest
174
+ ) => any;
175
+ export declare const StartZonalShiftRequestFilterSensitiveLog: (
176
+ obj: StartZonalShiftRequest
177
+ ) => any;
@@ -0,0 +1,7 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { ARCZonalShift } from "../ARCZonalShift";
3
+ import { ARCZonalShiftClient } from "../ARCZonalShiftClient";
4
+ export interface ARCZonalShiftPaginationConfiguration
5
+ extends PaginationConfiguration {
6
+ client: ARCZonalShift | ARCZonalShiftClient;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListManagedResourcesCommandInput,
4
+ ListManagedResourcesCommandOutput,
5
+ } from "../commands/ListManagedResourcesCommand";
6
+ import { ARCZonalShiftPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListManagedResources(
8
+ config: ARCZonalShiftPaginationConfiguration,
9
+ input: ListManagedResourcesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListManagedResourcesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListZonalShiftsCommandInput,
4
+ ListZonalShiftsCommandOutput,
5
+ } from "../commands/ListZonalShiftsCommand";
6
+ import { ARCZonalShiftPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListZonalShifts(
8
+ config: ARCZonalShiftPaginationConfiguration,
9
+ input: ListZonalShiftsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListZonalShiftsCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListManagedResourcesPaginator";
3
+ export * from "./ListZonalShiftsPaginator";
@@ -0,0 +1,77 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@aws-sdk/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ CancelZonalShiftCommandInput,
8
+ CancelZonalShiftCommandOutput,
9
+ } from "../commands/CancelZonalShiftCommand";
10
+ import {
11
+ GetManagedResourceCommandInput,
12
+ GetManagedResourceCommandOutput,
13
+ } from "../commands/GetManagedResourceCommand";
14
+ import {
15
+ ListManagedResourcesCommandInput,
16
+ ListManagedResourcesCommandOutput,
17
+ } from "../commands/ListManagedResourcesCommand";
18
+ import {
19
+ ListZonalShiftsCommandInput,
20
+ ListZonalShiftsCommandOutput,
21
+ } from "../commands/ListZonalShiftsCommand";
22
+ import {
23
+ StartZonalShiftCommandInput,
24
+ StartZonalShiftCommandOutput,
25
+ } from "../commands/StartZonalShiftCommand";
26
+ import {
27
+ UpdateZonalShiftCommandInput,
28
+ UpdateZonalShiftCommandOutput,
29
+ } from "../commands/UpdateZonalShiftCommand";
30
+ export declare const serializeAws_restJson1CancelZonalShiftCommand: (
31
+ input: CancelZonalShiftCommandInput,
32
+ context: __SerdeContext
33
+ ) => Promise<__HttpRequest>;
34
+ export declare const serializeAws_restJson1GetManagedResourceCommand: (
35
+ input: GetManagedResourceCommandInput,
36
+ context: __SerdeContext
37
+ ) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1ListManagedResourcesCommand: (
39
+ input: ListManagedResourcesCommandInput,
40
+ context: __SerdeContext
41
+ ) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1ListZonalShiftsCommand: (
43
+ input: ListZonalShiftsCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const serializeAws_restJson1StartZonalShiftCommand: (
47
+ input: StartZonalShiftCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_restJson1UpdateZonalShiftCommand: (
51
+ input: UpdateZonalShiftCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const deserializeAws_restJson1CancelZonalShiftCommand: (
55
+ output: __HttpResponse,
56
+ context: __SerdeContext
57
+ ) => Promise<CancelZonalShiftCommandOutput>;
58
+ export declare const deserializeAws_restJson1GetManagedResourceCommand: (
59
+ output: __HttpResponse,
60
+ context: __SerdeContext
61
+ ) => Promise<GetManagedResourceCommandOutput>;
62
+ export declare const deserializeAws_restJson1ListManagedResourcesCommand: (
63
+ output: __HttpResponse,
64
+ context: __SerdeContext
65
+ ) => Promise<ListManagedResourcesCommandOutput>;
66
+ export declare const deserializeAws_restJson1ListZonalShiftsCommand: (
67
+ output: __HttpResponse,
68
+ context: __SerdeContext
69
+ ) => Promise<ListZonalShiftsCommandOutput>;
70
+ export declare const deserializeAws_restJson1StartZonalShiftCommand: (
71
+ output: __HttpResponse,
72
+ context: __SerdeContext
73
+ ) => Promise<StartZonalShiftCommandOutput>;
74
+ export declare const deserializeAws_restJson1UpdateZonalShiftCommand: (
75
+ output: __HttpResponse,
76
+ context: __SerdeContext
77
+ ) => Promise<UpdateZonalShiftCommandOutput>;
@@ -0,0 +1,88 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { ARCZonalShiftClientConfig } from "./ARCZonalShiftClient";
3
+ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@aws-sdk/types").Provider<
6
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
+ import("@aws-sdk/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
+ region: string | import("@aws-sdk/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@aws-sdk/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@aws-sdk/types").HttpHandlerOptions
22
+ > &
23
+ import("@aws-sdk/protocol-http").HttpHandler)
24
+ | RequestHandler;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ sha256: import("@aws-sdk/types").HashConstructor;
27
+ streamCollector: import("@aws-sdk/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
+ utf8Decoder: import("@aws-sdk/types").Decoder;
31
+ utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
+ disableHostPrefix: boolean;
37
+ logger: import("@aws-sdk/types").Logger;
38
+ serviceId: string;
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@aws-sdk/types").Provider<string>
50
+ | import("@aws-sdk/types").Endpoint
51
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@aws-sdk/types").EndpointV2
53
+ | import("@aws-sdk/types").Provider<
54
+ import("@aws-sdk/types").EndpointV2
55
+ >
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@aws-sdk/types").Logger | undefined;
62
+ }
63
+ ) => import("@aws-sdk/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
+ credentials?:
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@aws-sdk/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
76
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
84
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@aws-sdk/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,88 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { ARCZonalShiftClientConfig } from "./ARCZonalShiftClient";
3
+ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@aws-sdk/types").Provider<
6
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
+ import("@aws-sdk/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
+ region: string | import("@aws-sdk/types").Provider<string>;
17
+ requestHandler:
18
+ | (import("@aws-sdk/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@aws-sdk/types").HttpHandlerOptions
22
+ > &
23
+ import("@aws-sdk/protocol-http").HttpHandler)
24
+ | RequestHandler;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ sha256: import("@aws-sdk/types").HashConstructor;
27
+ streamCollector: import("@aws-sdk/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
+ utf8Decoder: import("@aws-sdk/types").Decoder;
31
+ utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
+ disableHostPrefix: boolean;
37
+ logger: import("@aws-sdk/types").Logger;
38
+ serviceId: string;
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@aws-sdk/types").Provider<string>
50
+ | import("@aws-sdk/types").Endpoint
51
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@aws-sdk/types").EndpointV2
53
+ | import("@aws-sdk/types").Provider<
54
+ import("@aws-sdk/types").EndpointV2
55
+ >
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@aws-sdk/types").Logger | undefined;
62
+ }
63
+ ) => import("@aws-sdk/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
+ credentials?:
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@aws-sdk/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
76
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
84
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@aws-sdk/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,77 @@
1
+ import { ARCZonalShiftClientConfig } from "./ARCZonalShiftClient";
2
+ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@aws-sdk/types").HashConstructor;
5
+ requestHandler:
6
+ | (import("@aws-sdk/types").RequestHandler<
7
+ any,
8
+ any,
9
+ import("@aws-sdk/types").HttpHandlerOptions
10
+ > &
11
+ import("@aws-sdk/protocol-http").HttpHandler)
12
+ | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
+ apiVersion: string;
14
+ urlParser: import("@aws-sdk/types").UrlParser;
15
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
+ streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ base64Decoder: import("@aws-sdk/types").Decoder;
18
+ base64Encoder: import("@aws-sdk/types").Encoder;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ disableHostPrefix: boolean;
22
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
23
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
27
+ serviceId: string;
28
+ region: string | import("@aws-sdk/types").Provider<any>;
29
+ credentialDefaultProvider: (
30
+ input: any
31
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
33
+ import("@aws-sdk/types").UserAgent
34
+ >;
35
+ defaultsMode:
36
+ | import("@aws-sdk/smithy-client").DefaultsMode
37
+ | import("@aws-sdk/types").Provider<
38
+ import("@aws-sdk/smithy-client").DefaultsMode
39
+ >;
40
+ endpoint?:
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ | undefined;
47
+ endpointProvider: (
48
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@aws-sdk/types").Logger | undefined;
51
+ }
52
+ ) => import("@aws-sdk/types").EndpointV2;
53
+ tls?: boolean | undefined;
54
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
55
+ credentials?:
56
+ | import("@aws-sdk/types").AwsCredentialIdentity
57
+ | import("@aws-sdk/types").Provider<
58
+ import("@aws-sdk/types").AwsCredentialIdentity
59
+ >
60
+ | undefined;
61
+ signer?:
62
+ | import("@aws-sdk/types").RequestSigner
63
+ | ((
64
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
65
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
66
+ | undefined;
67
+ signingEscapePath?: boolean | undefined;
68
+ systemClockOffset?: number | undefined;
69
+ signingRegion?: string | undefined;
70
+ signerConstructor?:
71
+ | (new (
72
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
73
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
74
+ ) => import("@aws-sdk/types").RequestSigner)
75
+ | undefined;
76
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
77
+ };
@@ -0,0 +1,16 @@
1
+ import { ARCZonalShiftClientConfig } from "./ARCZonalShiftClient";
2
+ export declare const getRuntimeConfig: (config: ARCZonalShiftClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@aws-sdk/types").Decoder;
5
+ base64Encoder: import("@aws-sdk/types").Encoder;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@aws-sdk/types").Logger | undefined;
11
+ }
12
+ ) => import("@aws-sdk/types").EndpointV2;
13
+ logger: import("@aws-sdk/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@aws-sdk/types").UrlParser;
16
+ };
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@aws-sdk/client-arc-zonal-shift",
3
+ "description": "AWS SDK for JavaScript Arc Zonal Shift Client for Node.js, Browser and React Native",
4
+ "version": "3.219.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
+ "build:types": "tsc -p tsconfig.types.json",
12
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
14
+ },
15
+ "main": "./dist-cjs/index.js",
16
+ "types": "./dist-types/index.d.ts",
17
+ "module": "./dist-es/index.js",
18
+ "sideEffects": false,
19
+ "dependencies": {
20
+ "@aws-crypto/sha256-browser": "2.0.0",
21
+ "@aws-crypto/sha256-js": "2.0.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
+ "@aws-sdk/config-resolver": "3.215.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
+ "@aws-sdk/fetch-http-handler": "3.215.0",
26
+ "@aws-sdk/hash-node": "3.215.0",
27
+ "@aws-sdk/invalid-dependency": "3.215.0",
28
+ "@aws-sdk/middleware-content-length": "3.215.0",
29
+ "@aws-sdk/middleware-endpoint": "3.215.0",
30
+ "@aws-sdk/middleware-host-header": "3.215.0",
31
+ "@aws-sdk/middleware-logger": "3.215.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
+ "@aws-sdk/middleware-retry": "3.215.0",
34
+ "@aws-sdk/middleware-serde": "3.215.0",
35
+ "@aws-sdk/middleware-signing": "3.215.0",
36
+ "@aws-sdk/middleware-stack": "3.215.0",
37
+ "@aws-sdk/middleware-user-agent": "3.215.0",
38
+ "@aws-sdk/node-config-provider": "3.215.0",
39
+ "@aws-sdk/node-http-handler": "3.215.0",
40
+ "@aws-sdk/protocol-http": "3.215.0",
41
+ "@aws-sdk/smithy-client": "3.215.0",
42
+ "@aws-sdk/types": "3.215.0",
43
+ "@aws-sdk/url-parser": "3.215.0",
44
+ "@aws-sdk/util-base64": "3.208.0",
45
+ "@aws-sdk/util-body-length-browser": "3.188.0",
46
+ "@aws-sdk/util-body-length-node": "3.208.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
+ "@aws-sdk/util-endpoints": "3.216.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.215.0",
51
+ "@aws-sdk/util-user-agent-node": "3.215.0",
52
+ "@aws-sdk/util-utf8-browser": "3.188.0",
53
+ "@aws-sdk/util-utf8-node": "3.208.0",
54
+ "tslib": "^2.3.1"
55
+ },
56
+ "devDependencies": {
57
+ "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@tsconfig/node14": "1.0.3",
59
+ "@types/node": "^14.14.31",
60
+ "concurrently": "7.0.0",
61
+ "downlevel-dts": "0.10.1",
62
+ "rimraf": "3.0.2",
63
+ "typedoc": "0.19.2",
64
+ "typescript": "~4.6.2"
65
+ },
66
+ "overrides": {
67
+ "typedoc": {
68
+ "typescript": "~4.6.2"
69
+ }
70
+ },
71
+ "engines": {
72
+ "node": ">=14.0.0"
73
+ },
74
+ "typesVersions": {
75
+ "<4.0": {
76
+ "dist-types/*": [
77
+ "dist-types/ts3.4/*"
78
+ ]
79
+ }
80
+ },
81
+ "files": [
82
+ "dist-*"
83
+ ],
84
+ "author": {
85
+ "name": "AWS SDK for JavaScript Team",
86
+ "url": "https://aws.amazon.com/javascript/"
87
+ },
88
+ "license": "Apache-2.0",
89
+ "browser": {
90
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
91
+ },
92
+ "react-native": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
94
+ },
95
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-arc-zonal-shift",
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
99
+ "directory": "clients/client-arc-zonal-shift"
100
+ }
101
+ }