@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,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptConnectionInvitationRequest, AcceptConnectionInvitationResponse } 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 AcceptConnectionInvitationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptConnectionInvitationCommandInput extends AcceptConnectionInvitationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptConnectionInvitationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptConnectionInvitationCommandOutput extends AcceptConnectionInvitationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptConnectionInvitationCommand_base: {
|
|
25
|
+
new (input: AcceptConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptConnectionInvitationCommandInput, AcceptConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AcceptConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptConnectionInvitationCommandInput, AcceptConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, AcceptConnectionInvitationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, AcceptConnectionInvitationCommand } = 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 = { // AcceptConnectionInvitationRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new AcceptConnectionInvitationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // AcceptConnectionInvitationResponse
|
|
47
|
+
* // Connection: { // Connection
|
|
48
|
+
* // Catalog: "STRING_VALUE", // required
|
|
49
|
+
* // Id: "STRING_VALUE", // required
|
|
50
|
+
* // Arn: "STRING_VALUE", // required
|
|
51
|
+
* // OtherParticipantAccountId: "STRING_VALUE", // required
|
|
52
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // ConnectionTypes: { // ConnectionTypeDetailMap // required
|
|
54
|
+
* // "<keys>": { // ConnectionTypeDetail
|
|
55
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
57
|
+
* // InviterName: "STRING_VALUE", // required
|
|
58
|
+
* // Status: "ACTIVE" || "CANCELED", // required
|
|
59
|
+
* // CanceledAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // CanceledBy: "STRING_VALUE",
|
|
61
|
+
* // OtherParticipant: { // Participant Union: only one key present
|
|
62
|
+
* // PartnerProfile: { // PartnerProfileSummary
|
|
63
|
+
* // Id: "STRING_VALUE", // required
|
|
64
|
+
* // Name: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // SellerProfile: { // SellerProfileSummary
|
|
67
|
+
* // Id: "STRING_VALUE", // required
|
|
68
|
+
* // Name: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // Account: { // AccountSummary
|
|
71
|
+
* // Name: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param AcceptConnectionInvitationCommandInput - {@link AcceptConnectionInvitationCommandInput}
|
|
82
|
+
* @returns {@link AcceptConnectionInvitationCommandOutput}
|
|
83
|
+
* @see {@link AcceptConnectionInvitationCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link AcceptConnectionInvitationCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ConflictException} (client fault)
|
|
91
|
+
* <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>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
+
* <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>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class AcceptConnectionInvitationCommand extends AcceptConnectionInvitationCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: AcceptConnectionInvitationRequest;
|
|
116
|
+
output: AcceptConnectionInvitationResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: AcceptConnectionInvitationCommandInput;
|
|
120
|
+
output: AcceptConnectionInvitationCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateAwsTrainingCertificationEmailDomainRequest, AssociateAwsTrainingCertificationEmailDomainResponse } 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 AssociateAwsTrainingCertificationEmailDomainCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateAwsTrainingCertificationEmailDomainCommandInput extends AssociateAwsTrainingCertificationEmailDomainRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateAwsTrainingCertificationEmailDomainCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateAwsTrainingCertificationEmailDomainCommandOutput extends AssociateAwsTrainingCertificationEmailDomainResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateAwsTrainingCertificationEmailDomainCommand_base: {
|
|
25
|
+
new (input: AssociateAwsTrainingCertificationEmailDomainCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAwsTrainingCertificationEmailDomainCommandInput, AssociateAwsTrainingCertificationEmailDomainCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateAwsTrainingCertificationEmailDomainCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAwsTrainingCertificationEmailDomainCommandInput, AssociateAwsTrainingCertificationEmailDomainCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, AssociateAwsTrainingCertificationEmailDomainCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, AssociateAwsTrainingCertificationEmailDomainCommand } = 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 = { // AssociateAwsTrainingCertificationEmailDomainRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* Email: "STRING_VALUE", // required
|
|
44
|
+
* EmailVerificationCode: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AssociateAwsTrainingCertificationEmailDomainCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param AssociateAwsTrainingCertificationEmailDomainCommandInput - {@link AssociateAwsTrainingCertificationEmailDomainCommandInput}
|
|
53
|
+
* @returns {@link AssociateAwsTrainingCertificationEmailDomainCommandOutput}
|
|
54
|
+
* @see {@link AssociateAwsTrainingCertificationEmailDomainCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link AssociateAwsTrainingCertificationEmailDomainCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <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>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* <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>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class AssociateAwsTrainingCertificationEmailDomainCommand extends AssociateAwsTrainingCertificationEmailDomainCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: AssociateAwsTrainingCertificationEmailDomainRequest;
|
|
87
|
+
output: {};
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: AssociateAwsTrainingCertificationEmailDomainCommandInput;
|
|
91
|
+
output: AssociateAwsTrainingCertificationEmailDomainCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CancelConnectionRequest, CancelConnectionResponse } 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 CancelConnectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelConnectionCommandInput extends CancelConnectionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CancelConnectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelConnectionCommandOutput extends CancelConnectionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CancelConnectionCommand_base: {
|
|
25
|
+
new (input: CancelConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelConnectionCommandInput, CancelConnectionCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelConnectionCommandInput, CancelConnectionCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Cancels an existing connection between partners, terminating the partnership relationship.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, CancelConnectionCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, CancelConnectionCommand } = 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 = { // CancelConnectionRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
43
|
+
* Reason: "STRING_VALUE", // required
|
|
44
|
+
* ClientToken: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CancelConnectionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CancelConnectionResponse
|
|
49
|
+
* // Catalog: "STRING_VALUE", // required
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // OtherParticipantAccountId: "STRING_VALUE", // required
|
|
53
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // ConnectionTypes: { // ConnectionTypeDetailMap // required
|
|
55
|
+
* // "<keys>": { // ConnectionTypeDetail
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
58
|
+
* // InviterName: "STRING_VALUE", // required
|
|
59
|
+
* // Status: "ACTIVE" || "CANCELED", // required
|
|
60
|
+
* // CanceledAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // CanceledBy: "STRING_VALUE",
|
|
62
|
+
* // OtherParticipant: { // Participant Union: only one key present
|
|
63
|
+
* // PartnerProfile: { // PartnerProfileSummary
|
|
64
|
+
* // Id: "STRING_VALUE", // required
|
|
65
|
+
* // Name: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // SellerProfile: { // SellerProfileSummary
|
|
68
|
+
* // Id: "STRING_VALUE", // required
|
|
69
|
+
* // Name: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // Account: { // AccountSummary
|
|
72
|
+
* // Name: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param CancelConnectionCommandInput - {@link CancelConnectionCommandInput}
|
|
82
|
+
* @returns {@link CancelConnectionCommandOutput}
|
|
83
|
+
* @see {@link CancelConnectionCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link CancelConnectionCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ConflictException} (client fault)
|
|
91
|
+
* <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>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
+
* <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>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class CancelConnectionCommand extends CancelConnectionCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: CancelConnectionRequest;
|
|
116
|
+
output: CancelConnectionResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: CancelConnectionCommandInput;
|
|
120
|
+
output: CancelConnectionCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CancelConnectionInvitationRequest, CancelConnectionInvitationResponse } 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 CancelConnectionInvitationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelConnectionInvitationCommandInput extends CancelConnectionInvitationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CancelConnectionInvitationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelConnectionInvitationCommandOutput extends CancelConnectionInvitationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CancelConnectionInvitationCommand_base: {
|
|
25
|
+
new (input: CancelConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CancelConnectionInvitationCommandInput, CancelConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CancelConnectionInvitationCommandInput, CancelConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Cancels a pending connection invitation before it has been accepted or rejected.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, CancelConnectionInvitationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, CancelConnectionInvitationCommand } = 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 = { // CancelConnectionInvitationRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CancelConnectionInvitationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CancelConnectionInvitationResponse
|
|
47
|
+
* // Catalog: "STRING_VALUE", // required
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // Arn: "STRING_VALUE", // required
|
|
50
|
+
* // ConnectionId: "STRING_VALUE",
|
|
51
|
+
* // ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // OtherParticipantIdentifier: "STRING_VALUE", // required
|
|
56
|
+
* // ParticipantType: "SENDER" || "RECEIVER", // required
|
|
57
|
+
* // Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED", // required
|
|
58
|
+
* // InvitationMessage: "STRING_VALUE", // required
|
|
59
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
60
|
+
* // InviterName: "STRING_VALUE", // required
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param CancelConnectionInvitationCommandInput - {@link CancelConnectionInvitationCommandInput}
|
|
66
|
+
* @returns {@link CancelConnectionInvitationCommandOutput}
|
|
67
|
+
* @see {@link CancelConnectionInvitationCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link CancelConnectionInvitationCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <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>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class CancelConnectionInvitationCommand extends CancelConnectionInvitationCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: CancelConnectionInvitationRequest;
|
|
100
|
+
output: CancelConnectionInvitationResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: CancelConnectionInvitationCommandInput;
|
|
104
|
+
output: CancelConnectionInvitationCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CancelProfileUpdateTaskRequest, CancelProfileUpdateTaskResponse } 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 CancelProfileUpdateTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelProfileUpdateTaskCommandInput extends CancelProfileUpdateTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CancelProfileUpdateTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelProfileUpdateTaskCommandOutput extends CancelProfileUpdateTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CancelProfileUpdateTaskCommand_base: {
|
|
25
|
+
new (input: CancelProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelProfileUpdateTaskCommandInput, CancelProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelProfileUpdateTaskCommandInput, CancelProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Cancels an in-progress profile update task, stopping any pending changes to the partner profile.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, CancelProfileUpdateTaskCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, CancelProfileUpdateTaskCommand } = 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 = { // CancelProfileUpdateTaskRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* TaskId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CancelProfileUpdateTaskCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CancelProfileUpdateTaskResponse
|
|
48
|
+
* // Catalog: "STRING_VALUE", // required
|
|
49
|
+
* // Arn: "STRING_VALUE", // required
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // TaskId: "STRING_VALUE", // required
|
|
52
|
+
* // TaskDetails: { // TaskDetails
|
|
53
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
54
|
+
* // Description: "STRING_VALUE", // required
|
|
55
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
56
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
57
|
+
* // PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
58
|
+
* // IndustrySegments: [ // IndustrySegmentList // required
|
|
59
|
+
* // "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",
|
|
60
|
+
* // ],
|
|
61
|
+
* // TranslationSourceLocale: "STRING_VALUE", // required
|
|
62
|
+
* // LocalizedContents: [ // LocalizedContentList
|
|
63
|
+
* // { // LocalizedContent
|
|
64
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
65
|
+
* // Description: "STRING_VALUE", // required
|
|
66
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
67
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
68
|
+
* // Locale: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // StartedAt: new Date("TIMESTAMP"), // required
|
|
73
|
+
* // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
|
|
74
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // ErrorDetailList: [ // ErrorDetailList
|
|
76
|
+
* // { // ErrorDetail
|
|
77
|
+
* // Locale: "STRING_VALUE", // required
|
|
78
|
+
* // Message: "STRING_VALUE", // required
|
|
79
|
+
* // Reason: "INVALID_CONTENT" || "DUPLICATE_PROFILE" || "INVALID_LOGO" || "INVALID_LOGO_URL" || "INVALID_LOGO_FILE" || "INVALID_LOGO_SIZE" || "INVALID_WEBSITE_URL", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param CancelProfileUpdateTaskCommandInput - {@link CancelProfileUpdateTaskCommandInput}
|
|
87
|
+
* @returns {@link CancelProfileUpdateTaskCommandOutput}
|
|
88
|
+
* @see {@link CancelProfileUpdateTaskCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link CancelProfileUpdateTaskCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConflictException} (client fault)
|
|
96
|
+
* <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>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InternalServerException} (server fault)
|
|
99
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
102
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
105
|
+
* <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>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ValidationException} (client fault)
|
|
108
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class CancelProfileUpdateTaskCommand extends CancelProfileUpdateTaskCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: CancelProfileUpdateTaskRequest;
|
|
121
|
+
output: CancelProfileUpdateTaskResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: CancelProfileUpdateTaskCommandInput;
|
|
125
|
+
output: CancelProfileUpdateTaskCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|