Skip to content

Commit 8632f57

Browse files
author
AWS
committed
AWS Chatbot Update: Return State and StateReason fields for Chatbot Channel Configurations.
1 parent 0e507d3 commit 8632f57

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Chatbot",
4+
"contributor": "",
5+
"description": "Return State and StateReason fields for Chatbot Channel Configurations."
6+
}

services/chatbot/src/main/resources/codegen-resources/service-2.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,14 @@
519519
"Tags":{
520520
"shape":"Tags",
521521
"documentation":"<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>"
522+
},
523+
"State":{
524+
"shape":"ResourceState",
525+
"documentation":"<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.</p>"
526+
},
527+
"StateReason":{
528+
"shape":"String",
529+
"documentation":"<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>"
522530
}
523531
},
524532
"documentation":"<p>An AWS Chatbot configuration for Amazon Chime.</p>"
@@ -564,6 +572,14 @@
564572
"TeamName":{
565573
"shape":"UUID",
566574
"documentation":"<p>The name of the Microsoft Teams Team.</p>"
575+
},
576+
"State":{
577+
"shape":"ResourceState",
578+
"documentation":"<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.</p>"
579+
},
580+
"StateReason":{
581+
"shape":"String",
582+
"documentation":"<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>"
567583
}
568584
},
569585
"documentation":"<p>A Microsoft Teams team that is authorized with AWS Chatbot.</p>"
@@ -1417,6 +1433,10 @@
14171433
},
14181434
"exception":true
14191435
},
1436+
"ResourceState":{
1437+
"type":"string",
1438+
"pattern":"(ENABLED|DISABLED)"
1439+
},
14201440
"ServiceUnavailableException":{
14211441
"type":"structure",
14221442
"members":{
@@ -1488,6 +1508,14 @@
14881508
"Tags":{
14891509
"shape":"Tags",
14901510
"documentation":"<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>"
1511+
},
1512+
"State":{
1513+
"shape":"ResourceState",
1514+
"documentation":"<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.</p>"
1515+
},
1516+
"StateReason":{
1517+
"shape":"String",
1518+
"documentation":"<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>"
14911519
}
14921520
},
14931521
"documentation":"<p>An AWS Chatbot configuration for Slack.</p>"
@@ -1575,6 +1603,14 @@
15751603
"SlackTeamName":{
15761604
"shape":"SlackTeamName",
15771605
"documentation":"<p>The name of the Slack workspace.</p>"
1606+
},
1607+
"State":{
1608+
"shape":"ResourceState",
1609+
"documentation":"<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.</p>"
1610+
},
1611+
"StateReason":{
1612+
"shape":"String",
1613+
"documentation":"<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>"
15781614
}
15791615
},
15801616
"documentation":"<p>A Slack workspace. </p>"
@@ -1587,6 +1623,7 @@
15871623
"type":"list",
15881624
"member":{"shape":"Arn"}
15891625
},
1626+
"String":{"type":"string"},
15901627
"Tag":{
15911628
"type":"structure",
15921629
"required":[
@@ -1726,6 +1763,14 @@
17261763
"Tags":{
17271764
"shape":"Tags",
17281765
"documentation":"<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>"
1766+
},
1767+
"State":{
1768+
"shape":"ResourceState",
1769+
"documentation":"<p>Either <code>ENABLED</code> or <code>DISABLED</code>. The resource returns <code>DISABLED</code> if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.</p>"
1770+
},
1771+
"StateReason":{
1772+
"shape":"String",
1773+
"documentation":"<p>Provided if State is <code>DISABLED</code>. Provides context as to why the resource is disabled.</p>"
17291774
}
17301775
},
17311776
"documentation":"<p>An AWS Chatbot configuration for Microsoft Teams.</p>"

0 commit comments

Comments
 (0)