@aws-sdk/client-partnercentral-account 3.942.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +421 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1701 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-es/PartnerCentralAccount.js +61 -0
- package/dist-es/PartnerCentralAccountClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AcceptConnectionInvitationCommand.js +16 -0
- package/dist-es/commands/AssociateAwsTrainingCertificationEmailDomainCommand.js +16 -0
- package/dist-es/commands/CancelConnectionCommand.js +16 -0
- package/dist-es/commands/CancelConnectionInvitationCommand.js +16 -0
- package/dist-es/commands/CancelProfileUpdateTaskCommand.js +16 -0
- package/dist-es/commands/CreateConnectionInvitationCommand.js +16 -0
- package/dist-es/commands/CreatePartnerCommand.js +16 -0
- package/dist-es/commands/DisassociateAwsTrainingCertificationEmailDomainCommand.js +16 -0
- package/dist-es/commands/GetAllianceLeadContactCommand.js +16 -0
- package/dist-es/commands/GetConnectionCommand.js +16 -0
- package/dist-es/commands/GetConnectionInvitationCommand.js +16 -0
- package/dist-es/commands/GetConnectionPreferencesCommand.js +16 -0
- package/dist-es/commands/GetPartnerCommand.js +16 -0
- package/dist-es/commands/GetProfileUpdateTaskCommand.js +16 -0
- package/dist-es/commands/GetProfileVisibilityCommand.js +16 -0
- package/dist-es/commands/ListConnectionInvitationsCommand.js +16 -0
- package/dist-es/commands/ListConnectionsCommand.js +16 -0
- package/dist-es/commands/ListPartnersCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/PutAllianceLeadContactCommand.js +16 -0
- package/dist-es/commands/PutProfileVisibilityCommand.js +16 -0
- package/dist-es/commands/RejectConnectionInvitationCommand.js +16 -0
- package/dist-es/commands/SendEmailVerificationCodeCommand.js +16 -0
- package/dist-es/commands/StartProfileUpdateTaskCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateConnectionPreferencesCommand.js +16 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/PartnerCentralAccountServiceException.js +8 -0
- package/dist-es/models/enums.js +144 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectionInvitationsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListPartnersPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +900 -0
- package/dist-types/PartnerCentralAccount.d.ts +199 -0
- package/dist-types/PartnerCentralAccountClient.d.ts +223 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptConnectionInvitationCommand.d.ts +123 -0
- package/dist-types/commands/AssociateAwsTrainingCertificationEmailDomainCommand.d.ts +94 -0
- package/dist-types/commands/CancelConnectionCommand.d.ts +123 -0
- package/dist-types/commands/CancelConnectionInvitationCommand.d.ts +107 -0
- package/dist-types/commands/CancelProfileUpdateTaskCommand.d.ts +128 -0
- package/dist-types/commands/CreateConnectionInvitationCommand.d.ts +111 -0
- package/dist-types/commands/CreatePartnerCommand.d.ts +142 -0
- package/dist-types/commands/DisassociateAwsTrainingCertificationEmailDomainCommand.d.ts +90 -0
- package/dist-types/commands/GetAllianceLeadContactCommand.d.ts +98 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +117 -0
- package/dist-types/commands/GetConnectionInvitationCommand.d.ts +103 -0
- package/dist-types/commands/GetConnectionPreferencesCommand.d.ts +93 -0
- package/dist-types/commands/GetPartnerCommand.d.ts +121 -0
- package/dist-types/commands/GetProfileUpdateTaskCommand.d.ts +123 -0
- package/dist-types/commands/GetProfileVisibilityCommand.d.ts +94 -0
- package/dist-types/commands/ListConnectionInvitationsCommand.d.ts +109 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +119 -0
- package/dist-types/commands/ListPartnersCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/PutAllianceLeadContactCommand.d.ts +105 -0
- package/dist-types/commands/PutProfileVisibilityCommand.d.ts +95 -0
- package/dist-types/commands/RejectConnectionInvitationCommand.d.ts +108 -0
- package/dist-types/commands/SendEmailVerificationCodeCommand.d.ts +88 -0
- package/dist-types/commands/StartProfileUpdateTaskCommand.d.ts +147 -0
- package/dist-types/commands/TagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateConnectionPreferencesCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/PartnerCentralAccountServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +280 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +2083 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectionInvitationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPartnersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +126 -0
- package/dist-types/ts3.4/PartnerCentralAccount.d.ts +478 -0
- package/dist-types/ts3.4/PartnerCentralAccountClient.d.ts +288 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AcceptConnectionInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateAwsTrainingCertificationEmailDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CancelConnectionInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelProfileUpdateTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectionInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePartnerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DisassociateAwsTrainingCertificationEmailDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAllianceLeadContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetConnectionInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionPreferencesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPartnerCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetProfileUpdateTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetProfileVisibilityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectionInvitationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPartnersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutAllianceLeadContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutProfileVisibilityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectConnectionInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendEmailVerificationCodeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartProfileUpdateTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateConnectionPreferencesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/PartnerCentralAccountServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +177 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +544 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectionInvitationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPartnersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
- package/package.json +99 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendEmailVerificationCodeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendEmailVerificationCodeCommandInput extends SendEmailVerificationCodeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendEmailVerificationCodeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendEmailVerificationCodeCommandOutput extends SendEmailVerificationCodeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendEmailVerificationCodeCommand_base: {
|
|
25
|
+
new (input: SendEmailVerificationCodeCommandInput): import("@smithy/smithy-client").CommandImpl<SendEmailVerificationCodeCommandInput, SendEmailVerificationCodeCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendEmailVerificationCodeCommandInput): import("@smithy/smithy-client").CommandImpl<SendEmailVerificationCodeCommandInput, SendEmailVerificationCodeCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sends an email verification code to the specified email address for account verification purposes.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, SendEmailVerificationCodeCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, SendEmailVerificationCodeCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
|
|
37
|
+
* const config = {}; // type is PartnerCentralAccountClientConfig
|
|
38
|
+
* const client = new PartnerCentralAccountClient(config);
|
|
39
|
+
* const input = { // SendEmailVerificationCodeRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Email: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new SendEmailVerificationCodeCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param SendEmailVerificationCodeCommandInput - {@link SendEmailVerificationCodeCommandInput}
|
|
50
|
+
* @returns {@link SendEmailVerificationCodeCommandOutput}
|
|
51
|
+
* @see {@link SendEmailVerificationCodeCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link SendEmailVerificationCodeCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
62
|
+
* <p>The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class SendEmailVerificationCodeCommand extends SendEmailVerificationCodeCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: SendEmailVerificationCodeRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: SendEmailVerificationCodeCommandInput;
|
|
85
|
+
output: SendEmailVerificationCodeCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartProfileUpdateTaskRequest, StartProfileUpdateTaskResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartProfileUpdateTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartProfileUpdateTaskCommandInput extends StartProfileUpdateTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartProfileUpdateTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartProfileUpdateTaskCommandOutput extends StartProfileUpdateTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartProfileUpdateTaskCommand_base: {
|
|
25
|
+
new (input: StartProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartProfileUpdateTaskCommandInput, StartProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartProfileUpdateTaskCommandInput, StartProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Initiates a profile update task to modify partner profile information asynchronously.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, StartProfileUpdateTaskCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, StartProfileUpdateTaskCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
|
|
37
|
+
* const config = {}; // type is PartnerCentralAccountClientConfig
|
|
38
|
+
* const client = new PartnerCentralAccountClient(config);
|
|
39
|
+
* const input = { // StartProfileUpdateTaskRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* TaskDetails: { // TaskDetails
|
|
44
|
+
* DisplayName: "STRING_VALUE", // required
|
|
45
|
+
* Description: "STRING_VALUE", // required
|
|
46
|
+
* WebsiteUrl: "STRING_VALUE", // required
|
|
47
|
+
* LogoUrl: "STRING_VALUE", // required
|
|
48
|
+
* PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
49
|
+
* IndustrySegments: [ // IndustrySegmentList // required
|
|
50
|
+
* "AGRICULTURE_MINING" || "BIOTECHNOLOGY" || "BUSINESS_CONSUMER_SERVICES" || "BUSINESS_SERV" || "COMMUNICATIONS" || "COMPUTER_HARDWARE" || "COMPUTERS_ELECTRONICS" || "COMPUTER_SOFTWARE" || "CONSUMER_GOODS" || "CONSUMER_RELATED" || "EDUCATION" || "ENERGY_UTILITIES" || "FINANCIAL_SERVICES" || "GAMING" || "GOVERNMENT" || "GOVERNMENT_EDUCATION_PUBLIC_SERVICES" || "HEALTHCARE" || "HEALTHCARE_PHARMACEUTICALS_BIOTECH" || "INDUSTRIAL_ENERGY" || "INTERNET_SPECIFIC" || "LIFE_SCIENCES" || "MANUFACTURING" || "MEDIA_ENTERTAINMENT_LEISURE" || "MEDIA_ENTERTAINMENT" || "MEDICAL_HEALTH" || "NON_PROFIT_ORGANIZATION" || "OTHER" || "PROFESSIONAL_SERVICES" || "REAL_ESTATE_CONSTRUCTION" || "RETAIL" || "RETAIL_WHOLESALE_DISTRIBUTION" || "SEMICONDUCTOR_ELECTR" || "SOFTWARE_INTERNET" || "TELECOMMUNICATIONS" || "TRANSPORTATION_LOGISTICS" || "TRAVEL_HOSPITALITY" || "WHOLESALE_DISTRIBUTION",
|
|
51
|
+
* ],
|
|
52
|
+
* TranslationSourceLocale: "STRING_VALUE", // required
|
|
53
|
+
* LocalizedContents: [ // LocalizedContentList
|
|
54
|
+
* { // LocalizedContent
|
|
55
|
+
* DisplayName: "STRING_VALUE", // required
|
|
56
|
+
* Description: "STRING_VALUE", // required
|
|
57
|
+
* WebsiteUrl: "STRING_VALUE", // required
|
|
58
|
+
* LogoUrl: "STRING_VALUE", // required
|
|
59
|
+
* Locale: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
64
|
+
* const command = new StartProfileUpdateTaskCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // StartProfileUpdateTaskResponse
|
|
67
|
+
* // Catalog: "STRING_VALUE", // required
|
|
68
|
+
* // Arn: "STRING_VALUE", // required
|
|
69
|
+
* // Id: "STRING_VALUE", // required
|
|
70
|
+
* // TaskId: "STRING_VALUE", // required
|
|
71
|
+
* // TaskDetails: { // TaskDetails
|
|
72
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
73
|
+
* // Description: "STRING_VALUE", // required
|
|
74
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
75
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
76
|
+
* // PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
77
|
+
* // IndustrySegments: [ // IndustrySegmentList // required
|
|
78
|
+
* // "AGRICULTURE_MINING" || "BIOTECHNOLOGY" || "BUSINESS_CONSUMER_SERVICES" || "BUSINESS_SERV" || "COMMUNICATIONS" || "COMPUTER_HARDWARE" || "COMPUTERS_ELECTRONICS" || "COMPUTER_SOFTWARE" || "CONSUMER_GOODS" || "CONSUMER_RELATED" || "EDUCATION" || "ENERGY_UTILITIES" || "FINANCIAL_SERVICES" || "GAMING" || "GOVERNMENT" || "GOVERNMENT_EDUCATION_PUBLIC_SERVICES" || "HEALTHCARE" || "HEALTHCARE_PHARMACEUTICALS_BIOTECH" || "INDUSTRIAL_ENERGY" || "INTERNET_SPECIFIC" || "LIFE_SCIENCES" || "MANUFACTURING" || "MEDIA_ENTERTAINMENT_LEISURE" || "MEDIA_ENTERTAINMENT" || "MEDICAL_HEALTH" || "NON_PROFIT_ORGANIZATION" || "OTHER" || "PROFESSIONAL_SERVICES" || "REAL_ESTATE_CONSTRUCTION" || "RETAIL" || "RETAIL_WHOLESALE_DISTRIBUTION" || "SEMICONDUCTOR_ELECTR" || "SOFTWARE_INTERNET" || "TELECOMMUNICATIONS" || "TRANSPORTATION_LOGISTICS" || "TRAVEL_HOSPITALITY" || "WHOLESALE_DISTRIBUTION",
|
|
79
|
+
* // ],
|
|
80
|
+
* // TranslationSourceLocale: "STRING_VALUE", // required
|
|
81
|
+
* // LocalizedContents: [ // LocalizedContentList
|
|
82
|
+
* // { // LocalizedContent
|
|
83
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
84
|
+
* // Description: "STRING_VALUE", // required
|
|
85
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
86
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
87
|
+
* // Locale: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // StartedAt: new Date("TIMESTAMP"), // required
|
|
92
|
+
* // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
|
|
93
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // ErrorDetailList: [ // ErrorDetailList
|
|
95
|
+
* // { // ErrorDetail
|
|
96
|
+
* // Locale: "STRING_VALUE", // required
|
|
97
|
+
* // Message: "STRING_VALUE", // required
|
|
98
|
+
* // Reason: "INVALID_CONTENT" || "DUPLICATE_PROFILE" || "INVALID_LOGO" || "INVALID_LOGO_URL" || "INVALID_LOGO_FILE" || "INVALID_LOGO_SIZE" || "INVALID_WEBSITE_URL", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // };
|
|
102
|
+
*
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @param StartProfileUpdateTaskCommandInput - {@link StartProfileUpdateTaskCommandInput}
|
|
106
|
+
* @returns {@link StartProfileUpdateTaskCommandOutput}
|
|
107
|
+
* @see {@link StartProfileUpdateTaskCommandInput} for command's `input` shape.
|
|
108
|
+
* @see {@link StartProfileUpdateTaskCommandOutput} for command's `response` shape.
|
|
109
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
112
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ConflictException} (client fault)
|
|
115
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InternalServerException} (server fault)
|
|
118
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
121
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
124
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ValidationException} (client fault)
|
|
127
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class StartProfileUpdateTaskCommand extends StartProfileUpdateTaskCommand_base {
|
|
136
|
+
/** @internal type navigation helper, not in runtime. */
|
|
137
|
+
protected static __types: {
|
|
138
|
+
api: {
|
|
139
|
+
input: StartProfileUpdateTaskRequest;
|
|
140
|
+
output: StartProfileUpdateTaskResponse;
|
|
141
|
+
};
|
|
142
|
+
sdk: {
|
|
143
|
+
input: StartProfileUpdateTaskCommandInput;
|
|
144
|
+
output: StartProfileUpdateTaskCommandOutput;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds or updates tags for a specified AWS Partner Central Account resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, TagResourceCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, TagResourceCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
|
|
37
|
+
* const config = {}; // type is PartnerCentralAccountClientConfig
|
|
38
|
+
* const client = new PartnerCentralAccountClient(config);
|
|
39
|
+
* const input = { // TagResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* Tags: [ // TagList // required
|
|
42
|
+
* { // Tag
|
|
43
|
+
* Key: "STRING_VALUE", // required
|
|
44
|
+
* Value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new TagResourceCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
55
|
+
* @returns {@link TagResourceCommandOutput}
|
|
56
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: TagResourceRequest;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: TagResourceCommandInput;
|
|
93
|
+
output: TagResourceCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes specified tags from an AWS Partner Central Account resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, UntagResourceCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, UntagResourceCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
|
|
37
|
+
* const config = {}; // type is PartnerCentralAccountClientConfig
|
|
38
|
+
* const client = new PartnerCentralAccountClient(config);
|
|
39
|
+
* const input = { // UntagResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* TagKeys: [ // TagKeyList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UntagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
52
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
53
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: UntagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: UntagResourceCommandInput;
|
|
90
|
+
output: UntagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateConnectionPreferencesRequest, UpdateConnectionPreferencesResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateConnectionPreferencesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateConnectionPreferencesCommandInput extends UpdateConnectionPreferencesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateConnectionPreferencesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateConnectionPreferencesCommandOutput extends UpdateConnectionPreferencesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateConnectionPreferencesCommand_base: {
|
|
25
|
+
new (input: UpdateConnectionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectionPreferencesCommandInput, UpdateConnectionPreferencesCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateConnectionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectionPreferencesCommandInput, UpdateConnectionPreferencesCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the connection preferences for a partner account, modifying access settings and exclusions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, UpdateConnectionPreferencesCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, UpdateConnectionPreferencesCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
|
|
37
|
+
* const config = {}; // type is PartnerCentralAccountClientConfig
|
|
38
|
+
* const client = new PartnerCentralAccountClient(config);
|
|
39
|
+
* const input = { // UpdateConnectionPreferencesRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Revision: Number("long"), // required
|
|
42
|
+
* AccessType: "ALLOW_ALL" || "DENY_ALL" || "ALLOW_BY_DEFAULT_DENY_SOME", // required
|
|
43
|
+
* ExcludedParticipantIdentifiers: [ // ParticipantIdentifierList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateConnectionPreferencesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateConnectionPreferencesResponse
|
|
50
|
+
* // Catalog: "STRING_VALUE", // required
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // AccessType: "ALLOW_ALL" || "DENY_ALL" || "ALLOW_BY_DEFAULT_DENY_SOME", // required
|
|
53
|
+
* // ExcludedParticipantIds: [ // ParticipantIdentifierList
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // Revision: Number("long"), // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param UpdateConnectionPreferencesCommandInput - {@link UpdateConnectionPreferencesCommandInput}
|
|
63
|
+
* @returns {@link UpdateConnectionPreferencesCommandOutput}
|
|
64
|
+
* @see {@link UpdateConnectionPreferencesCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link UpdateConnectionPreferencesCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class UpdateConnectionPreferencesCommand extends UpdateConnectionPreferencesCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: UpdateConnectionPreferencesRequest;
|
|
94
|
+
output: UpdateConnectionPreferencesResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: UpdateConnectionPreferencesCommandInput;
|
|
98
|
+
output: UpdateConnectionPreferencesCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./AcceptConnectionInvitationCommand";
|
|
2
|
+
export * from "./AssociateAwsTrainingCertificationEmailDomainCommand";
|
|
3
|
+
export * from "./CancelConnectionCommand";
|
|
4
|
+
export * from "./CancelConnectionInvitationCommand";
|
|
5
|
+
export * from "./CancelProfileUpdateTaskCommand";
|
|
6
|
+
export * from "./CreateConnectionInvitationCommand";
|
|
7
|
+
export * from "./CreatePartnerCommand";
|
|
8
|
+
export * from "./DisassociateAwsTrainingCertificationEmailDomainCommand";
|
|
9
|
+
export * from "./GetAllianceLeadContactCommand";
|
|
10
|
+
export * from "./GetConnectionCommand";
|
|
11
|
+
export * from "./GetConnectionInvitationCommand";
|
|
12
|
+
export * from "./GetConnectionPreferencesCommand";
|
|
13
|
+
export * from "./GetPartnerCommand";
|
|
14
|
+
export * from "./GetProfileUpdateTaskCommand";
|
|
15
|
+
export * from "./GetProfileVisibilityCommand";
|
|
16
|
+
export * from "./ListConnectionInvitationsCommand";
|
|
17
|
+
export * from "./ListConnectionsCommand";
|
|
18
|
+
export * from "./ListPartnersCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./PutAllianceLeadContactCommand";
|
|
21
|
+
export * from "./PutProfileVisibilityCommand";
|
|
22
|
+
export * from "./RejectConnectionInvitationCommand";
|
|
23
|
+
export * from "./SendEmailVerificationCodeCommand";
|
|
24
|
+
export * from "./StartProfileUpdateTaskCommand";
|
|
25
|
+
export * from "./TagResourceCommand";
|
|
26
|
+
export * from "./UntagResourceCommand";
|
|
27
|
+
export * from "./UpdateConnectionPreferencesCommand";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
11
|
+
defaultSigningName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
14
|
+
export declare const commonParams: {
|
|
15
|
+
readonly UseFIPS: {
|
|
16
|
+
readonly type: "builtInParams";
|
|
17
|
+
readonly name: "useFipsEndpoint";
|
|
18
|
+
};
|
|
19
|
+
readonly Endpoint: {
|
|
20
|
+
readonly type: "builtInParams";
|
|
21
|
+
readonly name: "endpoint";
|
|
22
|
+
};
|
|
23
|
+
readonly Region: {
|
|
24
|
+
readonly type: "builtInParams";
|
|
25
|
+
readonly name: "region";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
+
UseFIPS?: boolean | undefined;
|
|
30
|
+
Endpoint?: string | undefined;
|
|
31
|
+
Region?: string | undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface PartnerCentralAccountExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>AWS Partner Central Account service provides APIs for managing partner accounts, connections, and profiles within the AWS Partner Network. This service enables partners to create and manage their partner profiles, establish connections with other partners, and maintain their account information.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./PartnerCentralAccountClient";
|
|
7
|
+
export * from "./PartnerCentralAccount";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { PartnerCentralAccountExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
16
|
+
export { PartnerCentralAccountServiceException } from "./models/PartnerCentralAccountServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from PartnerCentralAccount service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PartnerCentralAccountServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|