@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,197 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateSupportPermitCommandInput, CreateSupportPermitCommandOutput } from "./commands/CreateSupportPermitCommand";
|
|
10
|
+
import type { DeleteSupportPermitCommandInput, DeleteSupportPermitCommandOutput } from "./commands/DeleteSupportPermitCommand";
|
|
11
|
+
import type { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
|
|
12
|
+
import type { GetSupportPermitCommandInput, GetSupportPermitCommandOutput } from "./commands/GetSupportPermitCommand";
|
|
13
|
+
import type { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
|
|
14
|
+
import type { ListSupportPermitRequestsCommandInput, ListSupportPermitRequestsCommandOutput } from "./commands/ListSupportPermitRequestsCommand";
|
|
15
|
+
import type { ListSupportPermitsCommandInput, ListSupportPermitsCommandOutput } from "./commands/ListSupportPermitsCommand";
|
|
16
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import type { RejectSupportPermitRequestCommandInput, RejectSupportPermitRequestCommandOutput } from "./commands/RejectSupportPermitRequestCommand";
|
|
18
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
22
|
+
export { __Client };
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ServiceInputTypes = CreateSupportPermitCommandInput | DeleteSupportPermitCommandInput | GetActionCommandInput | GetSupportPermitCommandInput | ListActionsCommandInput | ListSupportPermitRequestsCommandInput | ListSupportPermitsCommandInput | ListTagsForResourceCommandInput | RejectSupportPermitRequestCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type ServiceOutputTypes = CreateSupportPermitCommandOutput | DeleteSupportPermitCommandOutput | GetActionCommandOutput | GetSupportPermitCommandOutput | ListActionsCommandOutput | ListSupportPermitRequestsCommandOutput | ListSupportPermitsCommandOutput | ListTagsForResourceCommandOutput | RejectSupportPermitRequestCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
35
|
+
/**
|
|
36
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
37
|
+
*/
|
|
38
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
39
|
+
/**
|
|
40
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
41
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
45
|
+
/**
|
|
46
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
urlParser?: __UrlParser;
|
|
50
|
+
/**
|
|
51
|
+
* A function that can calculate the length of a request body.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
55
|
+
/**
|
|
56
|
+
* A function that converts a stream into an array of bytes.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
streamCollector?: __StreamCollector;
|
|
60
|
+
/**
|
|
61
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
base64Decoder?: __Decoder;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
base64Encoder?: __Encoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
utf8Decoder?: __Decoder;
|
|
75
|
+
/**
|
|
76
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
utf8Encoder?: __Encoder;
|
|
80
|
+
/**
|
|
81
|
+
* The runtime environment.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
runtime?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
87
|
+
* trait of an operation.
|
|
88
|
+
*/
|
|
89
|
+
disableHostPrefix?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Unique service identifier.
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
serviceId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
97
|
+
*/
|
|
98
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Enables FIPS compatible endpoints.
|
|
101
|
+
*/
|
|
102
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* The AWS region to which this client will send requests
|
|
105
|
+
*/
|
|
106
|
+
region?: string | __Provider<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Setting a client profile is similar to setting a value for the
|
|
109
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
110
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
111
|
+
*
|
|
112
|
+
* When set, and only for environments where an AWS configuration
|
|
113
|
+
* file exists, fields configurable by this file will be retrieved
|
|
114
|
+
* from the specified profile within that file.
|
|
115
|
+
* Conflicting code configuration and environment variables will
|
|
116
|
+
* still have higher priority.
|
|
117
|
+
*
|
|
118
|
+
* For client credential resolution that involves checking the AWS
|
|
119
|
+
* configuration file, the client's profile (this value) will be
|
|
120
|
+
* used unless a different profile is set in the credential
|
|
121
|
+
* provider options.
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
profile?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
130
|
+
/**
|
|
131
|
+
* Default credentials provider; Not available in browser runtime.
|
|
132
|
+
* @deprecated
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
136
|
+
/**
|
|
137
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
138
|
+
*/
|
|
139
|
+
maxAttempts?: number | __Provider<number>;
|
|
140
|
+
/**
|
|
141
|
+
* Specifies which retry algorithm to use.
|
|
142
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
retryMode?: string | __Provider<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Optional logger for logging debug/info/warn/error.
|
|
148
|
+
*/
|
|
149
|
+
logger?: __Logger;
|
|
150
|
+
/**
|
|
151
|
+
* Optional extensions
|
|
152
|
+
*/
|
|
153
|
+
extensions?: RuntimeExtension[];
|
|
154
|
+
/**
|
|
155
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
156
|
+
*/
|
|
157
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export type SupportAuthZClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*
|
|
166
|
+
* The configuration interface of SupportAuthZClient class constructor that set the region, credentials and other options.
|
|
167
|
+
*/
|
|
168
|
+
export interface SupportAuthZClientConfig extends SupportAuthZClientConfigType {
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export type SupportAuthZClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*
|
|
177
|
+
* The resolved configuration interface of SupportAuthZClient class. This is resolved and normalized from the {@link SupportAuthZClientConfig | constructor configuration interface}.
|
|
178
|
+
*/
|
|
179
|
+
export interface SupportAuthZClientResolvedConfig extends SupportAuthZClientResolvedConfigType {
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* <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>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export declare class SupportAuthZClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SupportAuthZClientResolvedConfig> {
|
|
186
|
+
/**
|
|
187
|
+
* The resolved configuration of SupportAuthZClient class. This is resolved and normalized from the {@link SupportAuthZClientConfig | constructor configuration interface}.
|
|
188
|
+
*/
|
|
189
|
+
readonly config: SupportAuthZClientResolvedConfig;
|
|
190
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SupportAuthZClientConfig>);
|
|
191
|
+
/**
|
|
192
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
193
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
194
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
195
|
+
*/
|
|
196
|
+
destroy(): void;
|
|
197
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { SupportAuthZHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SupportAuthZHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): SupportAuthZHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: SupportAuthZHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type SupportAuthZClientResolvedConfig } from "../SupportAuthZClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface SupportAuthZHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface SupportAuthZHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SupportAuthZClientResolvedConfig, HandlerExecutionContext, SupportAuthZHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultSupportAuthZHttpAuthSchemeParametersProvider: (config: SupportAuthZClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SupportAuthZHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface SupportAuthZHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SupportAuthZHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultSupportAuthZHttpAuthSchemeProvider: SupportAuthZHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: SupportAuthZHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: SupportAuthZHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateSupportPermitInput, CreateSupportPermitOutput } 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 CreateSupportPermitCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSupportPermitCommandInput extends CreateSupportPermitInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSupportPermitCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSupportPermitCommandOutput extends CreateSupportPermitOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateSupportPermitCommand_base: {
|
|
25
|
+
new (input: CreateSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<CreateSupportPermitCommandInput, CreateSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<CreateSupportPermitCommandInput, CreateSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a support permit that authorizes an AWS support operator to perform specified actions on specified resources. The permit is cryptographically signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SupportAuthZClient, CreateSupportPermitCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
|
|
37
|
+
* // const { SupportAuthZClient, CreateSupportPermitCommand } = 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 = { // CreateSupportPermitInput
|
|
42
|
+
* permit: { // Permit
|
|
43
|
+
* actions: { // ActionSet Union: only one key present
|
|
44
|
+
* allActions: {},
|
|
45
|
+
* actions: [ // Actions
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* resources: { // ResourceSet Union: only one key present
|
|
50
|
+
* allResourcesInRegion: {},
|
|
51
|
+
* resources: [ // Resources
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* conditions: [ // Conditions
|
|
56
|
+
* { // Condition Union: only one key present
|
|
57
|
+
* allowAfter: new Date("TIMESTAMP"),
|
|
58
|
+
* allowBefore: new Date("TIMESTAMP"),
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* name: "STRING_VALUE", // required
|
|
63
|
+
* description: "STRING_VALUE",
|
|
64
|
+
* signingKeyInfo: { // SigningKeyInfo Union: only one key present
|
|
65
|
+
* kmsKey: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* supportCaseDisplayId: "STRING_VALUE",
|
|
68
|
+
* clientToken: "STRING_VALUE",
|
|
69
|
+
* tags: { // Tags
|
|
70
|
+
* "<keys>": "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* };
|
|
73
|
+
* const command = new CreateSupportPermitCommand(input);
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* // { // CreateSupportPermitOutput
|
|
76
|
+
* // name: "STRING_VALUE", // required
|
|
77
|
+
* // arn: "STRING_VALUE", // required
|
|
78
|
+
* // description: "STRING_VALUE",
|
|
79
|
+
* // permit: { // Permit
|
|
80
|
+
* // actions: { // ActionSet Union: only one key present
|
|
81
|
+
* // allActions: {},
|
|
82
|
+
* // actions: [ // Actions
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // },
|
|
86
|
+
* // resources: { // ResourceSet Union: only one key present
|
|
87
|
+
* // allResourcesInRegion: {},
|
|
88
|
+
* // resources: [ // Resources
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // conditions: [ // Conditions
|
|
93
|
+
* // { // Condition Union: only one key present
|
|
94
|
+
* // allowAfter: new Date("TIMESTAMP"),
|
|
95
|
+
* // allowBefore: new Date("TIMESTAMP"),
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // status: "ACTIVE" || "INACTIVE" || "DELETING", // required
|
|
100
|
+
* // signingKeyInfo: { // SigningKeyInfo Union: only one key present
|
|
101
|
+
* // kmsKey: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
104
|
+
* // supportCaseDisplayId: "STRING_VALUE",
|
|
105
|
+
* // tags: { // Tags
|
|
106
|
+
* // "<keys>": "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @param CreateSupportPermitCommandInput - {@link CreateSupportPermitCommandInput}
|
|
113
|
+
* @returns {@link CreateSupportPermitCommandOutput}
|
|
114
|
+
* @see {@link CreateSupportPermitCommandInput} for command's `input` shape.
|
|
115
|
+
* @see {@link CreateSupportPermitCommandOutput} for command's `response` shape.
|
|
116
|
+
* @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
119
|
+
* <p>You don't have sufficient permissions to perform this operation.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ConflictException} (client fault)
|
|
122
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link InternalServerException} (server fault)
|
|
125
|
+
* <p>An internal service error occurred. Try again later.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
128
|
+
* <p>The request exceeds a service quota for your account.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
131
|
+
* <p>The request rate exceeded the allowed limit. Try again later.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ValidationException} (client fault)
|
|
134
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link SupportAuthZServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from SupportAuthZ service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class CreateSupportPermitCommand extends CreateSupportPermitCommand_base {
|
|
143
|
+
/** @internal type navigation helper, not in runtime. */
|
|
144
|
+
protected static __types: {
|
|
145
|
+
api: {
|
|
146
|
+
input: CreateSupportPermitInput;
|
|
147
|
+
output: CreateSupportPermitOutput;
|
|
148
|
+
};
|
|
149
|
+
sdk: {
|
|
150
|
+
input: CreateSupportPermitCommandInput;
|
|
151
|
+
output: CreateSupportPermitCommandOutput;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -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 { DeleteSupportPermitInput, DeleteSupportPermitOutput } 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 DeleteSupportPermitCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSupportPermitCommandInput extends DeleteSupportPermitInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSupportPermitCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSupportPermitCommandOutput extends DeleteSupportPermitOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSupportPermitCommand_base: {
|
|
25
|
+
new (input: DeleteSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<DeleteSupportPermitCommandInput, DeleteSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSupportPermitCommandInput): import("@smithy/core/client").CommandImpl<DeleteSupportPermitCommandInput, DeleteSupportPermitCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a support permit, revoking the authorization previously granted to the AWS support operator.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SupportAuthZClient, DeleteSupportPermitCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
|
|
37
|
+
* // const { SupportAuthZClient, DeleteSupportPermitCommand } = 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 = { // DeleteSupportPermitInput
|
|
42
|
+
* supportPermitIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteSupportPermitCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeleteSupportPermitOutput
|
|
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
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param DeleteSupportPermitCommandInput - {@link DeleteSupportPermitCommandInput}
|
|
81
|
+
* @returns {@link DeleteSupportPermitCommandOutput}
|
|
82
|
+
* @see {@link DeleteSupportPermitCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link DeleteSupportPermitCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link SupportAuthZClientResolvedConfig | config} for SupportAuthZClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
87
|
+
* <p>You don't have sufficient permissions to perform this operation.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>An internal service error occurred. Try again later.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
|
+
* <p>The specified resource does not exist.</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 DeleteSupportPermitCommand extends DeleteSupportPermitCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: DeleteSupportPermitInput;
|
|
112
|
+
output: DeleteSupportPermitOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: DeleteSupportPermitCommandInput;
|
|
116
|
+
output: DeleteSupportPermitCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -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 { GetActionInput, GetActionOutput } 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 GetActionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetActionCommandInput extends GetActionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetActionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetActionCommandOutput extends GetActionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetActionCommand_base: {
|
|
25
|
+
new (input: GetActionCommandInput): import("@smithy/core/client").CommandImpl<GetActionCommandInput, GetActionCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetActionCommandInput): import("@smithy/core/client").CommandImpl<GetActionCommandInput, GetActionCommandOutput, SupportAuthZClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves the description of a specific support 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, GetActionCommand } from "@aws-sdk/client-supportauthz"; // ES Modules import
|
|
37
|
+
* // const { SupportAuthZClient, GetActionCommand } = 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 = { // GetActionInput
|
|
42
|
+
* action: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetActionCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetActionOutput
|
|
47
|
+
* // action: "STRING_VALUE", // required
|
|
48
|
+
* // service: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetActionCommandInput - {@link GetActionCommandInput}
|
|
55
|
+
* @returns {@link GetActionCommandOutput}
|
|
56
|
+
* @see {@link GetActionCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetActionCommandOutput} 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 GetActionCommand extends GetActionCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetActionInput;
|
|
86
|
+
output: GetActionOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetActionCommandInput;
|
|
90
|
+
output: GetActionCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|