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 18, 2024
1 parent 4515454 commit 346690e
Show file tree
Hide file tree
Showing 10 changed files with 1,527 additions and 56 deletions.
106 changes: 99 additions & 7 deletions codegen/sdk-codegen/aws-models/amplify.json
Original file line number Diff line number Diff line change
Expand Up @@ -1100,14 +1100,14 @@
"createTime": {
"target": "com.amazonaws.amplify#CreateTime",
"traits": {
"smithy.api#documentation": "<p>Creates a date and time for the Amplify app. </p>",
"smithy.api#documentation": "<p>A timestamp of when Amplify created the application.</p>",
"smithy.api#required": {}
}
},
"updateTime": {
"target": "com.amazonaws.amplify#UpdateTime",
"traits": {
"smithy.api#documentation": "<p>Updates the date and time for the Amplify app. </p>",
"smithy.api#documentation": "<p>A timestamp of when Amplify updated the application.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -1210,6 +1210,18 @@
"traits": {
"smithy.api#documentation": "<p>The cache configuration for the Amplify app. If you don't specify the\n cache configuration <code>type</code>, Amplify uses the default\n <code>AMPLIFY_MANAGED</code> setting.</p>"
}
},
"webhookCreateTime": {
"target": "com.amazonaws.amplify#webhookCreateTime",
"traits": {
"smithy.api#documentation": "<p>A timestamp of when Amplify created the webhook in your Git repository.</p>"
}
},
"wafConfiguration": {
"target": "com.amazonaws.amplify#WafConfiguration",
"traits": {
"smithy.api#documentation": "<p>Describes the Firewall configuration for the Amplify app. Firewall support enables you to protect your hosted applications with a direct integration\n with WAF.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -1587,14 +1599,14 @@
"createTime": {
"target": "com.amazonaws.amplify#CreateTime",
"traits": {
"smithy.api#documentation": "<p> The creation date and time for a branch that is part of an Amplify app. </p>",
"smithy.api#documentation": "<p>A timestamp of when Amplify created the branch.</p>",
"smithy.api#required": {}
}
},
"updateTime": {
"target": "com.amazonaws.amplify#UpdateTime",
"traits": {
"smithy.api#documentation": "<p> The last updated date and time for a branch that is part of an Amplify app. </p>",
"smithy.api#documentation": "<p>A timestamp for the last updated time for a branch.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -4169,6 +4181,12 @@
"com.amazonaws.amplify#JobStatus": {
"type": "enum",
"members": {
"CREATED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CREATED"
}
},
"PENDING": {
"target": "smithy.api#Unit",
"traits": {
Expand Down Expand Up @@ -4253,7 +4271,7 @@
"commitTime": {
"target": "com.amazonaws.amplify#CommitTime",
"traits": {
"smithy.api#documentation": "<p> The commit date and time for the job. </p>",
"smithy.api#documentation": "<p>The commit date and time for the job. </p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -6686,6 +6704,77 @@
"com.amazonaws.amplify#Verified": {
"type": "boolean"
},
"com.amazonaws.amplify#WafConfiguration": {
"type": "structure",
"members": {
"webAclArn": {
"target": "com.amazonaws.amplify#WebAclArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.</p>"
}
},
"wafStatus": {
"target": "com.amazonaws.amplify#WafStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the process to associate or disassociate a web ACL to an Amplify app.</p>"
}
},
"statusReason": {
"target": "com.amazonaws.amplify#StatusReason",
"traits": {
"smithy.api#documentation": "<p>The reason for the current status of the Firewall configuration.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes the Firewall configuration for a hosted Amplify application.\n Firewall support enables you to protect your web applications with a direct integration\n with WAF. For more information about using WAF protections for an Amplify application, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/WAF-integration.html\">Firewall support for hosted sites</a> in the <i>Amplify\n User Guide</i>. </p>"
}
},
"com.amazonaws.amplify#WafStatus": {
"type": "enum",
"members": {
"ASSOCIATING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ASSOCIATING"
}
},
"ASSOCIATION_FAILED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ASSOCIATION_FAILED"
}
},
"ASSOCIATION_SUCCESS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ASSOCIATION_SUCCESS"
}
},
"DISASSOCIATING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DISASSOCIATING"
}
},
"DISASSOCIATION_FAILED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DISASSOCIATION_FAILED"
}
}
}
},
"com.amazonaws.amplify#WebAclArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 512
},
"smithy.api#pattern": "^arn:aws:wafv2:"
}
},
"com.amazonaws.amplify#Webhook": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -6727,14 +6816,14 @@
"createTime": {
"target": "com.amazonaws.amplify#CreateTime",
"traits": {
"smithy.api#documentation": "<p>The create date and time for a webhook. </p>",
"smithy.api#documentation": "<p>A timestamp of when Amplify created the webhook in your Git repository.</p>",
"smithy.api#required": {}
}
},
"updateTime": {
"target": "com.amazonaws.amplify#UpdateTime",
"traits": {
"smithy.api#documentation": "<p>Updates the date and time for a webhook. </p>",
"smithy.api#documentation": "<p>A timestamp of when Amplify updated the webhook in your Git repository.</p>",
"smithy.api#required": {}
}
}
Expand Down Expand Up @@ -6776,6 +6865,9 @@
"member": {
"target": "com.amazonaws.amplify#Webhook"
}
},
"com.amazonaws.amplify#webhookCreateTime": {
"type": "timestamp"
}
}
}
168 changes: 166 additions & 2 deletions codegen/sdk-codegen/aws-models/budgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,108 @@
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-iso"
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
false
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
false
]
}
],
"endpoint": {
"url": "https://budgets.c2s.ic.gov",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-iso-east-1"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-iso-b"
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
false
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
false
]
}
],
"endpoint": {
"url": "https://budgets.global.sc2s.sgov.gov",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-isob-east-1"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
Expand Down Expand Up @@ -864,6 +966,28 @@
"UseDualStack": false
}
},
{
"documentation": "For region aws-iso-global with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-iso-east-1"
}
]
},
"url": "https://budgets.c2s.ic.gov"
}
},
"params": {
"Region": "aws-iso-global",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"expect": {
Expand Down Expand Up @@ -903,7 +1027,16 @@
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://budgets.us-iso-east-1.c2s.ic.gov"
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-iso-east-1"
}
]
},
"url": "https://budgets.c2s.ic.gov"
}
},
"params": {
Expand All @@ -912,6 +1045,28 @@
"UseDualStack": false
}
},
{
"documentation": "For region aws-iso-b-global with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-isob-east-1"
}
]
},
"url": "https://budgets.global.sc2s.sgov.gov"
}
},
"params": {
"Region": "aws-iso-b-global",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
"expect": {
Expand Down Expand Up @@ -951,7 +1106,16 @@
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://budgets.us-isob-east-1.sc2s.sgov.gov"
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-isob-east-1"
}
]
},
"url": "https://budgets.global.sc2s.sgov.gov"
}
},
"params": {
Expand Down
Loading

0 comments on commit 346690e

Please sign in to comment.