Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed May 4, 2023
1 parent 829131f commit 833592f
Show file tree
Hide file tree
Showing 12 changed files with 8,246 additions and 1,851 deletions.
222 changes: 117 additions & 105 deletions codegen/sdk-codegen/aws-models/cloudwatch.json

Large diffs are not rendered by default.

344 changes: 241 additions & 103 deletions codegen/sdk-codegen/aws-models/config-service.json

Large diffs are not rendered by default.

23 changes: 10 additions & 13 deletions codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -4273,7 +4273,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define\n questions related to agent performance, and create sections to organize such questions. An\n evaluation form must have a unique title within an instance. Question and section identifiers\n cannot be duplicated within the same evaluation form.</p>",
"smithy.api#documentation": "<p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define\n questions related to agent performance, and create sections to organize such questions. Question and section identifiers\n cannot be duplicated within the same evaluation form.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/evaluation-forms/{InstanceId}",
Expand All @@ -4296,7 +4296,7 @@
"Title": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -4683,9 +4683,6 @@
{
"target": "com.amazonaws.connect#InternalServiceException"
},
{
"target": "com.amazonaws.connect#InvalidParameterException"
},
{
"target": "com.amazonaws.connect#InvalidRequestException"
},
Expand Down Expand Up @@ -9983,7 +9980,7 @@
"Title": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -10079,7 +10076,7 @@
"Title": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -10658,7 +10655,7 @@
"Title": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -10999,7 +10996,7 @@
"EvaluationFormTitle": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -17608,7 +17605,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the property value used in automation of a numeric questions. Label values\n are associated with minimum and maximum values for the numeric question.</p>\n <ul>\n <li>\n <p>Sentiment scores have a minimum value of -5 and maximum value of 5.</p>\n </li>\n <li>\n <p> Duration labels, such as <code>NON_TALK_TIME</code>, <code>CONTACT_DURATION</code>,\n <code>AGENT_INTERACTION_DURATION</code>, <code>CUSTOMER_HOLD_TIME</code> have a minimum value\n of 0 and maximum value of 28800.</p>\n </li>\n <li>\n <p>Percantages have a minimum value of 0 and maximum value of 100. </p>\n </li>\n <li>\n <p>\n <code>NUMBER_OF_INTERRUPTIONS</code> has a minimum value of 0 and maximum value of\n 100.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Information about the property value used in automation of a numeric questions. Label values\n are associated with minimum and maximum values for the numeric question.</p>\n <ul>\n <li>\n <p>Sentiment scores have a minimum value of -5 and maximum value of 5.</p>\n </li>\n <li>\n <p> Duration labels, such as <code>NON_TALK_TIME</code>, <code>CONTACT_DURATION</code>,\n <code>AGENT_INTERACTION_DURATION</code>, <code>CUSTOMER_HOLD_TIME</code> have a minimum value\n of 0 and maximum value of 28800.</p>\n </li>\n <li>\n <p>Percentages have a minimum value of 0 and maximum value of 100. </p>\n </li>\n <li>\n <p>\n <code>NUMBER_OF_INTERRUPTIONS</code> has a minimum value of 0 and maximum value of\n 1000.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.connect#Origin": {
Expand Down Expand Up @@ -22515,7 +22512,7 @@
"OptionRefId": {
"target": "com.amazonaws.connect#ReferenceId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the answer option tha</p>",
"smithy.api#documentation": "<p>The identifier of the answer option.</p>",
"smithy.api#required": {}
}
}
Expand Down Expand Up @@ -25645,7 +25642,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Updates details about a specific evaluation form version in the specified Amazon Connect\n instance. An evaluation form must have a unique title within an instance. Question and section\n identifiers cannot be duplicated within the same evaluation form.</p>\n <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>",
"smithy.api#documentation": "<p>Updates details about a specific evaluation form version in the specified Amazon Connect\n instance. Question and section\n identifiers cannot be duplicated within the same evaluation form.</p>\n <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/evaluation-forms/{InstanceId}/{EvaluationFormId}",
Expand Down Expand Up @@ -25689,7 +25686,7 @@
"Title": {
"target": "com.amazonaws.connect#EvaluationFormTitle",
"traits": {
"smithy.api#documentation": "<p>A unique title of the evaluation form.</p>",
"smithy.api#documentation": "<p>A title of the evaluation form.</p>",
"smithy.api#required": {}
}
},
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/ecs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2937,6 +2937,9 @@
{
"target": "com.amazonaws.ecs#InvalidParameterException"
},
{
"target": "com.amazonaws.ecs#NamespaceNotFoundException"
},
{
"target": "com.amazonaws.ecs#ServerException"
}
Expand Down Expand Up @@ -11112,6 +11115,9 @@
{
"target": "com.amazonaws.ecs#InvalidParameterException"
},
{
"target": "com.amazonaws.ecs#NamespaceNotFoundException"
},
{
"target": "com.amazonaws.ecs#ServerException"
}
Expand Down
30 changes: 18 additions & 12 deletions codegen/sdk-codegen/aws-models/network-firewall.json
Original file line number Diff line number Diff line change
Expand Up @@ -328,28 +328,28 @@
"smithy.api#enumValue": "DELETING"
}
},
"SCALING": {
"FAILED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SCALING"
"smithy.api#enumValue": "FAILED"
}
},
"READY": {
"ERROR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "READY"
"smithy.api#enumValue": "ERROR"
}
},
"FAILED": {
"SCALING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FAILED"
"smithy.api#enumValue": "SCALING"
}
},
"ERROR": {
"READY": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ERROR"
"smithy.api#enumValue": "READY"
}
}
}
Expand Down Expand Up @@ -4956,7 +4956,7 @@
"StatefulRules": {
"target": "com.amazonaws.networkfirewall#StatefulRules",
"traits": {
"smithy.api#documentation": "<p>An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata <code>Rules</code> format, see\n <a href=\"https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html\">Rules Format</a>. </p>"
"smithy.api#documentation": "<p>An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata <code>Rules</code> format, see\n <a href=\"https://suricata.readthedocs.iorules/intro.html#\">Rules Format</a>. </p>"
}
},
"StatelessRulesAndCustomActions": {
Expand Down Expand Up @@ -5191,7 +5191,7 @@
"StreamExceptionPolicy": {
"target": "com.amazonaws.networkfirewall#StreamExceptionPolicy",
"traits": {
"smithy.api#documentation": "<p>Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.</p>\n <ul>\n <li>\n <p>\n <code>DROP</code> - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.</p>\n </li>\n <li>\n <p>\n <code>CONTINUE</code> - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to <code>drop http</code> traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a <code>flow:stateless</code> rule would still match, as would the <code>aws:drop_strict</code> default action.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.</p>\n <ul>\n <li>\n <p>\n <code>DROP</code> - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.</p>\n </li>\n <li>\n <p>\n <code>CONTINUE</code> - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to <code>drop http</code> traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a <code>flow:stateless</code> rule would still match, as would the <code>aws:drop_strict</code> default action.</p>\n </li>\n <li>\n <p>\n <code>REJECT</code> - Network Firewall fails closed and drops all subsequent traffic going to the firewall. Network Firewall also sends a TCP reject packet back to your client so that the client can immediately establish a new session. Network Firewall will have context about the new session and will apply rules to the subsequent traffic.</p>\n </li>\n </ul>"
}
}
},
Expand All @@ -5205,7 +5205,7 @@
"Action": {
"target": "com.amazonaws.networkfirewall#StatefulAction",
"traits": {
"smithy.api#documentation": "<p>Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow. </p>\n <p>The actions for a stateful rule are defined as follows: </p>\n <ul>\n <li>\n <p>\n <b>PASS</b> - Permits the packets to go to the\n intended destination.</p>\n </li>\n <li>\n <p>\n <b>DROP</b> - Blocks the packets from going to\n the intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>\n <a>LoggingConfiguration</a>. </p>\n </li>\n <li>\n <p>\n <b>ALERT</b> - Permits the packets to go to the\n intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>\n <a>LoggingConfiguration</a>. </p>\n <p>You can use this action to test a rule that you intend to use to drop traffic. You\n can enable the rule with <code>ALERT</code> action, verify in the logs that the rule\n is filtering as you want, then change the action to <code>DROP</code>.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow. </p>\n <p>The actions for a stateful rule are defined as follows: </p>\n <ul>\n <li>\n <p>\n <b>PASS</b> - Permits the packets to go to the\n intended destination.</p>\n </li>\n <li>\n <p>\n <b>DROP</b> - Blocks the packets from going to\n the intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>\n <a>LoggingConfiguration</a>. </p>\n </li>\n <li>\n <p>\n <b>ALERT</b> - Permits the packets to go to the\n intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>\n <a>LoggingConfiguration</a>. </p>\n <p>You can use this action to test a rule that you intend to use to drop traffic. You\n can enable the rule with <code>ALERT</code> action, verify in the logs that the rule\n is filtering as you want, then change the action to <code>DROP</code>.</p>\n </li>\n <li>\n <p>\n <b>REJECT</b> - Drops TCP traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a <code>RST</code> bit contained in the TCP header flags. Also sends an alert log mesage if alert logging is configured in the <a>Firewall</a>\n <a>LoggingConfiguration</a>.</p>\n <p>\n <code>REJECT</code> isn't currently available for use with IMAP and FTP protocols.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
Expand All @@ -5225,7 +5225,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata <code>Rules</code> format, see\n <a href=\"https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html\">Rules Format</a>. </p>"
"smithy.api#documentation": "<p>A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata <code>Rules</code> format, see\n <a href=\"https://suricata.readthedocs.iorules/intro.html#\">Rules Format</a>. </p>"
}
},
"com.amazonaws.networkfirewall#StatefulRuleDirection": {
Expand Down Expand Up @@ -5544,6 +5544,12 @@
"traits": {
"smithy.api#enumValue": "CONTINUE"
}
},
"REJECT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "REJECT"
}
}
}
},
Expand Down
Loading

0 comments on commit 833592f

Please sign in to comment.