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 28, 2024
1 parent 9415208 commit b67de0d
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 28 deletions.
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/dynamodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -2209,7 +2209,7 @@
"ResourcePolicy": {
"target": "com.amazonaws.dynamodb#ResourcePolicy",
"traits": {
"smithy.api#documentation": "<p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>\n <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>\n <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html\">Resource-based policy considerations</a>.</p>"
"smithy.api#documentation": "<p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>\n <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>\n <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html\">Resource-based policy considerations</a>.</p>\n <note>\n <p>You need to specify the <code>CreateTable</code> and <code>PutResourcePolicy</code> IAM actions for authorizing a user to create a table with a resource-based policy.</p>\n </note>"
}
},
"OnDemandThroughput": {
Expand Down
22 changes: 18 additions & 4 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14667,7 +14667,7 @@
"BgpAsn": {
"target": "com.amazonaws.ec2#Integer",
"traits": {
"smithy.api#documentation": "<p>For devices that support BGP, the customer gateway's BGP ASN.</p>\n <p>Default: 65000</p>"
"smithy.api#documentation": "<p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>\n <p>Default: 65000</p>\n <p>Valid values: <code>1</code> to <code>2,147,483,647</code>\n </p>"
}
},
"PublicIp": {
Expand Down Expand Up @@ -14706,7 +14706,7 @@
"IpAddress": {
"target": "com.amazonaws.ec2#String",
"traits": {
"smithy.api#documentation": "<p>\n IPv4 address for the customer gateway device's outside interface. The address must be static.\n </p>"
"smithy.api#documentation": "<p>IPv4 address for the customer gateway device's outside interface. The address must be\n static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to\n <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If\n <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a\n public IPv4 address. </p>"
}
},
"DryRun": {
Expand All @@ -14716,6 +14716,12 @@
"smithy.api#documentation": "<p>Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is\n <code>UnauthorizedOperation</code>.</p>",
"smithy.api#xmlName": "dryRun"
}
},
"BgpAsnExtended": {
"target": "com.amazonaws.ec2#Long",
"traits": {
"smithy.api#documentation": "<p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>\n <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -21804,7 +21810,7 @@
"target": "com.amazonaws.ec2#String",
"traits": {
"aws.protocols#ec2QueryName": "BgpAsn",
"smithy.api#documentation": "<p>The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number\n (ASN).</p>",
"smithy.api#documentation": "<p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number\n (ASN).</p>\n <p>Valid values: <code>1</code> to <code>2,147,483,647</code>\n </p>",
"smithy.api#xmlName": "bgpAsn"
}
},
Expand All @@ -21820,7 +21826,7 @@
"target": "com.amazonaws.ec2#String",
"traits": {
"aws.protocols#ec2QueryName": "IpAddress",
"smithy.api#documentation": "<p>The IP address of the customer gateway device's outside interface.</p>",
"smithy.api#documentation": "<p>\n IPv4 address for the customer gateway device's outside interface. The address must be static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a public IPv4 address.\n </p>",
"smithy.api#xmlName": "ipAddress"
}
},
Expand Down Expand Up @@ -21863,6 +21869,14 @@
"smithy.api#documentation": "<p>Any tags assigned to the customer gateway.</p>",
"smithy.api#xmlName": "tagSet"
}
},
"BgpAsnExtended": {
"target": "com.amazonaws.ec2#String",
"traits": {
"aws.protocols#ec2QueryName": "BgpAsnExtended",
"smithy.api#documentation": "<p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number\n (ASN).</p>\n <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>\n </p>",
"smithy.api#xmlName": "bgpAsnExtended"
}
}
},
"traits": {
Expand Down
22 changes: 22 additions & 0 deletions codegen/sdk-codegen/aws-models/kafka.json
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,21 @@
"smithy.api#documentation": "<p>Details about consumer group replication.</p>"
}
},
"com.amazonaws.kafka#ControllerNodeInfo": {
"type": "structure",
"members": {
"Endpoints": {
"target": "com.amazonaws.kafka#__listOf__string",
"traits": {
"smithy.api#documentation": "<p>Endpoints for accessing the Controller.</p>",
"smithy.api#jsonName": "endpoints"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Controller node information.</p>"
}
},
"com.amazonaws.kafka#CreateCluster": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -6461,6 +6476,13 @@
"smithy.api#jsonName": "brokerNodeInfo"
}
},
"ControllerNodeInfo": {
"target": "com.amazonaws.kafka#ControllerNodeInfo",
"traits": {
"smithy.api#documentation": "<p>The ControllerNodeInfo.</p>",
"smithy.api#jsonName": "controllerNodeInfo"
}
},
"InstanceType": {
"target": "com.amazonaws.kafka#__string",
"traits": {
Expand Down
Loading

0 comments on commit b67de0d

Please sign in to comment.