@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,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateConnectionInvitationRequest, CreateConnectionInvitationResponse } 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 CreateConnectionInvitationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectionInvitationCommandInput extends CreateConnectionInvitationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectionInvitationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectionInvitationCommandOutput extends CreateConnectionInvitationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConnectionInvitationCommand_base: {
|
|
25
|
+
new (input: CreateConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionInvitationCommandInput, CreateConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionInvitationCommandInput, CreateConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new connection invitation to establish a partnership with another organization.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, CreateConnectionInvitationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, CreateConnectionInvitationCommand } = 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 = { // CreateConnectionInvitationRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* ClientToken: "STRING_VALUE", // required
|
|
42
|
+
* ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
43
|
+
* Email: "STRING_VALUE", // required
|
|
44
|
+
* Message: "STRING_VALUE", // required
|
|
45
|
+
* Name: "STRING_VALUE", // required
|
|
46
|
+
* ReceiverIdentifier: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateConnectionInvitationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateConnectionInvitationResponse
|
|
51
|
+
* // Catalog: "STRING_VALUE", // required
|
|
52
|
+
* // Id: "STRING_VALUE", // required
|
|
53
|
+
* // Arn: "STRING_VALUE", // required
|
|
54
|
+
* // ConnectionId: "STRING_VALUE",
|
|
55
|
+
* // ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // OtherParticipantIdentifier: "STRING_VALUE", // required
|
|
60
|
+
* // ParticipantType: "SENDER" || "RECEIVER", // required
|
|
61
|
+
* // Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED", // required
|
|
62
|
+
* // InvitationMessage: "STRING_VALUE", // required
|
|
63
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
64
|
+
* // InviterName: "STRING_VALUE", // required
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param CreateConnectionInvitationCommandInput - {@link CreateConnectionInvitationCommandInput}
|
|
70
|
+
* @returns {@link CreateConnectionInvitationCommandOutput}
|
|
71
|
+
* @see {@link CreateConnectionInvitationCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link CreateConnectionInvitationCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <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>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class CreateConnectionInvitationCommand extends CreateConnectionInvitationCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: CreateConnectionInvitationRequest;
|
|
104
|
+
output: CreateConnectionInvitationResponse;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: CreateConnectionInvitationCommandInput;
|
|
108
|
+
output: CreateConnectionInvitationCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreatePartnerRequest, CreatePartnerResponse } 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 CreatePartnerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePartnerCommandInput extends CreatePartnerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePartnerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePartnerCommandOutput extends CreatePartnerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePartnerCommand_base: {
|
|
25
|
+
new (input: CreatePartnerCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePartnerCommandInput, CreatePartnerCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePartnerCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePartnerCommandInput, CreatePartnerCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new partner account in the AWS Partner Network with the specified details and configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, CreatePartnerCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, CreatePartnerCommand } = 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 = { // CreatePartnerRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* ClientToken: "STRING_VALUE",
|
|
42
|
+
* LegalName: "STRING_VALUE", // required
|
|
43
|
+
* PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
44
|
+
* AllianceLeadContact: { // AllianceLeadContact
|
|
45
|
+
* FirstName: "STRING_VALUE", // required
|
|
46
|
+
* LastName: "STRING_VALUE", // required
|
|
47
|
+
* Email: "STRING_VALUE", // required
|
|
48
|
+
* BusinessTitle: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* EmailVerificationCode: "STRING_VALUE", // required
|
|
51
|
+
* Tags: [ // TagList
|
|
52
|
+
* { // Tag
|
|
53
|
+
* Key: "STRING_VALUE", // required
|
|
54
|
+
* Value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreatePartnerCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreatePartnerResponse
|
|
61
|
+
* // Catalog: "STRING_VALUE", // required
|
|
62
|
+
* // Arn: "STRING_VALUE", // required
|
|
63
|
+
* // Id: "STRING_VALUE", // required
|
|
64
|
+
* // LegalName: "STRING_VALUE", // required
|
|
65
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
66
|
+
* // Profile: { // PartnerProfile
|
|
67
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
68
|
+
* // Description: "STRING_VALUE", // required
|
|
69
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
70
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
71
|
+
* // PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
72
|
+
* // IndustrySegments: [ // IndustrySegmentList // required
|
|
73
|
+
* // "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",
|
|
74
|
+
* // ],
|
|
75
|
+
* // TranslationSourceLocale: "STRING_VALUE", // required
|
|
76
|
+
* // LocalizedContents: [ // LocalizedContentList
|
|
77
|
+
* // { // LocalizedContent
|
|
78
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
79
|
+
* // Description: "STRING_VALUE", // required
|
|
80
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
81
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
82
|
+
* // Locale: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // ProfileId: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // AwsTrainingCertificationEmailDomains: [ // PartnerDomainList
|
|
88
|
+
* // { // PartnerDomain
|
|
89
|
+
* // DomainName: "STRING_VALUE", // required
|
|
90
|
+
* // RegisteredAt: new Date("TIMESTAMP"), // required
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // AllianceLeadContact: { // AllianceLeadContact
|
|
94
|
+
* // FirstName: "STRING_VALUE", // required
|
|
95
|
+
* // LastName: "STRING_VALUE", // required
|
|
96
|
+
* // Email: "STRING_VALUE", // required
|
|
97
|
+
* // BusinessTitle: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
99
|
+
* // };
|
|
100
|
+
*
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @param CreatePartnerCommandInput - {@link CreatePartnerCommandInput}
|
|
104
|
+
* @returns {@link CreatePartnerCommandOutput}
|
|
105
|
+
* @see {@link CreatePartnerCommandInput} for command's `input` shape.
|
|
106
|
+
* @see {@link CreatePartnerCommandOutput} for command's `response` shape.
|
|
107
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
110
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ConflictException} (client fault)
|
|
113
|
+
* <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>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link InternalServerException} (server fault)
|
|
116
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
119
|
+
* <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>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ValidationException} (client fault)
|
|
122
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
126
|
+
*
|
|
127
|
+
*
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export declare class CreatePartnerCommand extends CreatePartnerCommand_base {
|
|
131
|
+
/** @internal type navigation helper, not in runtime. */
|
|
132
|
+
protected static __types: {
|
|
133
|
+
api: {
|
|
134
|
+
input: CreatePartnerRequest;
|
|
135
|
+
output: CreatePartnerResponse;
|
|
136
|
+
};
|
|
137
|
+
sdk: {
|
|
138
|
+
input: CreatePartnerCommandInput;
|
|
139
|
+
output: CreatePartnerCommandOutput;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DisassociateAwsTrainingCertificationEmailDomainRequest, DisassociateAwsTrainingCertificationEmailDomainResponse } 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 DisassociateAwsTrainingCertificationEmailDomainCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateAwsTrainingCertificationEmailDomainCommandInput extends DisassociateAwsTrainingCertificationEmailDomainRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateAwsTrainingCertificationEmailDomainCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateAwsTrainingCertificationEmailDomainCommandOutput extends DisassociateAwsTrainingCertificationEmailDomainResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateAwsTrainingCertificationEmailDomainCommand_base: {
|
|
25
|
+
new (input: DisassociateAwsTrainingCertificationEmailDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateAwsTrainingCertificationEmailDomainCommandInput, DisassociateAwsTrainingCertificationEmailDomainCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateAwsTrainingCertificationEmailDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateAwsTrainingCertificationEmailDomainCommandInput, DisassociateAwsTrainingCertificationEmailDomainCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes the association between an email domain and AWS training and certification for the partner account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, DisassociateAwsTrainingCertificationEmailDomainCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, DisassociateAwsTrainingCertificationEmailDomainCommand } = 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 = { // DisassociateAwsTrainingCertificationEmailDomainRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* DomainName: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DisassociateAwsTrainingCertificationEmailDomainCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DisassociateAwsTrainingCertificationEmailDomainCommandInput - {@link DisassociateAwsTrainingCertificationEmailDomainCommandInput}
|
|
52
|
+
* @returns {@link DisassociateAwsTrainingCertificationEmailDomainCommandOutput}
|
|
53
|
+
* @see {@link DisassociateAwsTrainingCertificationEmailDomainCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DisassociateAwsTrainingCertificationEmailDomainCommandOutput} 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 ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <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>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DisassociateAwsTrainingCertificationEmailDomainCommand extends DisassociateAwsTrainingCertificationEmailDomainCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DisassociateAwsTrainingCertificationEmailDomainRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DisassociateAwsTrainingCertificationEmailDomainCommandInput;
|
|
87
|
+
output: DisassociateAwsTrainingCertificationEmailDomainCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetAllianceLeadContactRequest, GetAllianceLeadContactResponse } 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 GetAllianceLeadContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAllianceLeadContactCommandInput extends GetAllianceLeadContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAllianceLeadContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAllianceLeadContactCommandOutput extends GetAllianceLeadContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAllianceLeadContactCommand_base: {
|
|
25
|
+
new (input: GetAllianceLeadContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetAllianceLeadContactCommandInput, GetAllianceLeadContactCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAllianceLeadContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetAllianceLeadContactCommandInput, GetAllianceLeadContactCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the alliance lead contact information for a partner account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, GetAllianceLeadContactCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetAllianceLeadContactCommand } = 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 = { // GetAllianceLeadContactRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetAllianceLeadContactCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetAllianceLeadContactResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Arn: "STRING_VALUE", // required
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // AllianceLeadContact: { // AllianceLeadContact
|
|
50
|
+
* // FirstName: "STRING_VALUE", // required
|
|
51
|
+
* // LastName: "STRING_VALUE", // required
|
|
52
|
+
* // Email: "STRING_VALUE", // required
|
|
53
|
+
* // BusinessTitle: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetAllianceLeadContactCommandInput - {@link GetAllianceLeadContactCommandInput}
|
|
60
|
+
* @returns {@link GetAllianceLeadContactCommandOutput}
|
|
61
|
+
* @see {@link GetAllianceLeadContactCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetAllianceLeadContactCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetAllianceLeadContactCommand extends GetAllianceLeadContactCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetAllianceLeadContactRequest;
|
|
91
|
+
output: GetAllianceLeadContactResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetAllianceLeadContactCommandInput;
|
|
95
|
+
output: GetAllianceLeadContactCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetConnectionRequest, GetConnectionResponse } 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 GetConnectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConnectionCommandInput extends GetConnectionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConnectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectionCommandOutput extends GetConnectionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConnectionCommand_base: {
|
|
25
|
+
new (input: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific connection between partners.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, GetConnectionCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetConnectionCommand } = 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 = { // GetConnectionRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetConnectionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetConnectionResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Id: "STRING_VALUE", // required
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // OtherParticipantAccountId: "STRING_VALUE", // required
|
|
50
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // ConnectionTypes: { // ConnectionTypeDetailMap // required
|
|
52
|
+
* // "<keys>": { // ConnectionTypeDetail
|
|
53
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
55
|
+
* // InviterName: "STRING_VALUE", // required
|
|
56
|
+
* // Status: "ACTIVE" || "CANCELED", // required
|
|
57
|
+
* // CanceledAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // CanceledBy: "STRING_VALUE",
|
|
59
|
+
* // OtherParticipant: { // Participant Union: only one key present
|
|
60
|
+
* // PartnerProfile: { // PartnerProfileSummary
|
|
61
|
+
* // Id: "STRING_VALUE", // required
|
|
62
|
+
* // Name: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // SellerProfile: { // SellerProfileSummary
|
|
65
|
+
* // Id: "STRING_VALUE", // required
|
|
66
|
+
* // Name: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // Account: { // AccountSummary
|
|
69
|
+
* // Name: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param GetConnectionCommandInput - {@link GetConnectionCommandInput}
|
|
79
|
+
* @returns {@link GetConnectionCommandOutput}
|
|
80
|
+
* @see {@link GetConnectionCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link GetConnectionCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <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>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class GetConnectionCommand extends GetConnectionCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: GetConnectionRequest;
|
|
110
|
+
output: GetConnectionResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: GetConnectionCommandInput;
|
|
114
|
+
output: GetConnectionCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|