aws-sdk-supportapp 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 015f87d25032cc6562c0315f305b2d311160ba9b5d8177aed466cc65374dab0e
4
- data.tar.gz: 12dd47d838c97e8c1164d685e07084809f6b1478346a972fd85085304795ae30
3
+ metadata.gz: a4493237aef5cdd04ddee6788553c2e55345b5d34234ff9743c8676728b32dbc
4
+ data.tar.gz: f7eafa0e7af3a3900a8fbcd381a028a2df918ce860e3cec46f5a140bd09f9146
5
5
  SHA512:
6
- metadata.gz: 8160e77e58a8192bd40b3e1037ac7b09b1dbe7b87818a1ad92e3d45b06361b7da68a769f7219475e377611a4f5be51cd8abfdc05502d455df6d322bed65a42c5
7
- data.tar.gz: 6583a7abfc2b9ee326c92f24d04e46f9c70eb8a10de89f12751889f97de9305ab34c5231ffa6a6f3397600ac80d66edcf83d10abdf6cf0584d8b11df7c2c4d6e
6
+ metadata.gz: 3e9f13e8948a76d9831c418cbfe8266ee39bb43faf2003b2bbafa4cfb3477e07bccab0d5eb628911fb2c87f8b6511556a9d7c0d6562f1c51583ec3859053f078
7
+ data.tar.gz: 5f3bb918bf53b25e82cd7e81365283a297485955fab4cf82594efed1defc2748fd2b31eae9b006d1f50467828c8afdb2232927b063b4aed6b6a8bccb5b485c37
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.0 (2022-10-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds the RegisterSlackWorkspaceForOrganization API. You can use the API to register a Slack workspace for an AWS account that is part of an organization.
8
+
4
9
  1.0.0 (2022-08-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -401,7 +401,28 @@ module Aws::SupportApp
401
401
  # The case severity for a support case that you want to receive
402
402
  # notifications.
403
403
  #
404
- # <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>
404
+ # If you specify `high` or `all`, you must specify `true` for at least
405
+ # one of the following parameters:
406
+ #
407
+ # * `notifyOnAddCorrespondenceToCase`
408
+ #
409
+ # * `notifyOnCreateOrReopenCase`
410
+ #
411
+ # * `notifyOnResolveCase`
412
+ #
413
+ # If you specify `none`, the following parameters must be null or
414
+ # `false`\:
415
+ #
416
+ # * `notifyOnAddCorrespondenceToCase`
417
+ #
418
+ # * `notifyOnCreateOrReopenCase`
419
+ #
420
+ # * `notifyOnResolveCase`
421
+ #
422
+ # <note markdown="1"> If you don't specify these parameters in your request, they default
423
+ # to `false`.
424
+ #
425
+ # </note>
405
426
  #
406
427
  # @option params [Boolean] :notify_on_create_or_reopen_case
407
428
  # Whether you want to get notified when a support case is created or
@@ -411,7 +432,8 @@ module Aws::SupportApp
411
432
  # Whether you want to get notified when a support case is resolved.
412
433
  #
413
434
  # @option params [required, String] :team_id
414
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
435
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
436
+ # such as `T012ABCDEFG`.
415
437
  #
416
438
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
417
439
  #
@@ -461,7 +483,8 @@ module Aws::SupportApp
461
483
  # workspace.
462
484
  #
463
485
  # @option params [required, String] :team_id
464
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
486
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
487
+ # such as `T012ABCDEFG`.
465
488
  #
466
489
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
467
490
  #
@@ -485,7 +508,8 @@ module Aws::SupportApp
485
508
  # account. This operation doesn't delete your Slack workspace.
486
509
  #
487
510
  # @option params [required, String] :team_id
488
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
511
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
512
+ # such as `T012ABCDEFG`.
489
513
  #
490
514
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
491
515
  #
@@ -600,7 +624,9 @@ module Aws::SupportApp
600
624
  #
601
625
  # resp.next_token #=> String
602
626
  # resp.slack_workspace_configurations #=> Array
627
+ # resp.slack_workspace_configurations[0].allow_organization_member_account #=> Boolean
603
628
  # resp.slack_workspace_configurations[0].team_id #=> String
629
+ # resp.slack_workspace_configurations[0].team_name #=> String
604
630
  #
605
631
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/ListSlackWorkspaceConfigurations AWS API Documentation
606
632
  #
@@ -636,6 +662,78 @@ module Aws::SupportApp
636
662
  req.send_request(options)
637
663
  end
638
664
 
665
+ # Registers a Slack workspace for your Amazon Web Services account. To
666
+ # call this API, your account must be part of an organization in
667
+ # Organizations.
668
+ #
669
+ # If you're the *management account* and you want to register Slack
670
+ # workspaces for your organization, you must complete the following
671
+ # tasks:
672
+ #
673
+ # 1. Sign in to the [Amazon Web Services Support Center][1] and
674
+ # authorize the Slack workspaces where you want your organization to
675
+ # have access to. See [Authorize a Slack workspace][2] in the
676
+ # *Amazon Web Services Support User Guide*.
677
+ #
678
+ # 2. Call the `RegisterSlackWorkspaceForOrganization` API to authorize
679
+ # each Slack workspace for the organization.
680
+ #
681
+ # After the management account authorizes the Slack workspace, member
682
+ # accounts can call this API to authorize the same Slack workspace for
683
+ # their individual accounts. Member accounts don't need to authorize
684
+ # the Slack workspace manually through the [Amazon Web Services Support
685
+ # Center][1].
686
+ #
687
+ # To use the Amazon Web Services Support App, each account must then
688
+ # complete the following tasks:
689
+ #
690
+ # * Create an Identity and Access Management (IAM) role with the
691
+ # required permission. For more information, see [Managing access to
692
+ # the Amazon Web Services Support App][3].
693
+ #
694
+ # * Configure a Slack channel to use the Amazon Web Services Support App
695
+ # for support cases for that account. For more information, see
696
+ # [Configuring a Slack channel][4].
697
+ #
698
+ #
699
+ #
700
+ # [1]: https://console.aws.amazon.com/support/app
701
+ # [2]: https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html
702
+ # [3]: https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html
703
+ # [4]: https://docs.aws.amazon.com/awssupport/latest/user/add-your-slack-channel.html
704
+ #
705
+ # @option params [required, String] :team_id
706
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
707
+ # such as `T012ABCDEFG`. Specify the Slack workspace that you want to
708
+ # use for your organization.
709
+ #
710
+ # @return [Types::RegisterSlackWorkspaceForOrganizationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
711
+ #
712
+ # * {Types::RegisterSlackWorkspaceForOrganizationResult#account_type #account_type} => String
713
+ # * {Types::RegisterSlackWorkspaceForOrganizationResult#team_id #team_id} => String
714
+ # * {Types::RegisterSlackWorkspaceForOrganizationResult#team_name #team_name} => String
715
+ #
716
+ # @example Request syntax with placeholder values
717
+ #
718
+ # resp = client.register_slack_workspace_for_organization({
719
+ # team_id: "teamId", # required
720
+ # })
721
+ #
722
+ # @example Response structure
723
+ #
724
+ # resp.account_type #=> String, one of "management", "member"
725
+ # resp.team_id #=> String
726
+ # resp.team_name #=> String
727
+ #
728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/RegisterSlackWorkspaceForOrganization AWS API Documentation
729
+ #
730
+ # @overload register_slack_workspace_for_organization(params = {})
731
+ # @param [Hash] params ({})
732
+ def register_slack_workspace_for_organization(params = {}, options = {})
733
+ req = build_request(:register_slack_workspace_for_organization, params)
734
+ req.send_request(options)
735
+ end
736
+
639
737
  # Updates the configuration for a Slack channel, such as case update
640
738
  # notifications.
641
739
  #
@@ -664,7 +762,28 @@ module Aws::SupportApp
664
762
  # The case severity for a support case that you want to receive
665
763
  # notifications.
666
764
  #
667
- # <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>
765
+ # If you specify `high` or `all`, at least one of the following
766
+ # parameters must be `true`\:
767
+ #
768
+ # * `notifyOnAddCorrespondenceToCase`
769
+ #
770
+ # * `notifyOnCreateOrReopenCase`
771
+ #
772
+ # * `notifyOnResolveCase`
773
+ #
774
+ # If you specify `none`, any of the following parameters that you
775
+ # specify in your request must be `false`\:
776
+ #
777
+ # * `notifyOnAddCorrespondenceToCase`
778
+ #
779
+ # * `notifyOnCreateOrReopenCase`
780
+ #
781
+ # * `notifyOnResolveCase`
782
+ #
783
+ # <note markdown="1"> If you don't specify these parameters in your request, the Amazon Web
784
+ # Services Support App uses the current values by default.
785
+ #
786
+ # </note>
668
787
  #
669
788
  # @option params [Boolean] :notify_on_create_or_reopen_case
670
789
  # Whether you want to get notified when a support case is created or
@@ -674,7 +793,8 @@ module Aws::SupportApp
674
793
  # Whether you want to get notified when a support case is resolved.
675
794
  #
676
795
  # @option params [required, String] :team_id
677
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
796
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
797
+ # such as `T012ABCDEFG`.
678
798
  #
679
799
  # @return [Types::UpdateSlackChannelConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
680
800
  #
@@ -733,7 +853,7 @@ module Aws::SupportApp
733
853
  params: params,
734
854
  config: config)
735
855
  context[:gem_name] = 'aws-sdk-supportapp'
736
- context[:gem_version] = '1.0.0'
856
+ context[:gem_version] = '1.1.0'
737
857
  Seahorse::Client::Request.new(handlers, context)
738
858
  end
739
859
 
@@ -14,6 +14,7 @@ module Aws::SupportApp
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccountType = Shapes::StringShape.new(name: 'AccountType')
17
18
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
18
19
  CreateSlackChannelConfigurationRequest = Shapes::StructureShape.new(name: 'CreateSlackChannelConfigurationRequest')
19
20
  CreateSlackChannelConfigurationResult = Shapes::StructureShape.new(name: 'CreateSlackChannelConfigurationResult')
@@ -33,6 +34,8 @@ module Aws::SupportApp
33
34
  NotificationSeverityLevel = Shapes::StringShape.new(name: 'NotificationSeverityLevel')
34
35
  PutAccountAliasRequest = Shapes::StructureShape.new(name: 'PutAccountAliasRequest')
35
36
  PutAccountAliasResult = Shapes::StructureShape.new(name: 'PutAccountAliasResult')
37
+ RegisterSlackWorkspaceForOrganizationRequest = Shapes::StructureShape.new(name: 'RegisterSlackWorkspaceForOrganizationRequest')
38
+ RegisterSlackWorkspaceForOrganizationResult = Shapes::StructureShape.new(name: 'RegisterSlackWorkspaceForOrganizationResult')
36
39
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
37
40
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
38
41
  SlackChannelConfiguration = Shapes::StructureShape.new(name: 'SlackChannelConfiguration')
@@ -50,6 +53,7 @@ module Aws::SupportApp
50
53
  roleArn = Shapes::StringShape.new(name: 'roleArn')
51
54
  slackChannelConfigurationList = Shapes::ListShape.new(name: 'slackChannelConfigurationList')
52
55
  teamId = Shapes::StringShape.new(name: 'teamId')
56
+ teamName = Shapes::StringShape.new(name: 'teamName')
53
57
 
54
58
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
55
59
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -111,6 +115,14 @@ module Aws::SupportApp
111
115
 
112
116
  PutAccountAliasResult.struct_class = Types::PutAccountAliasResult
113
117
 
118
+ RegisterSlackWorkspaceForOrganizationRequest.add_member(:team_id, Shapes::ShapeRef.new(shape: teamId, required: true, location_name: "teamId"))
119
+ RegisterSlackWorkspaceForOrganizationRequest.struct_class = Types::RegisterSlackWorkspaceForOrganizationRequest
120
+
121
+ RegisterSlackWorkspaceForOrganizationResult.add_member(:account_type, Shapes::ShapeRef.new(shape: AccountType, location_name: "accountType"))
122
+ RegisterSlackWorkspaceForOrganizationResult.add_member(:team_id, Shapes::ShapeRef.new(shape: teamId, location_name: "teamId"))
123
+ RegisterSlackWorkspaceForOrganizationResult.add_member(:team_name, Shapes::ShapeRef.new(shape: teamName, location_name: "teamName"))
124
+ RegisterSlackWorkspaceForOrganizationResult.struct_class = Types::RegisterSlackWorkspaceForOrganizationResult
125
+
114
126
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
115
127
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
116
128
 
@@ -127,7 +139,9 @@ module Aws::SupportApp
127
139
  SlackChannelConfiguration.add_member(:team_id, Shapes::ShapeRef.new(shape: teamId, required: true, location_name: "teamId"))
128
140
  SlackChannelConfiguration.struct_class = Types::SlackChannelConfiguration
129
141
 
142
+ SlackWorkspaceConfiguration.add_member(:allow_organization_member_account, Shapes::ShapeRef.new(shape: booleanValue, location_name: "allowOrganizationMemberAccount"))
130
143
  SlackWorkspaceConfiguration.add_member(:team_id, Shapes::ShapeRef.new(shape: teamId, required: true, location_name: "teamId"))
144
+ SlackWorkspaceConfiguration.add_member(:team_name, Shapes::ShapeRef.new(shape: teamName, location_name: "teamName"))
131
145
  SlackWorkspaceConfiguration.struct_class = Types::SlackWorkspaceConfiguration
132
146
 
133
147
  SlackWorkspaceConfigurationList.member = Shapes::ShapeRef.new(shape: SlackWorkspaceConfiguration)
@@ -276,6 +290,19 @@ module Aws::SupportApp
276
290
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
277
291
  end)
