@aws-sdk/client-supportauthz 3.1077.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 +258 -0
- package/dist-cjs/index.js +984 -0
- package/dist-es/SupportAuthZ.js +37 -0
- package/dist-es/SupportAuthZClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateSupportPermitCommand.js +16 -0
- package/dist-es/commands/DeleteSupportPermitCommand.js +16 -0
- package/dist-es/commands/GetActionCommand.js +16 -0
- package/dist-es/commands/GetSupportPermitCommand.js +16 -0
- package/dist-es/commands/ListActionsCommand.js +16 -0
- package/dist-es/commands/ListSupportPermitRequestsCommand.js +16 -0
- package/dist-es/commands/ListSupportPermitsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/RejectSupportPermitRequestCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SupportAuthZServiceException.js +8 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/errors.js +111 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListActionsPaginator.js +4 -0
- package/dist-es/pagination/ListSupportPermitRequestsPaginator.js +4 -0
- package/dist-es/pagination/ListSupportPermitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -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 +365 -0
- package/dist-types/SupportAuthZ.d.ts +110 -0
- package/dist-types/SupportAuthZClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateSupportPermitCommand.d.ts +154 -0
- package/dist-types/commands/DeleteSupportPermitCommand.d.ts +119 -0
- package/dist-types/commands/GetActionCommand.d.ts +93 -0
- package/dist-types/commands/GetSupportPermitCommand.d.ts +122 -0
- package/dist-types/commands/ListActionsCommand.d.ts +97 -0
- package/dist-types/commands/ListSupportPermitRequestsCommand.d.ts +119 -0
- package/dist-types/commands/ListSupportPermitsCommand.d.ts +124 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/RejectSupportPermitRequestCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -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 +17 -0
- package/dist-types/models/SupportAuthZServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +48 -0
- package/dist-types/models/errors.d.ts +146 -0
- package/dist-types/models/models_0.d.ts +729 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSupportPermitRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSupportPermitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -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 +58 -0
- package/dist-types/ts3.4/SupportAuthZ.d.ts +221 -0
- package/dist-types/ts3.4/SupportAuthZClient.d.ts +177 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateSupportPermitCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteSupportPermitCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetActionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetSupportPermitCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListSupportPermitRequestsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSupportPermitsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RejectSupportPermitRequestCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -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 +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SupportAuthZServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +65 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSupportPermitRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSupportPermitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -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 +58 -0
- package/package.json +69 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
RejectSupportPermitRequestInput,
|
|
5
|
+
RejectSupportPermitRequestOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SupportAuthZClientResolvedConfig,
|
|
11
|
+
} from "../SupportAuthZClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface RejectSupportPermitRequestCommandInput
|
|
15
|
+
extends RejectSupportPermitRequestInput {}
|
|
16
|
+
export interface RejectSupportPermitRequestCommandOutput
|
|
17
|
+
extends RejectSupportPermitRequestOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const RejectSupportPermitRequestCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: RejectSupportPermitRequestCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
RejectSupportPermitRequestCommandInput,
|
|
24
|
+
RejectSupportPermitRequestCommandOutput,
|
|
25
|
+
SupportAuthZClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: RejectSupportPermitRequestCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
RejectSupportPermitRequestCommandInput,
|
|
33
|
+
RejectSupportPermitRequestCommandOutput,
|
|
34
|
+
SupportAuthZClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class RejectSupportPermitRequestCommand extends RejectSupportPermitRequestCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: RejectSupportPermitRequestInput;
|
|
46
|
+
output: RejectSupportPermitRequestOutput;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: RejectSupportPermitRequestCommandInput;
|
|
50
|
+
output: RejectSupportPermitRequestCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SupportAuthZClientResolvedConfig,
|
|
8
|
+
} from "../SupportAuthZClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceInput {}
|
|
12
|
+
export interface TagResourceCommandOutput
|
|
13
|
+
extends TagResourceOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const TagResourceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: TagResourceCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
TagResourceCommandInput,
|
|
20
|
+
TagResourceCommandOutput,
|
|
21
|
+
SupportAuthZClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: TagResourceCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
TagResourceCommandInput,
|
|
29
|
+
TagResourceCommandOutput,
|
|
30
|
+
SupportAuthZClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: TagResourceInput;
|
|
42
|
+
output: {};
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: TagResourceCommandInput;
|
|
46
|
+
output: TagResourceCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SupportAuthZClientResolvedConfig,
|
|
8
|
+
} from "../SupportAuthZClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {}
|
|
12
|
+
export interface UntagResourceCommandOutput
|
|
13
|
+
extends UntagResourceOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const UntagResourceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: UntagResourceCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UntagResourceCommandInput,
|
|
20
|
+
UntagResourceCommandOutput,
|
|
21
|
+
SupportAuthZClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: UntagResourceCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
UntagResourceCommandInput,
|
|
29
|
+
UntagResourceCommandOutput,
|
|
30
|
+
SupportAuthZClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: UntagResourceInput;
|
|
42
|
+
output: {};
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: UntagResourceCommandInput;
|
|
46
|
+
output: UntagResourceCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./CreateSupportPermitCommand";
|
|
2
|
+
export * from "./DeleteSupportPermitCommand";
|
|
3
|
+
export * from "./GetActionCommand";
|
|
4
|
+
export * from "./GetSupportPermitCommand";
|
|
5
|
+
export * from "./ListActionsCommand";
|
|
6
|
+
export * from "./ListSupportPermitRequestsCommand";
|
|
7
|
+
export * from "./ListSupportPermitsCommand";
|
|
8
|
+
export * from "./ListTagsForResourceCommand";
|
|
9
|
+
export * from "./RejectSupportPermitRequestCommand";
|
|
10
|
+
export * from "./TagResourceCommand";
|
|
11
|
+
export * from "./UntagResourceCommand";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
19
|
+
ClientInputEndpointParameters,
|
|
20
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
21
|
+
> & {
|
|
22
|
+
defaultSigningName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
+
options: T & ClientInputEndpointParameters
|
|
26
|
+
) => T & ClientResolvedEndpointParameters;
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean | undefined;
|
|
43
|
+
Endpoint?: string | undefined;
|
|
44
|
+
Region?: string | undefined;
|
|
45
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 SupportAuthZExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./SupportAuthZClient";
|
|
2
|
+
export * from "./SupportAuthZ";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { SupportAuthZExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./pagination";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
12
|
+
export { SupportAuthZServiceException } from "./models/SupportAuthZServiceException";
|
|
@@ -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 SupportAuthZServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const SupportPermitStatus: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly DELETING: "DELETING";
|
|
4
|
+
readonly INACTIVE: "INACTIVE";
|
|
5
|
+
};
|
|
6
|
+
export type SupportPermitStatus =
|
|
7
|
+
(typeof SupportPermitStatus)[keyof typeof SupportPermitStatus];
|
|
8
|
+
export declare const SupportPermitRequestStatus: {
|
|
9
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
10
|
+
readonly CANCELLED: "CANCELLED";
|
|
11
|
+
readonly PENDING: "PENDING";
|
|
12
|
+
readonly REJECTED: "REJECTED";
|
|
13
|
+
};
|
|
14
|
+
export type SupportPermitRequestStatus =
|
|
15
|
+
(typeof SupportPermitRequestStatus)[keyof typeof SupportPermitRequestStatus];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { ValidationExceptionField } from "./models_0";
|
|
3
|
+
import { SupportAuthZServiceException as __BaseException } from "./SupportAuthZServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
resourceId: string | undefined;
|
|
15
|
+
resourceType: string | undefined;
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class InternalServerException extends __BaseException {
|
|
19
|
+
readonly name: "InternalServerException";
|
|
20
|
+
readonly $fault: "server";
|
|
21
|
+
$retryable: {};
|
|
22
|
+
retryAfterSeconds?: number | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
28
|
+
readonly name: "ServiceQuotaExceededException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
resourceId: string | undefined;
|
|
31
|
+
resourceType: string | undefined;
|
|
32
|
+
serviceCode: string | undefined;
|
|
33
|
+
quotaCode: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ThrottlingException extends __BaseException {
|
|
39
|
+
readonly name: "ThrottlingException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
$retryable: {
|
|
42
|
+
throttling: boolean;
|
|
43
|
+
};
|
|
44
|
+
retryAfterSeconds?: number | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
|
+
readonly name: "ResourceNotFoundException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
resourceId: string | undefined;
|
|
61
|
+
resourceType: string | undefined;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { SupportPermitRequestStatus, SupportPermitStatus } from "./enums";
|
|
2
|
+
export interface Unit {}
|
|
3
|
+
export type ActionSet =
|
|
4
|
+
| ActionSet.ActionsMember
|
|
5
|
+
| ActionSet.AllActionsMember
|
|
6
|
+
| ActionSet.$UnknownMember;
|
|
7
|
+
export declare namespace ActionSet {
|
|
8
|
+
interface AllActionsMember {
|
|
9
|
+
allActions: Unit;
|
|
10
|
+
actions?: never;
|
|
11
|
+
$unknown?: never;
|
|
12
|
+
}
|
|
13
|
+
interface ActionsMember {
|
|
14
|
+
allActions?: never;
|
|
15
|
+
actions: string[];
|
|
16
|
+
$unknown?: never;
|
|
17
|
+
}
|
|
18
|
+
interface $UnknownMember {
|
|
19
|
+
allActions?: never;
|
|
20
|
+
actions?: never;
|
|
21
|
+
$unknown: [string, any];
|
|
22
|
+
}
|
|
23
|
+
interface Visitor<T> {
|
|
24
|
+
allActions: (value: Unit) => T;
|
|
25
|
+
actions: (value: string[]) => T;
|
|
26
|
+
_: (name: string, value: any) => T;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export interface ActionSummary {
|
|
30
|
+
action: string | undefined;
|
|
31
|
+
service: string | undefined;
|
|
32
|
+
description: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export type Condition =
|
|
35
|
+
| Condition.AllowAfterMember
|
|
36
|
+
| Condition.AllowBeforeMember
|
|
37
|
+
| Condition.$UnknownMember;
|
|
38
|
+
export declare namespace Condition {
|
|
39
|
+
interface AllowAfterMember {
|
|
40
|
+
allowAfter: Date;
|
|
41
|
+
allowBefore?: never;
|
|
42
|
+
$unknown?: never;
|
|
43
|
+
}
|
|
44
|
+
interface AllowBeforeMember {
|
|
45
|
+
allowAfter?: never;
|
|
46
|
+
allowBefore: Date;
|
|
47
|
+
$unknown?: never;
|
|
48
|
+
}
|
|
49
|
+
interface $UnknownMember {
|
|
50
|
+
allowAfter?: never;
|
|
51
|
+
allowBefore?: never;
|
|
52
|
+
$unknown: [string, any];
|
|
53
|
+
}
|
|
54
|
+
interface Visitor<T> {
|
|
55
|
+
allowAfter: (value: Date) => T;
|
|
56
|
+
allowBefore: (value: Date) => T;
|
|
57
|
+
_: (name: string, value: any) => T;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export type ResourceSet =
|
|
61
|
+
| ResourceSet.AllResourcesInRegionMember
|
|
62
|
+
| ResourceSet.ResourcesMember
|
|
63
|
+
| ResourceSet.$UnknownMember;
|
|
64
|
+
export declare namespace ResourceSet {
|
|
65
|
+
interface AllResourcesInRegionMember {
|
|
66
|
+
allResourcesInRegion: Unit;
|
|
67
|
+
resources?: never;
|
|
68
|
+
$unknown?: never;
|
|
69
|
+
}
|
|
70
|
+
interface ResourcesMember {
|
|
71
|
+
allResourcesInRegion?: never;
|
|
72
|
+
resources: string[];
|
|
73
|
+
$unknown?: never;
|
|
74
|
+
}
|
|
75
|
+
interface $UnknownMember {
|
|
76
|
+
allResourcesInRegion?: never;
|
|
77
|
+
resources?: never;
|
|
78
|
+
$unknown: [string, any];
|
|
79
|
+
}
|
|
80
|
+
interface Visitor<T> {
|
|
81
|
+
allResourcesInRegion: (value: Unit) => T;
|
|
82
|
+
resources: (value: string[]) => T;
|
|
83
|
+
_: (name: string, value: any) => T;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export interface Permit {
|
|
87
|
+
actions: ActionSet | undefined;
|
|
88
|
+
resources: ResourceSet | undefined;
|
|
89
|
+
conditions?: Condition[] | undefined;
|
|
90
|
+
}
|
|
91
|
+
export type SigningKeyInfo =
|
|
92
|
+
| SigningKeyInfo.KmsKeyMember
|
|
93
|
+
| SigningKeyInfo.$UnknownMember;
|
|
94
|
+
export declare namespace SigningKeyInfo {
|
|
95
|
+
interface KmsKeyMember {
|
|
96
|
+
kmsKey: string;
|
|
97
|
+
$unknown?: never;
|
|
98
|
+
}
|
|
99
|
+
interface $UnknownMember {
|
|
100
|
+
kmsKey?: never;
|
|
101
|
+
$unknown: [string, any];
|
|
102
|
+
}
|
|
103
|
+
interface Visitor<T> {
|
|
104
|
+
kmsKey: (value: string) => T;
|
|
105
|
+
_: (name: string, value: any) => T;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export interface CreateSupportPermitInput {
|
|
109
|
+
permit: Permit | undefined;
|
|
110
|
+
name: string | undefined;
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
113
|
+
supportCaseDisplayId?: string | undefined;
|
|
114
|
+
clientToken?: string | undefined;
|
|
115
|
+
tags?: Record<string, string> | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface CreateSupportPermitOutput {
|
|
118
|
+
name: string | undefined;
|
|
119
|
+
arn: string | undefined;
|
|
120
|
+
description?: string | undefined;
|
|
121
|
+
permit: Permit | undefined;
|
|
122
|
+
status: SupportPermitStatus | undefined;
|
|
123
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
124
|
+
createdAt: Date | undefined;
|
|
125
|
+
supportCaseDisplayId?: string | undefined;
|
|
126
|
+
tags?: Record<string, string> | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface ValidationExceptionField {
|
|
129
|
+
path: string | undefined;
|
|
130
|
+
message: string | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface DeleteSupportPermitInput {
|
|
133
|
+
supportPermitIdentifier: string | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface DeleteSupportPermitOutput {
|
|
136
|
+
name: string | undefined;
|
|
137
|
+
arn: string | undefined;
|
|
138
|
+
description?: string | undefined;
|
|
139
|
+
permit: Permit | undefined;
|
|
140
|
+
status: SupportPermitStatus | undefined;
|
|
141
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
142
|
+
createdAt: Date | undefined;
|
|
143
|
+
supportCaseDisplayId?: string | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface GetActionInput {
|
|
146
|
+
action: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GetActionOutput {
|
|
149
|
+
action: string | undefined;
|
|
150
|
+
service: string | undefined;
|
|
151
|
+
description: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface GetSupportPermitInput {
|
|
154
|
+
supportPermitIdentifier: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface GetSupportPermitOutput {
|
|
157
|
+
name: string | undefined;
|
|
158
|
+
arn: string | undefined;
|
|
159
|
+
description?: string | undefined;
|
|
160
|
+
permit: Permit | undefined;
|
|
161
|
+
status: SupportPermitStatus | undefined;
|
|
162
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
163
|
+
createdAt: Date | undefined;
|
|
164
|
+
supportCaseDisplayId?: string | undefined;
|
|
165
|
+
tags?: Record<string, string> | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface ListActionsInput {
|
|
168
|
+
nextToken?: string | undefined;
|
|
169
|
+
maxResults?: number | undefined;
|
|
170
|
+
service: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface ListActionsOutput {
|
|
173
|
+
actionSummaries: ActionSummary[] | undefined;
|
|
174
|
+
nextToken?: string | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface ListSupportPermitRequestsInput {
|
|
177
|
+
nextToken?: string | undefined;
|
|
178
|
+
maxResults?: number | undefined;
|
|
179
|
+
supportCaseDisplayId?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface SupportPermitRequest {
|
|
182
|
+
requestArn: string | undefined;
|
|
183
|
+
permit: Permit | undefined;
|
|
184
|
+
supportCaseDisplayId: string | undefined;
|
|
185
|
+
status: SupportPermitRequestStatus | undefined;
|
|
186
|
+
createdAt: Date | undefined;
|
|
187
|
+
updatedAt: Date | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface ListSupportPermitRequestsOutput {
|
|
190
|
+
supportPermitRequests: SupportPermitRequest[] | undefined;
|
|
191
|
+
nextToken?: string | undefined;
|
|
192
|
+
}
|
|
193
|
+
export interface ListSupportPermitsInput {
|
|
194
|
+
nextToken?: string | undefined;
|
|
195
|
+
maxResults?: number | undefined;
|
|
196
|
+
supportPermitStatuses?: SupportPermitStatus[] | undefined;
|
|
197
|
+
}
|
|
198
|
+
export interface SupportPermitSummary {
|
|
199
|
+
name: string | undefined;
|
|
200
|
+
arn: string | undefined;
|
|
201
|
+
permit: Permit | undefined;
|
|
202
|
+
status: SupportPermitStatus | undefined;
|
|
203
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
204
|
+
createdAt: Date | undefined;
|
|
205
|
+
supportCaseDisplayId?: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface ListSupportPermitsOutput {
|
|
208
|
+
supportPermits: SupportPermitSummary[] | undefined;
|
|
209
|
+
nextToken?: string | undefined;
|
|
210
|
+
}
|
|
211
|
+
export interface ListTagsForResourceInput {
|
|
212
|
+
resourceArn: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface ListTagsForResourceOutput {
|
|
215
|
+
tags?: Record<string, string> | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface RejectSupportPermitRequestInput {
|
|
218
|
+
requestArn: string | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface RejectSupportPermitRequestOutput {
|
|
221
|
+
requestArn: string | undefined;
|
|
222
|
+
}
|
|
223
|
+
export interface TagResourceInput {
|
|
224
|
+
resourceArn: string | undefined;
|
|
225
|
+
tags: Record<string, string> | undefined;
|
|
226
|
+
}
|
|
227
|
+
export interface TagResourceOutput {}
|
|
228
|
+
export interface UntagResourceInput {
|
|
229
|
+
resourceArn: string | undefined;
|
|
230
|
+
tagKeys: string[] | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface UntagResourceOutput {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListActionsCommandInput,
|
|
4
|
+
ListActionsCommandOutput,
|
|
5
|
+
} from "../commands/ListActionsCommand";
|
|
6
|
+
import { SupportAuthZPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListActions: (
|
|
8
|
+
config: SupportAuthZPaginationConfiguration,
|
|
9
|
+
input: ListActionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListActionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSupportPermitRequestsCommandInput,
|
|
4
|
+
ListSupportPermitRequestsCommandOutput,
|
|
5
|
+
} from "../commands/ListSupportPermitRequestsCommand";
|
|
6
|
+
import { SupportAuthZPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSupportPermitRequests: (
|
|
8
|
+
config: SupportAuthZPaginationConfiguration,
|
|
9
|
+
input: ListSupportPermitRequestsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSupportPermitRequestsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSupportPermitsCommandInput,
|
|
4
|
+
ListSupportPermitsCommandOutput,
|
|
5
|
+
} from "../commands/ListSupportPermitsCommand";
|
|
6
|
+
import { SupportAuthZPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSupportPermits: (
|
|
8
|
+
config: SupportAuthZPaginationConfiguration,
|
|
9
|
+
input: ListSupportPermitsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSupportPermitsCommandOutput>;
|