@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,122 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetSupportPermitInput, GetSupportPermitOutput } 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 GetSupportPermitCommand}.
14
+ */
15
+ export interface GetSupportPermitCommandInput extends GetSupportPermitInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSupportPermitCommand}.
21
+ */
22
+ export interface GetSupportPermitCommandOutput extends GetSupportPermitOutput, __MetadataBearer {
23
+ }
24
+ declare const GetSupportPermitCommand_base: {
25
+ new (input: GetSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<GetSupportPermitCommandInput, GetSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<GetSupportPermitCommandInput, GetSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves the details of a support permit by its ARN or name.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, GetSupportPermitCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, GetSupportPermitCommand } = 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 = { // GetSupportPermitInput
42
+ * supportPermitIdentifier: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetSupportPermitCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetSupportPermitOutput
47
+ * // name: "STRING_VALUE", // required
48
+ * // arn: "STRING_VALUE", // required
49
+ * // description: "STRING_VALUE",
50
+ * // permit: { // Permit
51
+ * // actions: { // ActionSet Union: only one key present
52
+ * // allActions: {},
53
+ * // actions: [ // Actions
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // resources: { // ResourceSet Union: only one key present
58
+ * // allResourcesInRegion: {},
59
+ * // resources: [ // Resources
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // },
63
+ * // conditions: [ // Conditions
64
+ * // { // Condition Union: only one key present
65
+ * // allowAfter: new Date("TIMESTAMP"),
66
+ * // allowBefore: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // ],
69
+ * // },
70
+ * // status: "ACTIVE" || "INACTIVE" || "DELETING", // required
71
+ * // signingKeyInfo: { // SigningKeyInfo Union: only one key present
72
+ * // kmsKey: "STRING_VALUE",
73
+ * // },
74
+ * // createdAt: new Date("TIMESTAMP"), // required
75
+ * // supportCaseDisplayId: "STRING_VALUE",
76
+ * // tags: { // Tags
77
+ * // "<keys>": "STRING_VALUE",
78
+ * // },
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param GetSupportPermitCommandInput - {@link GetSupportPermitCommandInput}
84
+ * @returns {@link GetSupportPermitCommandOutput}
85
+ * @see {@link GetSupportPermitCommandInput} for command's `input` shape.
86
+ * @see {@link GetSupportPermitCommandOutput} for command's `response` shape.
87
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
88
+ *
89
+ * @throws {@link AccessDeniedException} (client fault)
90
+ * <p>You don't have sufficient permissions to perform this operation.</p>
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <p>An internal service error occurred. Try again later.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified resource does not exist.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
103
+ *
104
+ * @throws {@link SupportAuthZServiceException}
105
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
106
+ *
107
+ *
108
+ * @public
109
+ */
110
+ export declare class GetSupportPermitCommand extends GetSupportPermitCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: GetSupportPermitInput;
115
+ output: GetSupportPermitOutput;
116
+ };
117
+ sdk: {
118
+ input: GetSupportPermitCommandInput;
119
+ output: GetSupportPermitCommandOutput;
120
+ };
121
+ };
122
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListActionsInput, ListActionsOutput } 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 ListActionsCommand}.
14
+ */
15
+ export interface ListActionsCommandInput extends ListActionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListActionsCommand}.
21
+ */
22
+ export interface ListActionsCommandOutput extends ListActionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListActionsCommand_base: {
25
+ new (input: ListActionsCommandInput): import("@smithy/core/client").CommandImpl<ListActionsCommandInput, ListActionsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListActionsCommandInput): import("@smithy/core/client").CommandImpl<ListActionsCommandInput, ListActionsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists available support actions for a specified AWS service. Use pagination to ensure that the operation returns quickly and successfully.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, ListActionsCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, ListActionsCommand } = 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 = { // ListActionsInput
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * service: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new ListActionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListActionsOutput
49
+ * // actionSummaries: [ // ActionSummaries // required
50
+ * // { // ActionSummary
51
+ * // action: "STRING_VALUE", // required
52
+ * // service: "STRING_VALUE", // required
53
+ * // description: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListActionsCommandInput - {@link ListActionsCommandInput}
62
+ * @returns {@link ListActionsCommandOutput}
63
+ * @see {@link ListActionsCommandInput} for command's `input` shape.
64
+ * @see {@link ListActionsCommandOutput} for command's `response` shape.
65
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You don't have sufficient permissions to perform this operation.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal service error occurred. Try again later.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
78
+ *
79
+ * @throws {@link SupportAuthZServiceException}
80
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListActionsCommand extends ListActionsCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListActionsInput;
90
+ output: ListActionsOutput;
91
+ };
92
+ sdk: {
93
+ input: ListActionsCommandInput;
94
+ output: ListActionsCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListSupportPermitRequestsInput, ListSupportPermitRequestsOutput } 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 ListSupportPermitRequestsCommand}.
14
+ */
15
+ export interface ListSupportPermitRequestsCommandInput extends ListSupportPermitRequestsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSupportPermitRequestsCommand}.
21
+ */
22
+ export interface ListSupportPermitRequestsCommandOutput extends ListSupportPermitRequestsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSupportPermitRequestsCommand_base: {
25
+ new (input: ListSupportPermitRequestsCommandInput): import("@smithy/core/client").CommandImpl<ListSupportPermitRequestsCommandInput, ListSupportPermitRequestsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSupportPermitRequestsCommandInput]): import("@smithy/core/client").CommandImpl<ListSupportPermitRequestsCommandInput, ListSupportPermitRequestsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists permit requests from AWS support operators. Use pagination to ensure that the operation returns quickly and successfully.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, ListSupportPermitRequestsCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, ListSupportPermitRequestsCommand } = 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 = { // ListSupportPermitRequestsInput
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * supportCaseDisplayId: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListSupportPermitRequestsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListSupportPermitRequestsOutput
49
+ * // supportPermitRequests: [ // SupportPermitRequests // required
50
+ * // { // SupportPermitRequest
51
+ * // requestArn: "STRING_VALUE", // required
52
+ * // permit: { // Permit
53
+ * // actions: { // ActionSet Union: only one key present
54
+ * // allActions: {},
55
+ * // actions: [ // Actions
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // resources: { // ResourceSet Union: only one key present
60
+ * // allResourcesInRegion: {},
61
+ * // resources: [ // Resources
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // conditions: [ // Conditions
66
+ * // { // Condition Union: only one key present
67
+ * // allowAfter: new Date("TIMESTAMP"),
68
+ * // allowBefore: new Date("TIMESTAMP"),
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // supportCaseDisplayId: "STRING_VALUE", // required
73
+ * // status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELLED", // required
74
+ * // createdAt: new Date("TIMESTAMP"), // required
75
+ * // updatedAt: new Date("TIMESTAMP"), // required
76
+ * // },
77
+ * // ],
78
+ * // nextToken: "STRING_VALUE",
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param ListSupportPermitRequestsCommandInput - {@link ListSupportPermitRequestsCommandInput}
84
+ * @returns {@link ListSupportPermitRequestsCommandOutput}
85
+ * @see {@link ListSupportPermitRequestsCommandInput} for command's `input` shape.
86
+ * @see {@link ListSupportPermitRequestsCommandOutput} for command's `response` shape.
87
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
88
+ *
89
+ * @throws {@link AccessDeniedException} (client fault)
90
+ * <p>You don't have sufficient permissions to perform this operation.</p>
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <p>An internal service error occurred. Try again later.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
100
+ *
101
+ * @throws {@link SupportAuthZServiceException}
102
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class ListSupportPermitRequestsCommand extends ListSupportPermitRequestsCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: ListSupportPermitRequestsInput;
112
+ output: ListSupportPermitRequestsOutput;
113
+ };
114
+ sdk: {
115
+ input: ListSupportPermitRequestsCommandInput;
116
+ output: ListSupportPermitRequestsCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListSupportPermitsInput, ListSupportPermitsOutput } 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 ListSupportPermitsCommand}.
14
+ */
15
+ export interface ListSupportPermitsCommandInput extends ListSupportPermitsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSupportPermitsCommand}.
21
+ */
22
+ export interface ListSupportPermitsCommandOutput extends ListSupportPermitsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSupportPermitsCommand_base: {
25
+ new (input: ListSupportPermitsCommandInput): import("@smithy/core/client").CommandImpl<ListSupportPermitsCommandInput, ListSupportPermitsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSupportPermitsCommandInput]): import("@smithy/core/client").CommandImpl<ListSupportPermitsCommandInput, ListSupportPermitsCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists all support permits in the caller's account. Use pagination to ensure that the operation returns quickly and successfully.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, ListSupportPermitsCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, ListSupportPermitsCommand } = 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 = { // ListSupportPermitsInput
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * supportPermitStatuses: [ // SupportPermitStatuses
45
+ * "ACTIVE" || "INACTIVE" || "DELETING",
46
+ * ],
47
+ * };
48
+ * const command = new ListSupportPermitsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListSupportPermitsOutput
51
+ * // supportPermits: [ // SupportPermitSummaries // required
52
+ * // { // SupportPermitSummary
53
+ * // name: "STRING_VALUE", // required
54
+ * // arn: "STRING_VALUE", // required
55
+ * // permit: { // Permit
56
+ * // actions: { // ActionSet Union: only one key present
57
+ * // allActions: {},
58
+ * // actions: [ // Actions
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // },
62
+ * // resources: { // ResourceSet Union: only one key present
63
+ * // allResourcesInRegion: {},
64
+ * // resources: [ // Resources
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // },
68
+ * // conditions: [ // Conditions
69
+ * // { // Condition Union: only one key present
70
+ * // allowAfter: new Date("TIMESTAMP"),
71
+ * // allowBefore: new Date("TIMESTAMP"),
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // status: "ACTIVE" || "INACTIVE" || "DELETING", // required
76
+ * // signingKeyInfo: { // SigningKeyInfo Union: only one key present
77
+ * // kmsKey: "STRING_VALUE",
78
+ * // },
79
+ * // createdAt: new Date("TIMESTAMP"), // required
80
+ * // supportCaseDisplayId: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // nextToken: "STRING_VALUE",
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param ListSupportPermitsCommandInput - {@link ListSupportPermitsCommandInput}
89
+ * @returns {@link ListSupportPermitsCommandOutput}
90
+ * @see {@link ListSupportPermitsCommandInput} for command's `input` shape.
91
+ * @see {@link ListSupportPermitsCommandOutput} for command's `response` shape.
92
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>You don't have sufficient permissions to perform this operation.</p>
96
+ *
97
+ * @throws {@link InternalServerException} (server fault)
98
+ * <p>An internal service error occurred. Try again later.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
105
+ *
106
+ * @throws {@link SupportAuthZServiceException}
107
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class ListSupportPermitsCommand extends ListSupportPermitsCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: ListSupportPermitsInput;
117
+ output: ListSupportPermitsOutput;
118
+ };
119
+ sdk: {
120
+ input: ListSupportPermitsCommandInput;
121
+ output: ListSupportPermitsCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists the tags associated with 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, ListTagsForResourceCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceInput
42
+ * resourceArn: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ListTagsForResourceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTagsForResourceOutput
47
+ * // tags: { // Tags
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
55
+ * @returns {@link ListTagsForResourceCommandOutput}
56
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
57
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient permissions to perform this operation.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>An internal service error occurred. Try again later.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The specified resource does not exist.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
74
+ *
75
+ * @throws {@link SupportAuthZServiceException}
76
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListTagsForResourceInput;
86
+ output: ListTagsForResourceOutput;
87
+ };
88
+ sdk: {
89
+ input: ListTagsForResourceCommandInput;
90
+ output: ListTagsForResourceCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RejectSupportPermitRequestInput, RejectSupportPermitRequestOutput } 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 RejectSupportPermitRequestCommand}.
14
+ */
15
+ export interface RejectSupportPermitRequestCommandInput extends RejectSupportPermitRequestInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RejectSupportPermitRequestCommand}.
21
+ */
22
+ export interface RejectSupportPermitRequestCommandOutput extends RejectSupportPermitRequestOutput, __MetadataBearer {
23
+ }
24
+ declare const RejectSupportPermitRequestCommand_base: {
25
+ new (input: RejectSupportPermitRequestCommandInput): import("@smithy/core/client").CommandImpl<RejectSupportPermitRequestCommandInput, RejectSupportPermitRequestCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RejectSupportPermitRequestCommandInput): import("@smithy/core/client").CommandImpl<RejectSupportPermitRequestCommandInput, RejectSupportPermitRequestCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Rejects a permit request from an AWS support operator. The operator cannot proceed with the requested action.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SupportAuthZClient, RejectSupportPermitRequestCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
37
+ * // const { SupportAuthZClient, RejectSupportPermitRequestCommand } = 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 = { // RejectSupportPermitRequestInput
42
+ * requestArn: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new RejectSupportPermitRequestCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // RejectSupportPermitRequestOutput
47
+ * // requestArn: "STRING_VALUE", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param RejectSupportPermitRequestCommandInput - {@link RejectSupportPermitRequestCommandInput}
53
+ * @returns {@link RejectSupportPermitRequestCommandOutput}
54
+ * @see {@link RejectSupportPermitRequestCommandInput} for command's `input` shape.
55
+ * @see {@link RejectSupportPermitRequestCommandOutput} for command's `response` shape.
56
+ * @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You don't have sufficient permissions to perform this operation.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>The request conflicts with the current state of the resource.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An internal service error occurred. Try again later.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The specified resource does not exist.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The request rate exceeded the allowed limit. Try again later.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
75
+ *
76
+ * @throws {@link SupportAuthZServiceException}
77
+ * <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class RejectSupportPermitRequestCommand extends RejectSupportPermitRequestCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: RejectSupportPermitRequestInput;
87
+ output: RejectSupportPermitRequestOutput;
88
+ };
89
+ sdk: {
90
+ input: RejectSupportPermitRequestCommandInput;
91
+ output: RejectSupportPermitRequestCommandOutput;
92
+ };
93
+ };
94
+ }