278
292
 
293
+ api.add_operation(:register_slack_workspace_for_organization, Seahorse::Model::Operation.new.tap do |o|
294
+ o.name = "RegisterSlackWorkspaceForOrganization"
295
+ o.http_method = "POST"
296
+ o.http_request_uri = "/control/register-slack-workspace-for-organization"
297
+ o.input = Shapes::ShapeRef.new(shape: RegisterSlackWorkspaceForOrganizationRequest)
298
+ o.output = Shapes::ShapeRef.new(shape: RegisterSlackWorkspaceForOrganizationResult)
299
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
300
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
301
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
302
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
303
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
304
+ end)
305
+
279
306
  api.add_operation(:update_slack_channel_configuration, Seahorse::Model::Operation.new.tap do |o|
280
307
  o.name = "UpdateSlackChannelConfiguration"
281
308
  o.http_method = "POST"
@@ -37,6 +37,13 @@ module Aws::SupportApp
37
37
  # * Delete a Slack workspace from your Amazon Web Services account that
38
38
  # has an active live chat channel.
39
39
  #
40
+ # * Call the `RegisterSlackWorkspaceForOrganization` API from an Amazon
41
+ # Web Services account that doesn't belong to an organization.
42
+ #
43
+ # * Call the `RegisterSlackWorkspaceForOrganization` API from a member
44
+ # account, but the management account hasn't registered that
45
+ # workspace yet for the organization.
46
+ #
40
47
  # @!attribute [rw] message
41
48
  # @return [String]
42
49
  #
@@ -92,7 +99,28 @@ module Aws::SupportApp
92
99
  # The case severity for a support case that you want to receive
93
100
  # notifications.
94
101
  #
95
- # <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>
102
+ # If you specify `high` or `all`, you must specify `true` for at least
103
+ # one of the following parameters:
104
+ #
105
+ # * `notifyOnAddCorrespondenceToCase`
106
+ #
107
+ # * `notifyOnCreateOrReopenCase`
108
+ #
109
+ # * `notifyOnResolveCase`
110
+ #
111
+ # If you specify `none`, the following parameters must be null or
112
+ # `false`\:
113
+ #
114
+ # * `notifyOnAddCorrespondenceToCase`
115
+ #
116
+ # * `notifyOnCreateOrReopenCase`
117
+ #
118
+ # * `notifyOnResolveCase`
119
+ #
120
+ # <note markdown="1"> If you don't specify these parameters in your request, they default
121
+ # to `false`.
122
+ #
123
+ # </note>
96
124
  # @return [String]
97
125
  #
98
126
  # @!attribute [rw] notify_on_create_or_reopen_case
@@ -105,7 +133,8 @@ module Aws::SupportApp
105
133
  # @return [Boolean]
106
134
  #
107
135
  # @!attribute [rw] team_id
108
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
136
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
137
+ # such as `T012ABCDEFG`.
109
138
  # @return [String]
110
139
  #
111
140
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/CreateSlackChannelConfigurationRequest AWS API Documentation
@@ -151,7 +180,8 @@ module Aws::SupportApp
151
180
  # @return [String]
152
181
  #
153
182
  # @!attribute [rw] team_id
154
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
183
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
184
+ # such as `T012ABCDEFG`.
155
185
  # @return [String]
156
186
  #
157
187
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackChannelConfigurationRequest AWS API Documentation
@@ -175,7 +205,8 @@ module Aws::SupportApp
175
205
  # }
176
206
  #
177
207
  # @!attribute [rw] team_id
178
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
208
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
209
+ # such as `T012ABCDEFG`.
179
210
  # @return [String]
180
211
  #
181
212
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackWorkspaceConfigurationRequest AWS API Documentation
@@ -329,8 +360,54 @@ module Aws::SupportApp
329
360
  #
330
361
  class PutAccountAliasResult < Aws::EmptyStructure; end
331
362
 
363
+ # @note When making an API call, you may pass RegisterSlackWorkspaceForOrganizationRequest
364
+ # data as a hash:
365
+ #
366
+ # {
367
+ # team_id: "teamId", # required
368
+ # }
369
+ #
370
+ # @!attribute [rw] team_id
371
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
372
+ # such as `T012ABCDEFG`. Specify the Slack workspace that you want to
373
+ # use for your organization.
374
+ # @return [String]
375
+ #
376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/RegisterSlackWorkspaceForOrganizationRequest AWS API Documentation
377
+ #
378
+ class RegisterSlackWorkspaceForOrganizationRequest < Struct.new(
379
+ :team_id)
380
+ SENSITIVE = []
381
+ include Aws::Structure
382
+ end
383
+
384
+ # @!attribute [rw] account_type
385
+ # Whether the Amazon Web Services account is a management or member
386
+ # account that's part of an organization in Organizations.
387
+ # @return [String]
388
+ #
389
+ # @!attribute [rw] team_id
390
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
391
+ # such as `T012ABCDEFG`.
392
+ # @return [String]
393
+ #
394
+ # @!attribute [rw] team_name
395
+ # The name of the Slack workspace.
396
+ # @return [String]
397
+ #
398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/RegisterSlackWorkspaceForOrganizationResult AWS API Documentation
399
+ #
400
+ class RegisterSlackWorkspaceForOrganizationResult < Struct.new(
401
+ :account_type,
402
+ :team_id,
403
+ :team_name)
404
+ SENSITIVE = []
405
+ include Aws::Structure
406
+ end
407
+
332
408
  # The specified resource is missing or doesn't exist, such as an
333
- # account alias or Slack channel configuration.
409
+ # account alias, Slack channel configuration, or Slack workspace
410
+ # configuration.
334
411
  #
335
412
  # @!attribute [rw] message
336
413
  # @return [String]
@@ -359,8 +436,8 @@ module Aws::SupportApp
359
436
  include Aws::Structure
360
437
  end
361
438
 
362
- # The configuration for a Slack channel that you added to an Amazon Web
363
- # Services account.
439
+ # The configuration for a Slack channel that you added for your Amazon
440
+ # Web Services account.
364
441
  #
365
442
  # @!attribute [rw] channel_id
366
443
  # The channel ID in Slack. This ID identifies a channel within a Slack
@@ -369,7 +446,7 @@ module Aws::SupportApp
369
446
  #
370
447
  # @!attribute [rw] channel_name
371
448
  # The name of the Slack channel that you configured with the Amazon
372
- # Web Services Support App.
449
+ # Web Services Support App for your Amazon Web Services account.
373
450
  # @return [String]
374
451
  #
375
452
  # @!attribute [rw] channel_role_arn
@@ -403,7 +480,8 @@ module Aws::SupportApp
403
480
  # @return [Boolean]
404
481
  #
405
482
  # @!attribute [rw] team_id
406
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
483
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
484
+ # such as `T012ABCDEFG`.
407
485
  # @return [String]
408
486
  #
409
487
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/SlackChannelConfiguration AWS API Documentation
@@ -424,14 +502,26 @@ module Aws::SupportApp
424
502
  # The configuration for a Slack workspace that you added to an Amazon
425
503
  # Web Services account.
426
504
  #
505
+ # @!attribute [rw] allow_organization_member_account
506
+ # Whether to allow member accounts to authorize Slack workspaces.
507
+ # Member accounts must be part of an organization in Organizations.
508
+ # @return [Boolean]
509
+ #
427
510
  # @!attribute [rw] team_id
428
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
511
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
512
+ # such as `T012ABCDEFG`.
513
+ # @return [String]
514
+ #
515
+ # @!attribute [rw] team_name
516
+ # The name of the Slack workspace.
429
517
  # @return [String]
430
518
  #
431
519
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/SlackWorkspaceConfiguration AWS API Documentation
432
520
  #
433
521
  class SlackWorkspaceConfiguration < Struct.new(
434
- :team_id)
522
+ :allow_organization_member_account,
523
+ :team_id,
524
+ :team_name)
435
525
  SENSITIVE = []
