@aws-sdk/client-cloudfront 3.797.0 → 3.799.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/README.md +200 -0
- package/dist-cjs/index.js +2696 -655
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/CloudFront.js +50 -0
- package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +22 -0
- package/dist-es/commands/AssociateDistributionWebACLCommand.js +22 -0
- package/dist-es/commands/CreateConnectionGroupCommand.js +22 -0
- package/dist-es/commands/CreateDistributionTenantCommand.js +22 -0
- package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/DeleteConnectionGroupCommand.js +22 -0
- package/dist-es/commands/DeleteDistributionTenantCommand.js +22 -0
- package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +22 -0
- package/dist-es/commands/DisassociateDistributionWebACLCommand.js +22 -0
- package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +22 -0
- package/dist-es/commands/GetConnectionGroupCommand.js +22 -0
- package/dist-es/commands/GetDistributionTenantByDomainCommand.js +22 -0
- package/dist-es/commands/GetDistributionTenantCommand.js +22 -0
- package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/GetManagedCertificateDetailsCommand.js +22 -0
- package/dist-es/commands/ListConnectionGroupsCommand.js +22 -0
- package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +22 -0
- package/dist-es/commands/ListDistributionTenantsCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +23 -0
- package/dist-es/commands/ListDomainConflictsCommand.js +22 -0
- package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/TestFunctionCommand.js +1 -1
- package/dist-es/commands/UpdateConnectionGroupCommand.js +22 -0
- package/dist-es/commands/UpdateDistributionCommand.js +1 -1
- package/dist-es/commands/UpdateDistributionTenantCommand.js +22 -0
- package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +1 -1
- package/dist-es/commands/UpdateDomainAssociationCommand.js +22 -0
- package/dist-es/commands/UpdateFunctionCommand.js +1 -1
- package/dist-es/commands/VerifyDnsConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +26 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +77 -201
- package/dist-es/models/models_1.js +203 -58
- package/dist-es/models/models_2.js +52 -0
- package/dist-es/pagination/ListConnectionGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionTenantsByCustomizationPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionTenantsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByConnectionModePaginator.js +4 -0
- package/dist-es/pagination/ListDomainConflictsPaginator.js +4 -0
- package/dist-es/pagination/ListInvalidationsForDistributionTenantPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restXml.js +1907 -460
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +31 -0
- package/dist-types/CloudFront.d.ts +178 -0
- package/dist-types/CloudFrontClient.d.ts +27 -2
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +92 -0
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +92 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +16 -1
- package/dist-types/commands/CreateConnectionGroupCommand.d.ts +123 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +35 -2
- package/dist-types/commands/CreateDistributionTenantCommand.d.ts +185 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +32 -2
- package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +119 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -2
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +90 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +90 -0
- package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +90 -0
- package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +99 -0
- package/dist-types/commands/GetConnectionGroupCommand.d.ts +99 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +16 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +16 -1
- package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +124 -0
- package/dist-types/commands/GetDistributionTenantCommand.d.ts +124 -0
- package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +95 -0
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +89 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectionGroupsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +120 -0
- package/dist-types/commands/ListDistributionTenantsCommand.d.ts +121 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +392 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +3 -1
- package/dist-types/commands/ListDomainConflictsCommand.d.ts +96 -0
- package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +96 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +3 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +123 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -3
- package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +182 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -2
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -1
- package/dist-types/commands/VerifyDnsConfigurationCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +26 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +830 -869
- package/dist-types/models/models_1.d.ts +2571 -2123
- package/dist-types/models/models_2.d.ts +1244 -0
- package/dist-types/pagination/ListConnectionGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionTenantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByConnectionModePaginator.d.ts +7 -0
- package/dist-types/pagination/ListDomainConflictsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restXml.d.ts +225 -0
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/CloudFront.d.ts +476 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +152 -2
- package/dist-types/ts3.4/commands/AssociateDistributionTenantWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateDistributionWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateInvalidationForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConnectionGroupCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteDistributionTenantCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateDistributionTenantWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateDistributionWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDistributionTenantByDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvalidationForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectionGroupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionTenantsByCustomizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionTenantsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByConnectionModeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDomainConflictsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvalidationsForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/VerifyDnsConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +190 -214
- package/dist-types/ts3.4/models/models_1.d.ts +413 -275
- package/dist-types/ts3.4/models/models_2.d.ts +363 -0
- package/dist-types/ts3.4/pagination/ListConnectionGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionTenantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByConnectionModePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDomainConflictsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +300 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +14 -0
- package/package.json +11 -11
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { CreateDistributionTenantRequest, CreateDistributionTenantResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDistributionTenantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDistributionTenantCommandInput extends CreateDistributionTenantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDistributionTenantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDistributionTenantCommandOutput extends CreateDistributionTenantResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDistributionTenantCommand_base: {
|
|
25
|
+
new (input: CreateDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDistributionTenantCommandInput, CreateDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDistributionTenantCommandInput, CreateDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a distribution tenant.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, CreateDistributionTenantCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, CreateDistributionTenantCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // CreateDistributionTenantRequest
|
|
38
|
+
* DistributionId: "STRING_VALUE", // required
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Domains: [ // DomainList // required
|
|
41
|
+
* { // DomainItem
|
|
42
|
+
* Domain: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* Tags: { // Tags
|
|
46
|
+
* Items: [ // TagList
|
|
47
|
+
* { // Tag
|
|
48
|
+
* Key: "STRING_VALUE", // required
|
|
49
|
+
* Value: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* Customizations: { // Customizations
|
|
54
|
+
* WebAcl: { // WebAclCustomization
|
|
55
|
+
* Action: "override" || "disable", // required
|
|
56
|
+
* Arn: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* Certificate: { // Certificate
|
|
59
|
+
* Arn: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* GeoRestrictions: { // GeoRestrictionCustomization
|
|
62
|
+
* RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
63
|
+
* Locations: [ // LocationList
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* Parameters: [ // Parameters
|
|
69
|
+
* { // Parameter
|
|
70
|
+
* Name: "STRING_VALUE", // required
|
|
71
|
+
* Value: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* ConnectionGroupId: "STRING_VALUE",
|
|
75
|
+
* ManagedCertificateRequest: { // ManagedCertificateRequest
|
|
76
|
+
* ValidationTokenHost: "cloudfront" || "self-hosted", // required
|
|
77
|
+
* PrimaryDomainName: "STRING_VALUE",
|
|
78
|
+
* CertificateTransparencyLoggingPreference: "enabled" || "disabled",
|
|
79
|
+
* },
|
|
80
|
+
* Enabled: true || false,
|
|
81
|
+
* };
|
|
82
|
+
* const command = new CreateDistributionTenantCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* // { // CreateDistributionTenantResult
|
|
85
|
+
* // DistributionTenant: { // DistributionTenant
|
|
86
|
+
* // Id: "STRING_VALUE",
|
|
87
|
+
* // DistributionId: "STRING_VALUE",
|
|
88
|
+
* // Name: "STRING_VALUE",
|
|
89
|
+
* // Arn: "STRING_VALUE",
|
|
90
|
+
* // Domains: [ // DomainResultList
|
|
91
|
+
* // { // DomainResult
|
|
92
|
+
* // Domain: "STRING_VALUE", // required
|
|
93
|
+
* // Status: "active" || "inactive",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // Tags: { // Tags
|
|
97
|
+
* // Items: [ // TagList
|
|
98
|
+
* // { // Tag
|
|
99
|
+
* // Key: "STRING_VALUE", // required
|
|
100
|
+
* // Value: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // Customizations: { // Customizations
|
|
105
|
+
* // WebAcl: { // WebAclCustomization
|
|
106
|
+
* // Action: "override" || "disable", // required
|
|
107
|
+
* // Arn: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // Certificate: { // Certificate
|
|
110
|
+
* // Arn: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // GeoRestrictions: { // GeoRestrictionCustomization
|
|
113
|
+
* // RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
114
|
+
* // Locations: [ // LocationList
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // Parameters: [ // Parameters
|
|
120
|
+
* // { // Parameter
|
|
121
|
+
* // Name: "STRING_VALUE", // required
|
|
122
|
+
* // Value: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // ConnectionGroupId: "STRING_VALUE",
|
|
126
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
127
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
128
|
+
* // Enabled: true || false,
|
|
129
|
+
* // Status: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // ETag: "STRING_VALUE",
|
|
132
|
+
* // };
|
|
133
|
+
*
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* @param CreateDistributionTenantCommandInput - {@link CreateDistributionTenantCommandInput}
|
|
137
|
+
* @returns {@link CreateDistributionTenantCommandOutput}
|
|
138
|
+
* @see {@link CreateDistributionTenantCommandInput} for command's `input` shape.
|
|
139
|
+
* @see {@link CreateDistributionTenantCommandOutput} for command's `response` shape.
|
|
140
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link AccessDenied} (client fault)
|
|
143
|
+
* <p>Access denied.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link CNAMEAlreadyExists} (client fault)
|
|
146
|
+
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link EntityAlreadyExists} (client fault)
|
|
149
|
+
* <p>The entity already exists. You must provide a unique
|
|
150
|
+
* entity.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link EntityLimitExceeded} (client fault)
|
|
153
|
+
* <p>The entity limit has been exceeded.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
156
|
+
* <p>The entity was not found.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
159
|
+
* <p>An argument is invalid.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link InvalidAssociation} (client fault)
|
|
162
|
+
* <p>The specified CloudFront resource can't be associated.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link InvalidTagging} (client fault)
|
|
165
|
+
* <p>The tagging specified is not valid.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link CloudFrontServiceException}
|
|
168
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
169
|
+
*
|
|
170
|
+
*
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export declare class CreateDistributionTenantCommand extends CreateDistributionTenantCommand_base {
|
|
174
|
+
/** @internal type navigation helper, not in runtime. */
|
|
175
|
+
protected static __types: {
|
|
176
|
+
api: {
|
|
177
|
+
input: CreateDistributionTenantRequest;
|
|
178
|
+
output: CreateDistributionTenantResult;
|
|
179
|
+
};
|
|
180
|
+
sdk: {
|
|
181
|
+
input: CreateDistributionTenantCommandInput;
|
|
182
|
+
output: CreateDistributionTenantCommandOutput;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
}
|
|
@@ -322,7 +322,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
322
322
|
* Bucket: "STRING_VALUE",
|
|
323
323
|
* Prefix: "STRING_VALUE",
|
|
324
324
|
* },
|
|
325
|
-
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
325
|
+
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
326
326
|
* Enabled: true || false, // required
|
|
327
327
|
* ViewerCertificate: { // ViewerCertificate
|
|
328
328
|
* CloudFrontDefaultCertificate: true || false,
|
|
@@ -348,6 +348,21 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
348
348
|
* ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
349
349
|
* Staging: true || false,
|
|
350
350
|
* AnycastIpListId: "STRING_VALUE",
|
|
351
|
+
* TenantConfig: { // TenantConfig
|
|
352
|
+
* ParameterDefinitions: [ // ParameterDefinitions
|
|
353
|
+
* { // ParameterDefinition
|
|
354
|
+
* Name: "STRING_VALUE", // required
|
|
355
|
+
* Definition: { // ParameterDefinitionSchema
|
|
356
|
+
* StringSchema: { // StringSchemaConfig
|
|
357
|
+
* Comment: "STRING_VALUE",
|
|
358
|
+
* DefaultValue: "STRING_VALUE",
|
|
359
|
+
* Required: true || false, // required
|
|
360
|
+
* },
|
|
361
|
+
* },
|
|
362
|
+
* },
|
|
363
|
+
* ],
|
|
364
|
+
* },
|
|
365
|
+
* ConnectionMode: "direct" || "tenant-only",
|
|
351
366
|
* },
|
|
352
367
|
* Tags: { // Tags
|
|
353
368
|
* Items: [ // TagList
|
|
@@ -672,7 +687,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
672
687
|
* // Bucket: "STRING_VALUE",
|
|
673
688
|
* // Prefix: "STRING_VALUE",
|
|
674
689
|
* // },
|
|
675
|
-
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
690
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
676
691
|
* // Enabled: true || false, // required
|
|
677
692
|
* // ViewerCertificate: { // ViewerCertificate
|
|
678
693
|
* // CloudFrontDefaultCertificate: true || false,
|
|
@@ -698,6 +713,21 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
698
713
|
* // ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
699
714
|
* // Staging: true || false,
|
|
700
715
|
* // AnycastIpListId: "STRING_VALUE",
|
|
716
|
+
* // TenantConfig: { // TenantConfig
|
|
717
|
+
* // ParameterDefinitions: [ // ParameterDefinitions
|
|
718
|
+
* // { // ParameterDefinition
|
|
719
|
+
* // Name: "STRING_VALUE", // required
|
|
720
|
+
* // Definition: { // ParameterDefinitionSchema
|
|
721
|
+
* // StringSchema: { // StringSchemaConfig
|
|
722
|
+
* // Comment: "STRING_VALUE",
|
|
723
|
+
* // DefaultValue: "STRING_VALUE",
|
|
724
|
+
* // Required: true || false, // required
|
|
725
|
+
* // },
|
|
726
|
+
* // },
|
|
727
|
+
* // },
|
|
728
|
+
* // ],
|
|
729
|
+
* // },
|
|
730
|
+
* // ConnectionMode: "direct" || "tenant-only",
|
|
701
731
|
* // },
|
|
702
732
|
* // AliasICPRecordals: [ // AliasICPRecordals
|
|
703
733
|
* // { // AliasICPRecordal
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { CreateInvalidationForDistributionTenantRequest, CreateInvalidationForDistributionTenantResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInvalidationForDistributionTenantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInvalidationForDistributionTenantCommandInput extends CreateInvalidationForDistributionTenantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInvalidationForDistributionTenantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInvalidationForDistributionTenantCommandOutput extends CreateInvalidationForDistributionTenantResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateInvalidationForDistributionTenantCommand_base: {
|
|
25
|
+
new (input: CreateInvalidationForDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvalidationForDistributionTenantCommandInput, CreateInvalidationForDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateInvalidationForDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvalidationForDistributionTenantCommandInput, CreateInvalidationForDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an invalidation for a distribution tenant. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html">Invalidating files</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, CreateInvalidationForDistributionTenantCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, CreateInvalidationForDistributionTenantCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // CreateInvalidationForDistributionTenantRequest
|
|
38
|
+
* Id: "STRING_VALUE", // required
|
|
39
|
+
* InvalidationBatch: { // InvalidationBatch
|
|
40
|
+
* Paths: { // Paths
|
|
41
|
+
* Quantity: Number("int"), // required
|
|
42
|
+
* Items: [ // PathList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* CallerReference: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
49
|
+
* const command = new CreateInvalidationForDistributionTenantCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // CreateInvalidationForDistributionTenantResult
|
|
52
|
+
* // Location: "STRING_VALUE",
|
|
53
|
+
* // Invalidation: { // Invalidation
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Status: "STRING_VALUE", // required
|
|
56
|
+
* // CreateTime: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // InvalidationBatch: { // InvalidationBatch
|
|
58
|
+
* // Paths: { // Paths
|
|
59
|
+
* // Quantity: Number("int"), // required
|
|
60
|
+
* // Items: [ // PathList
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // CallerReference: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreateInvalidationForDistributionTenantCommandInput - {@link CreateInvalidationForDistributionTenantCommandInput}
|
|
72
|
+
* @returns {@link CreateInvalidationForDistributionTenantCommandOutput}
|
|
73
|
+
* @see {@link CreateInvalidationForDistributionTenantCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreateInvalidationForDistributionTenantCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDenied} (client fault)
|
|
78
|
+
* <p>Access denied.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BatchTooLarge} (client fault)
|
|
81
|
+
* <p>Invalidation batch specified is too large.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
84
|
+
* <p>The entity was not found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InconsistentQuantities} (client fault)
|
|
87
|
+
* <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
|
|
88
|
+
* match.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
91
|
+
* <p>An argument is invalid.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link MissingBody} (client fault)
|
|
94
|
+
* <p>This operation requires a body. Ensure that the body is present and the
|
|
95
|
+
* <code>Content-Type</code> header is set.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link TooManyInvalidationsInProgress} (client fault)
|
|
98
|
+
* <p>You have exceeded the maximum number of allowable InProgress invalidation batch
|
|
99
|
+
* requests, or invalidation objects.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link CloudFrontServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreateInvalidationForDistributionTenantCommand extends CreateInvalidationForDistributionTenantCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: CreateInvalidationForDistributionTenantRequest;
|
|
112
|
+
output: CreateInvalidationForDistributionTenantResult;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: CreateInvalidationForDistributionTenantCommandInput;
|
|
116
|
+
output: CreateInvalidationForDistributionTenantCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { CreateOriginRequestPolicyRequest, CreateOriginRequestPolicyResult } from "../models/
|
|
4
|
+
import { CreateOriginRequestPolicyRequest, CreateOriginRequestPolicyResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { CreatePublicKeyRequest, CreatePublicKeyResult } from "../models/
|
|
4
|
+
import { CreatePublicKeyRequest, CreatePublicKeyResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { CreateRealtimeLogConfigRequest, CreateRealtimeLogConfigResult } from "../models/
|
|
4
|
+
import { CreateRealtimeLogConfigRequest, CreateRealtimeLogConfigResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -62,7 +62,7 @@ declare const CreateStreamingDistributionCommand_base: {
|
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
65
|
-
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
65
|
+
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
66
66
|
* Enabled: true || false, // required
|
|
67
67
|
* },
|
|
68
68
|
* };
|
|
@@ -115,7 +115,7 @@ declare const CreateStreamingDistributionCommand_base: {
|
|
|
115
115
|
* // "STRING_VALUE",
|
|
116
116
|
* // ],
|
|
117
117
|
* // },
|
|
118
|
-
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
118
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
119
119
|
* // Enabled: true || false, // required
|
|
120
120
|
* // },
|
|
121
121
|
* // },
|
|
@@ -63,7 +63,7 @@ declare const CreateStreamingDistributionWithTagsCommand_base: {
|
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* },
|
|
66
|
-
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
66
|
+
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
67
67
|
* Enabled: true || false, // required
|
|
68
68
|
* },
|
|
69
69
|
* Tags: { // Tags
|
|
@@ -125,7 +125,7 @@ declare const CreateStreamingDistributionWithTagsCommand_base: {
|
|
|
125
125
|
* // "STRING_VALUE",
|
|
126
126
|
* // ],
|
|
127
127
|
* // },
|
|
128
|
-
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
128
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
129
129
|
* // Enabled: true || false, // required
|
|
130
130
|
* // },
|
|
131
131
|
* // },
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { DeleteConnectionGroupRequest } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectionGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectionGroupCommandInput extends DeleteConnectionGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectionGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectionGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConnectionGroupCommand_base: {
|
|
25
|
+
new (input: DeleteConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionGroupCommandInput, DeleteConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteConnectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionGroupCommandInput, DeleteConnectionGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a connection group.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, DeleteConnectionGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, DeleteConnectionGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // DeleteConnectionGroupRequest
|
|
38
|
+
* Id: "STRING_VALUE", // required
|
|
39
|
+
* IfMatch: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteConnectionGroupCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteConnectionGroupCommandInput - {@link DeleteConnectionGroupCommandInput}
|
|
48
|
+
* @returns {@link DeleteConnectionGroupCommandOutput}
|
|
49
|
+
* @see {@link DeleteConnectionGroupCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteConnectionGroupCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDenied} (client fault)
|
|
54
|
+
* <p>Access denied.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link CannotDeleteEntityWhileInUse} (client fault)
|
|
57
|
+
* <p>The entity cannot be deleted while it is in use.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
60
|
+
* <p>The entity was not found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
63
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
66
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
67
|
+
* <code>false</code>.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotDisabled} (client fault)
|
|
70
|
+
* <p>The specified CloudFront resource hasn't been disabled yet.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CloudFrontServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteConnectionGroupCommand extends DeleteConnectionGroupCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteConnectionGroupRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteConnectionGroupCommandInput;
|
|
87
|
+
output: DeleteConnectionGroupCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -67,6 +67,9 @@ declare const DeleteDistributionCommand_base: {
|
|
|
67
67
|
* <p>The precondition in one or more of the request fields evaluated to
|
|
68
68
|
* <code>false</code>.</p>
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link ResourceInUse} (client fault)
|
|
71
|
+
* <p>Cannot delete this resource because it is in use.</p>
|
|
72
|
+
*
|
|
70
73
|
* @throws {@link CloudFrontServiceException}
|
|
71
74
|
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
72
75
|
*
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { DeleteDistributionTenantRequest } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDistributionTenantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDistributionTenantCommandInput extends DeleteDistributionTenantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDistributionTenantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDistributionTenantCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDistributionTenantCommand_base: {
|
|
25
|
+
new (input: DeleteDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDistributionTenantCommandInput, DeleteDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDistributionTenantCommandInput, DeleteDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail.</p>
|
|
31
|
+
* <p>To delete a distribution tenant, you must first disable the distribution tenant by using the <code>UpdateDistributionTenant</code> API operation.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CloudFrontClient, DeleteDistributionTenantCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
|
+
* // const { CloudFrontClient, DeleteDistributionTenantCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
|
+
* const client = new CloudFrontClient(config);
|
|
38
|
+
* const input = { // DeleteDistributionTenantRequest
|
|
39
|
+
* Id: "STRING_VALUE", // required
|
|
40
|
+
* IfMatch: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteDistributionTenantCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteDistributionTenantCommandInput - {@link DeleteDistributionTenantCommandInput}
|
|
49
|
+
* @returns {@link DeleteDistributionTenantCommandOutput}
|
|
50
|
+
* @see {@link DeleteDistributionTenantCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteDistributionTenantCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDenied} (client fault)
|
|
55
|
+
* <p>Access denied.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
58
|
+
* <p>The entity was not found.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
61
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
64
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
65
|
+
* <code>false</code>.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotDisabled} (client fault)
|
|
68
|
+
* <p>The specified CloudFront resource hasn't been disabled yet.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link CloudFrontServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteDistributionTenantCommand extends DeleteDistributionTenantCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteDistributionTenantRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteDistributionTenantCommandInput;
|
|
85
|
+
output: DeleteDistributionTenantCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|