@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,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetConnectionInvitationRequest, GetConnectionInvitationResponse } 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 GetConnectionInvitationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConnectionInvitationCommandInput extends GetConnectionInvitationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConnectionInvitationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectionInvitationCommandOutput extends GetConnectionInvitationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConnectionInvitationCommand_base: {
|
|
25
|
+
new (input: GetConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionInvitationCommandInput, GetConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConnectionInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionInvitationCommandInput, GetConnectionInvitationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific connection invitation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, GetConnectionInvitationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetConnectionInvitationCommand } = 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 = { // GetConnectionInvitationRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetConnectionInvitationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetConnectionInvitationResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Id: "STRING_VALUE", // required
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // ConnectionId: "STRING_VALUE",
|
|
50
|
+
* // ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
51
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // OtherParticipantIdentifier: "STRING_VALUE", // required
|
|
55
|
+
* // ParticipantType: "SENDER" || "RECEIVER", // required
|
|
56
|
+
* // Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED", // required
|
|
57
|
+
* // InvitationMessage: "STRING_VALUE", // required
|
|
58
|
+
* // InviterEmail: "STRING_VALUE", // required
|
|
59
|
+
* // InviterName: "STRING_VALUE", // required
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param GetConnectionInvitationCommandInput - {@link GetConnectionInvitationCommandInput}
|
|
65
|
+
* @returns {@link GetConnectionInvitationCommandOutput}
|
|
66
|
+
* @see {@link GetConnectionInvitationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link GetConnectionInvitationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetConnectionInvitationCommand extends GetConnectionInvitationCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetConnectionInvitationRequest;
|
|
96
|
+
output: GetConnectionInvitationResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: GetConnectionInvitationCommandInput;
|
|
100
|
+
output: GetConnectionInvitationCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetConnectionPreferencesRequest, GetConnectionPreferencesResponse } 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 GetConnectionPreferencesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConnectionPreferencesCommandInput extends GetConnectionPreferencesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConnectionPreferencesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectionPreferencesCommandOutput extends GetConnectionPreferencesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConnectionPreferencesCommand_base: {
|
|
25
|
+
new (input: GetConnectionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionPreferencesCommandInput, GetConnectionPreferencesCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConnectionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionPreferencesCommandInput, GetConnectionPreferencesCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the connection preferences for a partner account, including access settings and exclusions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, GetConnectionPreferencesCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetConnectionPreferencesCommand } = 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 = { // GetConnectionPreferencesRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetConnectionPreferencesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetConnectionPreferencesResponse
|
|
45
|
+
* // Catalog: "STRING_VALUE", // required
|
|
46
|
+
* // Arn: "STRING_VALUE", // required
|
|
47
|
+
* // AccessType: "ALLOW_ALL" || "DENY_ALL" || "ALLOW_BY_DEFAULT_DENY_SOME", // required
|
|
48
|
+
* // ExcludedParticipantIds: [ // ParticipantIdentifierList
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // Revision: Number("long"), // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetConnectionPreferencesCommandInput - {@link GetConnectionPreferencesCommandInput}
|
|
58
|
+
* @returns {@link GetConnectionPreferencesCommandOutput}
|
|
59
|
+
* @see {@link GetConnectionPreferencesCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetConnectionPreferencesCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetConnectionPreferencesCommand extends GetConnectionPreferencesCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetConnectionPreferencesRequest;
|
|
86
|
+
output: GetConnectionPreferencesResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetConnectionPreferencesCommandInput;
|
|
90
|
+
output: GetConnectionPreferencesCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetPartnerRequest, GetPartnerResponse } 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 GetPartnerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPartnerCommandInput extends GetPartnerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPartnerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPartnerCommandOutput extends GetPartnerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPartnerCommand_base: {
|
|
25
|
+
new (input: GetPartnerCommandInput): import("@smithy/smithy-client").CommandImpl<GetPartnerCommandInput, GetPartnerCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPartnerCommandInput): import("@smithy/smithy-client").CommandImpl<GetPartnerCommandInput, GetPartnerCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific 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, GetPartnerCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetPartnerCommand } = 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 = { // GetPartnerRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetPartnerCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetPartnerResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Arn: "STRING_VALUE", // required
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // LegalName: "STRING_VALUE", // required
|
|
50
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // Profile: { // PartnerProfile
|
|
52
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
53
|
+
* // Description: "STRING_VALUE", // required
|
|
54
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
55
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
56
|
+
* // PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
57
|
+
* // IndustrySegments: [ // IndustrySegmentList // required
|
|
58
|
+
* // "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",
|
|
59
|
+
* // ],
|
|
60
|
+
* // TranslationSourceLocale: "STRING_VALUE", // required
|
|
61
|
+
* // LocalizedContents: [ // LocalizedContentList
|
|
62
|
+
* // { // LocalizedContent
|
|
63
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
64
|
+
* // Description: "STRING_VALUE", // required
|
|
65
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
66
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
67
|
+
* // Locale: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // ProfileId: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // AwsTrainingCertificationEmailDomains: [ // PartnerDomainList
|
|
73
|
+
* // { // PartnerDomain
|
|
74
|
+
* // DomainName: "STRING_VALUE", // required
|
|
75
|
+
* // RegisteredAt: new Date("TIMESTAMP"), // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param GetPartnerCommandInput - {@link GetPartnerCommandInput}
|
|
83
|
+
* @returns {@link GetPartnerCommandOutput}
|
|
84
|
+
* @see {@link GetPartnerCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link GetPartnerCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
98
|
+
* <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>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class GetPartnerCommand extends GetPartnerCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: GetPartnerRequest;
|
|
114
|
+
output: GetPartnerResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: GetPartnerCommandInput;
|
|
118
|
+
output: GetPartnerCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetProfileUpdateTaskRequest, GetProfileUpdateTaskResponse } 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 GetProfileUpdateTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetProfileUpdateTaskCommandInput extends GetProfileUpdateTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetProfileUpdateTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProfileUpdateTaskCommandOutput extends GetProfileUpdateTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetProfileUpdateTaskCommand_base: {
|
|
25
|
+
new (input: GetProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileUpdateTaskCommandInput, GetProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetProfileUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileUpdateTaskCommandInput, GetProfileUpdateTaskCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific profile update task.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, GetProfileUpdateTaskCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetProfileUpdateTaskCommand } = 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 = { // GetProfileUpdateTaskRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetProfileUpdateTaskCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetProfileUpdateTaskResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Arn: "STRING_VALUE", // required
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // TaskId: "STRING_VALUE", // required
|
|
50
|
+
* // TaskDetails: { // TaskDetails
|
|
51
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
52
|
+
* // Description: "STRING_VALUE", // required
|
|
53
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
54
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
55
|
+
* // PrimarySolutionType: "SOFTWARE_PRODUCTS" || "CONSULTING_SERVICES" || "PROFESSIONAL_SERVICES" || "MANAGED_SERVICES" || "HARDWARE_PRODUCTS" || "COMMUNICATION_SERVICES" || "VALUE_ADDED_RESALE_AWS_SERVICES" || "TRAINING_SERVICES", // required
|
|
56
|
+
* // IndustrySegments: [ // IndustrySegmentList // required
|
|
57
|
+
* // "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",
|
|
58
|
+
* // ],
|
|
59
|
+
* // TranslationSourceLocale: "STRING_VALUE", // required
|
|
60
|
+
* // LocalizedContents: [ // LocalizedContentList
|
|
61
|
+
* // { // LocalizedContent
|
|
62
|
+
* // DisplayName: "STRING_VALUE", // required
|
|
63
|
+
* // Description: "STRING_VALUE", // required
|
|
64
|
+
* // WebsiteUrl: "STRING_VALUE", // required
|
|
65
|
+
* // LogoUrl: "STRING_VALUE", // required
|
|
66
|
+
* // Locale: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // StartedAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
|
|
72
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // ErrorDetailList: [ // ErrorDetailList
|
|
74
|
+
* // { // ErrorDetail
|
|
75
|
+
* // Locale: "STRING_VALUE", // required
|
|
76
|
+
* // Message: "STRING_VALUE", // required
|
|
77
|
+
* // Reason: "INVALID_CONTENT" || "DUPLICATE_PROFILE" || "INVALID_LOGO" || "INVALID_LOGO_URL" || "INVALID_LOGO_FILE" || "INVALID_LOGO_SIZE" || "INVALID_WEBSITE_URL", // required
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param GetProfileUpdateTaskCommandInput - {@link GetProfileUpdateTaskCommandInput}
|
|
85
|
+
* @returns {@link GetProfileUpdateTaskCommandOutput}
|
|
86
|
+
* @see {@link GetProfileUpdateTaskCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link GetProfileUpdateTaskCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
100
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class GetProfileUpdateTaskCommand extends GetProfileUpdateTaskCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: GetProfileUpdateTaskRequest;
|
|
116
|
+
output: GetProfileUpdateTaskResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: GetProfileUpdateTaskCommandInput;
|
|
120
|
+
output: GetProfileUpdateTaskCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetProfileVisibilityRequest, GetProfileVisibilityResponse } 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 GetProfileVisibilityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetProfileVisibilityCommandInput extends GetProfileVisibilityRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetProfileVisibilityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProfileVisibilityCommandOutput extends GetProfileVisibilityResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetProfileVisibilityCommand_base: {
|
|
25
|
+
new (input: GetProfileVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileVisibilityCommandInput, GetProfileVisibilityCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetProfileVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileVisibilityCommandInput, GetProfileVisibilityCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the visibility settings for a partner profile, determining who can see 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, GetProfileVisibilityCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, GetProfileVisibilityCommand } = 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 = { // GetProfileVisibilityRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* Identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetProfileVisibilityCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetProfileVisibilityResponse
|
|
46
|
+
* // Catalog: "STRING_VALUE", // required
|
|
47
|
+
* // Arn: "STRING_VALUE", // required
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // Visibility: "PRIVATE" || "PUBLIC", // required
|
|
50
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetProfileVisibilityCommandInput - {@link GetProfileVisibilityCommandInput}
|
|
56
|
+
* @returns {@link GetProfileVisibilityCommandOutput}
|
|
57
|
+
* @see {@link GetProfileVisibilityCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetProfileVisibilityCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetProfileVisibilityCommand extends GetProfileVisibilityCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetProfileVisibilityRequest;
|
|
87
|
+
output: GetProfileVisibilityResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetProfileVisibilityCommandInput;
|
|
91
|
+
output: GetProfileVisibilityCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListConnectionInvitationsRequest, ListConnectionInvitationsResponse } 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 ListConnectionInvitationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectionInvitationsCommandInput extends ListConnectionInvitationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectionInvitationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectionInvitationsCommandOutput extends ListConnectionInvitationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectionInvitationsCommand_base: {
|
|
25
|
+
new (input: ListConnectionInvitationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionInvitationsCommandInput, ListConnectionInvitationsCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListConnectionInvitationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionInvitationsCommandInput, ListConnectionInvitationsCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralAccountClient, ListConnectionInvitationsCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralAccountClient, ListConnectionInvitationsCommand } = 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 = { // ListConnectionInvitationsRequest
|
|
40
|
+
* Catalog: "STRING_VALUE", // required
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* OtherParticipantIdentifiers: [ // ParticipantIdentifierList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* ParticipantType: "SENDER" || "RECEIVER",
|
|
48
|
+
* Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListConnectionInvitationsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListConnectionInvitationsResponse
|
|
53
|
+
* // ConnectionInvitationSummaries: [ // ConnectionInvitationSummaryList // required
|
|
54
|
+
* // { // ConnectionInvitationSummary
|
|
55
|
+
* // Catalog: "STRING_VALUE", // required
|
|
56
|
+
* // Id: "STRING_VALUE", // required
|
|
57
|
+
* // Arn: "STRING_VALUE", // required
|
|
58
|
+
* // ConnectionId: "STRING_VALUE",
|
|
59
|
+
* // ConnectionType: "OPPORTUNITY_COLLABORATION" || "SUBSIDIARY", // required
|
|
60
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // OtherParticipantIdentifier: "STRING_VALUE", // required
|
|
64
|
+
* // ParticipantType: "SENDER" || "RECEIVER", // required
|
|
65
|
+
* // Status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // NextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListConnectionInvitationsCommandInput - {@link ListConnectionInvitationsCommandInput}
|
|
74
|
+
* @returns {@link ListConnectionInvitationsCommandOutput}
|
|
75
|
+
* @see {@link ListConnectionInvitationsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListConnectionInvitationsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PartnerCentralAccountServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListConnectionInvitationsCommand extends ListConnectionInvitationsCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: ListConnectionInvitationsRequest;
|
|
102
|
+
output: ListConnectionInvitationsResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: ListConnectionInvitationsCommandInput;
|
|
106
|
+
output: ListConnectionInvitationsCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|