Skip to content

Commit

Permalink
feat(client-oam): This release adds support for sharing AWS::Internet…
Browse files Browse the repository at this point in the history
…Monitor::Monitor resources.
  • Loading branch information
awstools committed Mar 28, 2024
1 parent 0e22651 commit 17bc8e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/client-oam/src/commands/CreateLinkCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
* const input = { // CreateLinkInput
* LabelTemplate: "STRING_VALUE", // required
* ResourceTypes: [ // ResourceTypesInput // required
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application" || "AWS::InternetMonitor::Monitor",
* ],
* SinkIdentifier: "STRING_VALUE", // required
* Tags: { // TagMapInput
Expand Down
2 changes: 1 addition & 1 deletion clients/client-oam/src/commands/UpdateLinkCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
* const input = { // UpdateLinkInput
* Identifier: "STRING_VALUE", // required
* ResourceTypes: [ // ResourceTypesInput // required
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application" || "AWS::InternetMonitor::Monitor",
* ],
* };
* const command = new UpdateLinkCommand(input);
Expand Down
1 change: 1 addition & 0 deletions clients/client-oam/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class ConflictException extends __BaseException {
export const ResourceType = {
AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
AWS_XRAY_TRACE: "AWS::XRay::Trace",
} as const;
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/oam.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,12 @@
"traits": {
"smithy.api#enumValue": "AWS::ApplicationInsights::Application"
}
},
"AWS_INTERNETMONITOR_MONITOR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AWS::InternetMonitor::Monitor"
}
}
}
},
Expand Down

0 comments on commit 17bc8e1

Please sign in to comment.