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 Oct 10, 2024
1 parent bcff115 commit 26c58a0
Show file tree
Hide file tree
Showing 11 changed files with 4,168 additions and 106 deletions.
8 changes: 4 additions & 4 deletions codegen/sdk-codegen/aws-models/acm-pca.json

Large diffs are not rendered by default.

831 changes: 824 additions & 7 deletions codegen/sdk-codegen/aws-models/database-migration-service.json

Large diffs are not rendered by default.

593 changes: 552 additions & 41 deletions codegen/sdk-codegen/aws-models/ec2.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions codegen/sdk-codegen/aws-models/ecs.json

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions codegen/sdk-codegen/aws-models/elastic-inference.json

Large diffs are not rendered by default.

54 changes: 39 additions & 15 deletions codegen/sdk-codegen/aws-models/iotfleetwise.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
"smithy.api#length": {
"min": 1,
"max": 1011
}
},
"smithy.api#pattern": "^arn:.*"
}
},
"com.amazonaws.iotfleetwise#AssociateVehicleFleet": {
Expand Down Expand Up @@ -463,7 +464,7 @@
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.iotfleetwise#arn",
"target": "com.amazonaws.iotfleetwise#campaignArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a campaign.</p>"
}
Expand Down Expand Up @@ -897,6 +898,9 @@
"priority": {
"target": "com.amazonaws.iotfleetwise#priority",
"traits": {
"smithy.api#deprecated": {
"message": "priority is no longer used or needed as input"
},
"smithy.api#documentation": "<p>(Optional) A number indicating the priority of one campaign over another campaign for\n a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles\n before any other campaigns. If it's not specified, <code>0</code> is used. </p>\n <p>Default: <code>0</code>\n </p>"
}
},
Expand Down Expand Up @@ -943,7 +947,7 @@
}
},
"arn": {
"target": "com.amazonaws.iotfleetwise#arn",
"target": "com.amazonaws.iotfleetwise#campaignArn",
"traits": {
"smithy.api#documentation": "<p> The ARN of the created campaign. </p>"
}
Expand Down Expand Up @@ -1667,10 +1671,12 @@
"target": "com.amazonaws.iotfleetwise#NodePath"
},
"traits": {
"aws.api#data": "content",
"smithy.api#length": {
"min": 0,
"max": 5
}
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.iotfleetwise#DataFormat": {
Expand Down Expand Up @@ -1868,7 +1874,7 @@
}
},
"arn": {
"target": "com.amazonaws.iotfleetwise#arn",
"target": "com.amazonaws.iotfleetwise#campaignArn",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the deleted campaign.</p>\n <note>\n <p>The ARN isn’t returned if a campaign doesn’t exist.</p>\n </note>"
}
Expand Down Expand Up @@ -2503,7 +2509,7 @@
}
},
"arn": {
"target": "com.amazonaws.iotfleetwise#arn",
"target": "com.amazonaws.iotfleetwise#campaignArn",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the campaign. </p>"
}
Expand Down Expand Up @@ -4592,7 +4598,7 @@
}
},
"status": {
"target": "com.amazonaws.iotfleetwise#status",
"target": "com.amazonaws.iotfleetwise#statusStr",
"traits": {
"smithy.api#documentation": "<p>Optional parameter to filter the results by the status of each created campaign in\n your account. The status can be one of: <code>CREATING</code>,\n <code>WAITING_FOR_APPROVAL</code>, <code>RUNNING</code>, or\n <code>SUSPENDED</code>.</p>",
"smithy.api#httpQuery": "status"
Expand Down Expand Up @@ -7290,10 +7296,12 @@
"target": "com.amazonaws.iotfleetwise#SignalInformation"
},
"traits": {
"aws.api#data": "content",
"smithy.api#length": {
"min": 0,
"max": 1000
}
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.iotfleetwise#SignalNodeType": {
Expand Down Expand Up @@ -7983,7 +7991,7 @@
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.iotfleetwise#arn",
"target": "com.amazonaws.iotfleetwise#campaignArn",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the campaign. </p>"
}
Expand Down Expand Up @@ -8829,7 +8837,7 @@
"type": "structure",
"members": {
"campaignName": {
"target": "com.amazonaws.iotfleetwise#string",
"target": "com.amazonaws.iotfleetwise#campaignName",
"traits": {
"smithy.api#documentation": "<p>The name of a campaign.</p>"
}
Expand Down Expand Up @@ -8962,6 +8970,12 @@
"target": "com.amazonaws.iotfleetwise#attributeValue"
}
},
"com.amazonaws.iotfleetwise#campaignArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:aws:iotfleetwise:[a-z0-9-]+:[0-9]{12}:campaign/[a-zA-Z\\d\\-_:]{1,100}$"
}
},
"com.amazonaws.iotfleetwise#campaignName": {
"type": "string",
"traits": {
Expand All @@ -8983,7 +8997,7 @@
"traits": {
"smithy.api#range": {
"min": 10000,
"max": 60000
"max": 86400000
}
}
},
Expand Down Expand Up @@ -9038,10 +9052,12 @@
"com.amazonaws.iotfleetwise#eventExpression": {
"type": "string",
"traits": {
"aws.api#data": "content",
"smithy.api#length": {
"min": 1,
"max": 2048
}
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.iotfleetwise#fleetId": {
Expand Down Expand Up @@ -9070,7 +9086,8 @@
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1
"min": 1,
"max": 1
}
}
},
Expand Down Expand Up @@ -9188,8 +9205,15 @@
"target": "com.amazonaws.iotfleetwise#SignalCatalogSummary"
}
},
"com.amazonaws.iotfleetwise#status": {
"type": "string"
"com.amazonaws.iotfleetwise#statusStr": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 7,
"max": 20
},
"smithy.api#pattern": "^[A-Z_]*$"
}
},
"com.amazonaws.iotfleetwise#string": {
"type": "string"
Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/neptune-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@
"format": {
"target": "com.amazonaws.neptunegraph#Format",
"traits": {
"smithy.api#documentation": "<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies\n the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html\">Gremlin\n CSV format</a> or <code>OPENCYPHER</code>, which identies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html\">openCypher\n load format</a>.</p>"
"smithy.api#documentation": "<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies\n the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html\">Gremlin\n CSV format</a>, <code>OPEN_CYPHER</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html\">openCypher\n load format</a>, or <code>ntriples</code>, which identifies the\n <a href=\"https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html\">RDF n-triples</a> format.</p>"
}
},
"blankNodeHandling": {
Expand Down Expand Up @@ -5238,7 +5238,7 @@
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 32,
"min": 16,
"max": 24576
}
}
Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/outposts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@
"Status": {
"target": "com.amazonaws.outposts#OrderStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the order.</p>\n <ul>\n <li>\n <p>\n <code>PREPARING</code> - Order is received and being prepared.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Order is either being built, shipped, or installed. To get\n more details, see the line item status.</p>\n </li>\n <li>\n <p>\n <code>COMPLETED</code> - Order is complete.</p>\n </li>\n <li>\n <p>\n <code>CANCELLED</code> - Order is cancelled.</p>\n </li>\n <li>\n <p>\n <code>ERROR</code> - Customer should contact support.</p>\n </li>\n </ul>\n <note>\n <p>The following status are deprecated: <code>RECEIVED</code>, <code>PENDING</code>,\n <code>PROCESSING</code>, <code>INSTALLING</code>, and <code>FULFILLED</code>. </p>\n </note>"
"smithy.api#documentation": "<p>The status of the order.</p>\n <ul>\n <li>\n <p>\n <code>PREPARING</code> - Order is received and being prepared.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Order is either being built or shipped. To get\n more details, see the line item status.</p>\n </li>\n <li>\n <p>\n <code>DELIVERED</code> - Order was delivered to the Outpost site.</p>\n </li>\n <li>\n <p>\n <code>COMPLETED</code> - Order is complete.</p>\n </li>\n <li>\n <p>\n <code>CANCELLED</code> - Order is cancelled.</p>\n </li>\n <li>\n <p>\n <code>ERROR</code> - Customer should contact support.</p>\n </li>\n </ul>\n <note>\n <p>The following status are deprecated: <code>RECEIVED</code>, <code>PENDING</code>,\n <code>PROCESSING</code>, <code>INSTALLING</code>, and <code>FULFILLED</code>. </p>\n </note>"
}
},
"LineItems": {
Expand Down Expand Up @@ -3305,6 +3305,12 @@
"smithy.api#enumValue": "IN_PROGRESS"
}
},
"DELIVERED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DELIVERED"
}
},
"COMPLETED": {
"target": "smithy.api#Unit",
"traits": {
Expand Down
Loading

0 comments on commit 26c58a0

Please sign in to comment.