436
526
  include Aws::Structure
437
527
  end
@@ -479,7 +569,28 @@ module Aws::SupportApp
479
569
  # The case severity for a support case that you want to receive
480
570
  # notifications.
481
571
  #
482
- # <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>
572
+ # If you specify `high` or `all`, at least one of the following
573
+ # parameters must be `true`\:
574
+ #
575
+ # * `notifyOnAddCorrespondenceToCase`
576
+ #
577
+ # * `notifyOnCreateOrReopenCase`
578
+ #
579
+ # * `notifyOnResolveCase`
580
+ #
581
+ # If you specify `none`, any of the following parameters that you
582
+ # specify in your request must be `false`\:
583
+ #
584
+ # * `notifyOnAddCorrespondenceToCase`
585
+ #
586
+ # * `notifyOnCreateOrReopenCase`
587
+ #
588
+ # * `notifyOnResolveCase`
589
+ #
590
+ # <note markdown="1"> If you don't specify these parameters in your request, the Amazon
591
+ # Web Services Support App uses the current values by default.
592
+ #
593
+ # </note>
483
594
  # @return [String]
484
595
  #
485
596
  # @!attribute [rw] notify_on_create_or_reopen_case
@@ -492,7 +603,8 @@ module Aws::SupportApp
492
603
  # @return [Boolean]
493
604
  #
494
605
  # @!attribute [rw] team_id
495
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
606
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
607
+ # such as `T012ABCDEFG`.
496
608
  # @return [String]
497
609
  #
498
610
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/UpdateSlackChannelConfigurationRequest AWS API Documentation
@@ -551,7 +663,8 @@ module Aws::SupportApp
551
663
  # @return [Boolean]
552
664
  #
553
665
  # @!attribute [rw] team_id
554
- # The team ID in Slack. This ID uniquely identifies a Slack workspace.
666
+ # The team ID in Slack. This ID uniquely identifies a Slack workspace,
667
+ # such as `T012ABCDEFG`.
555
668
  # @return [String]
556
669
  #
557
670
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/UpdateSlackChannelConfigurationResult AWS API Documentation
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-supportapp/customizations'
48
48
  # @!group service
49
49
  module Aws::SupportApp
50
50
 
51
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.1.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-supportapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-22 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core