@aws-sdk/client-route53globalresolver 3.942.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 +581 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2674 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +36 -0
- package/dist-es/Route53GlobalResolver.js +101 -0
- package/dist-es/Route53GlobalResolverClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateHostedZoneCommand.js +16 -0
- package/dist-es/commands/BatchCreateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/BatchDeleteFirewallRuleCommand.js +16 -0
- package/dist-es/commands/BatchUpdateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/CreateAccessSourceCommand.js +16 -0
- package/dist-es/commands/CreateAccessTokenCommand.js +16 -0
- package/dist-es/commands/CreateDNSViewCommand.js +16 -0
- package/dist-es/commands/CreateFirewallDomainListCommand.js +16 -0
- package/dist-es/commands/CreateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/CreateGlobalResolverCommand.js +16 -0
- package/dist-es/commands/DeleteAccessSourceCommand.js +16 -0
- package/dist-es/commands/DeleteAccessTokenCommand.js +16 -0
- package/dist-es/commands/DeleteDNSViewCommand.js +16 -0
- package/dist-es/commands/DeleteFirewallDomainListCommand.js +16 -0
- package/dist-es/commands/DeleteFirewallRuleCommand.js +16 -0
- package/dist-es/commands/DeleteGlobalResolverCommand.js +16 -0
- package/dist-es/commands/DisableDNSViewCommand.js +16 -0
- package/dist-es/commands/DisassociateHostedZoneCommand.js +16 -0
- package/dist-es/commands/EnableDNSViewCommand.js +16 -0
- package/dist-es/commands/GetAccessSourceCommand.js +16 -0
- package/dist-es/commands/GetAccessTokenCommand.js +16 -0
- package/dist-es/commands/GetDNSViewCommand.js +16 -0
- package/dist-es/commands/GetFirewallDomainListCommand.js +16 -0
- package/dist-es/commands/GetFirewallRuleCommand.js +16 -0
- package/dist-es/commands/GetGlobalResolverCommand.js +16 -0
- package/dist-es/commands/GetHostedZoneAssociationCommand.js +16 -0
- package/dist-es/commands/GetManagedFirewallDomainListCommand.js +16 -0
- package/dist-es/commands/ImportFirewallDomainsCommand.js +16 -0
- package/dist-es/commands/ListAccessSourcesCommand.js +16 -0
- package/dist-es/commands/ListAccessTokensCommand.js +16 -0
- package/dist-es/commands/ListDNSViewsCommand.js +16 -0
- package/dist-es/commands/ListFirewallDomainListsCommand.js +16 -0
- package/dist-es/commands/ListFirewallDomainsCommand.js +16 -0
- package/dist-es/commands/ListFirewallRulesCommand.js +16 -0
- package/dist-es/commands/ListGlobalResolversCommand.js +16 -0
- package/dist-es/commands/ListHostedZoneAssociationsCommand.js +16 -0
- package/dist-es/commands/ListManagedFirewallDomainListsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAccessSourceCommand.js +16 -0
- package/dist-es/commands/UpdateAccessTokenCommand.js +16 -0
- package/dist-es/commands/UpdateDNSViewCommand.js +16 -0
- package/dist-es/commands/UpdateFirewallDomainsCommand.js +16 -0
- package/dist-es/commands/UpdateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/UpdateGlobalResolverCommand.js +16 -0
- package/dist-es/commands/UpdateHostedZoneAssociationCommand.js +16 -0
- package/dist-es/commands/index.js +47 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/Route53GlobalResolverServiceException.js +8 -0
- package/dist-es/models/enums.js +74 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessSourcesPaginator.js +4 -0
- package/dist-es/pagination/ListAccessTokensPaginator.js +4 -0
- package/dist-es/pagination/ListDNSViewsPaginator.js +4 -0
- package/dist-es/pagination/ListFirewallDomainListsPaginator.js +4 -0
- package/dist-es/pagination/ListFirewallDomainsPaginator.js +4 -0
- package/dist-es/pagination/ListFirewallRulesPaginator.js +4 -0
- package/dist-es/pagination/ListGlobalResolversPaginator.js +4 -0
- package/dist-es/pagination/ListHostedZoneAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedFirewallDomainListsPaginator.js +4 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +32 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1651 -0
- package/dist-types/Route53GlobalResolver.d.ts +342 -0
- package/dist-types/Route53GlobalResolverClient.d.ts +243 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateHostedZoneCommand.d.ts +104 -0
- package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +156 -0
- package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +113 -0
- package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +151 -0
- package/dist-types/commands/CreateAccessSourceCommand.d.ts +144 -0
- package/dist-types/commands/CreateAccessTokenCommand.d.ts +109 -0
- package/dist-types/commands/CreateDNSViewCommand.d.ts +115 -0
- package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +109 -0
- package/dist-types/commands/CreateFirewallRuleCommand.d.ts +124 -0
- package/dist-types/commands/CreateGlobalResolverCommand.d.ts +116 -0
- package/dist-types/commands/DeleteAccessSourceCommand.d.ts +101 -0
- package/dist-types/commands/DeleteAccessTokenCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDNSViewCommand.d.ts +103 -0
- package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +95 -0
- package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +108 -0
- package/dist-types/commands/DeleteGlobalResolverCommand.d.ts +107 -0
- package/dist-types/commands/DisableDNSViewCommand.d.ts +103 -0
- package/dist-types/commands/DisassociateHostedZoneCommand.d.ts +100 -0
- package/dist-types/commands/EnableDNSViewCommand.d.ts +103 -0
- package/dist-types/commands/GetAccessSourceCommand.d.ts +98 -0
- package/dist-types/commands/GetAccessTokenCommand.d.ts +99 -0
- package/dist-types/commands/GetDNSViewCommand.d.ts +100 -0
- package/dist-types/commands/GetFirewallDomainListCommand.d.ts +99 -0
- package/dist-types/commands/GetFirewallRuleCommand.d.ts +105 -0
- package/dist-types/commands/GetGlobalResolverCommand.d.ts +104 -0
- package/dist-types/commands/GetHostedZoneAssociationCommand.d.ts +96 -0
- package/dist-types/commands/GetManagedFirewallDomainListCommand.d.ts +92 -0
- package/dist-types/commands/ImportFirewallDomainsCommand.d.ts +96 -0
- package/dist-types/commands/ListAccessSourcesCommand.d.ts +106 -0
- package/dist-types/commands/ListAccessTokensCommand.d.ts +109 -0
- package/dist-types/commands/ListDNSViewsCommand.d.ts +107 -0
- package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +103 -0
- package/dist-types/commands/ListFirewallDomainsCommand.d.ts +94 -0
- package/dist-types/commands/ListFirewallRulesCommand.d.ts +117 -0
- package/dist-types/commands/ListGlobalResolversCommand.d.ts +107 -0
- package/dist-types/commands/ListHostedZoneAssociationsCommand.d.ts +103 -0
- package/dist-types/commands/ListManagedFirewallDomainListsCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +79 -0
- package/dist-types/commands/TagResourceCommand.d.ts +84 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
- package/dist-types/commands/UpdateAccessSourceCommand.d.ts +108 -0
- package/dist-types/commands/UpdateAccessTokenCommand.d.ts +94 -0
- package/dist-types/commands/UpdateDNSViewCommand.d.ts +108 -0
- package/dist-types/commands/UpdateFirewallDomainsCommand.d.ts +98 -0
- package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +119 -0
- package/dist-types/commands/UpdateGlobalResolverCommand.d.ts +110 -0
- package/dist-types/commands/UpdateHostedZoneAssociationCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +47 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/Route53GlobalResolverServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +194 -0
- package/dist-types/models/errors.d.ts +162 -0
- package/dist-types/models/models_0.d.ts +3784 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccessSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccessTokensPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDNSViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFirewallDomainListsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFirewallDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFirewallRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGlobalResolversPaginator.d.ts +7 -0
- package/dist-types/pagination/ListHostedZoneAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedFirewallDomainListsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +192 -0
- package/dist-types/ts3.4/Route53GlobalResolver.d.ts +809 -0
- package/dist-types/ts3.4/Route53GlobalResolverClient.d.ts +408 -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/AssociateHostedZoneCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchCreateFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDeleteFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchUpdateFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAccessSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateFirewallDomainListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGlobalResolverCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAccessSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFirewallDomainListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGlobalResolverCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateHostedZoneCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccessSourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetFirewallDomainListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFirewallRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetGlobalResolverCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetHostedZoneAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedFirewallDomainListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ImportFirewallDomainsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAccessSourcesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListDNSViewsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListFirewallDomainListsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFirewallDomainsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFirewallRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListGlobalResolversCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListHostedZoneAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedFirewallDomainListsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAccessSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAccessTokenCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateDNSViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateFirewallDomainsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFirewallRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGlobalResolverCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateHostedZoneAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +47 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/Route53GlobalResolverServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +101 -0
- package/dist-types/ts3.4/models/errors.d.ts +69 -0
- package/dist-types/ts3.4/models/models_0.d.ts +879 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccessSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccessTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDNSViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFirewallDomainListsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFirewallDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFirewallRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGlobalResolversPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListHostedZoneAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedFirewallDomainListsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +199 -0
- package/package.json +99 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { Route53GlobalResolverClientResolvedConfig } from "../Route53GlobalResolverClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface Route53GlobalResolverHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface Route53GlobalResolverHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<Route53GlobalResolverClientResolvedConfig, HandlerExecutionContext, Route53GlobalResolverHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultRoute53GlobalResolverHttpAuthSchemeParametersProvider: (config: Route53GlobalResolverClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<Route53GlobalResolverHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface Route53GlobalResolverHttpAuthSchemeProvider extends HttpAuthSchemeProvider<Route53GlobalResolverHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultRoute53GlobalResolverHttpAuthSchemeProvider: Route53GlobalResolverHttpAuthSchemeProvider;
|
|
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?: Route53GlobalResolverHttpAuthSchemeProvider;
|
|
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: Route53GlobalResolverHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateHostedZoneInput, AssociateHostedZoneOutput } from "../models/models_0";
|
|
4
|
+
import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateHostedZoneCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateHostedZoneCommandInput extends AssociateHostedZoneInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateHostedZoneCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateHostedZoneCommandOutput extends AssociateHostedZoneOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateHostedZoneCommand_base: {
|
|
25
|
+
new (input: AssociateHostedZoneCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateHostedZoneCommandInput, AssociateHostedZoneCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateHostedZoneCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateHostedZoneCommandInput, AssociateHostedZoneCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, AssociateHostedZoneCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, AssociateHostedZoneCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
|
|
36
|
+
* // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
|
|
37
|
+
* const config = {}; // type is Route53GlobalResolverClientConfig
|
|
38
|
+
* const client = new Route53GlobalResolverClient(config);
|
|
39
|
+
* const input = { // AssociateHostedZoneInput
|
|
40
|
+
* hostedZoneId: "STRING_VALUE", // required
|
|
41
|
+
* resourceArn: "STRING_VALUE", // required
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new AssociateHostedZoneCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // AssociateHostedZoneOutput
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // resourceArn: "STRING_VALUE", // required
|
|
49
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
50
|
+
* // hostedZoneName: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // status: "CREATING" || "OPERATIONAL" || "DELETING", // required
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param AssociateHostedZoneCommandInput - {@link AssociateHostedZoneCommandInput}
|
|
60
|
+
* @returns {@link AssociateHostedZoneCommandOutput}
|
|
61
|
+
* @see {@link AssociateHostedZoneCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link AssociateHostedZoneCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConflictException} (client fault)
|
|
69
|
+
* <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class AssociateHostedZoneCommand extends AssociateHostedZoneCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: AssociateHostedZoneInput;
|
|
97
|
+
output: AssociateHostedZoneOutput;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: AssociateHostedZoneCommandInput;
|
|
101
|
+
output: AssociateHostedZoneCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchCreateFirewallRuleInput, BatchCreateFirewallRuleOutput } from "../models/models_0";
|
|
4
|
+
import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchCreateFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateFirewallRuleCommandInput extends BatchCreateFirewallRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateFirewallRuleCommandOutput extends BatchCreateFirewallRuleOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchCreateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchCreateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates multiple DNS firewall rules in a single operation. This is more efficient than creating rules individually when you need to set up multiple rules at once.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, BatchCreateFirewallRuleCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, BatchCreateFirewallRuleCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
|
|
36
|
+
* // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
|
|
37
|
+
* const config = {}; // type is Route53GlobalResolverClientConfig
|
|
38
|
+
* const client = new Route53GlobalResolverClient(config);
|
|
39
|
+
* const input = { // BatchCreateFirewallRuleInput
|
|
40
|
+
* firewallRules: [ // BatchCreateFirewallRuleInputItems // required
|
|
41
|
+
* { // BatchCreateFirewallRuleInputItem
|
|
42
|
+
* action: "ALLOW" || "ALERT" || "BLOCK", // required
|
|
43
|
+
* blockOverrideDnsType: "CNAME",
|
|
44
|
+
* blockOverrideDomain: "STRING_VALUE",
|
|
45
|
+
* blockOverrideTtl: Number("int"),
|
|
46
|
+
* blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
47
|
+
* clientToken: "STRING_VALUE", // required
|
|
48
|
+
* confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
49
|
+
* description: "STRING_VALUE",
|
|
50
|
+
* dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
51
|
+
* firewallDomainListId: "STRING_VALUE",
|
|
52
|
+
* name: "STRING_VALUE", // required
|
|
53
|
+
* priority: Number("long"),
|
|
54
|
+
* dnsViewId: "STRING_VALUE", // required
|
|
55
|
+
* qType: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* };
|
|
59
|
+
* const command = new BatchCreateFirewallRuleCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // { // BatchCreateFirewallRuleOutput
|
|
62
|
+
* // failures: [ // BatchCreateFirewallRuleOutputItems // required
|
|
63
|
+
* // { // BatchCreateFirewallRuleOutputItem
|
|
64
|
+
* // firewallRule: { // BatchCreateFirewallRuleResult
|
|
65
|
+
* // action: "ALLOW" || "ALERT" || "BLOCK", // required
|
|
66
|
+
* // blockOverrideDnsType: "CNAME",
|
|
67
|
+
* // blockOverrideDomain: "STRING_VALUE",
|
|
68
|
+
* // blockOverrideTtl: Number("int"),
|
|
69
|
+
* // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
70
|
+
* // clientToken: "STRING_VALUE", // required
|
|
71
|
+
* // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
72
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // description: "STRING_VALUE",
|
|
74
|
+
* // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
75
|
+
* // firewallDomainListId: "STRING_VALUE",
|
|
76
|
+
* // id: "STRING_VALUE",
|
|
77
|
+
* // managedDomainListName: "STRING_VALUE",
|
|
78
|
+
* // name: "STRING_VALUE", // required
|
|
79
|
+
* // priority: Number("long"),
|
|
80
|
+
* // dnsViewId: "STRING_VALUE", // required
|
|
81
|
+
* // queryType: "STRING_VALUE",
|
|
82
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
83
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
84
|
+
* // },
|
|
85
|
+
* // code: Number("int"), // required
|
|
86
|
+
* // message: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // successes: [ // required
|
|
90
|
+
* // {
|
|
91
|
+
* // firewallRule: {
|
|
92
|
+
* // action: "ALLOW" || "ALERT" || "BLOCK", // required
|
|
93
|
+
* // blockOverrideDnsType: "CNAME",
|
|
94
|
+
* // blockOverrideDomain: "STRING_VALUE",
|
|
95
|
+
* // blockOverrideTtl: Number("int"),
|
|
96
|
+
* // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
97
|
+
* // clientToken: "STRING_VALUE", // required
|
|
98
|
+
* // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
99
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
100
|
+
* // description: "STRING_VALUE",
|
|
101
|
+
* // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
102
|
+
* // firewallDomainListId: "STRING_VALUE",
|
|
103
|
+
* // id: "STRING_VALUE",
|
|
104
|
+
* // managedDomainListName: "STRING_VALUE",
|
|
105
|
+
* // name: "STRING_VALUE", // required
|
|
106
|
+
* // priority: Number("long"),
|
|
107
|
+
* // dnsViewId: "STRING_VALUE", // required
|
|
108
|
+
* // queryType: "STRING_VALUE",
|
|
109
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
110
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
111
|
+
* // },
|
|
112
|
+
* // code: Number("int"), // required
|
|
113
|
+
* // message: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param BatchCreateFirewallRuleCommandInput - {@link BatchCreateFirewallRuleCommandInput}
|
|
121
|
+
* @returns {@link BatchCreateFirewallRuleCommandOutput}
|
|
122
|
+
* @see {@link BatchCreateFirewallRuleCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link BatchCreateFirewallRuleCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
127
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link InternalServerException} (server fault)
|
|
130
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
133
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ValidationException} (client fault)
|
|
136
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
139
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
140
|
+
*
|
|
141
|
+
*
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class BatchCreateFirewallRuleCommand extends BatchCreateFirewallRuleCommand_base {
|
|
145
|
+
/** @internal type navigation helper, not in runtime. */
|
|
146
|
+
protected static __types: {
|
|
147
|
+
api: {
|
|
148
|
+
input: BatchCreateFirewallRuleInput;
|
|
149
|
+
output: BatchCreateFirewallRuleOutput;
|
|
150
|
+
};
|
|
151
|
+
sdk: {
|
|
152
|
+
input: BatchCreateFirewallRuleCommandInput;
|
|
153
|
+
output: BatchCreateFirewallRuleCommandOutput;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchDeleteFirewallRuleInput, BatchDeleteFirewallRuleOutput } from "../models/models_0";
|
|
4
|
+
import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteFirewallRuleCommandInput extends BatchDeleteFirewallRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteFirewallRuleCommandOutput extends BatchDeleteFirewallRuleOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchDeleteFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, BatchDeleteFirewallRuleCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, BatchDeleteFirewallRuleCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
|
|
36
|
+
* // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
|
|
37
|
+
* const config = {}; // type is Route53GlobalResolverClientConfig
|
|
38
|
+
* const client = new Route53GlobalResolverClient(config);
|
|
39
|
+
* const input = { // BatchDeleteFirewallRuleInput
|
|
40
|
+
* firewallRules: [ // BatchDeleteFirewallRuleInputItems // required
|
|
41
|
+
* { // BatchDeleteFirewallRuleInputItem
|
|
42
|
+
* firewallRuleId: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new BatchDeleteFirewallRuleCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // BatchDeleteFirewallRuleOutput
|
|
49
|
+
* // failures: [ // BatchDeleteFirewallRuleOutputItems // required
|
|
50
|
+
* // { // BatchDeleteFirewallRuleOutputItem
|
|
51
|
+
* // firewallRule: { // BatchDeleteFirewallRuleResult
|
|
52
|
+
* // clientToken: "STRING_VALUE",
|
|
53
|
+
* // id: "STRING_VALUE", // required
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
56
|
+
* // },
|
|
57
|
+
* // code: Number("int"), // required
|
|
58
|
+
* // message: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // successes: [ // required
|
|
62
|
+
* // {
|
|
63
|
+
* // firewallRule: {
|
|
64
|
+
* // clientToken: "STRING_VALUE",
|
|
65
|
+
* // id: "STRING_VALUE", // required
|
|
66
|
+
* // name: "STRING_VALUE",
|
|
67
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
68
|
+
* // },
|
|
69
|
+
* // code: Number("int"), // required
|
|
70
|
+
* // message: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param BatchDeleteFirewallRuleCommandInput - {@link BatchDeleteFirewallRuleCommandInput}
|
|
78
|
+
* @returns {@link BatchDeleteFirewallRuleCommandOutput}
|
|
79
|
+
* @see {@link BatchDeleteFirewallRuleCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link BatchDeleteFirewallRuleCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class BatchDeleteFirewallRuleCommand extends BatchDeleteFirewallRuleCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: BatchDeleteFirewallRuleInput;
|
|
106
|
+
output: BatchDeleteFirewallRuleOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: BatchDeleteFirewallRuleCommandInput;
|
|
110
|
+
output: BatchDeleteFirewallRuleCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchUpdateFirewallRuleInput, BatchUpdateFirewallRuleOutput } from "../models/models_0";
|
|
4
|
+
import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateFirewallRuleCommandInput extends BatchUpdateFirewallRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateFirewallRuleCommandOutput extends BatchUpdateFirewallRuleOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchUpdateFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchUpdateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateFirewallRuleCommandInput, BatchUpdateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchUpdateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateFirewallRuleCommandInput, BatchUpdateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, BatchUpdateFirewallRuleCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, BatchUpdateFirewallRuleCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
|
|
36
|
+
* // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
|
|
37
|
+
* const config = {}; // type is Route53GlobalResolverClientConfig
|
|
38
|
+
* const client = new Route53GlobalResolverClient(config);
|
|
39
|
+
* const input = { // BatchUpdateFirewallRuleInput
|
|
40
|
+
* firewallRules: [ // BatchUpdateFirewallRuleInputItems // required
|
|
41
|
+
* { // BatchUpdateFirewallRuleInputItem
|
|
42
|
+
* action: "ALLOW" || "ALERT" || "BLOCK",
|
|
43
|
+
* blockOverrideDnsType: "CNAME",
|
|
44
|
+
* blockOverrideDomain: "STRING_VALUE",
|
|
45
|
+
* blockOverrideTtl: Number("int"),
|
|
46
|
+
* blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
47
|
+
* confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
48
|
+
* description: "STRING_VALUE",
|
|
49
|
+
* dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
50
|
+
* firewallRuleId: "STRING_VALUE", // required
|
|
51
|
+
* name: "STRING_VALUE",
|
|
52
|
+
* priority: Number("long"),
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
56
|
+
* const command = new BatchUpdateFirewallRuleCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // BatchUpdateFirewallRuleOutput
|
|
59
|
+
* // failures: [ // BatchUpdateFirewallRuleOutputItems // required
|
|
60
|
+
* // { // BatchUpdateFirewallRuleOutputItem
|
|
61
|
+
* // firewallRule: { // BatchUpdateFirewallRuleResult
|
|
62
|
+
* // action: "ALLOW" || "ALERT" || "BLOCK",
|
|
63
|
+
* // blockOverrideDnsType: "CNAME",
|
|
64
|
+
* // blockOverrideDomain: "STRING_VALUE",
|
|
65
|
+
* // blockOverrideTtl: Number("int"),
|
|
66
|
+
* // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
67
|
+
* // clientToken: "STRING_VALUE",
|
|
68
|
+
* // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
69
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
70
|
+
* // description: "STRING_VALUE",
|
|
71
|
+
* // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
72
|
+
* // firewallDomainListId: "STRING_VALUE",
|
|
73
|
+
* // id: "STRING_VALUE", // required
|
|
74
|
+
* // name: "STRING_VALUE",
|
|
75
|
+
* // priority: Number("long"),
|
|
76
|
+
* // dnsViewId: "STRING_VALUE",
|
|
77
|
+
* // queryType: "STRING_VALUE",
|
|
78
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
79
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
80
|
+
* // },
|
|
81
|
+
* // code: Number("int"), // required
|
|
82
|
+
* // message: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // successes: [ // required
|
|
86
|
+
* // {
|
|
87
|
+
* // firewallRule: {
|
|
88
|
+
* // action: "ALLOW" || "ALERT" || "BLOCK",
|
|
89
|
+
* // blockOverrideDnsType: "CNAME",
|
|
90
|
+
* // blockOverrideDomain: "STRING_VALUE",
|
|
91
|
+
* // blockOverrideTtl: Number("int"),
|
|
92
|
+
* // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
93
|
+
* // clientToken: "STRING_VALUE",
|
|
94
|
+
* // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
95
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
96
|
+
* // description: "STRING_VALUE",
|
|
97
|
+
* // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
98
|
+
* // firewallDomainListId: "STRING_VALUE",
|
|
99
|
+
* // id: "STRING_VALUE", // required
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // priority: Number("long"),
|
|
102
|
+
* // dnsViewId: "STRING_VALUE",
|
|
103
|
+
* // queryType: "STRING_VALUE",
|
|
104
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING",
|
|
105
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
106
|
+
* // },
|
|
107
|
+
* // code: Number("int"), // required
|
|
108
|
+
* // message: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // };
|
|
112
|
+
*
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* @param BatchUpdateFirewallRuleCommandInput - {@link BatchUpdateFirewallRuleCommandInput}
|
|
116
|
+
* @returns {@link BatchUpdateFirewallRuleCommandOutput}
|
|
117
|
+
* @see {@link BatchUpdateFirewallRuleCommandInput} for command's `input` shape.
|
|
118
|
+
* @see {@link BatchUpdateFirewallRuleCommandOutput} for command's `response` shape.
|
|
119
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
122
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link InternalServerException} (server fault)
|
|
125
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
128
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ValidationException} (client fault)
|
|
131
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class BatchUpdateFirewallRuleCommand extends BatchUpdateFirewallRuleCommand_base {
|
|
140
|
+
/** @internal type navigation helper, not in runtime. */
|
|
141
|
+
protected static __types: {
|
|
142
|
+
api: {
|
|
143
|
+
input: BatchUpdateFirewallRuleInput;
|
|
144
|
+
output: BatchUpdateFirewallRuleOutput;
|
|
145
|
+
};
|
|
146
|
+
sdk: {
|
|
147
|
+
input: BatchUpdateFirewallRuleCommandInput;
|
|
148
|
+
output: BatchUpdateFirewallRuleCommandOutput;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}
|