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 Feb 4, 2025
1 parent d59b658 commit 91f8178
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 34 deletions.
73 changes: 67 additions & 6 deletions codegen/sdk-codegen/aws-models/database-migration-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -2430,6 +2430,12 @@
"smithy.api#documentation": "<p>Specifies information about the source data provider.</p>"
}
},
"TargetDataSettings": {
"target": "com.amazonaws.databasemigrationservice#TargetDataSettings",
"traits": {
"smithy.api#documentation": "<p>Specifies information about the target data provider.</p>"
}
},
"NumberOfJobs": {
"target": "com.amazonaws.databasemigrationservice#IntegerOptional",
"traits": {
Expand Down Expand Up @@ -4170,6 +4176,12 @@
"smithy.api#documentation": "<p>Specifies information about the data migration's source data provider.</p>"
}
},
"TargetDataSettings": {
"target": "com.amazonaws.databasemigrationservice#TargetDataSettings",
"traits": {
"smithy.api#documentation": "<p>Specifies information about the data migration's target data provider.</p>"
}
},
"DataMigrationStatistics": {
"target": "com.amazonaws.databasemigrationservice#DataMigrationStatistics",
"traits": {
Expand Down Expand Up @@ -11767,24 +11779,24 @@
"KeyCacheSecretId": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
"smithy.api#documentation": "<p>Specifies the secret ID of the key cache for the replication instance.</p>"
"smithy.api#documentation": "<p>Specifies the ID of the secret that stores the key cache file required for kerberos authentication.</p>"
}
},
"KeyCacheSecretIamArn": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
"smithy.api#documentation": "<p>Specifies the Amazon Resource Name (ARN) of the IAM role that grants Amazon Web Services DMS access to the secret containing key cache file for the replication instance.</p>"
"smithy.api#documentation": "<p>Specifies the Amazon Resource Name (ARN) of the IAM role that grants Amazon Web Services DMS access to the secret containing key cache file for the kerberos authentication.</p>"
}
},
"Krb5FileContents": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
"smithy.api#documentation": "<p>Specifies the ID of the secret that stores the key cache file required for kerberos authentication of the replication instance.</p>"
"smithy.api#documentation": "<p>Specifies the contents of krb5 configuration file required for kerberos authentication.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies using Kerberos authentication settings for use with DMS.</p>"
"smithy.api#documentation": "<p>Specifies the settings required for kerberos authentication when creating the replication instance.</p>"
}
},
"com.amazonaws.databasemigrationservice#KeyList": {
Expand Down Expand Up @@ -12183,7 +12195,7 @@
"AuthenticationMethod": {
"target": "com.amazonaws.databasemigrationservice#SqlServerAuthenticationMethod",
"traits": {
"smithy.api#documentation": "<p>Specifies using Kerberos authentication with Microsoft SQL Server.</p>"
"smithy.api#documentation": "<p>Specifies the authentication method to be used with Microsoft SQL Server.</p>"
}
}
},
Expand Down Expand Up @@ -12461,6 +12473,12 @@
"smithy.api#documentation": "<p>The new information about the source data provider for the data migration.</p>"
}
},
"TargetDataSettings": {
"target": "com.amazonaws.databasemigrationservice#TargetDataSettings",
"traits": {
"smithy.api#documentation": "<p>The new information about the target data provider for the data migration.</p>"
}
},
"NumberOfJobs": {
"target": "com.amazonaws.databasemigrationservice#IntegerOptional",
"traits": {
Expand Down Expand Up @@ -14585,7 +14603,7 @@
"AuthenticationMethod": {
"target": "com.amazonaws.databasemigrationservice#OracleAuthenticationMethod",
"traits": {
"smithy.api#documentation": "<p>Specifies using Kerberos authentication with Oracle.</p>"
"smithy.api#documentation": "<p>Specifies the authentication method to be used with Oracle.</p>"
}
}
},
Expand Down Expand Up @@ -19326,6 +19344,29 @@
"target": "com.amazonaws.databasemigrationservice#TableToReload"
}
},
"com.amazonaws.databasemigrationservice#TablePreparationMode": {
"type": "enum",
"members": {
"DO_NOTHING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "do-nothing"
}
},
"TRUNCATE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "truncate"
}
},
"DROP_TABLES_ON_TARGET": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "drop-tables-on-target"
}
}
}
},
"com.amazonaws.databasemigrationservice#TableStatistics": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -19545,6 +19586,26 @@
}
}
},
"com.amazonaws.databasemigrationservice#TargetDataSetting": {
"type": "structure",
"members": {
"TablePreparationMode": {
"target": "com.amazonaws.databasemigrationservice#TablePreparationMode",
"traits": {
"smithy.api#documentation": "<p>This setting determines how DMS handles the target tables before starting a data migration,\n either by leaving them untouched, dropping and recreating them,\n or truncating the existing data in the target tables.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Defines settings for a target data provider for a data migration.</p>"
}
},
"com.amazonaws.databasemigrationservice#TargetDataSettings": {
"type": "list",
"member": {
"target": "com.amazonaws.databasemigrationservice#TargetDataSetting"
}
},
"com.amazonaws.databasemigrationservice#TargetDbType": {
"type": "enum",
"members": {
Expand Down
14 changes: 7 additions & 7 deletions codegen/sdk-codegen/aws-models/datasync.json
Original file line number Diff line number Diff line change
Expand Up @@ -1470,19 +1470,19 @@
"KerberosPrincipal": {
"target": "com.amazonaws.datasync#KerberosPrincipal",
"traits": {
"smithy.api#documentation": "<p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that\n has permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an\n SPN might look like <code>cifs/[email protected]</code>.</p>\n <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match\n what’s exactly in your keytab or <code>krb5.conf</code> files. </p>"
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
}
},
"KerberosKeytab": {
"target": "com.amazonaws.datasync#KerberosKeytabFile",
"traits": {
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n service principal name (SPN) and encryption keys.</p>\n <p>You can specify the keytab using a file path (for example,\n <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using\n the CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly\n what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file. </p>"
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n Kerberos principal and encryption keys.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>\n <p>To avoid task execution errors, make sure that the Kerberos principal that you use to\n create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>. </p>"
}
},
"KerberosKrb5Conf": {
"target": "com.amazonaws.datasync#KerberosKrb5ConfFile",
"traits": {
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>You can specify the <code>krb5.conf</code> using a file path (for example,\n <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the\nCLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the service principal name (SPN) in the\n <code>krb5.conf</code> file matches exactly what you specify for\n <code>KerberosPrincipal</code> and in your keytab file.</p>"
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>"
}
}
},
Expand Down Expand Up @@ -2868,7 +2868,7 @@
"KerberosPrincipal": {
"target": "com.amazonaws.datasync#KerberosPrincipal",
"traits": {
"smithy.api#documentation": "<p>The Kerberos service principal name (SPN) that has permission to access the files,\n folders, and file metadata in your SMB file server.</p>"
"smithy.api#documentation": "<p>The Kerberos principal that has permission to access the files, folders, and file metadata\n in your SMB file server.</p>"
}
},
"AuthenticationType": {
Expand Down Expand Up @@ -10056,19 +10056,19 @@
"KerberosPrincipal": {
"target": "com.amazonaws.datasync#KerberosPrincipal",
"traits": {
"smithy.api#documentation": "<p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that\n has permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an\n SPN might look like <code>cifs/[email protected]</code>.</p>\n <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match\n what’s exactly in your keytab or <code>krb5.conf</code> files.</p>"
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
}
},
"KerberosKeytab": {
"target": "com.amazonaws.datasync#KerberosKeytabFile",
"traits": {
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n service principal name (SPN) and encryption keys.</p>\n <p>You can specify the keytab using a file path (for example,\n <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using\n the CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly\n what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file.</p>"
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n Kerberos principal and encryption keys.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>\n <p>To avoid task execution errors, make sure that the Kerberos principal that you use to\n create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>.</p>"
}
},
"KerberosKrb5Conf": {
"target": "com.amazonaws.datasync#KerberosKrb5ConfFile",
"traits": {
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>You can specify the <code>krb5.conf</code> using a file path (for example,\n <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the\n CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the service principal name (SPN) in the\n <code>krb5.conf</code> file matches exactly what you specify for\n <code>KerberosPrincipal</code> and in your keytab file.</p>"
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>"
}
}
},
Expand Down
Loading

0 comments on commit 91f8178

Please sign in to comment.