@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,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListConnectionsRequest, ListConnectionsResponse } 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 ListConnectionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectionsCommandInput extends ListConnectionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectionsCommandOutput extends ListConnectionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectionsCommand_base: {
|
|
25
|
+
new (input: ListConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionsCommandInput, ListConnectionsCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionsCommandInput, ListConnectionsCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists active connections for the partner account, with optional filtering by connection type and participant.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, ListConnectionsCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, ListConnectionsCommand } = 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 = { // ListConnectionsRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* ConnectionType: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* OtherParticipantIdentifiers: [ // ParticipantIdentifierList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListConnectionsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListConnectionsResponse
|
|
51
|
+
* // ConnectionSummaries: [ // ConnectionSummaryList // required
|
|
52
|
+
* // { // ConnectionSummary
|
|
53
|
+
* // Catalog: "STRING_VALUE", // required
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Arn: "STRING_VALUE", // required
|
|
56
|
+
* // OtherParticipantAccountId: "STRING_VALUE", // required
|
|
57
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // ConnectionTypes: { // ConnectionTypeSummaryMap // required
|
|
59
|
+
* // "<keys>": { // ConnectionTypeSummary
|
|
60
|
+
* // Status: "ACTIVE" || "CANCELED", // required
|
|
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
|
+
* // NextToken: "STRING_VALUE",
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param ListConnectionsCommandInput - {@link ListConnectionsCommandInput}
|
|
84
|
+
* @returns {@link ListConnectionsCommandOutput}
|
|
85
|
+
* @see {@link ListConnectionsCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link ListConnectionsCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
90
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InternalServerException} (server fault)
|
|
93
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <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>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class ListConnectionsCommand extends ListConnectionsCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: ListConnectionsRequest;
|
|
112
|
+
output: ListConnectionsResponse;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: ListConnectionsCommandInput;
|
|
116
|
+
output: ListConnectionsCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListPartnersRequest, ListPartnersResponse } 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 ListPartnersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPartnersCommandInput extends ListPartnersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPartnersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPartnersCommandOutput extends ListPartnersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPartnersCommand_base: {
|
|
25
|
+
new (input: ListPartnersCommandInput): import("@smithy/smithy-client").CommandImpl<ListPartnersCommandInput, ListPartnersCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPartnersCommandInput): import("@smithy/smithy-client").CommandImpl<ListPartnersCommandInput, ListPartnersCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists partner accounts in the catalog, providing a summary view of all 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, ListPartnersCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, ListPartnersCommand } = 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 = { // ListPartnersRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListPartnersCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListPartnersResponse
|
|
46
|
+
* // PartnerSummaryList: [ // PartnerSummaryList // required
|
|
47
|
+
* // { // PartnerSummary
|
|
48
|
+
* // Catalog: "STRING_VALUE", // required
|
|
49
|
+
* // Arn: "STRING_VALUE", // required
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // LegalName: "STRING_VALUE", // required
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListPartnersCommandInput - {@link ListPartnersCommandInput}
|
|
61
|
+
* @returns {@link ListPartnersCommandOutput}
|
|
62
|
+
* @see {@link ListPartnersCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListPartnersCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListPartnersCommand extends ListPartnersCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ListPartnersRequest;
|
|
89
|
+
output: ListPartnersResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ListPartnersCommandInput;
|
|
93
|
+
output: ListPartnersCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all tags associated with a specific AWS Partner Central Account resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, ListTagsForResourceCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForResourceResponse
|
|
45
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
46
|
+
* // Tags: [ // TagList
|
|
47
|
+
* // { // Tag
|
|
48
|
+
* // Key: "STRING_VALUE", // required
|
|
49
|
+
* // Value: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
57
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
58
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListTagsForResourceRequest;
|
|
88
|
+
output: ListTagsForResourceResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListTagsForResourceCommandInput;
|
|
92
|
+
output: ListTagsForResourceCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutAllianceLeadContactRequest, PutAllianceLeadContactResponse } 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 PutAllianceLeadContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutAllianceLeadContactCommandInput extends PutAllianceLeadContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutAllianceLeadContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutAllianceLeadContactCommandOutput extends PutAllianceLeadContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutAllianceLeadContactCommand_base: {
|
|
25
|
+
new (input: PutAllianceLeadContactCommandInput): import("@smithy/smithy-client").CommandImpl<PutAllianceLeadContactCommandInput, PutAllianceLeadContactCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutAllianceLeadContactCommandInput): import("@smithy/smithy-client").CommandImpl<PutAllianceLeadContactCommandInput, PutAllianceLeadContactCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates or updates 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, PutAllianceLeadContactCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, PutAllianceLeadContactCommand } = 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 = { // PutAllianceLeadContactRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* AllianceLeadContact: { // AllianceLeadContact
|
|
43
|
+
* FirstName: "STRING_VALUE", // required
|
|
44
|
+
* LastName: "STRING_VALUE", // required
|
|
45
|
+
* Email: "STRING_VALUE", // required
|
|
46
|
+
* BusinessTitle: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* EmailVerificationCode: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new PutAllianceLeadContactCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // PutAllianceLeadContactResponse
|
|
53
|
+
* // Catalog: "STRING_VALUE", // required
|
|
54
|
+
* // Arn: "STRING_VALUE", // required
|
|
55
|
+
* // Id: "STRING_VALUE", // required
|
|
56
|
+
* // AllianceLeadContact: { // AllianceLeadContact
|
|
57
|
+
* // FirstName: "STRING_VALUE", // required
|
|
58
|
+
* // LastName: "STRING_VALUE", // required
|
|
59
|
+
* // Email: "STRING_VALUE", // required
|
|
60
|
+
* // BusinessTitle: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param PutAllianceLeadContactCommandInput - {@link PutAllianceLeadContactCommandInput}
|
|
67
|
+
* @returns {@link PutAllianceLeadContactCommandOutput}
|
|
68
|
+
* @see {@link PutAllianceLeadContactCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link PutAllianceLeadContactCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <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>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class PutAllianceLeadContactCommand extends PutAllianceLeadContactCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: PutAllianceLeadContactRequest;
|
|
98
|
+
output: PutAllianceLeadContactResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: PutAllianceLeadContactCommandInput;
|
|
102
|
+
output: PutAllianceLeadContactCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutProfileVisibilityRequest, PutProfileVisibilityResponse } 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 PutProfileVisibilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutProfileVisibilityCommandInput extends PutProfileVisibilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutProfileVisibilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutProfileVisibilityCommandOutput extends PutProfileVisibilityResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutProfileVisibilityCommand_base: {
|
|
25
|
+
new (input: PutProfileVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<PutProfileVisibilityCommandInput, PutProfileVisibilityCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutProfileVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<PutProfileVisibilityCommandInput, PutProfileVisibilityCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sets the visibility level for a partner profile, controlling who can view the profile information.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, PutProfileVisibilityCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, PutProfileVisibilityCommand } = 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 = { // PutProfileVisibilityRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* Visibility: "PRIVATE" || "PUBLIC", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new PutProfileVisibilityCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // PutProfileVisibilityResponse
|
|
47
|
+
* // Catalog: "STRING_VALUE", // required
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // Id: "STRING_VALUE", // required
|
|
50
|
+
* // Visibility: "PRIVATE" || "PUBLIC", // required
|
|
51
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param PutProfileVisibilityCommandInput - {@link PutProfileVisibilityCommandInput}
|
|
57
|
+
* @returns {@link PutProfileVisibilityCommandOutput}
|
|
58
|
+
* @see {@link PutProfileVisibilityCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link PutProfileVisibilityCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class PutProfileVisibilityCommand extends PutProfileVisibilityCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: PutProfileVisibilityRequest;
|
|
88
|
+
output: PutProfileVisibilityResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: PutProfileVisibilityCommandInput;
|
|
92
|
+
output: PutProfileVisibilityCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RejectConnectionInvitationRequest, RejectConnectionInvitationResponse } 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 RejectConnectionInvitationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RejectConnectionInvitationCommandInput extends RejectConnectionInvitationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RejectConnectionInvitationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RejectConnectionInvitationCommandOutput extends RejectConnectionInvitationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RejectConnectionInvitationCommand_base: {
|
|
25
|
+
new (input: RejectConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectConnectionInvitationCommandInput, RejectConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RejectConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectConnectionInvitationCommandInput, RejectConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Rejects a connection invitation from another partner, declining the partnership request.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, RejectConnectionInvitationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, RejectConnectionInvitationCommand } = 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 = { // RejectConnectionInvitationRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* ClientToken: "STRING_VALUE", // required
|
|
43
|
+
* Reason: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RejectConnectionInvitationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RejectConnectionInvitationResponse
|
|
48
|
+
* // Catalog: "STRING_VALUE", // required
|
|
49
|
+
* // Id: "STRING_VALUE", // required
|
|
50
|
+
* // Arn: "STRING_VALUE", // required
|
|
51
|
+
* // ConnectionId: "STRING_VALUE",
|
|
52
|
+
* // ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
53
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // OtherParticipantIdentifier: "STRING_VALUE", // required
|
|
57
|
+
* // ParticipantType: "SENDER" || "RECEIVER", // required
|
|
58
|
+
* // Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED", // required
|
|
59
|
+
* // InvitationMessage: "STRING_VALUE", // required
|
|
60
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
61
|
+
* // InviterName: "STRING_VALUE", // required
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param RejectConnectionInvitationCommandInput - {@link RejectConnectionInvitationCommandInput}
|
|
67
|
+
* @returns {@link RejectConnectionInvitationCommandOutput}
|
|
68
|
+
* @see {@link RejectConnectionInvitationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link RejectConnectionInvitationCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <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>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class RejectConnectionInvitationCommand extends RejectConnectionInvitationCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: RejectConnectionInvitationRequest;
|
|
101
|
+
output: RejectConnectionInvitationResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: RejectConnectionInvitationCommandInput;
|
|
105
|
+
output: RejectConnectionInvitationCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|