@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.
Files changed (112) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +258 -0
  3. package/dist-cjs/index.js +984 -0
  4. package/dist-es/SupportAuthZ.js +37 -0
  5. package/dist-es/SupportAuthZClient.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/commands/CreateSupportPermitCommand.js +16 -0
  9. package/dist-es/commands/DeleteSupportPermitCommand.js +16 -0
  10. package/dist-es/commands/GetActionCommand.js +16 -0
  11. package/dist-es/commands/GetSupportPermitCommand.js +16 -0
  12. package/dist-es/commands/ListActionsCommand.js +16 -0
  13. package/dist-es/commands/ListSupportPermitRequestsCommand.js +16 -0
  14. package/dist-es/commands/ListSupportPermitsCommand.js +16 -0
  15. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  16. package/dist-es/commands/RejectSupportPermitRequestCommand.js +16 -0
  17. package/dist-es/commands/TagResourceCommand.js +16 -0
  18. package/dist-es/commands/UntagResourceCommand.js +16 -0
  19. package/dist-es/commands/index.js +11 -0
  20. package/dist-es/endpoint/EndpointParameters.js +11 -0
  21. package/dist-es/endpoint/bdd.js +29 -0
  22. package/dist-es/endpoint/endpointResolver.js +14 -0
  23. package/dist-es/extensionConfiguration.js +1 -0
  24. package/dist-es/index.js +9 -0
  25. package/dist-es/models/SupportAuthZServiceException.js +8 -0
  26. package/dist-es/models/enums.js +11 -0
  27. package/dist-es/models/errors.js +111 -0
  28. package/dist-es/models/models_0.js +1 -0
  29. package/dist-es/pagination/Interfaces.js +1 -0
  30. package/dist-es/pagination/ListActionsPaginator.js +4 -0
  31. package/dist-es/pagination/ListSupportPermitRequestsPaginator.js +4 -0
  32. package/dist-es/pagination/ListSupportPermitsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +4 -0
  34. package/dist-es/runtimeConfig.browser.js +29 -0
  35. package/dist-es/runtimeConfig.js +43 -0
  36. package/dist-es/runtimeConfig.native.js +9 -0
  37. package/dist-es/runtimeConfig.shared.js +40 -0
  38. package/dist-es/runtimeExtensions.js +9 -0
  39. package/dist-es/schemas/schemas_0.js +365 -0
  40. package/dist-types/SupportAuthZ.d.ts +110 -0
  41. package/dist-types/SupportAuthZClient.d.ts +197 -0
  42. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  44. package/dist-types/commands/CreateSupportPermitCommand.d.ts +154 -0
  45. package/dist-types/commands/DeleteSupportPermitCommand.d.ts +119 -0
  46. package/dist-types/commands/GetActionCommand.d.ts +93 -0
  47. package/dist-types/commands/GetSupportPermitCommand.d.ts +122 -0
  48. package/dist-types/commands/ListActionsCommand.d.ts +97 -0
  49. package/dist-types/commands/ListSupportPermitRequestsCommand.d.ts +119 -0
  50. package/dist-types/commands/ListSupportPermitsCommand.d.ts +124 -0
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  52. package/dist-types/commands/RejectSupportPermitRequestCommand.d.ts +94 -0
  53. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
  55. package/dist-types/commands/index.d.ts +11 -0
  56. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  57. package/dist-types/endpoint/bdd.d.ts +2 -0
  58. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  59. package/dist-types/extensionConfiguration.d.ts +9 -0
  60. package/dist-types/index.d.ts +17 -0
  61. package/dist-types/models/SupportAuthZServiceException.d.ts +14 -0
  62. package/dist-types/models/enums.d.ts +48 -0
  63. package/dist-types/models/errors.d.ts +146 -0
  64. package/dist-types/models/models_0.d.ts +729 -0
  65. package/dist-types/pagination/Interfaces.d.ts +8 -0
  66. package/dist-types/pagination/ListActionsPaginator.d.ts +7 -0
  67. package/dist-types/pagination/ListSupportPermitRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/ListSupportPermitsPaginator.d.ts +7 -0
  69. package/dist-types/pagination/index.d.ts +4 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  71. package/dist-types/runtimeConfig.d.ts +55 -0
  72. package/dist-types/runtimeConfig.native.d.ts +54 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  74. package/dist-types/runtimeExtensions.d.ts +17 -0
  75. package/dist-types/schemas/schemas_0.d.ts +58 -0
  76. package/dist-types/ts3.4/SupportAuthZ.d.ts +221 -0
  77. package/dist-types/ts3.4/SupportAuthZClient.d.ts +177 -0
  78. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  79. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  80. package/dist-types/ts3.4/commands/CreateSupportPermitCommand.d.ts +53 -0
  81. package/dist-types/ts3.4/commands/DeleteSupportPermitCommand.d.ts +53 -0
  82. package/dist-types/ts3.4/commands/GetActionCommand.d.ts +45 -0
  83. package/dist-types/ts3.4/commands/GetSupportPermitCommand.d.ts +52 -0
  84. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +49 -0
  85. package/dist-types/ts3.4/commands/ListSupportPermitRequestsCommand.d.ts +53 -0
  86. package/dist-types/ts3.4/commands/ListSupportPermitsCommand.d.ts +53 -0
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
  88. package/dist-types/ts3.4/commands/RejectSupportPermitRequestCommand.d.ts +53 -0
  89. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
  90. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +49 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  93. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  94. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  95. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  96. package/dist-types/ts3.4/index.d.ts +12 -0
  97. package/dist-types/ts3.4/models/SupportAuthZServiceException.d.ts +9 -0
  98. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  99. package/dist-types/ts3.4/models/errors.d.ts +65 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +232 -0
  101. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  102. package/dist-types/ts3.4/pagination/ListActionsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListSupportPermitRequestsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListSupportPermitsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +106 -0
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  110. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  112. package/package.json +69 -0
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SupportAuthZClientResolvedConfig } from "../SupportAuthZClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Adds or overwrites one or more tags for a support permit resource.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, TagResourceCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, TagResourceCommand } = require("@aws-sdk/client-supportauthz"); // CommonJS import
38
+ * // import type { SupportAuthZClientConfig } from "@aws-sdk/client-supportauthz";
39
+ * const config = {}; // type is SupportAuthZClientConfig
40
+ * const client = new SupportAuthZClient(config);
41
+ * const input = { // TagResourceInput
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * tags: { // Tags // required
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new TagResourceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
54
+ * @returns {@link TagResourceCommandOutput}
55
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
56
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have sufficient permissions to perform this operation.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An internal service error occurred. Try again later.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource does not exist.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
73
+ *
74
+ * @throws {@link SupportAuthZServiceException}
75
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class TagResourceCommand extends TagResourceCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: TagResourceInput;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: TagResourceCommandInput;
89
+ output: TagResourceCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, SupportAuthZClientResolvedConfig } from "../SupportAuthZClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Removes one or more tags from a support permit resource.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, UntagResourceCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, UntagResourceCommand } = require("@aws-sdk/client-supportauthz"); // CommonJS import
38
+ * // import type { SupportAuthZClientConfig } from "@aws-sdk/client-supportauthz";
39
+ * const config = {}; // type is SupportAuthZClientConfig
40
+ * const client = new SupportAuthZClient(config);
41
+ * const input = { // UntagResourceInput
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * tagKeys: [ // TagKeyList // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
47
+ * const command = new UntagResourceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
54
+ * @returns {@link UntagResourceCommandOutput}
55
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
56
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have sufficient permissions to perform this operation.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An internal service error occurred. Try again later.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource does not exist.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
73
+ *
74
+ * @throws {@link SupportAuthZServiceException}
75
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: UntagResourceInput;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: UntagResourceCommandInput;
89
+ output: UntagResourceCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -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,44 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @public
12
+ */
13
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
14
+ defaultSigningName: string;
15
+ };
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const commonParams: {
24
+ readonly UseFIPS: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "useFipsEndpoint";
27
+ };
28
+ readonly Endpoint: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "endpoint";
31
+ };
32
+ readonly Region: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "region";
35
+ };
36
+ };
37
+ /**
38
+ * @internal
39
+ */
40
+ export interface EndpointParameters extends __EndpointParameters {
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ Region?: string | undefined;
44
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface SupportAuthZExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * <fullname>AWS Support Authorization</fullname> <p>AWS SupportAuthZ enables you to control and authorize the actions that AWS support operators can perform on your resources. You create cryptographically signed support permits specifying which actions operators can perform, on which resources, and under what time-window conditions. Permits are signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./SupportAuthZClient";
7
+ export * from "./SupportAuthZ";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { SupportAuthZExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./schemas/schemas_0";
13
+ export * from "./pagination";
14
+ export * from "./models/enums";
15
+ export * from "./models/errors";
16
+ export * from "./models/models_0";
17
+ export { SupportAuthZServiceException } from "./models/SupportAuthZServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from SupportAuthZ service.
8
+ */
9
+ export declare class SupportAuthZServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const SupportPermitStatus: {
6
+ /**
7
+ * <p>The permit is active and can be used by the support operator.</p>
8
+ */
9
+ readonly ACTIVE: "ACTIVE";
10
+ /**
11
+ * <p>The permit is being deleted.</p>
12
+ */
13
+ readonly DELETING: "DELETING";
14
+ /**
15
+ * <p>The permit is inactive and cannot be used.</p>
16
+ */
17
+ readonly INACTIVE: "INACTIVE";
18
+ };
19
+ /**
20
+ * @public
21
+ */
22
+ export type SupportPermitStatus = (typeof SupportPermitStatus)[keyof typeof SupportPermitStatus];
23
+ /**
24
+ * @public
25
+ * @enum
26
+ */
27
+ export declare const SupportPermitRequestStatus: {
28
+ /**
29
+ * <p>The request has been accepted.</p>
30
+ */
31
+ readonly ACCEPTED: "ACCEPTED";
32
+ /**
33
+ * <p>The request has been cancelled.</p>
34
+ */
35
+ readonly CANCELLED: "CANCELLED";
36
+ /**
37
+ * <p>The request is pending customer review.</p>
38
+ */
39
+ readonly PENDING: "PENDING";
40
+ /**
41
+ * <p>The request has been rejected.</p>
42
+ */
43
+ readonly REJECTED: "REJECTED";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type SupportPermitRequestStatus = (typeof SupportPermitRequestStatus)[keyof typeof SupportPermitRequestStatus];
@@ -0,0 +1,146 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { ValidationExceptionField } from "./models_0";
3
+ import { SupportAuthZServiceException as __BaseException } from "./SupportAuthZServiceException";
4
+ /**
5
+ * <p>You don't have sufficient permissions to perform this operation.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The request conflicts with the current state of the resource.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * <p>The identifier of the resource that caused the conflict.</p>
25
+ * @public
26
+ */
27
+ resourceId: string | undefined;
28
+ /**
29
+ * <p>The type of the resource that caused the conflict.</p>
30
+ * @public
31
+ */
32
+ resourceType: string | undefined;
33
+ /**
34
+ * @internal
35
+ */
36
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
37
+ }
38
+ /**
39
+ * <p>An internal service error occurred. Try again later.</p>
40
+ * @public
41
+ */
42
+ export declare class InternalServerException extends __BaseException {
43
+ readonly name: "InternalServerException";
44
+ readonly $fault: "server";
45
+ $retryable: {};
46
+ /**
47
+ * <p>The number of seconds to wait before retrying the request.</p>
48
+ * @public
49
+ */
50
+ retryAfterSeconds?: number | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>The request exceeds a service quota for your account.</p>
58
+ * @public
59
+ */
60
+ export declare class ServiceQuotaExceededException extends __BaseException {
61
+ readonly name: "ServiceQuotaExceededException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * <p>The identifier of the resource that exceeded the quota.</p>
65
+ * @public
66
+ */
67
+ resourceId: string | undefined;
68
+ /**
69
+ * <p>The type of the resource that exceeded the quota.</p>
70
+ * @public
71
+ */
72
+ resourceType: string | undefined;
73
+ /**
74
+ * <p>The service code of the originating service.</p>
75
+ * @public
76
+ */
77
+ serviceCode: string | undefined;
78
+ /**
79
+ * <p>The quota code of the exceeded quota.</p>
80
+ * @public
81
+ */
82
+ quotaCode: string | undefined;
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
87
+ }
88
+ /**
89
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
90
+ * @public
91
+ */
92
+ export declare class ThrottlingException extends __BaseException {
93
+ readonly name: "ThrottlingException";
94
+ readonly $fault: "client";
95
+ $retryable: {
96
+ throttling: boolean;
97
+ };
98
+ /**
99
+ * <p>The number of seconds to wait before retrying the request.</p>
100
+ * @public
101
+ */
102
+ retryAfterSeconds?: number | undefined;
103
+ /**
104
+ * @internal
105
+ */
106
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
107
+ }
108
+ /**
109
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
110
+ * @public
111
+ */
112
+ export declare class ValidationException extends __BaseException {
113
+ readonly name: "ValidationException";
114
+ readonly $fault: "client";
115
+ /**
116
+ * <p>A list of fields that fail validation. Each entry identifies the field and the reason for the constraint violation.</p>
117
+ * @public
118
+ */
119
+ fieldList?: ValidationExceptionField[] | undefined;
120
+ /**
121
+ * @internal
122
+ */
123
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
124
+ }
125
+ /**
126
+ * <p>The specified resource does not exist.</p>
127
+ * @public
128
+ */
129
+ export declare class ResourceNotFoundException extends __BaseException {
130
+ readonly name: "ResourceNotFoundException";
131
+ readonly $fault: "client";
132
+ /**
133
+ * <p>The identifier of the resource that was not found.</p>
134
+ * @public
135
+ */
136
+ resourceId: string | undefined;
137
+ /**
138
+ * <p>The type of the resource that was not found.</p>
139
+ * @public
140
+ */
141
+ resourceType: string | undefined;
142
+ /**
143
+ * @internal
144
+ */
145
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
146
+ }