Skip to content

Commit 5c213ac

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent 7cc6f77 commit 5c213ac

File tree

42 files changed

+2151
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2151
-172
lines changed

apis/amp/2020-08-01/api-2.json

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,23 @@
3232
],
3333
"idempotent":true
3434
},
35+
"CreateLoggingConfiguration":{
36+
"name":"CreateLoggingConfiguration",
37+
"http":{
38+
"method":"POST",
39+
"requestUri":"/workspaces/{workspaceId}/logging",
40+
"responseCode":202
41+
},
42+
"input":{"shape":"CreateLoggingConfigurationRequest"},
43+
"output":{"shape":"CreateLoggingConfigurationResponse"},
44+
"errors":[
45+
{"shape":"ValidationException"},
46+
{"shape":"ResourceNotFoundException"},
47+
{"shape":"AccessDeniedException"},
48+
{"shape":"InternalServerException"}
49+
],
50+
"idempotent":true
51+
},
3552
"CreateRuleGroupsNamespace":{
3653
"name":"CreateRuleGroupsNamespace",
3754
"http":{
@@ -89,6 +106,23 @@
89106
],
90107
"idempotent":true
91108
},
109+
"DeleteLoggingConfiguration":{
110+
"name":"DeleteLoggingConfiguration",
111+
"http":{
112+
"method":"DELETE",
113+
"requestUri":"/workspaces/{workspaceId}/logging",
114+
"responseCode":202
115+
},
116+
"input":{"shape":"DeleteLoggingConfigurationRequest"},
117+
"errors":[
118+
{"shape":"ConflictException"},
119+
{"shape":"ValidationException"},
120+
{"shape":"ResourceNotFoundException"},
121+
{"shape":"AccessDeniedException"},
122+
{"shape":"InternalServerException"}
123+
],
124+
"idempotent":true
125+
},
92126
"DeleteRuleGroupsNamespace":{
93127
"name":"DeleteRuleGroupsNamespace",
94128
"http":{
@@ -142,6 +176,22 @@
142176
{"shape":"InternalServerException"}
143177
]
144178
},
179+
"DescribeLoggingConfiguration":{
180+
"name":"DescribeLoggingConfiguration",
181+
"http":{
182+
"method":"GET",
183+
"requestUri":"/workspaces/{workspaceId}/logging",
184+
"responseCode":200
185+
},
186+
"input":{"shape":"DescribeLoggingConfigurationRequest"},
187+
"output":{"shape":"DescribeLoggingConfigurationResponse"},
188+
"errors":[
189+
{"shape":"ValidationException"},
190+
{"shape":"ResourceNotFoundException"},
191+
{"shape":"AccessDeniedException"},
192+
{"shape":"InternalServerException"}
193+
]
194+
},
145195
"DescribeRuleGroupsNamespace":{
146196
"name":"DescribeRuleGroupsNamespace",
147197
"http":{
@@ -301,6 +351,24 @@
301351
],
302352
"idempotent":true
303353
},
354+
"UpdateLoggingConfiguration":{
355+
"name":"UpdateLoggingConfiguration",
356+
"http":{
357+
"method":"PUT",
358+
"requestUri":"/workspaces/{workspaceId}/logging",
359+
"responseCode":202
360+
},
361+
"input":{"shape":"UpdateLoggingConfigurationRequest"},
362+
"output":{"shape":"UpdateLoggingConfigurationResponse"},
363+
"errors":[
364+
{"shape":"ConflictException"},
365+
{"shape":"ValidationException"},
366+
{"shape":"ResourceNotFoundException"},
367+
{"shape":"AccessDeniedException"},
368+
{"shape":"InternalServerException"}
369+
],
370+
"idempotent":true
371+
},
304372
"UpdateWorkspaceAlias":{
305373
"name":"UpdateWorkspaceAlias",
306374
"http":{
@@ -413,6 +481,32 @@
413481
"status":{"shape":"AlertManagerDefinitionStatus"}
414482
}
415483
},
484+
"CreateLoggingConfigurationRequest":{
485+
"type":"structure",
486+
"required":[
487+
"logGroupArn",
488+
"workspaceId"
489+
],
490+
"members":{
491+
"clientToken":{
492+
"shape":"IdempotencyToken",
493+
"idempotencyToken":true
494+
},
495+
"logGroupArn":{"shape":"LogGroupArn"},
496+
"workspaceId":{
497+
"shape":"WorkspaceId",
498+
"location":"uri",
499+
"locationName":"workspaceId"
500+
}
501+
}
502+
},
503+
"CreateLoggingConfigurationResponse":{
504+
"type":"structure",
505+
"required":["status"],
506+
"members":{
507+
"status":{"shape":"LoggingConfigurationStatus"}
508+
}
509+
},
416510
"CreateRuleGroupsNamespaceRequest":{
417511
"type":"structure",
418512
"required":[
@@ -491,6 +585,23 @@
491585
}
492586
}
493587
},
588+
"DeleteLoggingConfigurationRequest":{
589+
"type":"structure",
590+
"required":["workspaceId"],
591+
"members":{
592+
"clientToken":{
593+
"shape":"IdempotencyToken",
594+
"idempotencyToken":true,
595+
"location":"querystring",
596+
"locationName":"clientToken"
597+
},
598+
"workspaceId":{
599+
"shape":"WorkspaceId",
600+
"location":"uri",
601+
"locationName":"workspaceId"
602+
}
603+
}
604+
},
494605
"DeleteRuleGroupsNamespaceRequest":{
495606
"type":"structure",
496607
"required":[
@@ -551,6 +662,24 @@
551662
"alertManagerDefinition":{"shape":"AlertManagerDefinitionDescription"}
552663
}
553664
},
665+
"DescribeLoggingConfigurationRequest":{
666+
"type":"structure",
667+
"required":["workspaceId"],
668+
"members":{
669+
"workspaceId":{
670+
"shape":"WorkspaceId",
671+
"location":"uri",
672+
"locationName":"workspaceId"
673+
}
674+
}
675+
},
676+
"DescribeLoggingConfigurationResponse":{
677+
"type":"structure",
678+
"required":["loggingConfiguration"],
679+
"members":{
680+
"loggingConfiguration":{"shape":"LoggingConfigurationMetadata"}
681+
}
682+
},
554683
"DescribeRuleGroupsNamespaceRequest":{
555684
"type":"structure",
556685
"required":[
@@ -712,6 +841,46 @@
712841
"workspaces":{"shape":"WorkspaceSummaryList"}
713842
}
714843
},
844+
"LogGroupArn":{
845+
"type":"string",
846+
"pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$"
847+
},
848+
"LoggingConfigurationMetadata":{
849+
"type":"structure",
850+
"required":[
851+
"createdAt",
852+
"logGroupArn",
853+
"modifiedAt",
854+
"status",
855+
"workspace"
856+
],
857+
"members":{
858+
"createdAt":{"shape":"Timestamp"},
859+
"logGroupArn":{"shape":"LogGroupArn"},
860+
"modifiedAt":{"shape":"Timestamp"},
861+
"status":{"shape":"LoggingConfigurationStatus"},
862+
"workspace":{"shape":"WorkspaceId"}
863+
}
864+
},
865+
"LoggingConfigurationStatus":{
866+
"type":"structure",
867+
"required":["statusCode"],
868+
"members":{
869+
"statusCode":{"shape":"LoggingConfigurationStatusCode"},
870+
"statusReason":{"shape":"String"}
871+
}
872+
},
873+
"LoggingConfigurationStatusCode":{
874+
"type":"string",
875+
"enum":[
876+
"CREATING",
877+
"ACTIVE",
878+
"UPDATING",
879+
"DELETING",
880+
"CREATION_FAILED",
881+
"UPDATE_FAILED"
882+
]
883+
},
715884
"PaginationToken":{"type":"string"},
716885
"PutAlertManagerDefinitionRequest":{
717886
"type":"structure",
@@ -976,6 +1145,32 @@
9761145
"members":{
9771146
}
9781147
},
1148+
"UpdateLoggingConfigurationRequest":{
1149+
"type":"structure",
1150+
"required":[
1151+
"logGroupArn",
1152+
"workspaceId"
1153+
],
1154+
"members":{
1155+
"clientToken":{
1156+
"shape":"IdempotencyToken",
1157+
"idempotencyToken":true
1158+
},
1159+
"logGroupArn":{"shape":"LogGroupArn"},
1160+
"workspaceId":{
1161+
"shape":"WorkspaceId",
1162+
"location":"uri",
1163+
"locationName":"workspaceId"
1164+
}
1165+
}
1166+
},
1167+
"UpdateLoggingConfigurationResponse":{
1168+
"type":"structure",
1169+
"required":["status"],
1170+
"members":{
1171+
"status":{"shape":"LoggingConfigurationStatus"}
1172+
}
1173+
},
9791174
"UpdateWorkspaceAliasRequest":{
9801175
"type":"structure",
9811176
"required":["workspaceId"],

0 commit comments

Comments
 (0)