Skip to content

Commit 2206d1d

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 8c422c5 commit 2206d1d

File tree

6 files changed

+376
-5
lines changed

6 files changed

+376
-5
lines changed

codegen/sdk-codegen/aws-models/application-signals.json

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,28 @@
917917
"smithy.api#output": {}
918918
}
919919
},
920+
"com.amazonaws.applicationsignals#DependencyConfig": {
921+
"type": "structure",
922+
"members": {
923+
"DependencyKeyAttributes": {
924+
"target": "com.amazonaws.applicationsignals#Attributes",
925+
"traits": {
926+
"smithy.api#documentation": "<p>This is a string-to-string map. It can \n include the following fields.</p>\n <ul>\n <li>\n <p>\n <code>Type</code> designates the type of object this is.</p>\n </li>\n <li>\n <p>\n <code>ResourceType</code> specifies the type of the resource. This field is used only\n when the value of the <code>Type</code> field is <code>Resource</code> or <code>AWS::Resource</code>.</p>\n </li>\n <li>\n <p>\n <code>Name</code> specifies the name of the object. This is used only if the value of the <code>Type</code> field\n is <code>Service</code>, <code>RemoteService</code>, or <code>AWS::Service</code>.</p>\n </li>\n <li>\n <p>\n <code>Identifier</code> identifies the resource objects of this resource. \n This is used only if the value of the <code>Type</code> field\n is <code>Resource</code> or <code>AWS::Resource</code>.</p>\n </li>\n <li>\n <p>\n <code>Environment</code> specifies the location where this object is hosted, or what it belongs to.</p>\n </li>\n </ul>",
927+
"smithy.api#required": {}
928+
}
929+
},
930+
"DependencyOperationName": {
931+
"target": "com.amazonaws.applicationsignals#OperationName",
932+
"traits": {
933+
"smithy.api#documentation": "<p>The name of the called operation in the dependency.</p>",
934+
"smithy.api#required": {}
935+
}
936+
}
937+
},
938+
"traits": {
939+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>.</p>\n <p>When creating a service dependency SLO, you must specify the <code>KeyAttributes</code> of the service, and the <code>DependencyConfig</code> for the dependency. You can specify the <code>OperationName</code> of the service, from which it calls the dependency. Alternatively, \n you can exclude <code>OperationName</code> and the SLO will monitor all of the service's operations that call the dependency.</p>"
940+
}
941+
},
920942
"com.amazonaws.applicationsignals#Dimension": {
921943
"type": "structure",
922944
"members": {
@@ -1700,6 +1722,12 @@
17001722
"smithy.api#httpQuery": "OperationName"
17011723
}
17021724
},
1725+
"DependencyConfig": {
1726+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
1727+
"traits": {
1728+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
1729+
}
1730+
},
17031731
"MaxResults": {
17041732
"target": "com.amazonaws.applicationsignals#ListServiceLevelObjectivesMaxResults",
17051733
"traits": {
@@ -1715,6 +1743,12 @@
17151743
"smithy.api#httpQuery": "NextToken"
17161744
}
17171745
},
1746+
"MetricSourceTypes": {
1747+
"target": "com.amazonaws.applicationsignals#MetricSourceTypes",
1748+
"traits": {
1749+
"smithy.api#documentation": "<p>Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:</p>\n <ul>\n <li>\n <p>Service operation</p>\n </li>\n <li>\n <p>Service dependency</p>\n </li>\n <li>\n <p>CloudWatch metric</p>\n </li>\n </ul>"
1750+
}
1751+
},
17181752
"IncludeLinkedAccounts": {
17191753
"target": "smithy.api#Boolean",
17201754
"traits": {
@@ -2240,6 +2274,41 @@
22402274
"target": "com.amazonaws.applicationsignals#MetricReference"
22412275
}
22422276
},
2277+
"com.amazonaws.applicationsignals#MetricSourceType": {
2278+
"type": "enum",
2279+
"members": {
2280+
"SERVICE_OPERATION": {
2281+
"target": "smithy.api#Unit",
2282+
"traits": {
2283+
"smithy.api#enumValue": "ServiceOperation"
2284+
}
2285+
},
2286+
"CLOUDWATCH_METRIC": {
2287+
"target": "smithy.api#Unit",
2288+
"traits": {
2289+
"smithy.api#enumValue": "CloudWatchMetric"
2290+
}
2291+
},
2292+
"SERVICE_DEPENDENCY": {
2293+
"target": "smithy.api#Unit",
2294+
"traits": {
2295+
"smithy.api#enumValue": "ServiceDependency"
2296+
}
2297+
}
2298+
}
2299+
},
2300+
"com.amazonaws.applicationsignals#MetricSourceTypes": {
2301+
"type": "list",
2302+
"member": {
2303+
"target": "com.amazonaws.applicationsignals#MetricSourceType"
2304+
},
2305+
"traits": {
2306+
"smithy.api#length": {
2307+
"min": 1,
2308+
"max": 3
2309+
}
2310+
}
2311+
},
22432312
"com.amazonaws.applicationsignals#MetricStat": {
22442313
"type": "structure",
22452314
"members": {
@@ -2434,6 +2503,12 @@
24342503
"smithy.api#documentation": "<p>This structure defines the metric that is used as the \"good request\" or \"bad request\"\n value for a request-based SLO. \n This value observed for the metric defined in \n <code>TotalRequestCountMetric</code> is divided by the number found for \n <code>MonitoredRequestCountMetric</code> to determine the percentage of successful requests that \n this SLO tracks.</p>",
24352504
"smithy.api#required": {}
24362505
}
2506+
},
2507+
"DependencyConfig": {
2508+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
2509+
"traits": {
2510+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
2511+
}
24372512
}
24382513
},
24392514
"traits": {
@@ -2472,6 +2547,12 @@
24722547
"traits": {
24732548
"smithy.api#documentation": "<p>Use this structure to define the metric that you want to use as the \"good request\" or \"bad request\"\n value for a request-based SLO. \n This value observed for the metric defined in \n <code>TotalRequestCountMetric</code> will be divided by the number found for \n <code>MonitoredRequestCountMetric</code> to determine the percentage of successful requests that \n this SLO tracks.</p>"
24742549
}
2550+
},
2551+
"DependencyConfig": {
2552+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
2553+
"traits": {
2554+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
2555+
}
24752556
}
24762557
},
24772558
"traits": {
@@ -2801,6 +2882,12 @@
28012882
"smithy.api#documentation": "<p>If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, \n this structure includes the information about that metric or expression. </p>",
28022883
"smithy.api#required": {}
28032884
}
2885+
},
2886+
"DependencyConfig": {
2887+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
2888+
"traits": {
2889+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
2890+
}
28042891
}
28052892
},
28062893
"traits": {
@@ -2845,6 +2932,12 @@
28452932
"traits": {
28462933
"smithy.api#documentation": "<p>If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, \n use this structure to specify that metric or expression. </p>"
28472934
}
2935+
},
2936+
"DependencyConfig": {
2937+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
2938+
"traits": {
2939+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
2940+
}
28482941
}
28492942
},
28502943
"traits": {
@@ -2947,6 +3040,12 @@
29473040
"traits": {
29483041
"smithy.api#documentation": "<p>Each object in this array defines the length of the look-back window used to calculate one burn rate metric\n for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.</p>"
29493042
}
3043+
},
3044+
"MetricSourceType": {
3045+
"target": "com.amazonaws.applicationsignals#MetricSourceType",
3046+
"traits": {
3047+
"smithy.api#documentation": "<p>Displays the SLI metric source type for this SLO. Supported types are:</p>\n <ul>\n <li>\n <p>Service operation</p>\n </li>\n <li>\n <p>Service dependency</p>\n </li>\n <li>\n <p>CloudWatch metric</p>\n </li>\n </ul>"
3048+
}
29503049
}
29513050
},
29523051
"traits": {
@@ -3230,11 +3329,29 @@
32303329
"smithy.api#documentation": "<p>If this service level objective is specific to a single operation, this \n field displays the name of that operation.</p>"
32313330
}
32323331
},
3332+
"DependencyConfig": {
3333+
"target": "com.amazonaws.applicationsignals#DependencyConfig",
3334+
"traits": {
3335+
"smithy.api#documentation": "<p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>"
3336+
}
3337+
},
32333338
"CreatedTime": {
32343339
"target": "smithy.api#Timestamp",
32353340
"traits": {
32363341
"smithy.api#documentation": "<p>The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.</p>"
32373342
}
3343+
},
3344+
"EvaluationType": {
3345+
"target": "com.amazonaws.applicationsignals#EvaluationType",
3346+
"traits": {
3347+
"smithy.api#documentation": "<p>Displays whether this is a period-based SLO or a request-based SLO.</p>"
3348+
}
3349+
},
3350+
"MetricSourceType": {
3351+
"target": "com.amazonaws.applicationsignals#MetricSourceType",
3352+
"traits": {
3353+
"smithy.api#documentation": "<p>Displays the SLI metric source type for this SLO. Supported types are:</p>\n <ul>\n <li>\n <p>Service operation</p>\n </li>\n <li>\n <p>Service dependency</p>\n </li>\n <li>\n <p>CloudWatch metric</p>\n </li>\n </ul>"
3354+
}
32383355
}
32393356
},
32403357
"traits": {

codegen/sdk-codegen/aws-models/codebuild.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4053,6 +4053,12 @@
40534053
"smithy.api#enumValue": "WINDOWS_SERVER_2019_CONTAINER"
40544054
}
40554055
},
4056+
"WINDOWS_SERVER_2022_CONTAINER": {
4057+
"target": "smithy.api#Unit",
4058+
"traits": {
4059+
"smithy.api#enumValue": "WINDOWS_SERVER_2022_CONTAINER"
4060+
}
4061+
},
40564062
"LINUX_LAMBDA_CONTAINER": {
40574063
"target": "smithy.api#Unit",
40584064
"traits": {

codegen/sdk-codegen/aws-models/ecr.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@
19351935
"upstreamRegistryUrl": {
19361936
"target": "com.amazonaws.ecr#Url",
19371937
"traits": {
1938-
"smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR (<code>ecr</code>) –\n <code>dkr.ecr.<region>.amazonaws.com</code>\n </p>\n </li>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) – <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) –\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) –\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>GitLab Container Registry (<code>gitlab-container-registry</code>) –\n <code>registry.gitlab.com</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) – <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) –\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) – <code>quay.io</code>\n </p>\n </li>\n </ul>",
1938+
"smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR (<code>ecr</code>) –\n <code><accountId>.dkr.ecr.<region>.amazonaws.com</code>\n </p>\n </li>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) – <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) –\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) –\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>GitLab Container Registry (<code>gitlab-container-registry</code>) –\n <code>registry.gitlab.com</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) – <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) –\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) – <code>quay.io</code>\n </p>\n </li>\n </ul>",
19391939
"smithy.api#required": {}
19401940
}
19411941
},
@@ -3097,7 +3097,7 @@
30973097
}
30983098
],
30993099
"traits": {
3100-
"smithy.api#documentation": "<p>Returns metadata about the images in a repository.</p>\n <note>\n <p>Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the <code>docker\n images</code> command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>",
3100+
"smithy.api#documentation": "<p>Returns metadata about the images in a repository.</p>\n <note>\n <p>Starting with Docker version 1.9, the Docker client compresses image layers before\n pushing them to a V2 Docker registry. The output of the <code>docker images</code>\n command shows the uncompressed image size. Therefore, Docker might return a larger\n image than the image shown in the Amazon Web Services Management Console.</p>\n </note>",
31013101
"smithy.api#paginated": {
31023102
"inputToken": "nextToken",
31033103
"outputToken": "nextToken",
@@ -3913,7 +3913,7 @@
39133913
"authorizationData": {
39143914
"target": "com.amazonaws.ecr#AuthorizationDataList",
39153915
"traits": {
3916-
"smithy.api#documentation": "<p>A list of authorization token data objects that correspond to the\n <code>registryIds</code> values in the request.</p>"
3916+
"smithy.api#documentation": "<p>A list of authorization token data objects that correspond to the\n <code>registryIds</code> values in the request.</p>\n <note>\n <p>The size of the authorization token returned by Amazon ECR is not fixed. We recommend\n that you don't make assumptions about the maximum size.</p>\n </note>"
39173917
}
39183918
}
39193919
},
@@ -4533,7 +4533,7 @@
45334533
"imageSizeInBytes": {
45344534
"target": "com.amazonaws.ecr#ImageSizeInBytes",
45354535
"traits": {
4536-
"smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Starting with Docker version 1.9, the Docker client compresses image layers before\n pushing them to a V2 Docker registry. The output of the <code>docker images</code>\n command shows the uncompressed image size. Therefore, Docker might return a larger\n image than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>"
4536+
"smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Starting with Docker version 1.9, the Docker client compresses image layers before\n pushing them to a V2 Docker registry. The output of the <code>docker images</code>\n command shows the uncompressed image size. Therefore, Docker might return a larger\n image than the image shown in the Amazon Web Services Management Console.</p>\n </note>"
45374537
}
45384538
},
45394539
"imagePushedAt": {

0 commit comments

Comments
 (0)