@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,124 @@
|
|
|
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 { GetDistributionTenantRequest, GetDistributionTenantResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDistributionTenantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDistributionTenantCommandInput extends GetDistributionTenantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDistributionTenantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDistributionTenantCommandOutput extends GetDistributionTenantResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDistributionTenantCommand_base: {
|
|
25
|
+
new (input: GetDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetDistributionTenantCommandInput, GetDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetDistributionTenantCommandInput, GetDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about 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, GetDistributionTenantCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetDistributionTenantCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // GetDistributionTenantRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDistributionTenantCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDistributionTenantResult
|
|
43
|
+
* // DistributionTenant: { // DistributionTenant
|
|
44
|
+
* // Id: "STRING_VALUE",
|
|
45
|
+
* // DistributionId: "STRING_VALUE",
|
|
46
|
+
* // Name: "STRING_VALUE",
|
|
47
|
+
* // Arn: "STRING_VALUE",
|
|
48
|
+
* // Domains: [ // DomainResultList
|
|
49
|
+
* // { // DomainResult
|
|
50
|
+
* // Domain: "STRING_VALUE", // required
|
|
51
|
+
* // Status: "active" || "inactive",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // Tags: { // Tags
|
|
55
|
+
* // Items: [ // TagList
|
|
56
|
+
* // { // Tag
|
|
57
|
+
* // Key: "STRING_VALUE", // required
|
|
58
|
+
* // Value: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // Customizations: { // Customizations
|
|
63
|
+
* // WebAcl: { // WebAclCustomization
|
|
64
|
+
* // Action: "override" || "disable", // required
|
|
65
|
+
* // Arn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // Certificate: { // Certificate
|
|
68
|
+
* // Arn: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // GeoRestrictions: { // GeoRestrictionCustomization
|
|
71
|
+
* // RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
72
|
+
* // Locations: [ // LocationList
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // Parameters: [ // Parameters
|
|
78
|
+
* // { // Parameter
|
|
79
|
+
* // Name: "STRING_VALUE", // required
|
|
80
|
+
* // Value: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // ConnectionGroupId: "STRING_VALUE",
|
|
84
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
85
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
86
|
+
* // Enabled: true || false,
|
|
87
|
+
* // Status: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ETag: "STRING_VALUE",
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param GetDistributionTenantCommandInput - {@link GetDistributionTenantCommandInput}
|
|
95
|
+
* @returns {@link GetDistributionTenantCommandOutput}
|
|
96
|
+
* @see {@link GetDistributionTenantCommandInput} for command's `input` shape.
|
|
97
|
+
* @see {@link GetDistributionTenantCommandOutput} for command's `response` shape.
|
|
98
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link AccessDenied} (client fault)
|
|
101
|
+
* <p>Access denied.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
104
|
+
* <p>The entity was not found.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link CloudFrontServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class GetDistributionTenantCommand extends GetDistributionTenantCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: GetDistributionTenantRequest;
|
|
117
|
+
output: GetDistributionTenantResult;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: GetDistributionTenantCommandInput;
|
|
121
|
+
output: GetDistributionTenantCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { GetInvalidationForDistributionTenantRequest, GetInvalidationForDistributionTenantResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInvalidationForDistributionTenantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInvalidationForDistributionTenantCommandInput extends GetInvalidationForDistributionTenantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInvalidationForDistributionTenantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInvalidationForDistributionTenantCommandOutput extends GetInvalidationForDistributionTenantResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInvalidationForDistributionTenantCommand_base: {
|
|
25
|
+
new (input: GetInvalidationForDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvalidationForDistributionTenantCommandInput, GetInvalidationForDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetInvalidationForDistributionTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvalidationForDistributionTenantCommandInput, GetInvalidationForDistributionTenantCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about a specific invalidation for 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, GetInvalidationForDistributionTenantCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetInvalidationForDistributionTenantCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // GetInvalidationForDistributionTenantRequest
|
|
38
|
+
* DistributionTenantId: "STRING_VALUE", // required
|
|
39
|
+
* Id: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetInvalidationForDistributionTenantCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetInvalidationForDistributionTenantResult
|
|
44
|
+
* // Invalidation: { // Invalidation
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "STRING_VALUE", // required
|
|
47
|
+
* // CreateTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // InvalidationBatch: { // InvalidationBatch
|
|
49
|
+
* // Paths: { // Paths
|
|
50
|
+
* // Quantity: Number("int"), // required
|
|
51
|
+
* // Items: [ // PathList
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // CallerReference: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetInvalidationForDistributionTenantCommandInput - {@link GetInvalidationForDistributionTenantCommandInput}
|
|
63
|
+
* @returns {@link GetInvalidationForDistributionTenantCommandOutput}
|
|
64
|
+
* @see {@link GetInvalidationForDistributionTenantCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetInvalidationForDistributionTenantCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDenied} (client fault)
|
|
69
|
+
* <p>Access denied.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
72
|
+
* <p>The entity was not found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NoSuchInvalidation} (client fault)
|
|
75
|
+
* <p>The specified invalidation does not exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CloudFrontServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetInvalidationForDistributionTenantCommand extends GetInvalidationForDistributionTenantCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetInvalidationForDistributionTenantRequest;
|
|
88
|
+
output: GetInvalidationForDistributionTenantResult;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetInvalidationForDistributionTenantCommandInput;
|
|
92
|
+
output: GetInvalidationForDistributionTenantCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { GetManagedCertificateDetailsRequest, GetManagedCertificateDetailsResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetManagedCertificateDetailsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetManagedCertificateDetailsCommandInput extends GetManagedCertificateDetailsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetManagedCertificateDetailsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetManagedCertificateDetailsCommandOutput extends GetManagedCertificateDetailsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetManagedCertificateDetailsCommand_base: {
|
|
25
|
+
new (input: GetManagedCertificateDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedCertificateDetailsCommandInput, GetManagedCertificateDetailsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetManagedCertificateDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedCertificateDetailsCommandInput, GetManagedCertificateDetailsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets details about the CloudFront managed ACM certificate.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, GetManagedCertificateDetailsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetManagedCertificateDetailsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // GetManagedCertificateDetailsRequest
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetManagedCertificateDetailsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetManagedCertificateDetailsResult
|
|
43
|
+
* // ManagedCertificateDetails: { // ManagedCertificateDetails
|
|
44
|
+
* // CertificateArn: "STRING_VALUE",
|
|
45
|
+
* // CertificateStatus: "pending-validation" || "issued" || "inactive" || "expired" || "validation-timed-out" || "revoked" || "failed",
|
|
46
|
+
* // ValidationTokenHost: "cloudfront" || "self-hosted",
|
|
47
|
+
* // ValidationTokenDetails: [ // ValidationTokenDetailList
|
|
48
|
+
* // { // ValidationTokenDetail
|
|
49
|
+
* // Domain: "STRING_VALUE", // required
|
|
50
|
+
* // RedirectTo: "STRING_VALUE",
|
|
51
|
+
* // RedirectFrom: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetManagedCertificateDetailsCommandInput - {@link GetManagedCertificateDetailsCommandInput}
|
|
60
|
+
* @returns {@link GetManagedCertificateDetailsCommandOutput}
|
|
61
|
+
* @see {@link GetManagedCertificateDetailsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetManagedCertificateDetailsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDenied} (client fault)
|
|
66
|
+
* <p>Access denied.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
69
|
+
* <p>The entity was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link CloudFrontServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class GetManagedCertificateDetailsCommand extends GetManagedCertificateDetailsCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: GetManagedCertificateDetailsRequest;
|
|
82
|
+
output: GetManagedCertificateDetailsResult;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: GetManagedCertificateDetailsCommandInput;
|
|
86
|
+
output: GetManagedCertificateDetailsCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -87,7 +87,7 @@ declare const GetStreamingDistributionCommand_base: {
|
|
|
87
87
|
* // "STRING_VALUE",
|
|
88
88
|
* // ],
|
|
89
89
|
* // },
|
|
90
|
-
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
90
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
91
91
|
* // Enabled: true || false, // required
|
|
92
92
|
* // },
|
|
93
93
|
* // },
|
|
@@ -65,7 +65,7 @@ declare const GetStreamingDistributionConfigCommand_base: {
|
|
|
65
65
|
* // "STRING_VALUE",
|
|
66
66
|
* // ],
|
|
67
67
|
* // },
|
|
68
|
-
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
68
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None",
|
|
69
69
|
* // Enabled: true || false, // required
|
|
70
70
|
* // },
|
|
71
71
|
* // ETag: "STRING_VALUE",
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ListConnectionGroupsRequest, ListConnectionGroupsResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConnectionGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectionGroupsCommandInput extends ListConnectionGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectionGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectionGroupsCommandOutput extends ListConnectionGroupsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectionGroupsCommand_base: {
|
|
25
|
+
new (input: ListConnectionGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionGroupsCommandInput, ListConnectionGroupsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConnectionGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectionGroupsCommandInput, ListConnectionGroupsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the connection groups in your Amazon Web Services account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, ListConnectionGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, ListConnectionGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // ListConnectionGroupsRequest
|
|
38
|
+
* AssociationFilter: { // ConnectionGroupAssociationFilter
|
|
39
|
+
* AnycastIpListId: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListConnectionGroupsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListConnectionGroupsResult
|
|
47
|
+
* // NextMarker: "STRING_VALUE",
|
|
48
|
+
* // ConnectionGroups: [ // ConnectionGroupSummaryList
|
|
49
|
+
* // { // ConnectionGroupSummary
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // Name: "STRING_VALUE", // required
|
|
52
|
+
* // Arn: "STRING_VALUE", // required
|
|
53
|
+
* // RoutingEndpoint: "STRING_VALUE", // required
|
|
54
|
+
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // ETag: "STRING_VALUE", // required
|
|
57
|
+
* // AnycastIpListId: "STRING_VALUE",
|
|
58
|
+
* // Enabled: true || false,
|
|
59
|
+
* // Status: "STRING_VALUE",
|
|
60
|
+
* // IsDefault: true || false,
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListConnectionGroupsCommandInput - {@link ListConnectionGroupsCommandInput}
|
|
68
|
+
* @returns {@link ListConnectionGroupsCommandOutput}
|
|
69
|
+
* @see {@link ListConnectionGroupsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListConnectionGroupsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDenied} (client fault)
|
|
74
|
+
* <p>Access denied.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
77
|
+
* <p>The entity was not found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
80
|
+
* <p>An argument is invalid.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link CloudFrontServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListConnectionGroupsCommand extends ListConnectionGroupsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListConnectionGroupsRequest;
|
|
93
|
+
output: ListConnectionGroupsResult;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListConnectionGroupsCommandInput;
|
|
97
|
+
output: ListConnectionGroupsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { ListDistributionTenantsByCustomizationRequest, ListDistributionTenantsByCustomizationResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDistributionTenantsByCustomizationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDistributionTenantsByCustomizationCommandInput extends ListDistributionTenantsByCustomizationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDistributionTenantsByCustomizationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDistributionTenantsByCustomizationCommandOutput extends ListDistributionTenantsByCustomizationResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDistributionTenantsByCustomizationCommand_base: {
|
|
25
|
+
new (input: ListDistributionTenantsByCustomizationCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionTenantsByCustomizationCommandInput, ListDistributionTenantsByCustomizationCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDistributionTenantsByCustomizationCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDistributionTenantsByCustomizationCommandInput, ListDistributionTenantsByCustomizationCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists distribution tenants by the customization that you specify.</p>
|
|
31
|
+
* <p>You must specify either the <code>CertificateArn</code> parameter or <code>WebACLArn</code> parameter, but not both in the same request.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CloudFrontClient, ListDistributionTenantsByCustomizationCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
36
|
+
* // const { CloudFrontClient, ListDistributionTenantsByCustomizationCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
37
|
+
* const client = new CloudFrontClient(config);
|
|
38
|
+
* const input = { // ListDistributionTenantsByCustomizationRequest
|
|
39
|
+
* WebACLArn: "STRING_VALUE",
|
|
40
|
+
* CertificateArn: "STRING_VALUE",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListDistributionTenantsByCustomizationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListDistributionTenantsByCustomizationResult
|
|
47
|
+
* // NextMarker: "STRING_VALUE",
|
|
48
|
+
* // DistributionTenantList: [ // DistributionTenantList
|
|
49
|
+
* // { // DistributionTenantSummary
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // DistributionId: "STRING_VALUE", // required
|
|
52
|
+
* // Name: "STRING_VALUE", // required
|
|
53
|
+
* // Arn: "STRING_VALUE", // required
|
|
54
|
+
* // Domains: [ // DomainResultList // required
|
|
55
|
+
* // { // DomainResult
|
|
56
|
+
* // Domain: "STRING_VALUE", // required
|
|
57
|
+
* // Status: "active" || "inactive",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // ConnectionGroupId: "STRING_VALUE",
|
|
61
|
+
* // Customizations: { // Customizations
|
|
62
|
+
* // WebAcl: { // WebAclCustomization
|
|
63
|
+
* // Action: "override" || "disable", // required
|
|
64
|
+
* // Arn: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // Certificate: { // Certificate
|
|
67
|
+
* // Arn: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // GeoRestrictions: { // GeoRestrictionCustomization
|
|
70
|
+
* // RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
71
|
+
* // Locations: [ // LocationList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
77
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
78
|
+
* // ETag: "STRING_VALUE", // required
|
|
79
|
+
* // Enabled: true || false,
|
|
80
|
+
* // Status: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param ListDistributionTenantsByCustomizationCommandInput - {@link ListDistributionTenantsByCustomizationCommandInput}
|
|
88
|
+
* @returns {@link ListDistributionTenantsByCustomizationCommandOutput}
|
|
89
|
+
* @see {@link ListDistributionTenantsByCustomizationCommandInput} for command's `input` shape.
|
|
90
|
+
* @see {@link ListDistributionTenantsByCustomizationCommandOutput} for command's `response` shape.
|
|
91
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link AccessDenied} (client fault)
|
|
94
|
+
* <p>Access denied.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
97
|
+
* <p>The entity was not found.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
100
|
+
* <p>An argument is invalid.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link CloudFrontServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListDistributionTenantsByCustomizationCommand extends ListDistributionTenantsByCustomizationCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListDistributionTenantsByCustomizationRequest;
|
|
113
|
+
output: ListDistributionTenantsByCustomizationResult;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListDistributionTenantsByCustomizationCommandInput;
|
|
117
|
+
output: ListDistributionTenantsByCustomizationCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { ListDistributionTenantsRequest, ListDistributionTenantsResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDistributionTenantsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDistributionTenantsCommandInput extends ListDistributionTenantsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDistributionTenantsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDistributionTenantsCommandOutput extends ListDistributionTenantsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDistributionTenantsCommand_base: {
|
|
25
|
+
new (input: ListDistributionTenantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionTenantsCommandInput, ListDistributionTenantsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDistributionTenantsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDistributionTenantsCommandInput, ListDistributionTenantsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the distribution tenants in your Amazon Web Services account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, ListDistributionTenantsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, ListDistributionTenantsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // ListDistributionTenantsRequest
|
|
38
|
+
* AssociationFilter: { // DistributionTenantAssociationFilter
|
|
39
|
+
* DistributionId: "STRING_VALUE",
|
|
40
|
+
* ConnectionGroupId: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* Marker: "STRING_VALUE",
|
|
43
|
+
* MaxItems: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListDistributionTenantsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListDistributionTenantsResult
|
|
48
|
+
* // NextMarker: "STRING_VALUE",
|
|
49
|
+
* // DistributionTenantList: [ // DistributionTenantList
|
|
50
|
+
* // { // DistributionTenantSummary
|
|
51
|
+
* // Id: "STRING_VALUE", // required
|
|
52
|
+
* // DistributionId: "STRING_VALUE", // required
|
|
53
|
+
* // Name: "STRING_VALUE", // required
|
|
54
|
+
* // Arn: "STRING_VALUE", // required
|
|
55
|
+
* // Domains: [ // DomainResultList // required
|
|
56
|
+
* // { // DomainResult
|
|
57
|
+
* // Domain: "STRING_VALUE", // required
|
|
58
|
+
* // Status: "active" || "inactive",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // ConnectionGroupId: "STRING_VALUE",
|
|
62
|
+
* // Customizations: { // Customizations
|
|
63
|
+
* // WebAcl: { // WebAclCustomization
|
|
64
|
+
* // Action: "override" || "disable", // required
|
|
65
|
+
* // Arn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // Certificate: { // Certificate
|
|
68
|
+
* // Arn: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // GeoRestrictions: { // GeoRestrictionCustomization
|
|
71
|
+
* // RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
72
|
+
* // Locations: [ // LocationList
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
78
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
79
|
+
* // ETag: "STRING_VALUE", // required
|
|
80
|
+
* // Enabled: true || false,
|
|
81
|
+
* // Status: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param ListDistributionTenantsCommandInput - {@link ListDistributionTenantsCommandInput}
|
|
89
|
+
* @returns {@link ListDistributionTenantsCommandOutput}
|
|
90
|
+
* @see {@link ListDistributionTenantsCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link ListDistributionTenantsCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link AccessDenied} (client fault)
|
|
95
|
+
* <p>Access denied.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
98
|
+
* <p>The entity was not found.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
101
|
+
* <p>An argument is invalid.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link CloudFrontServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class ListDistributionTenantsCommand extends ListDistributionTenantsCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: ListDistributionTenantsRequest;
|
|
114
|
+
output: ListDistributionTenantsResult;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: ListDistributionTenantsCommandInput;
|
|
118
|
+
output: ListDistributionTenantsCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|