Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Apr 14, 2022
1 parent 26414ee commit 06813a8
Show file tree
Hide file tree
Showing 6 changed files with 550 additions and 84 deletions.
100 changes: 99 additions & 1 deletion codegen/sdk-codegen/aws-models/appflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 512
"max": 2048
},
"smithy.api#pattern": "^\\S+$"
}
Expand Down Expand Up @@ -4871,6 +4871,77 @@
"smithy.api#documentation": "<p>The OAuth 2.0 credentials required for OAuth 2.0 authentication.</p>"
}
},
"com.amazonaws.appflow#OAuth2CustomParameter": {
"type": "structure",
"members": {
"key": {
"target": "com.amazonaws.appflow#Key",
"traits": {
"smithy.api#documentation": "<p>The key of the custom parameter required for OAuth 2.0 authentication.</p>"
}
},
"isRequired": {
"target": "com.amazonaws.appflow#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the custom parameter for OAuth 2.0 authentication is required.</p>"
}
},
"label": {
"target": "com.amazonaws.appflow#Label",
"traits": {
"smithy.api#documentation": "<p>The label of the custom parameter used for OAuth 2.0 authentication.</p>"
}
},
"description": {
"target": "com.amazonaws.appflow#Description",
"traits": {
"smithy.api#documentation": "<p>A description about the custom parameter used for OAuth 2.0 authentication.</p>"
}
},
"isSensitiveField": {
"target": "com.amazonaws.appflow#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether this authentication custom parameter is a sensitive field.</p>"
}
},
"connectorSuppliedValues": {
"target": "com.amazonaws.appflow#ConnectorSuppliedValueList",
"traits": {
"smithy.api#documentation": "<p>Contains default values for this authentication parameter that are supplied by the\n connector.</p>"
}
},
"type": {
"target": "com.amazonaws.appflow#OAuth2CustomPropType",
"traits": {
"smithy.api#documentation": "<p>Indicates whether custom parameter is used with TokenUrl or AuthUrl.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Custom parameter required for OAuth 2.0 authentication.</p>"
}
},
"com.amazonaws.appflow#OAuth2CustomPropType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "TOKEN_URL",
"name": "TOKEN_URL"
},
{
"value": "AUTH_URL",
"name": "AUTH_URL"
}
]
}
},
"com.amazonaws.appflow#OAuth2CustomPropertiesList": {
"type": "list",
"member": {
"target": "com.amazonaws.appflow#OAuth2CustomParameter"
}
},
"com.amazonaws.appflow#OAuth2Defaults": {
"type": "structure",
"members": {
Expand All @@ -4897,6 +4968,12 @@
"traits": {
"smithy.api#documentation": "<p>OAuth 2.0 grant types supported by the connector.</p>"
}
},
"oauth2CustomProperties": {
"target": "com.amazonaws.appflow#OAuth2CustomPropertiesList",
"traits": {
"smithy.api#documentation": "<p>List of custom parameters required for OAuth 2.0 authentication.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4940,6 +5017,12 @@
"smithy.api#documentation": "<p>The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.</p>",
"smithy.api#required": {}
}
},
"tokenUrlCustomProperties": {
"target": "com.amazonaws.appflow#TokenUrlCustomProperties",
"traits": {
"smithy.api#documentation": "<p>Associates your token URL with a map of properties that you define. Use this parameter\n to provide any additional details that the connector requires to authenticate your\n request.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7799,6 +7882,21 @@
"smithy.api#pattern": "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$"
}
},
"com.amazonaws.appflow#TokenUrlCustomProperties": {
"type": "map",
"key": {
"target": "com.amazonaws.appflow#CustomPropertyKey"
},
"value": {
"target": "com.amazonaws.appflow#CustomPropertyValue"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.appflow#TokenUrlList": {
"type": "list",
"member": {
Expand Down
22 changes: 22 additions & 0 deletions codegen/sdk-codegen/aws-models/appstream.json
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
}
}
}
},
Expand Down Expand Up @@ -4121,6 +4127,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings associated with the fleet.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4151,6 +4163,10 @@
{
"value": "USB_DEVICE_FILTER_STRINGS",
"name": "USB_DEVICE_FILTER_STRINGS"
},
{
"value": "SESSION_SCRIPT_S3_LOCATION",
"name": "SESSION_SCRIPT_S3_LOCATION"
}
]
}
Expand Down Expand Up @@ -6867,6 +6883,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>"
}
}
}
},
Expand Down
Loading

0 comments on commit 06813a8

Please sign in to comment.