@aws-sdk/client-appintegrations 3.418.0 → 3.421.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/README.md +39 -7
- package/dist-cjs/AppIntegrations.js +8 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +303 -1
- package/dist-es/AppIntegrations.js +8 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/GetApplicationCommand.js +47 -0
- package/dist-es/commands/ListApplicationsCommand.js +47 -0
- package/dist-es/commands/UpdateApplicationCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +295 -1
- package/dist-types/AppIntegrations.d.ts +28 -0
- package/dist-types/AppIntegrationsClient.d.ts +6 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +144 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +142 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +121 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +122 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +370 -66
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/AppIntegrations.d.ts +68 -0
- package/dist-types/ts3.4/AppIntegrationsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +95 -24
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +3 -3
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApplicationCommandInput extends CreateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release and subject to change.</p>
|
|
27
|
+
* <p>Creates and persists an Application resource.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AppIntegrationsClient, CreateApplicationCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
32
|
+
* // const { AppIntegrationsClient, CreateApplicationCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
33
|
+
* const client = new AppIntegrationsClient(config);
|
|
34
|
+
* const input = { // CreateApplicationRequest
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Namespace: "STRING_VALUE", // required
|
|
37
|
+
* Description: "STRING_VALUE",
|
|
38
|
+
* ApplicationSourceConfig: { // ApplicationSourceConfig
|
|
39
|
+
* ExternalUrlConfig: { // ExternalUrlConfig
|
|
40
|
+
* AccessUrl: "STRING_VALUE", // required
|
|
41
|
+
* ApprovedOrigins: [ // ApplicationApprovedOrigins
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* Subscriptions: [ // SubscriptionList
|
|
47
|
+
* { // Subscription
|
|
48
|
+
* Event: "STRING_VALUE", // required
|
|
49
|
+
* Description: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* Publications: [ // PublicationList
|
|
53
|
+
* { // Publication
|
|
54
|
+
* Event: "STRING_VALUE", // required
|
|
55
|
+
* Schema: "STRING_VALUE", // required
|
|
56
|
+
* Description: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* ClientToken: "STRING_VALUE",
|
|
60
|
+
* Tags: { // TagMap
|
|
61
|
+
* "<keys>": "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* };
|
|
64
|
+
* const command = new CreateApplicationCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // CreateApplicationResponse
|
|
67
|
+
* // Arn: "STRING_VALUE",
|
|
68
|
+
* // Id: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
|
|
74
|
+
* @returns {@link CreateApplicationCommandOutput}
|
|
75
|
+
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link DuplicateResourceException} (client fault)
|
|
83
|
+
* <p>A resource with the specified name already exists.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
86
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
89
|
+
* <p>The request is not valid. </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceQuotaExceededException} (client fault)
|
|
92
|
+
* <p>The allowed quota for the resource has been exceeded.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
99
|
+
*
|
|
100
|
+
* @example To create an application
|
|
101
|
+
* ```javascript
|
|
102
|
+
* // The following creates an application named My Application with access url https://example.com.
|
|
103
|
+
* const input = {
|
|
104
|
+
* "ApplicationSourceConfig": {
|
|
105
|
+
* "ExternalUrlConfig": {
|
|
106
|
+
* "AccessUrl": "https://example.com"
|
|
107
|
+
* }
|
|
108
|
+
* },
|
|
109
|
+
* "Description": "My first application.",
|
|
110
|
+
* "Name": "My Application",
|
|
111
|
+
* "Namespace": "myapplication"
|
|
112
|
+
* };
|
|
113
|
+
* const command = new CreateApplicationCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* /* response ==
|
|
116
|
+
* {
|
|
117
|
+
* "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
|
118
|
+
* "Id": "98542c53-e8ac-4570-9c85-c6552c8d9c5e"
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* // example id: create-an-application
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
126
|
+
readonly input: CreateApplicationCommandInput;
|
|
127
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
constructor(input: CreateApplicationCommandInput);
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
private serialize;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
private deserialize;
|
|
144
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetApplicationCommandInput extends GetApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release and subject to change.</p>
|
|
27
|
+
* <p>Get an Application resource.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AppIntegrationsClient, GetApplicationCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
32
|
+
* // const { AppIntegrationsClient, GetApplicationCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
33
|
+
* const client = new AppIntegrationsClient(config);
|
|
34
|
+
* const input = { // GetApplicationRequest
|
|
35
|
+
* Arn: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetApplicationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetApplicationResponse
|
|
40
|
+
* // Arn: "STRING_VALUE",
|
|
41
|
+
* // Id: "STRING_VALUE",
|
|
42
|
+
* // Name: "STRING_VALUE",
|
|
43
|
+
* // Namespace: "STRING_VALUE",
|
|
44
|
+
* // Description: "STRING_VALUE",
|
|
45
|
+
* // ApplicationSourceConfig: { // ApplicationSourceConfig
|
|
46
|
+
* // ExternalUrlConfig: { // ExternalUrlConfig
|
|
47
|
+
* // AccessUrl: "STRING_VALUE", // required
|
|
48
|
+
* // ApprovedOrigins: [ // ApplicationApprovedOrigins
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // Subscriptions: [ // SubscriptionList
|
|
54
|
+
* // { // Subscription
|
|
55
|
+
* // Event: "STRING_VALUE", // required
|
|
56
|
+
* // Description: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // Publications: [ // PublicationList
|
|
60
|
+
* // { // Publication
|
|
61
|
+
* // Event: "STRING_VALUE", // required
|
|
62
|
+
* // Schema: "STRING_VALUE", // required
|
|
63
|
+
* // Description: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // Tags: { // TagMap
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param GetApplicationCommandInput - {@link GetApplicationCommandInput}
|
|
76
|
+
* @returns {@link GetApplicationCommandOutput}
|
|
77
|
+
* @see {@link GetApplicationCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link GetApplicationCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
85
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
88
|
+
* <p>The request is not valid. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>The specified resource was not found.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @example To get an application
|
|
100
|
+
* ```javascript
|
|
101
|
+
* // The following retrives an application.
|
|
102
|
+
* const input = {
|
|
103
|
+
* "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e"
|
|
104
|
+
* };
|
|
105
|
+
* const command = new GetApplicationCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* /* response ==
|
|
108
|
+
* {
|
|
109
|
+
* "ApplicationSourceConfig": {
|
|
110
|
+
* "ExternalUrlConfig": {
|
|
111
|
+
* "AccessUrl": "https://example.com"
|
|
112
|
+
* }
|
|
113
|
+
* },
|
|
114
|
+
* "Description": "My first application.",
|
|
115
|
+
* "Name": "My Application",
|
|
116
|
+
* "Namespace": "myapplication"
|
|
117
|
+
* }
|
|
118
|
+
* *\/
|
|
119
|
+
* // example id: get-an-application
|
|
120
|
+
* ```
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
124
|
+
readonly input: GetApplicationCommandInput;
|
|
125
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
constructor(input: GetApplicationCommandInput);
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationCommandInput, GetApplicationCommandOutput>;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
private serialize;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
private deserialize;
|
|
142
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListApplicationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListApplicationsCommandInput extends ListApplicationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListApplicationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release and subject to change.</p>
|
|
27
|
+
* <p>Lists applications in the account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AppIntegrationsClient, ListApplicationsCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
32
|
+
* // const { AppIntegrationsClient, ListApplicationsCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
33
|
+
* const client = new AppIntegrationsClient(config);
|
|
34
|
+
* const input = { // ListApplicationsRequest
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListApplicationsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListApplicationsResponse
|
|
41
|
+
* // Applications: [ // ApplicationsList
|
|
42
|
+
* // { // ApplicationSummary
|
|
43
|
+
* // Arn: "STRING_VALUE",
|
|
44
|
+
* // Id: "STRING_VALUE",
|
|
45
|
+
* // Name: "STRING_VALUE",
|
|
46
|
+
* // Namespace: "STRING_VALUE",
|
|
47
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListApplicationsCommandInput - {@link ListApplicationsCommandInput}
|
|
57
|
+
* @returns {@link ListApplicationsCommandOutput}
|
|
58
|
+
* @see {@link ListApplicationsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListApplicationsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
66
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
69
|
+
* <p>The request is not valid. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @example To list applications in the account
|
|
78
|
+
* ```javascript
|
|
79
|
+
* // The following lists application summary in the account.
|
|
80
|
+
* const input = {
|
|
81
|
+
* "MaxResults": 1
|
|
82
|
+
* };
|
|
83
|
+
* const command = new ListApplicationsCommand(input);
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* /* response ==
|
|
86
|
+
* {
|
|
87
|
+
* "Applications": [
|
|
88
|
+
* {
|
|
89
|
+
* "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
|
90
|
+
* "Id": "98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
|
91
|
+
* "Name": "My Application",
|
|
92
|
+
* "Namespace": "myapplication"
|
|
93
|
+
* }
|
|
94
|
+
* ],
|
|
95
|
+
* "NextToken": "abc"
|
|
96
|
+
* }
|
|
97
|
+
* *\/
|
|
98
|
+
* // example id: list-applications
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListApplicationsCommand extends $Command<ListApplicationsCommandInput, ListApplicationsCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
103
|
+
readonly input: ListApplicationsCommandInput;
|
|
104
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
constructor(input: ListApplicationsCommandInput);
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationsCommandInput, ListApplicationsCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private serialize;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private deserialize;
|
|
121
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release and subject to change.</p>
|
|
27
|
+
* <p>Updates and persists an Application resource.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AppIntegrationsClient, UpdateApplicationCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
32
|
+
* // const { AppIntegrationsClient, UpdateApplicationCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
33
|
+
* const client = new AppIntegrationsClient(config);
|
|
34
|
+
* const input = { // UpdateApplicationRequest
|
|
35
|
+
* Arn: "STRING_VALUE", // required
|
|
36
|
+
* Name: "STRING_VALUE",
|
|
37
|
+
* Description: "STRING_VALUE",
|
|
38
|
+
* ApplicationSourceConfig: { // ApplicationSourceConfig
|
|
39
|
+
* ExternalUrlConfig: { // ExternalUrlConfig
|
|
40
|
+
* AccessUrl: "STRING_VALUE", // required
|
|
41
|
+
* ApprovedOrigins: [ // ApplicationApprovedOrigins
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* Subscriptions: [ // SubscriptionList
|
|
47
|
+
* { // Subscription
|
|
48
|
+
* Event: "STRING_VALUE", // required
|
|
49
|
+
* Description: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* Publications: [ // PublicationList
|
|
53
|
+
* { // Publication
|
|
54
|
+
* Event: "STRING_VALUE", // required
|
|
55
|
+
* Schema: "STRING_VALUE", // required
|
|
56
|
+
* Description: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* };
|
|
60
|
+
* const command = new UpdateApplicationCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // {};
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
|
|
67
|
+
* @returns {@link UpdateApplicationCommandOutput}
|
|
68
|
+
* @see {@link UpdateApplicationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
76
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
79
|
+
* <p>The request is not valid. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource was not found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @example To update an application
|
|
91
|
+
* ```javascript
|
|
92
|
+
* // The following updates an existing application named with a new name.
|
|
93
|
+
* const input = {
|
|
94
|
+
* "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
|
|
95
|
+
* "Name": "My New Application Name"
|
|
96
|
+
* };
|
|
97
|
+
* const command = new UpdateApplicationCommand(input);
|
|
98
|
+
* await client.send(command);
|
|
99
|
+
* // example id: update-an-application
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
104
|
+
readonly input: UpdateApplicationCommandInput;
|
|
105
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
constructor(input: UpdateApplicationCommandInput);
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationCommandInput, UpdateApplicationCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private serialize;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private deserialize;
|
|
122
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
export * from "./CreateApplicationCommand";
|
|
1
2
|
export * from "./CreateDataIntegrationCommand";
|
|
2
3
|
export * from "./CreateEventIntegrationCommand";
|
|
3
4
|
export * from "./DeleteDataIntegrationCommand";
|
|
4
5
|
export * from "./DeleteEventIntegrationCommand";
|
|
6
|
+
export * from "./GetApplicationCommand";
|
|
5
7
|
export * from "./GetDataIntegrationCommand";
|
|
6
8
|
export * from "./GetEventIntegrationCommand";
|
|
9
|
+
export * from "./ListApplicationsCommand";
|
|
7
10
|
export * from "./ListDataIntegrationAssociationsCommand";
|
|
8
11
|
export * from "./ListDataIntegrationsCommand";
|
|
9
12
|
export * from "./ListEventIntegrationAssociationsCommand";
|
|
@@ -11,5 +14,6 @@ export * from "./ListEventIntegrationsCommand";
|
|
|
11
14
|
export * from "./ListTagsForResourceCommand";
|
|
12
15
|
export * from "./TagResourceCommand";
|
|
13
16
|
export * from "./UntagResourceCommand";
|
|
17
|
+
export * from "./UpdateApplicationCommand";
|
|
14
18
|
export * from "./UpdateDataIntegrationCommand";
|
|
15
19
|
export * from "./UpdateEventIntegrationCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,6 @@ export * from "./AppIntegrationsClient";
|
|
|
13
13
|
export * from "./AppIntegrations";
|
|
14
14
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
15
|
export * from "./commands";
|
|
16
|
+
export * from "./pagination";
|
|
16
17
|
export * from "./models";
|
|
17
18
|
export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException";
|