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 Mar 15, 2024
1 parent 49b368e commit e5bb86e
Show file tree
Hide file tree
Showing 8 changed files with 1,014 additions and 116 deletions.
22 changes: 18 additions & 4 deletions codegen/sdk-codegen/aws-models/backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -6054,7 +6054,7 @@
"ControlScope": {
"target": "com.amazonaws.backup#ControlScope",
"traits": {
"smithy.api#documentation": "<p>The scope of a control. The control scope defines what the control will evaluate. Three\n examples of control scopes are: a specific backup plan, all backup plans with a specific\n tag, or all backup plans.</p>"
"smithy.api#documentation": "<p>The scope of a control. The control scope defines what the control will evaluate. Three\n examples of control scopes are: a specific backup plan, all backup plans with a specific\n tag, or all backup plans.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ControlScope.html\">\n <code>ControlScope</code>.</a>\n </p>"
}
}
},
Expand Down Expand Up @@ -7411,7 +7411,7 @@
"State": {
"target": "com.amazonaws.backup#BackupJobStatus",
"traits": {
"smithy.api#documentation": "<p>This parameter returns the job count for jobs \n with the specified state.</p>\n <p>The the value ANY returns count of all states.</p>\n <p>\n <code>AGGREGATE_ALL</code> aggregates job counts \n for all states and returns the sum.</p>",
"smithy.api#documentation": "<p>This parameter returns the job count for jobs with the specified state.</p>\n <p>The the value ANY returns count of all states.</p>\n <p>\n <code>AGGREGATE_ALL</code> aggregates job counts for all states and returns the\n sum.</p>\n <p>\n <code>Completed with issues</code> is a status found only in the Backup\n console. For API, this status refers to jobs with a state of <code>COMPLETED</code> and a\n <code>MessageCategory</code> with a value other than <code>SUCCESS</code>; that is, the\n status is completed but comes with a status message. To obtain the job count for\n <code>Completed with issues</code>, run two GET requests, and subtract the second,\n smaller number:</p>\n <p>GET\n /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED</p>\n <p>GET\n /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED</p>",
"smithy.api#httpQuery": "State"
}
},
Expand Down Expand Up @@ -7540,7 +7540,7 @@
"ByState": {
"target": "com.amazonaws.backup#BackupJobState",
"traits": {
"smithy.api#documentation": "<p>Returns only backup jobs that are in the specified state.</p>",
"smithy.api#documentation": "<p>Returns only backup jobs that are in the specified state.</p>\n <p>\n <code>Completed with issues</code> is a status found only in the Backup\n console. For API, this status refers to jobs with a state of <code>COMPLETED</code> and a\n <code>MessageCategory</code> with a value other than <code>SUCCESS</code>; that is, the\n status is completed but comes with a status message.</p>\n <p>To obtain the job count for\n <code>Completed with issues</code>, run two GET requests, and subtract the second,\n smaller number:</p>\n <p>GET /backup-jobs/?state=COMPLETED</p>\n <p>GET /backup-jobs/?messageCategory=SUCCESS&state=COMPLETED</p>",
"smithy.api#httpQuery": "state"
}
},
Expand Down Expand Up @@ -8933,6 +8933,14 @@
"smithy.api#documentation": "<p>The maximum number of items to be returned.</p>\n <note>\n <p>Amazon RDS requires a value of at least 20.</p>\n </note>",
"smithy.api#httpQuery": "maxResults"
}
},
"ManagedByAWSBackupOnly": {
"target": "com.amazonaws.backup#Boolean2",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>This attribute filters recovery points based on ownership.</p>\n <p>If this is \n set to <code>TRUE</code>, the response will contain recovery points associated \n with the selected resources that are managed by Backup.</p>\n <p>If this is set to <code>FALSE</code>, the response will contain all \n recovery points associated with the selected resource.</p>\n <p>Type: Boolean</p>",
"smithy.api#httpQuery": "managedByAWSBackupOnly"
}
}
},
"traits": {
Expand Down Expand Up @@ -10365,6 +10373,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 \n stored.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -12159,7 +12173,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Attempts to cancel a job to create a one-time backup of a resource.</p>\n <p>This action is not supported for the following services:\n Amazon FSx for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP\n , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, \n and Amazon Neptune.</p>",
"smithy.api#documentation": "<p>Attempts to cancel a job to create a one-time backup of a resource.</p>\n <p>This action is not supported for the following services:\n Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP\n , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, \n and Amazon Neptune.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/backup-jobs/{BackupJobId}",
Expand Down
35 changes: 35 additions & 0 deletions codegen/sdk-codegen/aws-models/codebuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -2872,6 +2872,12 @@
"smithy.api#documentation": "<p>The scaling configuration of the compute fleet.</p>"
}
},
"overflowBehavior": {
"target": "com.amazonaws.codebuild#FleetOverflowBehavior",
"traits": {
"smithy.api#documentation": "<p>The compute fleet overflow behavior.</p>\n <ul>\n <li>\n <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on \n the existing fleet instance to become available.</p>\n </li>\n <li>\n <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>\n </li>\n </ul>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
Expand Down Expand Up @@ -4076,6 +4082,12 @@
"smithy.api#documentation": "<p>The scaling configuration of the compute fleet.</p>"
}
},
"overflowBehavior": {
"target": "com.amazonaws.codebuild#FleetOverflowBehavior",
"traits": {
"smithy.api#documentation": "<p>The compute fleet overflow behavior.</p>\n <ul>\n <li>\n <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on \n the existing fleet instance to become available.</p>\n </li>\n <li>\n <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>\n </li>\n </ul>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
Expand Down Expand Up @@ -4146,6 +4158,23 @@
}
}
},
"com.amazonaws.codebuild#FleetOverflowBehavior": {
"type": "enum",
"members": {
"QUEUE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "QUEUE"
}
},
"ON_DEMAND": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ON_DEMAND"
}
}
}
},
"com.amazonaws.codebuild#FleetScalingMetricType": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -8365,6 +8394,12 @@
"smithy.api#documentation": "<p>The scaling configuration of the compute fleet.</p>"
}
},
"overflowBehavior": {
"target": "com.amazonaws.codebuild#FleetOverflowBehavior",
"traits": {
"smithy.api#documentation": "<p>The compute fleet overflow behavior.</p>\n <ul>\n <li>\n <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on \n the existing fleet instance to become available.</p>\n </li>\n <li>\n <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p>\n </li>\n </ul>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
Expand Down
106 changes: 106 additions & 0 deletions codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -3501,6 +3501,23 @@
"smithy.api#documentation": "<p>A toggle for an individual feature at the instance level.</p>"
}
},
"com.amazonaws.connect#AttributeAndCondition": {
"type": "structure",
"members": {
"TagConditions": {
"target": "com.amazonaws.connect#TagAndConditionList",
"traits": {
"smithy.api#documentation": "<p>A leaf node condition which can be used to specify a tag condition.</p>"
}
},
"HierarchyGroupCondition": {
"target": "com.amazonaws.connect#HierarchyGroupCondition"
}
},
"traits": {
"smithy.api#documentation": "<p>A list of conditions which would be applied together with an <code>AND</code>\n condition.</p>"
}
},
"com.amazonaws.connect#AttributeName": {
"type": "string",
"traits": {
Expand All @@ -3510,6 +3527,12 @@
}
}
},
"com.amazonaws.connect#AttributeOrConditionList": {
"type": "list",
"member": {
"target": "com.amazonaws.connect#AttributeAndCondition"
}
},
"com.amazonaws.connect#AttributeValue": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -5434,6 +5457,32 @@
"smithy.api#documentation": "<p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>.\n This accepts an <code>OR</code> of <code>AND</code> (List of List) input where: </p>\n <ul>\n <li>\n <p>Top level list specifies conditions that need to be applied with <code>OR</code>\n operator</p>\n </li>\n <li>\n <p>Inner list specifies conditions that need to be applied with <code>AND</code>\n operator.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.connect#ControlPlaneUserAttributeFilter": {
"type": "structure",
"members": {
"OrConditions": {
"target": "com.amazonaws.connect#AttributeOrConditionList",
"traits": {
"smithy.api#documentation": "<p>A list of conditions which would be applied together with an <code>OR</code>\n condition.</p>"
}
},
"AndCondition": {
"target": "com.amazonaws.connect#AttributeAndCondition",
"traits": {
"smithy.api#documentation": "<p>A list of conditions which would be applied together with an <code>AND</code>\n condition.</p>"
}
},
"TagCondition": {
"target": "com.amazonaws.connect#TagCondition"
},
"HierarchyGroupCondition": {
"target": "com.amazonaws.connect#HierarchyGroupCondition"
}
},
"traits": {
"smithy.api#documentation": "<p>An object that can be used to specify Tag conditions or Hierarchy Group conditions inside\n the <code>SearchFilter</code>.</p>\n <p>This accepts an <code>OR</code> of <code>AND</code> (List of List) input where:</p>\n <ul>\n <li>\n <p>The top level list specifies conditions that need to be applied with <code>OR</code>\n operator</p>\n </li>\n <li>\n <p>The inner list specifies conditions that need to be applied with <code>AND</code>\n operator.</p>\n </li>\n </ul>\n <note>\n <p>Only one field can be populated. Maximum number of allowed Tag conditions is 25. Maximum\n number of allowed Hierarchy Group conditions is 20. </p>\n </note>"
}
},
"com.amazonaws.connect#CreateAgentStatus": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -7149,6 +7198,18 @@
"traits": {
"smithy.api#documentation": "<p>This API is in preview release for Amazon Connect and is subject to change.</p>\n <p>A list of third-party applications that the security profile will give access to.</p>"
}
},
"HierarchyRestrictedResources": {
"target": "com.amazonaws.connect#HierarchyRestrictedResourceList",
"traits": {
"smithy.api#documentation": "<p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p>"
}
},
"AllowedAccessControlHierarchyGroupId": {
"target": "com.amazonaws.connect#HierarchyGroupId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -15961,6 +16022,21 @@
"smithy.api#documentation": "<p>Information about the levels in the hierarchy group.</p>"
}
},
"com.amazonaws.connect#HierarchyRestrictedResourceList": {
"type": "list",
"member": {
"target": "com.amazonaws.connect#HierarchyRestrictedResourceName"
}
},
"com.amazonaws.connect#HierarchyRestrictedResourceName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.connect#HierarchyStructure": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -29590,6 +29666,18 @@
"traits": {
"smithy.api#documentation": "<p>The Amazon Web Services Region where this resource was last modified.</p>"
}
},
"HierarchyRestrictedResources": {
"target": "com.amazonaws.connect#HierarchyRestrictedResourceList",
"traits": {
"smithy.api#documentation": "<p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p>"
}
},
"AllowedAccessControlHierarchyGroupId": {
"target": "com.amazonaws.connect#HierarchyGroupId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the hierarchy group that a security profile uses to restrict access to\n resources in Amazon Connect.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -35660,6 +35748,18 @@
"traits": {
"smithy.api#documentation": "<p>This API is in preview release for Amazon Connect and is subject to change.</p>\n <p>A list of the third-party application's metadata.</p>"
}
},
"HierarchyRestrictedResources": {
"target": "com.amazonaws.connect#HierarchyRestrictedResourceList",
"traits": {
"smithy.api#documentation": "<p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p>"
}
},
"AllowedAccessControlHierarchyGroupId": {
"target": "com.amazonaws.connect#HierarchyGroupId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -37165,6 +37265,12 @@
"members": {
"TagFilter": {
"target": "com.amazonaws.connect#ControlPlaneTagFilter"
},
"UserAttributeFilter": {
"target": "com.amazonaws.connect#ControlPlaneUserAttributeFilter",
"traits": {
"smithy.api#documentation": "<p>An object that can be used to specify Tag conditions or Hierarchy Group conditions inside\n the SearchFilter.</p>\n <p>This accepts an <code>OR</code> of <code>AND</code> (List of List) input where:</p>\n <ul>\n <li>\n <p>The top level list specifies conditions that need to be applied with <code>OR</code>\n operator.</p>\n </li>\n <li>\n <p>The inner list specifies conditions that need to be applied with <code>AND</code>\n operator.</p>\n </li>\n </ul>\n <note>\n <p>Only one field can be populated. This object can’t be used along with TagFilter. Request\n can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of\n both is not supported and such request will throw AccessDeniedException.</p>\n </note>"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit e5bb86e

Please sign in to comment.