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 Dec 6, 2023
1 parent a5c0a50 commit 05f28b1
Show file tree
Hide file tree
Showing 5 changed files with 435 additions and 160 deletions.
29 changes: 24 additions & 5 deletions codegen/sdk-codegen/aws-models/backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -5451,6 +5451,12 @@
"traits": {
"smithy.api#documentation": "<p>This is the non-unique name of the resource that \n belongs to the specified backup.</p>"
}
},
"VaultType": {
"target": "com.amazonaws.backup#VaultType",
"traits": {
"smithy.api#documentation": "<p>This is the type of vault in which the described recovery point is stored.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7562,7 +7568,7 @@
"ByResourceType": {
"target": "com.amazonaws.backup#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Returns only backup jobs for the specified resources:</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Returns only backup jobs for the specified resources:</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>CloudFormation</code> for CloudFormation</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>Redshift</code> for Amazon Redshift</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>Timestream</code> for Amazon Timestream</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#httpQuery": "resourceType"
}
},
Expand Down Expand Up @@ -8255,7 +8261,7 @@
"ByResourceType": {
"target": "com.amazonaws.backup#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Returns only backup jobs for the specified resources:</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Returns only backup jobs for the specified resources:</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>CloudFormation</code> for CloudFormation</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>Redshift</code> for Amazon Redshift</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>Timestream</code> for Amazon Timestream</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#httpQuery": "resourceType"
}
},
Expand Down Expand Up @@ -8723,7 +8729,7 @@
"ByResourceType": {
"target": "com.amazonaws.backup#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Returns only recovery points that match the specified resource type.</p>",
"smithy.api#documentation": "<p>Returns only recovery points that match the specified resource type(s):</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>CloudFormation</code> for CloudFormation</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>Redshift</code> for Amazon Redshift</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>Timestream</code> for Amazon Timestream</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#httpQuery": "resourceType"
}
},
Expand Down Expand Up @@ -9404,6 +9410,13 @@
"smithy.api#httpQuery": "accountId"
}
},
"ByResourceType": {
"target": "com.amazonaws.backup#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Include this parameter to return only restore jobs for the \n specified resources:</p>\n <ul>\n <li>\n <p>\n <code>Aurora</code> for Amazon Aurora</p>\n </li>\n <li>\n <p>\n <code>CloudFormation</code> for CloudFormation</p>\n </li>\n <li>\n <p>\n <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>\n </li>\n <li>\n <p>\n <code>DynamoDB</code> for Amazon DynamoDB</p>\n </li>\n <li>\n <p>\n <code>EBS</code> for Amazon Elastic Block Store</p>\n </li>\n <li>\n <p>\n <code>EC2</code> for Amazon Elastic Compute Cloud</p>\n </li>\n <li>\n <p>\n <code>EFS</code> for Amazon Elastic File System</p>\n </li>\n <li>\n <p>\n <code>FSx</code> for Amazon FSx</p>\n </li>\n <li>\n <p>\n <code>Neptune</code> for Amazon Neptune</p>\n </li>\n <li>\n <p>\n <code>Redshift</code> for Amazon Redshift</p>\n </li>\n <li>\n <p>\n <code>RDS</code> for Amazon Relational Database Service</p>\n </li>\n <li>\n <p>\n <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>\n </li>\n <li>\n <p>\n <code>Storage Gateway</code> for Storage Gateway</p>\n </li>\n <li>\n <p>\n <code>S3</code> for Amazon S3</p>\n </li>\n <li>\n <p>\n <code>Timestream</code> for Amazon Timestream</p>\n </li>\n <li>\n <p>\n <code>VirtualMachine</code> for virtual machines</p>\n </li>\n </ul>",
"smithy.api#httpQuery": "resourceType"
}
},
"ByCreatedBefore": {
"target": "com.amazonaws.backup#timestamp",
"traits": {
Expand Down Expand Up @@ -10271,6 +10284,12 @@
"traits": {
"smithy.api#documentation": "<p>This is the non-unique name of the resource that \n belongs to the specified backup.</p>"
}
},
"VaultType": {
"target": "com.amazonaws.backup#VaultType",
"traits": {
"smithy.api#documentation": "<p>This is the type of vault in which the described recovery point is stored.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -12687,7 +12706,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the current service opt-in settings for the Region. If service-opt-in is enabled\n for a service, Backup tries to protect that service's resources in this Region,\n when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,\n Backup does not try to protect that service's resources in this Region. Use\n the <code>DescribeRegionSettings</code> API to determine the resource types that are\n supported.</p>",
"smithy.api#documentation": "<p>Updates the current service opt-in settings for the Region.</p>\n <p>Use\n the <code>DescribeRegionSettings</code> API to determine the resource types that are\n supported.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/account-settings",
Expand All @@ -12701,7 +12720,7 @@
"ResourceTypeOptInPreference": {
"target": "com.amazonaws.backup#ResourceTypeOptInPreference",
"traits": {
"smithy.api#documentation": "<p>Updates the list of services along with the opt-in preferences for the Region.</p>"
"smithy.api#documentation": "<p>Updates the list of services along with the opt-in preferences for the Region.</p>\n <p>If resource assignments are only based on tags, then service opt-in settings are applied. \n If a resource type is explicitly assigned to a backup plan, such as Amazon S3, \n Amazon EC2, or Amazon RDS, it will be included in the \n backup even if the opt-in is not enabled for that particular service. \n If both a resource type and tags are specified in a resource assignment, \n the resource type specified in the backup plan takes priority over the \n tag condition. Service opt-in settings are disregarded in this situation.</p>"
}
},
"ResourceTypeManagementPreference": {
Expand Down

0 comments on commit 05f28b1

Please sign in to comment.