Skip to content

Commit 6515e94

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent f3f44c0 commit 6515e94

File tree

4 files changed

+275
-70
lines changed

4 files changed

+275
-70
lines changed

codegen/sdk-codegen/aws-models/devops-guru.json

Lines changed: 71 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
}
136136
],
137137
"traits": {
138-
"smithy.api#documentation": "<p> Adds a notification channel to DevOps Guru. A notification channel is used to notify you\n\t\t\tabout important DevOps Guru events, such as when an insight is generated. </p>\n\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>",
138+
"smithy.api#documentation": "<p> Adds a notification channel to DevOps Guru. A notification channel is used to notify you\n\t\t\tabout important DevOps Guru events, such as when an insight is generated. </p>\n\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>",
139139
"smithy.api#http": {
140140
"method": "PUT",
141141
"uri": "/channels",
@@ -173,12 +173,12 @@
173173
"Status": {
174174
"target": "com.amazonaws.devopsguru#EventSourceOptInStatus",
175175
"traits": {
176-
"smithy.api#documentation": "<p>The status of the CodeGuru Profiler integration.</p>"
176+
"smithy.api#documentation": "<p>The status of the CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to\n\t\t\tconsume recommendations that are generated from Amazon CodeGuru Profiler.</p>"
177177
}
178178
}
179179
},
180180
"traits": {
181-
"smithy.api#documentation": "<p>Information about your account's integration with Amazon CodeGuru Profiler.</p>"
181+
"smithy.api#documentation": "<p>Information about your account's integration with Amazon CodeGuru Profiler. This\n\t\t\treturns whether DevOps Guru is configured to consume recommendations generated from Amazon\n\t\t\tCodeGuru Profiler.</p>"
182182
}
183183
},
184184
"com.amazonaws.devopsguru#AnomalyDescription": {
@@ -315,7 +315,7 @@
315315
}
316316
},
317317
"traits": {
318-
"smithy.api#documentation": "<p>Metadata about an anomaly. The anomaly is detected using analysis of the metric data\u2028 over a period of time</p>"
318+
"smithy.api#documentation": "<p>Metadata about the detection source that generates proactive anomalies. The anomaly is\n\t\t\tdetected using analysis of the metric data\u2028 over a period of time</p>"
319319
}
320320
},
321321
"com.amazonaws.devopsguru#AnomalyStatus": {
@@ -417,6 +417,9 @@
417417
{
418418
"target": "com.amazonaws.devopsguru#AddNotificationChannel"
419419
},
420+
{
421+
"target": "com.amazonaws.devopsguru#DeleteInsight"
422+
},
420423
{
421424
"target": "com.amazonaws.devopsguru#DescribeAccountHealth"
422425
},
@@ -892,6 +895,60 @@
892895
"smithy.api#documentation": "<p>The time range of a cost estimation.</p>"
893896
}
894897
},
898+
"com.amazonaws.devopsguru#DeleteInsight": {
899+
"type": "operation",
900+
"input": {
901+
"target": "com.amazonaws.devopsguru#DeleteInsightRequest"
902+
},
903+
"output": {
904+
"target": "com.amazonaws.devopsguru#DeleteInsightResponse"
905+
},
906+
"errors": [
907+
{
908+
"target": "com.amazonaws.devopsguru#AccessDeniedException"
909+
},
910+
{
911+
"target": "com.amazonaws.devopsguru#ConflictException"
912+
},
913+
{
914+
"target": "com.amazonaws.devopsguru#InternalServerException"
915+
},
916+
{
917+
"target": "com.amazonaws.devopsguru#ResourceNotFoundException"
918+
},
919+
{
920+
"target": "com.amazonaws.devopsguru#ThrottlingException"
921+
},
922+
{
923+
"target": "com.amazonaws.devopsguru#ValidationException"
924+
}
925+
],
926+
"traits": {
927+
"smithy.api#documentation": "<p>Deletes the insight along with the associated anomalies, events and recommendations.</p>",
928+
"smithy.api#http": {
929+
"method": "DELETE",
930+
"uri": "/insights/{Id}",
931+
"code": 200
932+
}
933+
}
934+
},
935+
"com.amazonaws.devopsguru#DeleteInsightRequest": {
936+
"type": "structure",
937+
"members": {
938+
"Id": {
939+
"target": "com.amazonaws.devopsguru#InsightId",
940+
"traits": {
941+
"smithy.api#documentation": "<p>The ID of the insight.</p>",
942+
"smithy.api#httpLabel": {},
943+
"smithy.api#required": {}
944+
}
945+
}
946+
}
947+
},
948+
"com.amazonaws.devopsguru#DeleteInsightResponse": {
949+
"type": "structure",
950+
"members": {}
951+
},
895952
"com.amazonaws.devopsguru#DescribeAccountHealth": {
896953
"type": "operation",
897954
"input": {
@@ -1129,7 +1186,7 @@
11291186
}
11301187
],
11311188
"traits": {
1132-
"smithy.api#documentation": "<p>This operation lists details about a DevOps Guru event source that is shared with your\u2028 account.</p>",
1189+
"smithy.api#documentation": "<p>Returns the integration status of services that are integrated with DevOps Guru as Consumer\n\t\t\tvia EventBridge. The one service that can be integrated with DevOps Guru is Amazon CodeGuru\n\t\t\tProfiler, which can produce proactive recommendations which can be stored and viewed in\n\t\t\tDevOps Guru.</p>",
11331190
"smithy.api#http": {
11341191
"method": "POST",
11351192
"uri": "/event-sources",
@@ -1147,7 +1204,7 @@
11471204
"EventSources": {
11481205
"target": "com.amazonaws.devopsguru#EventSourcesConfig",
11491206
"traits": {
1150-
"smithy.api#documentation": "<p>The name of the event source.</p>"
1207+
"smithy.api#documentation": "<p>Lists the event sources in the configuration.</p>"
11511208
}
11521209
}
11531210
}
@@ -1902,12 +1959,12 @@
19021959
"AmazonCodeGuruProfiler": {
19031960
"target": "com.amazonaws.devopsguru#AmazonCodeGuruProfilerIntegration",
19041961
"traits": {
1905-
"smithy.api#documentation": "<p></p>"
1962+
"smithy.api#documentation": "<p>Information about whether DevOps Guru is configured to consume recommendations which\n\t\t\tare generated from AWS CodeGuru Profiler.</p>"
19061963
}
19071964
}
19081965
},
19091966
"traits": {
1910-
"smithy.api#documentation": "<p>Describes the event sources.</p>"
1967+
"smithy.api#documentation": "<p>Information about the integration of DevOps Guru as consumer with another AWS service, such\n\t\t\tas AWS CodeGuru Profiler via EventBridge.</p>"
19111968
}
19121969
},
19131970
"com.amazonaws.devopsguru#EventTimeRange": {
@@ -3091,7 +3148,7 @@
30913148
}
30923149
},
30933150
"traits": {
3094-
"smithy.api#documentation": "<p> Information about a notification channel. A notification channel is used to notify\n\t\t\tyou when DevOps Guru creates an insight. The one \n \tsupported notification channel is Amazon Simple Notification Service (Amazon SNS). </p>\n\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>"
3151+
"smithy.api#documentation": "<p> Information about a notification channel. A notification channel is used to notify\n\t\t\tyou when DevOps Guru creates an insight. The one \n \tsupported notification channel is Amazon Simple Notification Service (Amazon SNS). </p>\n\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>"
30953152
}
30963153
},
30973154
"com.amazonaws.devopsguru#NotificationChannelConfig": {
@@ -3100,7 +3157,7 @@
31003157
"Sns": {
31013158
"target": "com.amazonaws.devopsguru#SnsChannelConfig",
31023159
"traits": {
3103-
"smithy.api#documentation": "<p> Information about a notification channel configured in DevOps Guru to send notifications\n\t\t\twhen insights are created. </p> \n <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>",
3160+
"smithy.api#documentation": "<p> Information about a notification channel configured in DevOps Guru to send notifications\n\t\t\twhen insights are created. </p> \n <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>",
31043161
"smithy.api#required": {}
31053162
}
31063163
}
@@ -3660,7 +3717,7 @@
36603717
"SourceMetadata": {
36613718
"target": "com.amazonaws.devopsguru#AnomalySourceMetadata",
36623719
"traits": {
3663-
"smithy.api#documentation": "<p>Returns the metadata of the source.</p>"
3720+
"smithy.api#documentation": "<p>The metadata of the source which detects proactive anomalies.</p>"
36643721
}
36653722
},
36663723
"AnomalyResources": {
@@ -5205,7 +5262,7 @@
52055262
}
52065263
},
52075264
"traits": {
5208-
"smithy.api#documentation": "<p> Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. </p> \n <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>"
5265+
"smithy.api#documentation": "<p> Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. </p> \n <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html\">Permissions \n\t\t\t\tfor cross account Amazon SNS topics</a>.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>\n\t\t\t\t <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see <a href=\"https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html\">Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>"
52095266
}
52105267
},
52115268
"com.amazonaws.devopsguru#SsmOpsItemId": {
@@ -5557,7 +5614,7 @@
55575614
}
55585615
],
55595616
"traits": {
5560-
"smithy.api#documentation": "<p>Updates the event source configuration.</p>",
5617+
"smithy.api#documentation": "<p>Enables or disables integration with a service that can be integrated with DevOps Guru. The\n\t\t\tone service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which\n\t\t\tcan produce proactive recommendations which can be stored and viewed in DevOps Guru.</p>",
55615618
"smithy.api#http": {
55625619
"method": "PUT",
55635620
"uri": "/event-sources",
@@ -5571,7 +5628,7 @@
55715628
"EventSources": {
55725629
"target": "com.amazonaws.devopsguru#EventSourcesConfig",
55735630
"traits": {
5574-
"smithy.api#documentation": "<p>The name of the event source.</p>"
5631+
"smithy.api#documentation": "<p>Configuration information about the integration of DevOps Guru as the Consumer via\n\t\t\tEventBridge with another AWS Service.</p>"
55755632
}
55765633
}
55775634
}

0 commit comments

Comments
 (0)