@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,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateAccessSourceInput, UpdateAccessSourceOutput } 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 UpdateAccessSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAccessSourceCommandInput extends UpdateAccessSourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAccessSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAccessSourceCommandOutput extends UpdateAccessSourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAccessSourceCommand_base: {
|
|
25
|
+
new (input: UpdateAccessSourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccessSourceCommandInput, UpdateAccessSourceCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAccessSourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccessSourceCommandInput, UpdateAccessSourceCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of an access source.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateAccessSourceCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateAccessSourceCommand } = 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 = { // UpdateAccessSourceInput
|
|
40
|
+
* accessSourceId: "STRING_VALUE", // required
|
|
41
|
+
* cidr: "STRING_VALUE",
|
|
42
|
+
* ipAddressType: "IPV4" || "IPV6",
|
|
43
|
+
* name: "STRING_VALUE",
|
|
44
|
+
* protocol: "DO53" || "DOH" || "DOT",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateAccessSourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateAccessSourceOutput
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // cidr: "STRING_VALUE", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // id: "STRING_VALUE", // required
|
|
53
|
+
* // ipAddressType: "IPV4" || "IPV6", // required
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // dnsViewId: "STRING_VALUE", // required
|
|
56
|
+
* // protocol: "DO53" || "DOH" || "DOT", // required
|
|
57
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
|
|
58
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param UpdateAccessSourceCommandInput - {@link UpdateAccessSourceCommandInput}
|
|
64
|
+
* @returns {@link UpdateAccessSourceCommandOutput}
|
|
65
|
+
* @see {@link UpdateAccessSourceCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link UpdateAccessSourceCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class UpdateAccessSourceCommand extends UpdateAccessSourceCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: UpdateAccessSourceInput;
|
|
101
|
+
output: UpdateAccessSourceOutput;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: UpdateAccessSourceCommandInput;
|
|
105
|
+
output: UpdateAccessSourceCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateAccessTokenInput, UpdateAccessTokenOutput } 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 UpdateAccessTokenCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAccessTokenCommandInput extends UpdateAccessTokenInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAccessTokenCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAccessTokenCommandOutput extends UpdateAccessTokenOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAccessTokenCommand_base: {
|
|
25
|
+
new (input: UpdateAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccessTokenCommandInput, UpdateAccessTokenCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccessTokenCommandInput, UpdateAccessTokenCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of an access token.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateAccessTokenCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateAccessTokenCommand } = 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 = { // UpdateAccessTokenInput
|
|
40
|
+
* accessTokenId: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateAccessTokenCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateAccessTokenOutput
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateAccessTokenCommandInput - {@link UpdateAccessTokenCommandInput}
|
|
53
|
+
* @returns {@link UpdateAccessTokenCommandOutput}
|
|
54
|
+
* @see {@link UpdateAccessTokenCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateAccessTokenCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <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>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class UpdateAccessTokenCommand extends UpdateAccessTokenCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: UpdateAccessTokenInput;
|
|
87
|
+
output: UpdateAccessTokenOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: UpdateAccessTokenCommandInput;
|
|
91
|
+
output: UpdateAccessTokenCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateDNSViewInput, UpdateDNSViewOutput } 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 UpdateDNSViewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDNSViewCommandInput extends UpdateDNSViewInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDNSViewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDNSViewCommandOutput extends UpdateDNSViewOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDNSViewCommand_base: {
|
|
25
|
+
new (input: UpdateDNSViewCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDNSViewCommandInput, UpdateDNSViewCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDNSViewCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDNSViewCommandInput, UpdateDNSViewCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of a DNS view.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateDNSViewCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateDNSViewCommand } = 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 = { // UpdateDNSViewInput
|
|
40
|
+
* dnsViewId: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* dnssecValidation: "ENABLED" || "DISABLED",
|
|
44
|
+
* ednsClientSubnet: "ENABLED" || "DISABLED",
|
|
45
|
+
* firewallRulesFailOpen: "ENABLED" || "DISABLED",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateDNSViewCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateDNSViewOutput
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // clientToken: "STRING_VALUE",
|
|
53
|
+
* // dnssecValidation: "ENABLED" || "DISABLED", // required
|
|
54
|
+
* // ednsClientSubnet: "ENABLED" || "DISABLED", // required
|
|
55
|
+
* // firewallRulesFailOpen: "ENABLED" || "DISABLED", // required
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // globalResolverId: "STRING_VALUE", // required
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "ENABLING" || "DISABLING" || "DISABLED" || "DELETING", // required
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateDNSViewCommandInput - {@link UpdateDNSViewCommandInput}
|
|
67
|
+
* @returns {@link UpdateDNSViewCommandOutput}
|
|
68
|
+
* @see {@link UpdateDNSViewCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateDNSViewCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class UpdateDNSViewCommand extends UpdateDNSViewCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: UpdateDNSViewInput;
|
|
101
|
+
output: UpdateDNSViewOutput;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: UpdateDNSViewCommandInput;
|
|
105
|
+
output: UpdateDNSViewCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateFirewallDomainsInput, UpdateFirewallDomainsOutput } 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 UpdateFirewallDomainsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFirewallDomainsCommandInput extends UpdateFirewallDomainsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFirewallDomainsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFirewallDomainsCommandOutput extends UpdateFirewallDomainsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFirewallDomainsCommand_base: {
|
|
25
|
+
new (input: UpdateFirewallDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFirewallDomainsCommandInput, UpdateFirewallDomainsCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFirewallDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFirewallDomainsCommandInput, UpdateFirewallDomainsCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a DNS Firewall domain list from an array of specified domains.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateFirewallDomainsCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateFirewallDomainsCommand } = 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 = { // UpdateFirewallDomainsInput
|
|
40
|
+
* domains: [ // Domains // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* firewallDomainListId: "STRING_VALUE", // required
|
|
44
|
+
* operation: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateFirewallDomainsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateFirewallDomainsOutput
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateFirewallDomainsCommandInput - {@link UpdateFirewallDomainsCommandInput}
|
|
57
|
+
* @returns {@link UpdateFirewallDomainsCommandOutput}
|
|
58
|
+
* @see {@link UpdateFirewallDomainsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateFirewallDomainsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <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>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class UpdateFirewallDomainsCommand extends UpdateFirewallDomainsCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: UpdateFirewallDomainsInput;
|
|
91
|
+
output: UpdateFirewallDomainsOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: UpdateFirewallDomainsCommandInput;
|
|
95
|
+
output: UpdateFirewallDomainsCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateFirewallRuleInput, UpdateFirewallRuleOutput } 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 UpdateFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFirewallRuleCommandInput extends UpdateFirewallRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFirewallRuleCommandOutput extends UpdateFirewallRuleOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFirewallRuleCommand_base: {
|
|
25
|
+
new (input: UpdateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFirewallRuleCommandInput, UpdateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFirewallRuleCommandInput, UpdateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of a DNS firewall rule.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateFirewallRuleCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateFirewallRuleCommand } = 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 = { // UpdateFirewallRuleInput
|
|
40
|
+
* action: "ALLOW" || "ALERT" || "BLOCK",
|
|
41
|
+
* blockOverrideDnsType: "CNAME",
|
|
42
|
+
* blockOverrideDomain: "STRING_VALUE",
|
|
43
|
+
* blockOverrideTtl: Number("int"),
|
|
44
|
+
* blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
45
|
+
* clientToken: "STRING_VALUE", // required
|
|
46
|
+
* confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
47
|
+
* description: "STRING_VALUE",
|
|
48
|
+
* dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
49
|
+
* firewallRuleId: "STRING_VALUE", // required
|
|
50
|
+
* name: "STRING_VALUE",
|
|
51
|
+
* priority: Number("long"),
|
|
52
|
+
* };
|
|
53
|
+
* const command = new UpdateFirewallRuleCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // UpdateFirewallRuleOutput
|
|
56
|
+
* // action: "ALLOW" || "ALERT" || "BLOCK", // required
|
|
57
|
+
* // blockOverrideDnsType: "CNAME",
|
|
58
|
+
* // blockOverrideDomain: "STRING_VALUE",
|
|
59
|
+
* // blockOverrideTtl: Number("int"),
|
|
60
|
+
* // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
61
|
+
* // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // description: "STRING_VALUE",
|
|
64
|
+
* // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
|
|
65
|
+
* // firewallDomainListId: "STRING_VALUE",
|
|
66
|
+
* // id: "STRING_VALUE", // required
|
|
67
|
+
* // name: "STRING_VALUE", // required
|
|
68
|
+
* // priority: Number("long"), // required
|
|
69
|
+
* // dnsViewId: "STRING_VALUE", // required
|
|
70
|
+
* // queryType: "STRING_VALUE",
|
|
71
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
|
|
72
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param UpdateFirewallRuleCommandInput - {@link UpdateFirewallRuleCommandInput}
|
|
78
|
+
* @returns {@link UpdateFirewallRuleCommandOutput}
|
|
79
|
+
* @see {@link UpdateFirewallRuleCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link UpdateFirewallRuleCommandOutput} 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 ConflictException} (client fault)
|
|
87
|
+
* <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>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class UpdateFirewallRuleCommand extends UpdateFirewallRuleCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: UpdateFirewallRuleInput;
|
|
112
|
+
output: UpdateFirewallRuleOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: UpdateFirewallRuleCommandInput;
|
|
116
|
+
output: UpdateFirewallRuleCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateGlobalResolverInput, UpdateGlobalResolverOutput } 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 UpdateGlobalResolverCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateGlobalResolverCommandInput extends UpdateGlobalResolverInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateGlobalResolverCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateGlobalResolverCommandOutput extends UpdateGlobalResolverOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateGlobalResolverCommand_base: {
|
|
25
|
+
new (input: UpdateGlobalResolverCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGlobalResolverCommandInput, UpdateGlobalResolverCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateGlobalResolverCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGlobalResolverCommandInput, UpdateGlobalResolverCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of a Route 53 Global Resolver instance. You can modify the name, description, and observability region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { Route53GlobalResolverClient, UpdateGlobalResolverCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
|
|
35
|
+
* // const { Route53GlobalResolverClient, UpdateGlobalResolverCommand } = 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 = { // UpdateGlobalResolverInput
|
|
40
|
+
* globalResolverId: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* observabilityRegion: "STRING_VALUE",
|
|
43
|
+
* description: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateGlobalResolverCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // UpdateGlobalResolverOutput
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // clientToken: "STRING_VALUE", // required
|
|
51
|
+
* // dnsName: "STRING_VALUE", // required
|
|
52
|
+
* // observabilityRegion: "STRING_VALUE",
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // regions: [ // Regions // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
|
|
61
|
+
* // ipv4Addresses: [ // IPv4Addresses // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdateGlobalResolverCommandInput - {@link UpdateGlobalResolverCommandInput}
|
|
69
|
+
* @returns {@link UpdateGlobalResolverCommandOutput}
|
|
70
|
+
* @see {@link UpdateGlobalResolverCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdateGlobalResolverCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>An internal server error occurred. Try again later.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The specified resource was not found. Verify the resource ID and try again.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The input parameters are invalid. Check the parameter values and try again.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link Route53GlobalResolverServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class UpdateGlobalResolverCommand extends UpdateGlobalResolverCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: UpdateGlobalResolverInput;
|
|
103
|
+
output: UpdateGlobalResolverOutput;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: UpdateGlobalResolverCommandInput;
|
|
107
|
+
output: UpdateGlobalResolverCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|