Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed May 16, 2022
1 parent 78393ae commit 24b4999
Show file tree
Hide file tree
Showing 53 changed files with 1,407 additions and 448 deletions.
14 changes: 12 additions & 2 deletions apis/cloudfront/2020-05-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@
{"shape":"InvalidArgument"},
{"shape":"ResponseHeadersPolicyAlreadyExists"},
{"shape":"TooManyResponseHeadersPolicies"},
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"}
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
{"shape":"TooLongCSPInResponseHeadersPolicy"}
]
},
"CreateStreamingDistribution":{
Expand Down Expand Up @@ -1596,7 +1597,8 @@
{"shape":"NoSuchResponseHeadersPolicy"},
{"shape":"PreconditionFailed"},
{"shape":"ResponseHeadersPolicyAlreadyExists"},
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"}
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
{"shape":"TooLongCSPInResponseHeadersPolicy"}
]
},
"UpdateStreamingDistribution":{
Expand Down Expand Up @@ -6429,6 +6431,14 @@
"FunctionOutput":{"shape":"sensitiveStringType"}
}
},
"TooLongCSPInResponseHeadersPolicy":{
"type":"structure",
"members":{
"Message":{"shape":"string"}
},
"error":{"httpStatusCode":400},
"exception":true
},
"TooManyCacheBehaviors":{
"type":"structure",
"members":{
Expand Down
6 changes: 6 additions & 0 deletions apis/cloudfront/2020-05-31/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2709,6 +2709,11 @@
"TestFunctionResult$TestResult": "<p>An object that represents the result of running the function with the provided event object.</p>"
}
},
"TooLongCSPInResponseHeadersPolicy": {
"base": "<p>The length of the <code>Content-Security-Policy</code> header value in the response headers policy exceeds the maximum.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html\">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>",
"refs": {
}
},
"TooManyCacheBehaviors": {
"base": "<p>You cannot create more cache behaviors for the distribution.</p>",
"refs": {
Expand Down Expand Up @@ -3690,6 +3695,7 @@
"TestFunctionRequest$Name": "<p>The name of the function that you are testing.</p>",
"TestFunctionRequest$IfMatch": "<p>The current version (<code>ETag</code> value) of the function that you are testing, which you can get using <code>DescribeFunction</code>.</p>",
"TestResult$ComputeUtilization": "<p>The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.</p>",
"TooLongCSPInResponseHeadersPolicy$Message": null,
"TooManyCacheBehaviors$Message": null,
"TooManyCachePolicies$Message": null,
"TooManyCertificates$Message": null,
Expand Down
113 changes: 95 additions & 18 deletions apis/discovery/2015-11-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,12 @@
"type":"list",
"member":{"shape":"AgentConfigurationStatus"}
},
"AgentId":{"type":"string"},
"AgentId":{
"type":"string",
"max":20,
"min":10,
"pattern":"\\S+"
},
"AgentIds":{
"type":"list",
"member":{"shape":"AgentId"}
Expand Down Expand Up @@ -489,11 +494,25 @@
"type":"list",
"member":{"shape":"AgentInfo"}
},
"ApplicationId":{"type":"string"},
"ApplicationDescription":{
"type":"string",
"max":1000,
"pattern":"(^$|[\\s\\S]*\\S[\\s\\S]*)"
},
"ApplicationId":{
"type":"string",
"max":200,
"pattern":"\\S+"
},
"ApplicationIdsList":{
"type":"list",
"member":{"shape":"ApplicationId"}
},
"ApplicationName":{
"type":"string",
"max":127,
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
},
"AssociateConfigurationItemsToApplicationRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -561,13 +580,21 @@
"max":100,
"min":1
},
"Condition":{"type":"string"},
"Condition":{
"type":"string",
"max":200,
"pattern":"\\S+"
},
"Configuration":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"String"}
},
"ConfigurationId":{"type":"string"},
"ConfigurationId":{
"type":"string",
"max":200,
"pattern":"\\S*"
},
"ConfigurationIdList":{
"type":"list",
"member":{"shape":"ConfigurationId"}
Expand Down Expand Up @@ -600,7 +627,11 @@
"member":{"shape":"Configuration"}
},
"ConfigurationsDownloadUrl":{"type":"string"},
"ConfigurationsExportId":{"type":"string"},
"ConfigurationsExportId":{
"type":"string",
"max":200,
"pattern":"\\S*"
},
"ConflictErrorException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -645,8 +676,8 @@
"type":"structure",
"required":["name"],
"members":{
"name":{"shape":"String"},
"description":{"shape":"String"}
"name":{"shape":"ApplicationName"},
"description":{"shape":"ApplicationDescription"}
}
},
"CreateApplicationResponse":{
Expand Down Expand Up @@ -713,6 +744,27 @@
"unknownConnectors":{"shape":"Integer"}
}
},
"CustomerMeCollectorInfo":{
"type":"structure",
"required":[
"activeMeCollectors",
"healthyMeCollectors",
"denyListedMeCollectors",
"shutdownMeCollectors",
"unhealthyMeCollectors",
"totalMeCollectors",
"unknownMeCollectors"
],
"members":{
"activeMeCollectors":{"shape":"Integer"},
"healthyMeCollectors":{"shape":"Integer"},
"denyListedMeCollectors":{"shape":"Integer"},
"shutdownMeCollectors":{"shape":"Integer"},
"unhealthyMeCollectors":{"shape":"Integer"},
"totalMeCollectors":{"shape":"Integer"},
"unknownMeCollectors":{"shape":"Integer"}
}
},
"DataSource":{
"type":"string",
"enum":["AGENT"]
Expand Down Expand Up @@ -977,8 +1029,16 @@
"condition":{"shape":"Condition"}
}
},
"FilterName":{"type":"string"},
"FilterValue":{"type":"string"},
"FilterName":{
"type":"string",
"max":1000,
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
},
"FilterValue":{
"type":"string",
"max":1000,
"pattern":"(^$|[\\s\\S]*\\S[\\s\\S]*)"
},
"FilterValues":{
"type":"list",
"member":{"shape":"FilterValue"}
Expand All @@ -1000,7 +1060,8 @@
"serversMappedToApplications":{"shape":"Long"},
"serversMappedtoTags":{"shape":"Long"},
"agentSummary":{"shape":"CustomerAgentInfo"},
"connectorSummary":{"shape":"CustomerConnectorInfo"}
"connectorSummary":{"shape":"CustomerConnectorInfo"},
"meCollectorSummary":{"shape":"CustomerMeCollectorInfo"}
}
},
"HomeRegionNotSetException":{
Expand Down Expand Up @@ -1070,20 +1131,26 @@
"max":100,
"min":1
},
"ImportTaskIdentifier":{"type":"string"},
"ImportTaskIdentifier":{
"type":"string",
"max":200,
"pattern":"\\S*"
},
"ImportTaskList":{
"type":"list",
"member":{"shape":"ImportTask"}
},
"ImportTaskName":{
"type":"string",
"max":100,
"min":1
"min":1,
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
},
"ImportURL":{
"type":"string",
"max":4000,
"min":1
"min":1,
"pattern":"\\S+:\\/\\/\\S+\\/[\\s\\S]*\\S[\\s\\S]*"
},
"Integer":{"type":"integer"},
"InvalidParameterException":{
Expand Down Expand Up @@ -1171,10 +1238,15 @@
"type":"structure",
"required":["fieldName"],
"members":{
"fieldName":{"shape":"String"},
"fieldName":{"shape":"OrderByElementFieldName"},
"sortOrder":{"shape":"orderString"}
}
},
"OrderByElementFieldName":{
"type":"string",
"max":1000,
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
},
"OrderByList":{
"type":"list",
"member":{"shape":"OrderByElement"}
Expand Down Expand Up @@ -1299,11 +1371,16 @@
"agentsConfigurationStatus":{"shape":"AgentConfigurationStatusList"}
}
},
"String":{"type":"string"},
"String":{
"type":"string",
"max":10000,
"pattern":"[\\s\\S]*"
},
"StringMax255":{
"type":"string",
"max":255,
"min":1
"min":1,
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
},
"Tag":{
"type":"structure",
Expand Down Expand Up @@ -1349,8 +1426,8 @@
"required":["configurationId"],
"members":{
"configurationId":{"shape":"ApplicationId"},
"name":{"shape":"String"},
"description":{"shape":"String"}
"name":{"shape":"ApplicationName"},
"description":{"shape":"ApplicationDescription"}
}
},
"UpdateApplicationResponse":{
Expand Down
Loading

0 comments on commit 24b4999

Please sign in to comment.