@aws-sdk/client-pinpoint 3.332.0 → 3.335.1
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/CHANGELOG.md +4785 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/PinpointClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
- package/dist-types/ts3.4/PinpointClient.d.ts +284 -844
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +103 -34
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +833 -37
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +99 -38
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +117 -37
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +155 -38
- package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +840 -37
- package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +145 -38
- package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +117 -41
- package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +378 -37
- package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +98 -38
- package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +98 -34
- package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +102 -38
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +470 -37
- package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +468 -37
- package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +243 -37
- package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +140 -38
- package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +101 -38
- package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +103 -37
- package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +98 -32
- package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +121 -41
- package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +109 -41
- package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +115 -41
- package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +470 -34
- package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +477 -38
- package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +476 -34
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +107 -37
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +136 -34
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +112 -34
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +118 -37
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +116 -34
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +122 -37
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +197 -37
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +163 -37
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +468 -34
- package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +100 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +134 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +130 -41
- package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +135 -37
- package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +153 -37
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +111 -41
- package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +243 -34
- package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +119 -41
- package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +244 -38
- package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +250 -38
- package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +249 -34
- package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +140 -37
- package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +474 -34
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +73 -38
- package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +108 -41
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +104 -37
- package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +108 -38
- package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +176 -34
- package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +313 -34
- package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +296 -38
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +72 -32
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +70 -32
- package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +129 -41
- package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +107 -38
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +834 -37
- package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +140 -41
- package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +162 -38
- package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +844 -37
- package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +152 -38
- package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +118 -41
- package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +379 -37
- package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +110 -37
- package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +97 -41
- package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +105 -38
- package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/index.d.ts +122 -122
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +20 -33
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/PinpointServiceException.d.ts +12 -7
- package/dist-types/ts3.4/models/index.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6383 -1896
- package/dist-types/ts3.4/models/models_1.d.ts +2807 -915
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +1100 -1469
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +42 -91
- package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -80
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
- package/package.json +5 -4
|
@@ -1,41 +1,113 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateApnsVoipSandboxChannelRequest, UpdateApnsVoipSandboxChannelResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateApnsVoipSandboxChannelCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateApnsVoipSandboxChannelCommandInput extends UpdateApnsVoipSandboxChannelRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateApnsVoipSandboxChannelCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateApnsVoipSandboxChannelCommandOutput extends UpdateApnsVoipSandboxChannelResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, UpdateApnsVoipSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, UpdateApnsVoipSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // UpdateApnsVoipSandboxChannelRequest
|
|
30
|
+
* APNSVoipSandboxChannelRequest: { // APNSVoipSandboxChannelRequest
|
|
31
|
+
* BundleId: "STRING_VALUE",
|
|
32
|
+
* Certificate: "STRING_VALUE",
|
|
33
|
+
* DefaultAuthenticationMethod: "STRING_VALUE",
|
|
34
|
+
* Enabled: true || false,
|
|
35
|
+
* PrivateKey: "STRING_VALUE",
|
|
36
|
+
* TeamId: "STRING_VALUE",
|
|
37
|
+
* TokenKey: "STRING_VALUE",
|
|
38
|
+
* TokenKeyId: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateApnsVoipSandboxChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateApnsVoipSandboxChannelResponse
|
|
45
|
+
* // APNSVoipSandboxChannelResponse: { // APNSVoipSandboxChannelResponse
|
|
46
|
+
* // ApplicationId: "STRING_VALUE",
|
|
47
|
+
* // CreationDate: "STRING_VALUE",
|
|
48
|
+
* // DefaultAuthenticationMethod: "STRING_VALUE",
|
|
49
|
+
* // Enabled: true || false,
|
|
50
|
+
* // HasCredential: true || false,
|
|
51
|
+
* // HasTokenKey: true || false,
|
|
52
|
+
* // Id: "STRING_VALUE",
|
|
53
|
+
* // IsArchived: true || false,
|
|
54
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
55
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
56
|
+
* // Platform: "STRING_VALUE", // required
|
|
57
|
+
* // Version: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param UpdateApnsVoipSandboxChannelCommandInput - {@link UpdateApnsVoipSandboxChannelCommandInput}
|
|
64
|
+
* @returns {@link UpdateApnsVoipSandboxChannelCommandOutput}
|
|
65
|
+
* @see {@link UpdateApnsVoipSandboxChannelCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link UpdateApnsVoipSandboxChannelCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link BadRequestException} (client fault)
|
|
70
|
+
* <p>Provides information about an API request or response.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
73
|
+
* <p>Provides information about an API request or response.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
76
|
+
* <p>Provides information about an API request or response.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
79
|
+
* <p>Provides information about an API request or response.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NotFoundException} (client fault)
|
|
82
|
+
* <p>Provides information about an API request or response.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
85
|
+
* <p>Provides information about an API request or response.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
88
|
+
* <p>Provides information about an API request or response.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link PinpointServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateApnsVoipSandboxChannelCommand extends $Command<UpdateApnsVoipSandboxChannelCommandInput, UpdateApnsVoipSandboxChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
95
|
+
readonly input: UpdateApnsVoipSandboxChannelCommandInput;
|
|
96
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
constructor(input: UpdateApnsVoipSandboxChannelCommandInput);
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApnsVoipSandboxChannelCommandInput, UpdateApnsVoipSandboxChannelCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private deserialize;
|
|
113
|
+
}
|
|
@@ -1,41 +1,129 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateApplicationSettingsRequest, UpdateApplicationSettingsResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateApplicationSettingsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateApplicationSettingsCommandInput extends UpdateApplicationSettingsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateApplicationSettingsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicationSettingsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates the settings for an application.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, UpdateApplicationSettingsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, UpdateApplicationSettingsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // UpdateApplicationSettingsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* WriteApplicationSettingsRequest: { // WriteApplicationSettingsRequest
|
|
32
|
+
* CampaignHook: { // CampaignHook
|
|
33
|
+
* LambdaFunctionName: "STRING_VALUE",
|
|
34
|
+
* Mode: "DELIVERY" || "FILTER",
|
|
35
|
+
* WebUrl: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* CloudWatchMetricsEnabled: true || false,
|
|
38
|
+
* EventTaggingEnabled: true || false,
|
|
39
|
+
* Limits: { // CampaignLimits
|
|
40
|
+
* Daily: Number("int"),
|
|
41
|
+
* MaximumDuration: Number("int"),
|
|
42
|
+
* MessagesPerSecond: Number("int"),
|
|
43
|
+
* Total: Number("int"),
|
|
44
|
+
* Session: Number("int"),
|
|
45
|
+
* },
|
|
46
|
+
* QuietTime: { // QuietTime
|
|
47
|
+
* End: "STRING_VALUE",
|
|
48
|
+
* Start: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new UpdateApplicationSettingsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // UpdateApplicationSettingsResponse
|
|
55
|
+
* // ApplicationSettingsResource: { // ApplicationSettingsResource
|
|
56
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
57
|
+
* // CampaignHook: { // CampaignHook
|
|
58
|
+
* // LambdaFunctionName: "STRING_VALUE",
|
|
59
|
+
* // Mode: "DELIVERY" || "FILTER",
|
|
60
|
+
* // WebUrl: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
63
|
+
* // Limits: { // CampaignLimits
|
|
64
|
+
* // Daily: Number("int"),
|
|
65
|
+
* // MaximumDuration: Number("int"),
|
|
66
|
+
* // MessagesPerSecond: Number("int"),
|
|
67
|
+
* // Total: Number("int"),
|
|
68
|
+
* // Session: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // QuietTime: { // QuietTime
|
|
71
|
+
* // End: "STRING_VALUE",
|
|
72
|
+
* // Start: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param UpdateApplicationSettingsCommandInput - {@link UpdateApplicationSettingsCommandInput}
|
|
80
|
+
* @returns {@link UpdateApplicationSettingsCommandOutput}
|
|
81
|
+
* @see {@link UpdateApplicationSettingsCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link UpdateApplicationSettingsCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link BadRequestException} (client fault)
|
|
86
|
+
* <p>Provides information about an API request or response.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
89
|
+
* <p>Provides information about an API request or response.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
92
|
+
* <p>Provides information about an API request or response.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
95
|
+
* <p>Provides information about an API request or response.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link NotFoundException} (client fault)
|
|
98
|
+
* <p>Provides information about an API request or response.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
101
|
+
* <p>Provides information about an API request or response.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
104
|
+
* <p>Provides information about an API request or response.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link PinpointServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
export declare class UpdateApplicationSettingsCommand extends $Command<UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput, PinpointClientResolvedConfig> {
|
|
111
|
+
readonly input: UpdateApplicationSettingsCommandInput;
|
|
112
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
constructor(input: UpdateApplicationSettingsCommandInput);
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput>;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
private serialize;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
private deserialize;
|
|
129
|
+
}
|
|
@@ -1,38 +1,107 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateBaiduChannelRequest, UpdateBaiduChannelResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateBaiduChannelCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateBaiduChannelCommandInput extends UpdateBaiduChannelRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateBaiduChannelCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateBaiduChannelCommandOutput extends UpdateBaiduChannelResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, UpdateBaiduChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, UpdateBaiduChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // UpdateBaiduChannelRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* BaiduChannelRequest: { // BaiduChannelRequest
|
|
32
|
+
* ApiKey: "STRING_VALUE", // required
|
|
33
|
+
* Enabled: true || false,
|
|
34
|
+
* SecretKey: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
37
|
+
* const command = new UpdateBaiduChannelCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // UpdateBaiduChannelResponse
|
|
40
|
+
* // BaiduChannelResponse: { // BaiduChannelResponse
|
|
41
|
+
* // ApplicationId: "STRING_VALUE",
|
|
42
|
+
* // CreationDate: "STRING_VALUE",
|
|
43
|
+
* // Credential: "STRING_VALUE", // required
|
|
44
|
+
* // Enabled: true || false,
|
|
45
|
+
* // HasCredential: true || false,
|
|
46
|
+
* // Id: "STRING_VALUE",
|
|
47
|
+
* // IsArchived: true || false,
|
|
48
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
49
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
50
|
+
* // Platform: "STRING_VALUE", // required
|
|
51
|
+
* // Version: Number("int"),
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param UpdateBaiduChannelCommandInput - {@link UpdateBaiduChannelCommandInput}
|
|
58
|
+
* @returns {@link UpdateBaiduChannelCommandOutput}
|
|
59
|
+
* @see {@link UpdateBaiduChannelCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link UpdateBaiduChannelCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>Provides information about an API request or response.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
67
|
+
* <p>Provides information about an API request or response.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
70
|
+
* <p>Provides information about an API request or response.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
73
|
+
* <p>Provides information about an API request or response.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotFoundException} (client fault)
|
|
76
|
+
* <p>Provides information about an API request or response.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
79
|
+
* <p>Provides information about an API request or response.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
82
|
+
* <p>Provides information about an API request or response.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link PinpointServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class UpdateBaiduChannelCommand extends $Command<UpdateBaiduChannelCommandInput, UpdateBaiduChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
89
|
+
readonly input: UpdateBaiduChannelCommandInput;
|
|
90
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
constructor(input: UpdateBaiduChannelCommandInput);
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBaiduChannelCommandInput, UpdateBaiduChannelCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private deserialize;
|
|
107
|
+
}
|