|
143 | 143 | ],
|
144 | 144 | "documentation":"<p>Creates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.</p>"
|
145 | 145 | },
|
| 146 | + "RegisterSlackWorkspaceForOrganization":{ |
| 147 | + "name":"RegisterSlackWorkspaceForOrganization", |
| 148 | + "http":{ |
| 149 | + "method":"POST", |
| 150 | + "requestUri":"/control/register-slack-workspace-for-organization", |
| 151 | + "responseCode":200 |
| 152 | + }, |
| 153 | + "input":{"shape":"RegisterSlackWorkspaceForOrganizationRequest"}, |
| 154 | + "output":{"shape":"RegisterSlackWorkspaceForOrganizationResult"}, |
| 155 | + "errors":[ |
| 156 | + {"shape":"ConflictException"}, |
| 157 | + {"shape":"ResourceNotFoundException"}, |
| 158 | + {"shape":"AccessDeniedException"}, |
| 159 | + {"shape":"InternalServerException"}, |
| 160 | + {"shape":"ValidationException"} |
| 161 | + ], |
| 162 | + "documentation":"<p>Registers a Slack workspace for your Amazon Web Services account. To call this API, your account must be part of an organization in Organizations.</p> <p>If you're the <i>management account</i> and you want to register Slack workspaces for your organization, you must complete the following tasks:</p> <ol> <li> <p>Sign in to the <a href=\"https://console.aws.amazon.com/support/app\">Amazon Web Services Support Center</a> and authorize the Slack workspaces where you want your organization to have access to. See <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html\">Authorize a Slack workspace</a> in the <i>Amazon Web Services Support User Guide</i>.</p> </li> <li> <p>Call the <code>RegisterSlackWorkspaceForOrganization</code> API to authorize each Slack workspace for the organization.</p> </li> </ol> <p>After the management account authorizes the Slack workspace, member accounts can call this API to authorize the same Slack workspace for their individual accounts. Member accounts don't need to authorize the Slack workspace manually through the <a href=\"https://console.aws.amazon.com/support/app\">Amazon Web Services Support Center</a>.</p> <p>To use the Amazon Web Services Support App, each account must then complete the following tasks:</p> <ul> <li> <p>Create an Identity and Access Management (IAM) role with the required permission. For more information, see <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html\">Managing access to the Amazon Web Services Support App</a>.</p> </li> <li> <p>Configure a Slack channel to use the Amazon Web Services Support App for support cases for that account. For more information, see <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/add-your-slack-channel.html\">Configuring a Slack channel</a>.</p> </li> </ul>" |
| 163 | + }, |
146 | 164 | "UpdateSlackChannelConfiguration":{
|
147 | 165 | "name":"UpdateSlackChannelConfiguration",
|
148 | 166 | "http":{
|
|
175 | 193 | },
|
176 | 194 | "exception":true
|
177 | 195 | },
|
| 196 | + "AccountType":{ |
| 197 | + "type":"string", |
| 198 | + "enum":[ |
| 199 | + "management", |
| 200 | + "member" |
| 201 | + ] |
| 202 | + }, |
178 | 203 | "ConflictException":{
|
179 | 204 | "type":"structure",
|
180 | 205 | "members":{
|
181 | 206 | "message":{"shape":"errorMessage"}
|
182 | 207 | },
|
183 |
| - "documentation":"<p>Your request has a conflict. For example, you might receive this error if you try the following:</p> <ul> <li> <p>Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.</p> </li> <li> <p>Add a Slack channel configuration that already exists in your Amazon Web Services account.</p> </li> <li> <p>Delete a Slack channel configuration for a live chat channel.</p> </li> <li> <p>Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.</p> </li> </ul>", |
| 208 | + "documentation":"<p>Your request has a conflict. For example, you might receive this error if you try the following:</p> <ul> <li> <p>Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.</p> </li> <li> <p>Add a Slack channel configuration that already exists in your Amazon Web Services account.</p> </li> <li> <p>Delete a Slack channel configuration for a live chat channel.</p> </li> <li> <p>Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.</p> </li> <li> <p>Call the <code>RegisterSlackWorkspaceForOrganization</code> API from an Amazon Web Services account that doesn't belong to an organization.</p> </li> <li> <p>Call the <code>RegisterSlackWorkspaceForOrganization</code> API from a member account, but the management account hasn't registered that workspace yet for the organization.</p> </li> </ul>", |
184 | 209 | "error":{
|
185 | 210 | "httpStatusCode":409,
|
186 | 211 | "senderFault":true
|
|
214 | 239 | },
|
215 | 240 | "notifyOnCaseSeverity":{
|
216 | 241 | "shape":"NotificationSeverityLevel",
|
217 |
| - "documentation":"<p>The case severity for a support case that you want to receive notifications.</p> <pre><code> <p>If you specify <code>high</code> or <code>all</code>, you must specify <code>true</code> for at least one of the following parameters:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <p>If you specify <code>none</code>, the following parameters must be null or <code>false</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <note> <p>If you don't specify these parameters in your request, they default to <code>false</code>.</p> </note> </code></pre>" |
| 242 | + "documentation":"<p>The case severity for a support case that you want to receive notifications.</p> <p>If you specify <code>high</code> or <code>all</code>, you must specify <code>true</code> for at least one of the following parameters:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <p>If you specify <code>none</code>, the following parameters must be null or <code>false</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <note> <p>If you don't specify these parameters in your request, they default to <code>false</code>.</p> </note>" |
218 | 243 | },
|
219 | 244 | "notifyOnCreateOrReopenCase":{
|
220 | 245 | "shape":"booleanValue",
|
|
226 | 251 | },
|
227 | 252 | "teamId":{
|
228 | 253 | "shape":"teamId",
|
229 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 254 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
230 | 255 | }
|
231 | 256 | }
|
232 | 257 | },
|
|
258 | 283 | },
|
259 | 284 | "teamId":{
|
260 | 285 | "shape":"teamId",
|
261 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 286 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
262 | 287 | }
|
263 | 288 | }
|
264 | 289 | },
|
|
273 | 298 | "members":{
|
274 | 299 | "teamId":{
|
275 | 300 | "shape":"teamId",
|
276 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 301 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
277 | 302 | }
|
278 | 303 | }
|
279 | 304 | },
|
|
374 | 399 | "members":{
|
375 | 400 | }
|
376 | 401 | },
|
| 402 | + "RegisterSlackWorkspaceForOrganizationRequest":{ |
| 403 | + "type":"structure", |
| 404 | + "required":["teamId"], |
| 405 | + "members":{ |
| 406 | + "teamId":{ |
| 407 | + "shape":"teamId", |
| 408 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>. Specify the Slack workspace that you want to use for your organization.</p>" |
| 409 | + } |
| 410 | + } |
| 411 | + }, |
| 412 | + "RegisterSlackWorkspaceForOrganizationResult":{ |
| 413 | + "type":"structure", |
| 414 | + "members":{ |
| 415 | + "accountType":{ |
| 416 | + "shape":"AccountType", |
| 417 | + "documentation":"<p>Whether the Amazon Web Services account is a management or member account that's part of an organization in Organizations.</p>" |
| 418 | + }, |
| 419 | + "teamId":{ |
| 420 | + "shape":"teamId", |
| 421 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
| 422 | + }, |
| 423 | + "teamName":{ |
| 424 | + "shape":"teamName", |
| 425 | + "documentation":"<p>The name of the Slack workspace.</p>" |
| 426 | + } |
| 427 | + } |
| 428 | + }, |
377 | 429 | "ResourceNotFoundException":{
|
378 | 430 | "type":"structure",
|
379 | 431 | "members":{
|
380 | 432 | "message":{"shape":"errorMessage"}
|
381 | 433 | },
|
382 |
| - "documentation":"<p>The specified resource is missing or doesn't exist, such as an account alias or Slack channel configuration.</p>", |
| 434 | + "documentation":"<p>The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.</p>", |
383 | 435 | "error":{
|
384 | 436 | "httpStatusCode":404,
|
385 | 437 | "senderFault":true
|
|
411 | 463 | },
|
412 | 464 | "channelName":{
|
413 | 465 | "shape":"channelName",
|
414 |
| - "documentation":"<p>The name of the Slack channel that you configured with the Amazon Web Services Support App.</p>" |
| 466 | + "documentation":"<p>The name of the Slack channel that you configured with the Amazon Web Services Support App for your Amazon Web Services account.</p>" |
415 | 467 | },
|
416 | 468 | "channelRoleArn":{
|
417 | 469 | "shape":"roleArn",
|
|
435 | 487 | },
|
436 | 488 | "teamId":{
|
437 | 489 | "shape":"teamId",
|
438 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 490 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
439 | 491 | }
|
440 | 492 | },
|
441 |
| - "documentation":"<p>The configuration for a Slack channel that you added to an Amazon Web Services account.</p>" |
| 493 | + "documentation":"<p>The configuration for a Slack channel that you added for your Amazon Web Services account.</p>" |
442 | 494 | },
|
443 | 495 | "SlackWorkspaceConfiguration":{
|
444 | 496 | "type":"structure",
|
445 | 497 | "required":["teamId"],
|
446 | 498 | "members":{
|
| 499 | + "allowOrganizationMemberAccount":{ |
| 500 | + "shape":"booleanValue", |
| 501 | + "documentation":"<p>Whether to allow member accounts to authorize Slack workspaces. Member accounts must be part of an organization in Organizations.</p>" |
| 502 | + }, |
447 | 503 | "teamId":{
|
448 | 504 | "shape":"teamId",
|
449 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 505 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
| 506 | + }, |
| 507 | + "teamName":{ |
| 508 | + "shape":"teamName", |
| 509 | + "documentation":"<p>The name of the Slack workspace.</p>" |
450 | 510 | }
|
451 | 511 | },
|
452 | 512 | "documentation":"<p>The configuration for a Slack workspace that you added to an Amazon Web Services account.</p>"
|
|
480 | 540 | },
|
481 | 541 | "notifyOnCaseSeverity":{
|
482 | 542 | "shape":"NotificationSeverityLevel",
|
483 |
| - "documentation":"<p>The case severity for a support case that you want to receive notifications.</p> <pre><code> <p>If you specify <code>high</code> or <code>all</code>, at least one of the following parameters must be <code>true</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <p>If you specify <code>none</code>, any of the following parameters that you specify in your request must be <code>false</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <note> <p>If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.</p> </note> </code></pre>" |
| 543 | + "documentation":"<p>The case severity for a support case that you want to receive notifications.</p> <p>If you specify <code>high</code> or <code>all</code>, at least one of the following parameters must be <code>true</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <p>If you specify <code>none</code>, any of the following parameters that you specify in your request must be <code>false</code>:</p> <ul> <li> <p> <code>notifyOnAddCorrespondenceToCase</code> </p> </li> <li> <p> <code>notifyOnCreateOrReopenCase</code> </p> </li> <li> <p> <code>notifyOnResolveCase</code> </p> </li> </ul> <note> <p>If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.</p> </note>" |
484 | 544 | },
|
485 | 545 | "notifyOnCreateOrReopenCase":{
|
486 | 546 | "shape":"booleanValue",
|
|
492 | 552 | },
|
493 | 553 | "teamId":{
|
494 | 554 | "shape":"teamId",
|
495 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 555 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
496 | 556 | }
|
497 | 557 | }
|
498 | 558 | },
|
|
529 | 589 | },
|
530 | 590 | "teamId":{
|
531 | 591 | "shape":"teamId",
|
532 |
| - "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>" |
| 592 | + "documentation":"<p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>" |
533 | 593 | }
|
534 | 594 | }
|
535 | 595 | },
|
|
589 | 649 | "max":256,
|
590 | 650 | "min":1,
|
591 | 651 | "pattern":"^\\S+$"
|
| 652 | + }, |
| 653 | + "teamName":{ |
| 654 | + "type":"string", |
| 655 | + "max":256, |
| 656 | + "min":1, |
| 657 | + "pattern":"^.+$" |
592 | 658 | }
|
593 | 659 | },
|
594 |
| - "documentation":"<p><fullname>Amazon Web Services Support App in Slack</fullname> <p>You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can perform the following tasks directly in your Slack channel:</p> <ul> <li> <p>Create, search, update, and resolve your support cases</p> </li> <li> <p>Request service quota increases for your account</p> </li> <li> <p>Invite Amazon Web Services Support agents to your channel so that you can chat directly about your support cases</p> </li> </ul> <p>For more information about how to perform these actions in Slack, see the following documentation in the <i>Amazon Web Services Support User Guide</i>:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html\">Amazon Web Services Support App in Slack</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/joining-a-live-chat-session.html\">Joining a live chat session with Amazon Web Services Support</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/service-quota-increase.html\">Requesting service quota increases</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/support-app-commands.html\">Amazon Web Services Support App commands in Slack</a> </p> </li> </ul> <p>You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack configurations. For more information, see <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html\">Authorize a Slack workspace to enable the Amazon Web Services Support App</a>.</p></p> <pre><code> <note> <ul> <li> <p>You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API. </p> </li> <li> <p>For more information about the Amazon Web Services Support App endpoints, see the <a href="https://docs.aws.amazon.com/general/latest/gr/awssupport.html#awssupport_app_region">Amazon Web Services Support App in Slack endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> </ul> </note> </code></pre>" |
| 660 | + "documentation":"<p><fullname>Amazon Web Services Support App in Slack</fullname> <p>You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can perform the following tasks directly in your Slack channel:</p> <ul> <li> <p>Create, search, update, and resolve your support cases</p> </li> <li> <p>Request service quota increases for your account</p> </li> <li> <p>Invite Amazon Web Services Support agents to your channel so that you can chat directly about your support cases</p> </li> </ul> <p>For more information about how to perform these actions in Slack, see the following documentation in the <i>Amazon Web Services Support User Guide</i>:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html\">Amazon Web Services Support App in Slack</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/joining-a-live-chat-session.html\">Joining a live chat session with Amazon Web Services Support</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/service-quota-increase.html\">Requesting service quota increases</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/support-app-commands.html\">Amazon Web Services Support App commands in Slack</a> </p> </li> </ul> <p>You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack configurations. For more information, see <a href=\"https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html\">Authorize a Slack workspace to enable the Amazon Web Services Support App</a>.</p> <note> <ul> <li> <p>You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API. </p> </li> <li> <p>For more information about the Amazon Web Services Support App endpoints, see the <a href=\"https://docs.aws.amazon.com/general/latest/gr/awssupport.html#awssupport_app_region\">Amazon Web Services Support App in Slack endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> </ul> </note></p>" |
595 | 661 | }
|
0 commit comments